CN104536771B - According to the icon sequencing display method and system of Icon Color - Google Patents
According to the icon sequencing display method and system of Icon Color Download PDFInfo
- Publication number
- CN104536771B CN104536771B CN201510043254.6A CN201510043254A CN104536771B CN 104536771 B CN104536771 B CN 104536771B CN 201510043254 A CN201510043254 A CN 201510043254A CN 104536771 B CN104536771 B CN 104536771B
- Authority
- CN
- China
- Prior art keywords
- color
- icon
- application icon
- application
- rgb value
- 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.)
- Expired - Fee Related
Links
- 238000012163 sequencing technique Methods 0.000 title claims abstract description 73
- 238000000034 method Methods 0.000 title claims abstract description 39
- 239000011159 matrix material Substances 0.000 claims description 36
- 239000000203 mixture Substances 0.000 claims description 27
- 238000012545 processing Methods 0.000 claims description 18
- 230000008569 process Effects 0.000 claims description 13
- 238000004040 coloring Methods 0.000 claims description 9
- 238000003860 storage Methods 0.000 claims description 6
- 230000006399 behavior Effects 0.000 claims description 2
- 230000000007 visual effect Effects 0.000 abstract description 5
- 238000009434 installation Methods 0.000 abstract description 4
- 238000003672 processing method Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 3
- 230000007812 deficiency Effects 0.000 description 2
- 238000013461 design Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000005096 rolling process Methods 0.000 description 2
- 238000011282 treatment Methods 0.000 description 2
- 241000208340 Araliaceae Species 0.000 description 1
- 244000283207 Indigofera tinctoria Species 0.000 description 1
- 235000005035 Panax pseudoginseng ssp. pseudoginseng Nutrition 0.000 description 1
- 235000003140 Panax quinquefolius Nutrition 0.000 description 1
- 241000545442 Radix Species 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 239000003086 colorant Substances 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000000686 essence Substances 0.000 description 1
- 239000000284 extract Substances 0.000 description 1
- 235000008434 ginseng Nutrition 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000014759 maintenance of location Effects 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
Landscapes
- User Interface Of Digital Computer (AREA)
Abstract
The invention discloses a kind of icon sequencing display method and system according to Icon Color, this method comprises the following steps:Obtain the Icon Color information parameter of application icon in operation interface;The body color of the application icon is determined according to the Icon Color information parameter of acquisition;With reference to body color and icon the sequencing display rule of the application icon, each application icon being shown in the operation interface is ranked up.The present invention can provide for the display of the application icon of terminal device more more rich shows form, more novel visual experience and more colourful visual effect are brought for user, it is to focus on the frequency of use and installation, the limitation of renewal time of application, the problem of unordered confusing array for solving application icon color brings aestheticly tired to user to break through conventional icon sequencing display.
Description
Technical field
The present invention relates to mobile terminal and communication technical field, more particularly, to one kind in terminal device to menu
The icon at interface is ranked up the method for display according to Icon Color and uses this method in terminal device to menu interface
Icon is according to the system of Icon Color.
Background technology
With the continuous improvement of the performance and memory capacity of intelligent terminal, user downloads the application program installed increasingly
Many, then various application management APP are deposited is presented to user with the information for having filled list of application on the terminal device.Generally, exist
Multiple icons corresponding with various application programs are placed with menu interface or standby interface, user can be by clicking on these figures
The corresponding application program of mark operation, and the information content that the limitation of the screen size of terminal device once may be viewed by is, it is necessary to which multipage is shown
These icons, arrangement display form be typically all according to application installed date, the size using bag, application frequency of use with
And user is ranked up the concern degree of liking of application program, seem to lack life in the presentation.
Icon sort method of the prior art, all focuses on very much frequency of use or installation, renewal time, but often ignores
The visual experience of user, this unordered confusing array in Icon Color to user brings aestheticly tired.
The content of the invention
Shortcoming and deficiency that first of the present invention aims to overcome that prior art are there is provided a kind of according to Icon Color
The icon of application is ranked up display by icon sequencing display method, this method according to Icon Color, is brought visually to user
Novel experience and more colourful visual effect.
It is another object of the present invention to overcome the shortcoming and deficiency of prior art there is provided a kind of according to Icon Color
Icon sequencing display system.
First purpose of the present invention is achieved through the following technical solutions:
A kind of icon sequencing display method according to Icon Color, comprises the following steps:Obtain application drawing in operation interface
Target Icon Color information parameter;
The body color of the application icon is determined according to the Icon Color information parameter of acquisition, wherein the application
The body color of icon is determined by the rgb value of the application icon;
With reference to body color and icon the sequencing display rule of the application icon, to being shown in the operation interface
Each application icon is ranked up.
Further, the icon sequencing display rule includes:
The difference of the rgb value of each application icon is compared with being compared threshold values, when the rgb value of each application icon
Difference be less than described when comparing threshold values, each application icon is included in the neighboring screens region of the operation interface.
Further, the icon sequencing display rule includes:
It is sequentially displayed in from shallow to deep in the operation interface according to the body color of the application icon;
Or, according to the body color of the application icon by being deep to shallow be sequentially displayed in the operation interface;
Or, according to the combination of any color component or any two color components in the body color of the application icon
It is sequentially displayed in by colour order, backward or customized ordering rule in the operation interface.
Further, the process for obtaining the Icon Color information parameter of application icon in operation interface includes:
The image of the application icon is obtained according to operating system application programming interfaces API;
The image file of the first processing format is converted the image into, and scans the image text of first processing format
The picture element matrix of part;
The color information parameter of each pixel of picture element matrix of described image file is obtained, and addition is saved in color letter
In breath statistics list.
Further, the color information parameter of the pixel includes R, G, wherein tri- color components of B, R color components
Correspondence red color components, G color components correspondence green components, B color components correspondence blue component.
Further, the Icon Color information parameter according to acquisition determines the body color of the application icon
Process include:
Obtain the rgb value of each pixel of picture element matrix of the image file of the application icon;
The most rgb value of number of times be will appear from as the rgb value of the application icon, or, using the average of each rgb value as
The rgb value of the application icon;
Determine the corresponding color of rgb value of the application icon.
Further, the process of the corresponding color of rgb value for determining the application icon includes:
Color space base table is set up, the color space base table sets up matrix array according to the rgb value of color radix;
The rgb value of application icon matrix array corresponding with the color radix is subjected to vector differentials calculating;
The minimum corresponding color radix of matrix array of amount of orientation difference is used as the corresponding color of the application icon.
Further, the process bag that the described pair of each application icon being shown in the operation interface is ranked up
Include:
Multiple application icons to be sorted are stored into temporary memory space;
Target location is determined with reference to the body color of the application icon and icon sequencing display rule;
The application icon to be sorted stored in the temporary memory space is moved to the target location in sequence.
Further, the color information parameter of the pixel also includes A data components and L data components, wherein A data
Component correspondence opacity composition, L data component corresponding brightness compositions.
Further, the first processing format of described image file includes bmp image file formats or jpg image file lattice
Formula or gif image file formats.
Further, application icon includes application icon or all rollings on current operation interface in the acquisition operation interface
Shield application icon in operation interface.
Another object of the present invention is achieved through the following technical solutions:
A kind of icon sequencing display system according to Icon Color, the system includes:
Parameter acquiring unit, the Icon Color information parameter for obtaining application icon in operation interface;
Color judging unit, the main body for determining the application icon according to the Icon Color information parameter of acquisition
Color, wherein the body color of the application icon is determined by the rgb value of the application icon;
Icon sequencing unit, for the body color with reference to the application icon and icon sequencing display rule, to display
It is ranked up in each application icon in the operation interface.
Further, the icon sequencing display rule includes:
The difference of the rgb value of each application icon is compared with being compared threshold values, when the rgb value of each application icon
Difference be less than described when comparing threshold values, each application icon is included in the neighboring screens region of the operation interface.
Further, the icon sequencing display rule includes:
It is sequentially displayed in from shallow to deep in the operation interface according to the body color of the application icon;
Or, according to the body color of the application icon by being deep to shallow be sequentially displayed in the operation interface;
Or, press colour according to any color component in the body color of the application icon or any two color components
Sequentially, backward or customized ordering rule are sequentially displayed in the operation interface.
Further, the parameter acquiring unit includes:
Image reading module, the image for obtaining the application icon according to operating system application programming interfaces API;
Format converting module, for converting the image into the image file of the first processing format, and scans described
The picture element matrix of the image file of one processing format;
Module is set up in list, the color information parameter of each pixel of the picture element matrix for obtaining described image file,
And addition is saved in colouring information statistics list.
Further, the color information parameter of the pixel includes R, G, wherein tri- color components of B, R color components
Correspondence red color components, G color components correspondence green components, B color components correspondence blue component.
Further, the color judging unit includes:
Pixel RGB values module, the RGB for obtaining each pixel of the picture element matrix of image file of the application icon
Value;
Icon rgb value module, for will appear from the most rgb value of number of times as the rgb value of the application icon, or,
Using the average of each rgb value as the application icon rgb value;
Icon Color module, the corresponding color of rgb value for determining the application icon.
Further, the Icon Color module includes:
Base table sets up device, for setting up color space base table, and the color space base table is according to the rgb value of color radix
Set up matrix array;
Vector calculation device, for the rgb value of application icon matrix array corresponding with the color radix to be entered
Row vector mathematic interpolation;
Color decision device, the matrix array corresponding color radix minimum for amount of orientation difference is used as the application drawing
Mark corresponding color.
Further, the icon sequencing unit includes:
Temporary storage module, for multiple application icons to be sorted to be stored into temporary memory space;
Position determination module, is determined for the body color with reference to the application icon and icon sequencing display rule
Target location;
Icon mobile module, for the application icon to be sorted stored in the temporary memory space to be moved in sequence
Move the target location.
Further, the color information parameter of the pixel also includes A data components and L data components, wherein A data
Component correspondence opacity composition, L data component corresponding brightness compositions.
Further, the first processing format of described image file includes bmp image file formats or jpg image file lattice
Formula or GIF image file formats.
Further, application icon includes application icon or all rollings on current operation interface in the acquisition operation interface
Shield application icon in operation interface.
The present invention has the following advantages and effect relative to prior art:
1st, the icon sequencing display method proposed by the present invention according to Icon Color is as a kind of new thinking, from application drawing
Target pixel color is used as starting point, body color and icon the sequencing display rule of connected applications icon, to being shown in operation
Each application icon on interface is ranked up, break through conventional icon sequencing display be focus on application frequency of use and installation,
The limitation of renewal time, the problem of unordered confusing array for solving application icon color brings aestheticly tired to user.
2nd, the icon sequencing display method proposed by the present invention according to Icon Color is the aobvious of the application icon of terminal device
Show provide it is more it is more rich show form, be that user brings more novel visual experience and more colourful vision effect
Really.
Brief description of the drawings
Fig. 1 is a kind of icon sequencing display method flow diagram according to Icon Color in the present embodiment one;
Fig. 2 is the specific stream that the Icon Color information parameter step of application icon in operation interface is obtained in the present embodiment one
Cheng Tu;
Fig. 3 is the particular flow sheet of the body color step of determination application icon in the present embodiment one;
Fig. 4 is the particular flow sheet of the corresponding color of rgb value of determination application icon in the present embodiment one;
Fig. 5 is the particular flow sheet that each application icon in the present embodiment one in operation interface is ranked up step;
Fig. 6 is a kind of icon sequencing display system architecture composition figure according to Icon Color in the present embodiment two;
Fig. 7 is the structure composition figure of parameter acquiring unit in the present embodiment two;
Fig. 8 is the structure composition figure of color judging unit in the present embodiment two;
Fig. 9 is the structural representation of Icon Color module in the present embodiment two;
Figure 10 is the structure composition figure of picture sequencing unit in the present embodiment two.
Embodiment
To make the objects, technical solutions and advantages of the present invention clearer, clear and definite, develop simultaneously embodiment pair referring to the drawings
The present invention is further described.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and without
It is of the invention in limiting.
Embodiment one
Fig. 1 is referred to, Fig. 1 is a kind of icon sequencing display method flow diagram according to Icon Color in the present embodiment one.
According to the icon sequencing display method of Icon Color shown in Fig. 1, applied to intelligent mobile terminal, the intelligent mobile terminal includes
Mobile phone, tablet personal computer and palm equipment for surfing the net etc., this method utilizes image processing techniques, by scan image matrix, obtains
The independent pixel of each of image, extracts the RGB color value of pixel, and the value is stored in colouring information statistics list
In, treat that image is completely scanned, take out the most rgb value of occurrence number in colouring information statistics list and be used as application icon
Rgb value, or, using the average of each independent pixel rgb value as application icon rgb value, and according to the rgb value of application icon
Judge the body color of the application icon, then make specific sorting operation.
With reference to Fig. 1, exemplified by applying on intelligent mobile terminal, a kind of icon according to Icon Color is illustrated
The application scenarios of sequencing display method.
This method generally includes the following steps:
Step S11, the Icon Color information parameter for obtaining application icon in operation interface;It should be noted that herein
The operation interface of description includes application icon on current operation interface, also including application icon on all scrolling operations interfaces, this
It is relatively more, it is necessary to the situation of multiple scrolling operations interface displays for application icon quantity.
Step S12, the body color for determining according to the Icon Color information parameter of acquisition the application icon;
Step S13, the body color with reference to the application icon and icon sequencing display rule, to being shown in the operation
Each application icon on interface is ranked up.
Wherein, icon sequencing display rule has several sets of plan, is to design storage in advance by user, can be with when use
Selected by user, or it is selected according to default setting.Specifically include following 4 kinds of rules:
Icon sequencing display rule 1:The difference of the rgb value of each application icon is compared with being compared threshold values, in the ratio
Compared with during, when judging the difference of rgb value of the application icon less than threshold values is compared, the current application icon is shown
In the neighboring screens region of the operation interface.
Icon sequencing display rule 2:Operation circle is sequentially displayed according to the body color of application icon from shallow to deep
On face,
Icon sequencing display rule 3:Operation circle shallow is sequentially displayed in by being deep to according to the body color of application icon
On face.
Icon sequencing display rule 4:According to any color component in the body color of the application icon or any two
The combination of color component is sequentially displayed in the operation interface by colour order, backward or customized ordering rule.Than
As in this embodiment, the body color of application icon includes R, and G, tri- color components of B therefore, it can by setting in advance,
Application icon is specified according to R, G, the combination of two of any color component or any two color components in tri- color components of B
It is sequentially displayed in by colour order, backward or customized ordering rule in the operation interface.Wherein, described order or
Person's backward refer to the value after the value of any color component or the combination of two of any two color components according to from small to large or
Order from big to small.Order for color component colour is defined as follows:Can be according to colour numerically from small to large
Definition is arranged (0<1<2<3<4<5<6<7<8<9<A<B<C<D<E<F) or user-defined series arrangement rule
Then (such as:9<0<7<1<A<4<E<B<3<6<5<C<D<8<F<2).Can be R for the order between different colours>G>B, R>B
>G, G>R>B, G>B>R, B>R>G, B>G>R, does not limit particular order herein.
Fig. 2, Fig. 3, Fig. 4, Fig. 5 are the detail flowcharts on step S11, S12 and S13, and more careful explaining is each
The detailed process of individual step.
Wherein, Fig. 2 is the idiographic flow that step S11 obtains the Icon Color information parameter of application icon in operation interface
Figure, from Fig. 2 it is clear that step S11 detailed process is:
Step S1101, the image according to the operating system application programming interfaces API acquisitions application icon;The present embodiment
Assuming that mobile terminal device uses Android operation system platform, pass through the management class of operating system
Android.content.pm.PackageManager obtains the application installed on terminal device, and uses
android.content.pm.PackageInfo.applicationInfo.loadIcon(getPackage Manager
()) etc. application programming interface (API:Application Program Interface) obtain the icon applied.
Step S1102, the image file for converting the image into the first processing format, and read in operating system memory
In, scan the unified image text for bmp forms in the picture element matrix of the image file of first processing format, this embodiment
Part, bmp forms be not it is only can meet the form of the technical scheme, certainly also include jpg image file formats or gif images
File format.
Deng conventional image file format, but uniform requirement is converted to the image file of bmp forms herein, it is therefore an objective to be
Different picture formats provides identical processing method, removes the cost that processing method exploitation is carried out for different images form from.
Step S1103, each pixel of picture element matrix of acquisition described image file color information parameter, and add guarantor
It is stored in colouring information statistics list.
The color information parameter of pixel includes R, G, tri- color components of B, wherein R color components correspondence red color components, G
Color component correspondence green components, B color components correspondence blue component.
Meanwhile, the color information parameter of pixel also includes A data components and L data components, wherein A data components correspondence
Opacity composition, L data component corresponding brightness compositions.
For the complexity in view of actual color treatments experience and processing, as long as generally concern R, G, tri- face of B
Red, green and the blue component of colouring component, it is possible to distinguish the color of icon.
By taking android system as an example, obtain after bitmap (bitmap) picture corresponding to icon with regard to its each picture can be analyzed
The color value of element is rgb value:
1) bitmap is read first:String path=" XXXXXXX.bmp ";
BitmapFactory.Options op=new BitmapFactory.Options ();
Op.inPreferredConfig=Bitmap.Config.ARGB_8888;
Bitmap targetBitmap=BitmapFactory.decodeFile (path, op);
The bitmap of icon can be obtained above.
2) then obtain pixel, read RGB with Color functions:
Int rgbPixel=targetBitmap.getPixel (x, y);
Log.i("Value","pixel:"+Integer.toHexString(rgbPixel));
Log.i("Value","rgb:r---"+Color.red(rgbPixel)+"g--"+
Color.green(rgbPixel)+"b--"+Color.blue(rgbPixel));
The rgb value of each pixel on icon can be obtained above.
Wherein, Fig. 3 is the rgb value of each pixel of picture element matrix for the image file that step S12 obtains application icon
Particular flow sheet, from Fig. 3 it is clear that step S12 detailed process is:
Step S1201, each pixel of picture element matrix of the image file of the acquisition application icon rgb value;
Step S1202, the most rgb value of number of times is will appear from as the rgb value of the application icon, or, by each rgb value
Average as the application icon rgb value;
More than one color may be carried on the image of application icon, in one case, can be by way of statistics
Know that the number of times which kind of color namely rgb value occur within the pixel on the icon is most, so as to which the occurrence number is most
RGB be defined as the rgb value of the icon.
Under another application scenarios, can also to rgb value carry out computing, using obtained average as icon RGB
Value, for example:R (red) value, G (green) value, B (indigo plant) value can respectively be averaged, then by R values average, G values average, B value averages
It is together as the average of rgb value;Rgb value can also be regarded as to the value of 16 systems, then directly averaged.
Step S1203, the corresponding color of rgb value for determining the application icon.
Fig. 4 is the particular flow sheet that step S1203 determines the corresponding color of the rgb value of application icon, as can be known from Fig. 4 should
Step S1203 detailed process is:
Step S1203a, color space base table is set up, the color space base table sets up square according to the rgb value of color radix
Battle array array;
As an example, the rgb value of some conventional color radixes can be found in following table 1, table 1:
Step S1203b, the rgb value of application icon matrix array corresponding with the color radix entered into row vector
Mathematic interpolation;
The minimum corresponding color radix of matrix array of step S1203c, amount of orientation difference is used as application icon correspondence
Color.
Because the color of application icon in itself generally varies, it may be difficult to have the icon of same color, in order to crowd
Many application icons carry out color classifications, after the color of icon is got, and can further investigate the Icon Color can be with
In table 1 rgb value of which conventional color is closest, then represents the figure with the immediate conventional color of the Icon Color
Target color.So, the color of application icon finally can be all classified as in conventional color in operation interface, so as to realize color point
Class.
Wherein, Fig. 4 be step S13 each application icon being shown in the operation interface is ranked up it is specific
Flow chart, from Fig. 4 it is clear that step S13 detailed process is:
Step S1301, multiple application icons to be sorted are stored into temporary memory space;
Step S1302, the body color with reference to the application icon and icon sequencing display rule determine target location;
Step S1303, the application icon to be sorted stored in the temporary memory space is moved to institute in sequence
State target location.
According to the icon sequencing display of predefined rule, the application icon with same color can be included in terminal
In the neighboring screens region at equipment operation interface, the application icon with same color will can also be included in terminal device to work as
In the screen area of preceding operation interface, other application icons with same color are shown in the screen at next scrolling operations interface
In region, the icon split screen display available without color is realized, certainly, this is relatively more for application icon quantity, one kind can be used as
Good icon sequencing display rule.
Furthermore it is also possible to shallow be sequentially displayed in the behaviour from shallow to deep or by being deep to according to the body color of application icon
Make on interface, be still according to application icon if the quantity of application icon is relatively many, it is necessary to multiple display screen roll screens are shown
Body color from shallow to deep or by being deep to shallow changing rule split screen display available successively.
Icon sequencing display method disclosed in the present embodiment is used as starting point, connected applications from the pixel color of application icon
Body color and icon the sequencing display rule of icon, are ranked up to each application icon being shown in operation interface, break through
Conventional icon sequencing display is to focus on the frequency of use and installation, the limitation of renewal time of application, solves application icon
The problem of unordered confusing array of color brings aestheticly tired to user.
Embodiment two
Fig. 6 is a kind of icon sequencing display system architecture composition figure according to Icon Color in the present embodiment two, the system
Intelligent mobile terminal is can be applied to, the intelligent mobile terminal includes mobile phone, tablet personal computer and palm equipment for surfing the net etc..From figure
6 can be clear from, and the system includes:
Parameter acquiring unit 601, the unit is used for the Icon Color information parameter for obtaining application icon in operation interface.Need
It is noted that operation interface described herein includes application icon on current operation interface, also including all scrolling operations
Application icon on interface, this is relatively more, it is necessary to the situation of multiple scrolling operations interface displays for application icon quantity.
Color judging unit 602, the unit is used to determine the application according to the Icon Color information parameter of acquisition
The body color of icon.
Icon sequencing unit 603, the unit is used to advise with reference to the body color and icon sequencing display of the application icon
Then, each application icon being shown in the operation interface is ranked up.
Wherein, icon sequencing display rule has several sets of plan, is to design storage in advance by user, can be with when use
Selected by user, or it is selected according to default setting.Specifically include following 3 kinds of rules:
Icon sequencing display rule 1:The difference of the rgb value of each application icon is compared with being compared threshold values, in the ratio
Compared with during, when judging the difference of rgb value of the application icon less than threshold values is compared, the current application icon is shown
In the neighboring screens region of the operation interface.
Icon sequencing display rule 2:Operation circle is sequentially displayed according to the body color of application icon from shallow to deep
On face,
Icon sequencing display rule 3:Operation circle shallow is sequentially displayed in by being deep to according to the body color of application icon
On face.
Icon sequencing display rule 4:According to any color component in the body color of the application icon or any two
The combination of color component is sequentially displayed in the operation interface by colour order, backward or customized ordering rule.
Fig. 7 is the structure composition figure of parameter acquiring unit 601 in the present embodiment two, and ginseng is clear how from Fig. 7
The composition structure of number acquiring unit 601 includes following modules:
Image reading module 701, the module is used to obtain the application icon according to operating system application programming interfaces API
Image.
Format converting module 702, the module is used for the image file for converting the image into the first processing format, and sweeps
Retouch the picture element matrix of the image file of first processing format.The unified image file for bmp forms in this embodiment, bmp
Form is not the only image file format that can be met the form of the technical scheme, be commonly used certainly including jpg etc. yet, but this
The image file that bmp forms are uniformly converted in embodiment is handled, it is therefore an objective to provide identical for different picture formats
Processing method, removes the cost that processing method exploitation is carried out for different images form from.
Module 703 is set up in list, and the module is used for the color for obtaining each pixel of picture element matrix of described image file
Information parameter, and add be saved in colouring information statistics list in.
The color information parameter of pixel includes R, G, tri- color components of B, wherein R color components correspondence red color components, G
Color component correspondence green components, B color components correspondence blue component.
Meanwhile, the color information parameter of pixel also includes A data components and L data components, wherein A data components correspondence
Opacity composition, L data component corresponding brightness compositions.
For the complexity in view of actual color treatments experience and processing, as long as generally concern R, G, tri- face of B
Red, green and the blue component of colouring component, it is possible to distinguish the color of icon.
Fig. 8 is the structure composition figure of color judging unit 602 in the present embodiment two, and color is clear how from Fig. 8
The composition structure of judging unit 602 includes following modules:
Pixel RGB values module 801, the module is used for each picture of picture element matrix for the image file for obtaining the application icon
The rgb value of vegetarian refreshments.
Icon rgb value module 802, the module is used to will appear from the most rgb value of number of times as the RGB of the application icon
Value, or, using the average of each rgb value as the application icon rgb value.
Icon Color module 803, the module is used for the corresponding color of rgb value for determining the application icon.
Fig. 9 is the structure composition figure for being directed to Icon Color module 803 in the present embodiment two, is clear how from Fig. 9
The composition structure of Icon Color module 803 includes following devices:
Base table sets up device 901, and the device is used to set up color space base table, and the color space base table is according to color base
Several rgb values set up matrix array.
Vector calculation device 902, the device is used for the rgb value of application icon square corresponding with the color radix
Battle array array carries out vector differentials calculating.
Color decision device 903, the device is used for the minimum corresponding color radix conduct of matrix array of amount of orientation difference
The corresponding color of the application icon.
Figure 10 is the structure composition figure of icon sequencing unit 603 in the present embodiment two, and figure is clear how from Figure 10
Marking the composition structure of sequencing unit 603 includes following modules:
Temporary storage module 1001, the module is used to multiple application icon storages to be sorted arriving temporary memory space
Middle
Position determination module 1002, the module is used for aobvious with reference to the body color of the application icon and icon sequence
Show that rule determines target location.
Icon mobile module 1003, the module is used for the application icon to be sorted that will be stored in the temporary memory space
The target location is moved in sequence.
Icon sequencing display system disclosed in the present embodiment is used as starting point, connected applications from the pixel color of application icon
Body color and icon the sequencing display rule of icon, are ranked up to each application icon being shown in operation interface, solve
The problem of unordered confusing array of application icon color brings aestheticly tired to user.
It is worth noting that, in said system embodiment, included each device, module and unit is simply according to function
What logic was divided, but above-mentioned division is not limited to, as long as corresponding function can be realized;In addition, each is filled
Put, the specific name of module and unit is also only to facilitate mutually distinguish, the protection domain being not intended to limit the invention.
Above-described embodiment is preferably embodiment, but embodiments of the present invention are not by above-described embodiment of the invention
Limitation, other any Spirit Essences without departing from the present invention and the change made under principle, modification, replacement, combine, simplification,
Equivalent substitute mode is should be, is included within protection scope of the present invention.
Claims (12)
1. a kind of icon sequencing display method according to Icon Color, it is characterised in that comprise the following steps:
Obtain the Icon Color information parameter of application icon in operation interface;
The process of the Icon Color information parameter of application icon includes in the acquisition operation interface:
The image of the application icon is obtained according to operating system application programming interfaces API;
The image file of the first processing format is converted the image into, and scan the image file of first processing format
Picture element matrix;First processing format of described image file is bmp image file formats;
The color information parameter of each pixel of picture element matrix of described image file is obtained, and addition is saved in colouring information system
Count in list;
The body color of the application icon is determined according to the Icon Color information parameter of acquisition, wherein the application icon
Body color determined by the rgb value of the application icon;
The Icon Color information parameter according to acquisition determines that the process of the body color of the application icon includes:
Obtain the rgb value of each pixel of picture element matrix of the image file of the application icon;
The most rgb value of number of times be will appear from as the rgb value of the application icon;
Determine the corresponding color of rgb value of the application icon;
The process of the corresponding color of rgb value for determining the application icon includes:
Color space base table is set up, the color space base table sets up matrix array according to the rgb value of color radix;
The rgb value of application icon matrix array corresponding with the color radix is subjected to vector differentials calculating;
The minimum corresponding color radix of matrix array of amount of orientation difference is used as the corresponding color of the application icon;
With reference to body color and icon the sequencing display rule of the application icon, to each institute being shown in the operation interface
Application icon is stated to be ranked up;
The icon sequencing display rule includes:
The difference of the rgb value of each application icon is compared with being compared threshold value, when the difference of the rgb value of each application icon
Less than it is described compare threshold value when, by each application icon include in the neighboring screens region of the operation interface;
Or, colour order, backward are pressed successively according to the combination of any two color components in the body color of the application icon
It is shown in the operation interface;Wherein, described order or backward refer to after the combination of two of any two color components
Value is according to order from small to large or from big to small;
Or:Application icon with same color is included in the screen area at terminal device current operation interface, other
Application icon with same color is shown in the screen area at next scrolling operations interface.
2. the icon sequencing display method according to claim 1 according to Icon Color, it is characterised in that the icon row
Sequence shows that rule includes:
It is sequentially displayed in from shallow to deep in the operation interface according to the body color of the application icon;
Or, according to the body color of the application icon by being deep to shallow be sequentially displayed in the operation interface.
3. the icon sequencing display method according to claim 1 according to Icon Color, it is characterised in that the pixel
Color information parameter include R, G, tri- color components of B, wherein R color components correspondence red color components, G color components correspondence it is green
Color composition, B color components correspondence blue component.
4. the icon sequencing display method according to claim 1 according to Icon Color, it is characterised in that described pair of display
The process being ranked up in each application icon in the operation interface includes:
Multiple application icons to be sorted are stored into temporary memory space;
Target location is determined with reference to the body color of the application icon and icon sequencing display rule;
The application icon to be sorted stored in the temporary memory space is moved to the target location in sequence.
5. the icon sequencing display method according to claim 3 according to Icon Color, it is characterised in that the pixel
Color information parameter also include A data components and L data components, wherein A data components correspondence opacity composition, L data
Component corresponding brightness composition.
6. the icon sequencing display method according to claim 1 according to Icon Color, it is characterised in that the acquisition behaviour
Making application icon on interface includes application icon on application icon on current operation interface or all scrolling operations interfaces.
7. a kind of icon sequencing display system according to Icon Color, it is characterised in that the system includes:
Parameter acquiring unit, the Icon Color information parameter for obtaining application icon in operation interface;
The parameter acquiring unit includes:
Image reading module, the image for obtaining the application icon according to operating system application programming interfaces API;
Format converting module, for converting the image into the image file of the first processing format, and is scanned at described first
Manage the picture element matrix of the image file of form;First processing format of described image file is bmp image file formats;
Module is set up in list, the color information parameter of each pixel of the picture element matrix for obtaining described image file, and is added
Plus be saved in colouring information statistics list;
Color judging unit, the main body face for determining the application icon according to the Icon Color information parameter of acquisition
Color, wherein the body color of the application icon is determined by the rgb value of the application icon;
The color judging unit includes:
Pixel RGB values module, the rgb value for obtaining each pixel of the picture element matrix of image file of the application icon;
Icon rgb value module, for will appear from the most rgb value of number of times as the rgb value of the application icon;
Icon Color module, the corresponding color of rgb value for determining the application icon;
The Icon Color module includes:
Base table sets up device, and for setting up color space base table, the color space base table is set up according to the rgb value of color radix
Matrix array;
Vector calculation device, for by the rgb value of application icon matrix array corresponding with the color radix carry out to
Measure mathematic interpolation;
Color decision device, the matrix array corresponding color radix minimum for amount of orientation difference is used as the application icon pair
The color answered;
Icon sequencing unit, for the body color with reference to the application icon and icon sequencing display rule, to being shown in
Each application icon stated in operation interface is ranked up;
The icon sequencing display rule includes:
The difference of the rgb value of each application icon is compared with being compared threshold value, when the difference of the rgb value of each application icon
Less than it is described compare threshold value when, by each application icon include in the neighboring screens region of the operation interface;
Or, colour order, backward are pressed successively according to the combination of any two color components in the body color of the application icon
It is shown in the operation interface;Wherein, described order or backward refer to after the combination of two of any two color components
Value is according to order from small to large or from big to small;
Or:Application icon with same color is included in the screen area at terminal device current operation interface, other
Application icon with same color is shown in the screen area at next scrolling operations interface.
8. the icon sequencing display system according to claim 7 according to Icon Color, it is characterised in that the icon row
Sequence shows that rule includes:
It is sequentially displayed in from shallow to deep in the operation interface according to the body color of the application icon;
Or, according to the body color of the application icon by being deep to shallow be sequentially displayed in the operation interface.
9. the icon sequencing display system according to claim 7 according to Icon Color, it is characterised in that the pixel
Color information parameter include R, G, tri- color components of B, wherein R color components correspondence red color components, G color components correspondence it is green
Color composition, B color components correspondence blue component.
10. the icon sequencing display system according to claim 7 according to Icon Color, it is characterised in that the icon
Sequencing unit includes:
Temporary storage module, for multiple application icons to be sorted to be stored into temporary memory space;
Position determination module, target is determined for the body color with reference to the application icon and icon sequencing display rule
Position;
Icon mobile module, for the application icon to be sorted stored in the temporary memory space to be moved in sequence
The target location.
11. the icon sequencing display system according to claim 9 according to Icon Color, it is characterised in that the pixel
The color information parameter of point also includes A data components and L data components, wherein A data components correspondence opacity composition, L numbers
According to component corresponding brightness composition.
12. the icon sequencing display system according to claim 7 according to Icon Color, it is characterised in that the acquisition
Application icon includes application icon on application icon on current operation interface or all scrolling operations interfaces in operation interface.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510043254.6A CN104536771B (en) | 2015-01-28 | 2015-01-28 | According to the icon sequencing display method and system of Icon Color |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510043254.6A CN104536771B (en) | 2015-01-28 | 2015-01-28 | According to the icon sequencing display method and system of Icon Color |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104536771A CN104536771A (en) | 2015-04-22 |
CN104536771B true CN104536771B (en) | 2017-10-24 |
Family
ID=52852303
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510043254.6A Expired - Fee Related CN104536771B (en) | 2015-01-28 | 2015-01-28 | According to the icon sequencing display method and system of Icon Color |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104536771B (en) |
Families Citing this family (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104932777B (en) * | 2015-07-23 | 2019-01-15 | 北京锤子数码科技有限公司 | A kind of sort method and device of application icon |
CN105677352B (en) * | 2016-01-06 | 2020-03-17 | 北京小米移动软件有限公司 | Method and device for setting application icon color |
CN105824504A (en) * | 2016-03-21 | 2016-08-03 | 乐视网信息技术(北京)股份有限公司 | Application program icon sequencing method and mobile terminal |
CN105975161A (en) * | 2016-05-31 | 2016-09-28 | Tcl移动通信科技(宁波)有限公司 | Color-based icon searching method and system |
CN106527853A (en) * | 2016-10-31 | 2017-03-22 | 珠海市魅族科技有限公司 | Method and device for displaying application icons |
CN106843646A (en) * | 2017-01-09 | 2017-06-13 | 惠州Tcl移动通信有限公司 | A kind of application icon based on mobile terminal searches control method and system |
CN107193552B (en) * | 2017-04-26 | 2020-11-06 | 南京投知科技有限公司 | Theme color setting method and device and computer readable storage medium |
WO2019090578A1 (en) * | 2017-11-09 | 2019-05-16 | 深圳传音通讯有限公司 | Icon sorting method and system for intelligent terminal |
WO2020047758A1 (en) * | 2018-09-04 | 2020-03-12 | 深圳市欢太科技有限公司 | Message prompting method and related product |
CN109683758B (en) * | 2018-12-13 | 2021-05-07 | 惠州Tcl移动通信有限公司 | Application icon display method and device and storage medium |
CN112667325A (en) * | 2019-09-27 | 2021-04-16 | 宝能汽车集团有限公司 | Display interface layout method, control device and electronic equipment |
CN111125404B (en) * | 2019-12-13 | 2022-07-05 | 北京浪潮数据技术有限公司 | Icon classification method, device and equipment and readable storage medium |
CN112333519A (en) * | 2020-09-23 | 2021-02-05 | 深圳Tcl新技术有限公司 | Color filling method, system, equipment and storage medium for icon spacing area |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103488397A (en) * | 2013-09-13 | 2014-01-01 | 深圳市欧珀通信软件有限公司 | Method and device for arranging icons, and mobile terminal |
CN103645894A (en) * | 2013-11-29 | 2014-03-19 | 华为技术有限公司 | Application program icon displaying and processing method and device |
CN103955332A (en) * | 2014-05-15 | 2014-07-30 | 深圳市中兴移动通信有限公司 | Mobile terminal and arraying method and device for desktop icons of mobile terminal |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050216844A1 (en) * | 2004-03-03 | 2005-09-29 | Error Brett M | Delayed transmission of website usage data |
-
2015
- 2015-01-28 CN CN201510043254.6A patent/CN104536771B/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103488397A (en) * | 2013-09-13 | 2014-01-01 | 深圳市欧珀通信软件有限公司 | Method and device for arranging icons, and mobile terminal |
CN103645894A (en) * | 2013-11-29 | 2014-03-19 | 华为技术有限公司 | Application program icon displaying and processing method and device |
CN103955332A (en) * | 2014-05-15 | 2014-07-30 | 深圳市中兴移动通信有限公司 | Mobile terminal and arraying method and device for desktop icons of mobile terminal |
Also Published As
Publication number | Publication date |
---|---|
CN104536771A (en) | 2015-04-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104536771B (en) | According to the icon sequencing display method and system of Icon Color | |
CN104778047B (en) | A kind of content display method and terminal | |
CN106021108B (en) | application testing device, mobile terminal and method | |
CN108320312B (en) | Image color matching method and device and computer terminal | |
CN109472839B (en) | Image generation method and device, computer equipment and computer storage medium | |
CN106855797A (en) | The method to set up and device of a kind of interface element color | |
CN106095237A (en) | Information processing method and electronic equipment | |
CN102819381A (en) | Electronic device and method for generating graphical user interface thereof | |
CN105955754A (en) | Method and device for displaying characters of user interface | |
CN106060262A (en) | Method and system for realizing application classification management in terminal equipment | |
CN104461614A (en) | Method for processing theme resource and electronic device | |
CN113808120A (en) | Image processing method, image processing device, electronic equipment and storage medium | |
CN110363785A (en) | A kind of super frame detection method and device of text | |
CN104182175A (en) | Touch screen terminal interface display method and device | |
CN109636566A (en) | Method for exhibiting data, device, equipment and computer readable storage medium | |
CN106445501A (en) | Display method of notification bar, and terminal | |
CN106227409A (en) | Method for information display and device | |
CN108334531A (en) | Picture tone extracting method, equipment and computer readable storage medium | |
CN105488381A (en) | Color block sliding based mobile terminal unlocking method and system | |
CN105719335B (en) | A kind of map image rendering method, device and car-mounted terminal | |
CN104639717A (en) | Contact information display method and device | |
CN111562955B (en) | Method and device for configuring theme colors of terminal equipment and terminal equipment | |
CN107085521A (en) | A kind of icon display method and device | |
CN106951138B (en) | Icon fuzzification method and device | |
CN104461549B (en) | The arrangement display methods and device of graphical interfaces |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP01 | Change in the name or title of a patent holder |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
CP01 | Change in the name or title of a patent holder | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20171024 |
|
CF01 | Termination of patent right due to non-payment of annual fee |