CN104932777B - A kind of sort method and device of application icon - Google Patents

A kind of sort method and device of application icon Download PDF

Info

Publication number
CN104932777B
CN104932777B CN201510437761.8A CN201510437761A CN104932777B CN 104932777 B CN104932777 B CN 104932777B CN 201510437761 A CN201510437761 A CN 201510437761A CN 104932777 B CN104932777 B CN 104932777B
Authority
CN
China
Prior art keywords
application icon
color
pixel
tone
mass
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
Application number
CN201510437761.8A
Other languages
Chinese (zh)
Other versions
CN104932777A (en
Inventor
罗永浩
李鹏
丛国华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing ByteDance Network Technology Co Ltd
Original Assignee
Beijing Hammer Numeral Science And Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Beijing Hammer Numeral Science And Technology Co Ltd filed Critical Beijing Hammer Numeral Science And Technology Co Ltd
Priority to CN201510437761.8A priority Critical patent/CN104932777B/en
Publication of CN104932777A publication Critical patent/CN104932777A/en
Application granted granted Critical
Publication of CN104932777B publication Critical patent/CN104932777B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention provides a kind of sort method of application icon, the method is applied to mobile terminal, at least one application icon is shown on the desktop of the mobile terminal, which comprises according to the color of pixel each on the application icon, determine the mass-tone of the application icon;When receiving the default application icon ordering instruction of user's triggering, the corresponding application icon of mass-tone for belonging to same pre-set color section is determined as same group, and obtain group result;According to the group result, the application icon is shown again on the desktop of the mobile terminal.The method provided by the invention to be sorted according to application icon color to application icon can satisfy user's requirement aesthetic to desktop in addition, user can easily inquire the application program of needs according to the color of application icon and improve the usage experience of user.

Description

A kind of sort method and device of application icon
Technical field
The present invention relates to data processing field more particularly to the sort methods and device of a kind of application icon.
Background technique
Application icon (abbreviation application icon) is a kind of picture identification of application program, is used for identification application, To be distinguished with other applications.Currently, the type due to application program is more and more, pacify on the terminal device of user The number of applications of dress is also just more and more, also gets over so resulting in the application icon shown on subscriber terminal equipment desktop Come more.
Currently, how being ranked up display to application icon a large amount of on terminal device desktop can meet to the greatest extent The use demand of user, it appears that the maximum as terminal device desktop designers is pursued.
Summary of the invention
In view of this, the present invention provides the sort method and device of a kind of application icon.
The present invention provides a kind of sort method of application icon, and the method is applied to terminal device, the terminal device Desktop on show at least one application icon, which comprises
According to the color of pixel each on the application icon, the mass-tone of the application icon is determined;
When receiving the default application icon ordering instruction of user's triggering, the mass-tone pair in same pre-set color section will be belonged to The application icon answered is determined as same group, and obtains group result;
According to the group result, the application icon is shown again on the desktop of the terminal device.
Preferably, the color according to pixel each on the application icon, determines the mass-tone of the application icon, Include:
Each pixel on the application icon is traversed, and calculates color of each pixel under the first color mode Value;
Color value of each pixel under first color mode is converted into the color value under the second color mode;
According to color value of each pixel under second color mode, the color of each pixel is determined;
According to the color for having pixel most on the application icon, the mass-tone of the application icon is determined.
Preferably, described according to the color for having pixel most on the application icon, determine the application icon Mass-tone, comprising:
Color value phase of the pixel for including by the color most with pixel under first color mode After adding, then the number of the pixel that includes with the color is divided by, and obtains pixel that the color includes in first color The average value of color value under color mode;
The average value of color value of the pixel for including by the color under first color mode is determined as described The mass-tone of application icon.
Preferably, after the corresponding application icon of mass-tone that will belong to same pre-set color section is determined as same group, The method also includes:
Obtain color value of the mass-tone for belonging to the application icon of same group under second color mode;
According to color value of the mass-tone of the application icon under second color mode, to belong to the application drawing with group Mark is ranked up.
Preferably, the color according to pixel each on the application icon, determines the mass-tone of the application icon, Specifically:
When application program during installation, previously according to the color of each pixel on the application icon of the application program, Determine the mass-tone of the application icon.
Preferably, the color according to pixel each on the application icon, determines the mass-tone of the application icon, Include:
The application icon is compressed, compressed application icon is obtained;
According to the color of each pixel on the compressed application icon, the mass-tone of the application icon is determined.
Preferably, it is described the application icon is shown again on the desktop of the terminal device before, the method Further include:
According to the group result, the preview graph of the application icon is generated;
When receiving the default application icon idsplay order of user's triggering, according to the preview graph, by the application icon Again it is shown on the desktop of the terminal device.
The present invention also provides a kind of collator of application icon, described device includes:
First determining module, the face of each pixel on the application icon shown on the desktop according to terminal device Color determines the mass-tone of the application icon;
Second determining module, for that will belong to same pre- when receiving the default application icon ordering instruction of user's triggering If the corresponding application icon of the mass-tone of color interval is determined as same group, and obtains group result;
Display module, for according to the group result, the application icon to be shown again in the terminal device On desktop.
Preferably, first determining module, comprising:
First computational submodule for traversing each pixel on the application icon, and calculates each pixel and exists Color value under first color mode;
Transform subblock, for color value of each pixel under first color mode to be converted to the second color Color value under mode;
First determines submodule, for the color value according to each pixel under second color mode, determines each The color of a pixel;
Second determines submodule, for answering according to described in, with the most color of pixel, determining on the application icon With the mass-tone of icon.
Preferably, described second submodule is determined, comprising:
Second computational submodule, the pixel for including by the color most with pixel is in first color After color value under color mode is added, then the number of the pixel that includes with the color is divided by, and obtaining the color includes The average value of color value of the pixel under first color mode;
Third determines submodule, color value of the pixel for including by the color under first color mode Average value, be determined as the mass-tone of the application icon.
Preferably, described device further include:
Module is obtained, for obtaining color of the mass-tone for belonging to the application icon of same group under second color mode Value;
Sorting module, for color value of the mass-tone according to the application icon under first color mode, to belong to It is ranked up in same group of application icon.
Preferably, first determining module is specifically used for working as application program during installation, applies journey previously according to described The color of each pixel on the application icon of sequence, determines the mass-tone of the application icon.
Preferably, first determining module, comprising:
It compresses submodule and obtains compressed application icon for compressing the application icon;
4th determines submodule, for the color according to each pixel on the compressed application icon, determines The mass-tone of the application icon.
Preferably, described device further include:
Generation module, for generating the preview graph of the application icon according to the group result;
The display module, specifically for when receive user triggering default application icon idsplay order when, according to described Preview graph shows the application icon on the desktop of the terminal device again.
The present invention is applied in terminal device, at least one application icon is shown on the desktop of the terminal device.It is first First, the terminal device determines the mass-tone of the application icon according to the color of pixel each on the application icon.When connecing When receiving the default application icon ordering instruction of user's triggering, the corresponding application icon of mass-tone in same pre-set color section will be belonged to It is determined as same group, and obtains group result;Finally, the terminal device is according to the group result, by the application drawing indicated weight It is newly shown on the desktop of the terminal device.Compared with existing application icon sort method, basis provided by the invention is answered The method to be sorted with Icon Color to application icon can satisfy user's requirement aesthetic to desktop, in addition, user can basis The color of application icon easily inquires the application of needs, improves the usage experience of user.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is the present invention Some embodiments for those of ordinary skill in the art without creative efforts, can also basis These attached drawings obtain other attached drawings.
Fig. 1 is the sort method flow chart of application icon provided in an embodiment of the present invention;
Fig. 2 is the collator structural schematic diagram of application icon provided in an embodiment of the present invention;
Fig. 3 is the partial structure diagram of the sequence smart phone provided in an embodiment of the present invention for application icon.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art Every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
Currently, application icon is usually to be ranked up according to the erection sequence of each application program and in terminal device desktop On shown.Separately have, it can also be according to the frequency of use of each application program to each application icon sequencing display.
It is that application icon is ranked up method, the side the embodiment of the invention provides a kind of color according to application icon Method is applied to terminal device, shows at least one application icon on the desktop of the terminal device, the terminal device described first According to the color of pixel each on the application icon, the mass-tone of the application icon is determined.When the terminal device receives It is when the default application icon ordering instruction of user's triggering, the corresponding application icon of mass-tone for belonging to same pre-set color section is true It is set to same group, and obtains group result.Finally, the terminal device is according to the group result, again by the application icon It is shown on the desktop of the terminal device.
The embodiment of the present invention is described below.
It is provided in an embodiment of the present invention that the embodiment of the invention provides a kind of sort methods of application icon with reference to Fig. 1 A kind of sort method flow chart of application icon, wherein the described method includes: (S101-S103)
S101: terminal device determines the master of the application icon according to the color of pixel each on the application icon Color.
S102: when receiving the default application icon ordering instruction of user's triggering, the terminal device will belong to same pre- If the corresponding application icon of the mass-tone of color interval is determined as same group, and obtains group result.
S103: the application icon is shown again and is set in the terminal according to the group result by the terminal device On standby desktop.
In S101, at least one application icon is shown on the desktop of terminal device, the terminal device is answered according to each With the color of pixel each on icon, the mass-tone of each application icon is determined.
In a kind of implementation, each pixel on terminal device traversal applications icon first calculates each pixel Color value under the first color mode, wherein first color mode includes rgb color mode, ARGB color mode.Its It is secondary, the face under the second color mode is converted by color value of each pixel being calculated under first color mode Color value, wherein second color mode includes HSL color mode or HSV color mode.Again, the terminal device according to Color value of each pixel under second color mode, determines color belonging to each pixel.Finally, according to described With the color that pixel is most on application icon, the mass-tone of the application icon is determined.
Rgb color mode, ARGB color mode, HSL color mode and HSV color mode are a kind of colors of industry Standard, rgb color mode be by red (R), green (G), blue (B) three Color Channels variation and they are mutual To obtain miscellaneous color, RGB is the color for representing three channels of red, green, blue for superposition.ARGB color mode, It is exactly rgb color mode affix Alpha (transparency) channel.HSL color mode and HSV color mode are all a kind of by RGB Representation of the point in cylindrical-coordinate system in colour model.Both representations attempt to accomplish to be based on cartesian coordinate than RGB The geometry of system is more intuitive.HSL, that is, form and aspect, saturation degree, brightness, HSV, that is, form and aspect, saturation degree, lightness.
The embodiment of the present invention is converted using the color value between the first color mode and the second color mode, i.e. rgb color The conversion of color value, determines the master of application icon between mode, ARGB color mode and HSL color mode, HSV color mode Color.There are the corresponding relationships of color value and color under the second color mode, that is to say, that when any pixel point is described second After color value under color mode determines, then the color belonging to it can be determined.So the present embodiment is each according to application icon Color value of the pixel under second color mode, determines color belonging to each pixel, and same according to belonging to The pixel number of color, determines the mass-tone of application icon.
In practical application, terminal device is determined first with the color that pixel is most on the application icon, secondly, will Color value of the pixel that the color includes under the first color mode is added, then for the pixel for including with the color Number is divided by, and finally obtains the average value of the color value of pixel that the color includes under first color mode.It is described The average value is determined as the mass-tone of the application icon by terminal device.
Another kind is preferably carried out in mode, and terminal device is answered before the mass-tone for determining each application icon by each It is compressed with icon, to obtain compressed application icon.The terminal device can be on the compressed application icon Each pixel color, determine the mass-tone of the application icon.Wherein, due to pixel that compressed application icon includes Point number is far smaller than the pixel number of former application icon, so determining the application icon using compressed application icon Mass-tone, can be improved the determination efficiency of the application icon mass-tone, save overhead.
In addition, in order to further ensure the terminal device receive user triggering default application icon ordering instruction it The preceding determination for completing application icon mass-tone, the embodiment of the present invention can be in the installation processes of each application program, or just When completing installation, previously according to the color of each pixel on the application icon of the application program, the application icon is determined Mass-tone.
In S102, user can trigger application icon ordering instruction by preset button, can also be by preset Gesture, touch track etc. trigger application icon ordering instruction.When terminal device receives the default application icon row of user's triggering After sequence instruction, according to the mass-tone of each application icon shown on the terminal device desktop, it is grouped for each application icon, it will The corresponding application icon of mass-tone for belonging to same pre-set color section is determined as same group.
In practical application, the terminal device presets multiple and different color intervals, and according to each application icon Mass-tone determine which color interval the application icon belongs to, the application icon for belonging to same color section is determined as together Group obtains group result.
In addition, in order to enable the display belonged to the application icon of group is more beautiful, and the application icon of more conducively user Inquiry, the present embodiment additionally provide the sortord of application icon in a kind of group.Specifically, firstly, terminal device acquisition belongs to Color value of the mass-tone of the application icon of same group under the second color mode.Secondly, according to the mass-tone of the application icon in institute The color value under the second color mode is stated, is ranked up to belong to the application icon organized.
In a kind of implementation, after each application icon is completed to be grouped, terminal device is obtained to belong to first and be answered with what is organized Color value with the mass-tone of icon, i.e. under the first color mode.Secondly, the color value under first color mode is converted to Color value under second color mode.Again, the terminal device is according to the size of the color value under second color mode, According to sequence from small to large or from big to small, the sequence that the application icon belonged to group is carried out obtains final sequence As a result.
In S103, ranking results in terminal device combination group result and group will be on the terminal device desktop Application icon is shown on the table again.
In practical application, before the application icon on display terminal's desktop sorts effect, to the application icon Sequence carry out preview show.In the present embodiment, terminal device combines the sequence in the grouping and group of each application icon first As a result, the preview graph of the application icon is generated, to show the display effect of application icon for user in advance.User can basis The preview graph determines whether using application icon sort method shown in the preview graph.When the terminal device receives After the idsplay order of the default application icon of user's triggering, according to the preview graph, the application icon for completing sequence is shown again Show on the desktop of the terminal device.
The embodiment of the present invention is applied in terminal device, at least one application drawing is shown on the desktop of the terminal device Mark.Firstly, the terminal device determines the master of the application icon according to the color of pixel each on the application icon Color.It is when receiving the default application icon ordering instruction of user's triggering, the mass-tone for belonging to same pre-set color section is corresponding Application icon is determined as same group, and obtains group result;Finally, the terminal device is answered by described according to the group result It is shown in again with icon on the desktop of the terminal device.Compared with existing application icon sort method, the present invention is implemented The method to be sorted according to application icon color to application icon that example provides, can satisfy user's requirement aesthetic to desktop, separately Outside, user can easily inquire the application of needs according to the color of application icon, improve the usage experience of user.
The embodiment of the invention also provides a kind of collators of application icon, are the embodiment of the present invention with reference to Fig. 2, Fig. 2 The collator structural schematic diagram of the application icon of offer, described device include:
First determining module 201, each pixel on the application icon shown on the desktop according to terminal device Color determines the mass-tone of the application icon;
Second determining module 202, for that will belong to same when receiving the default application icon ordering instruction of user's triggering The corresponding application icon of the mass-tone in pre-set color section is determined as same group, and obtains group result;
Display module 203, for according to the group result, the application icon to be shown again in the terminal device Desktop on.
First determining module in order to determine the mass-tone of application icon, in the present embodiment, comprising:
First computational submodule for traversing each pixel on the application icon, and calculates each pixel and exists Color value under first color mode;
Transform subblock, for color value of each pixel under first color mode to be converted to the second color Color value under mode;
First determines submodule, for the color value according to each pixel under second color mode, determines each The color of a pixel;
Second determines submodule, for answering according to described in, with the most color of pixel, determining on the application icon With the mass-tone of icon.
In addition, described second determines submodule, comprising:
Second computational submodule, the pixel for including by the color most with pixel is in first color After color value under color mode is added, then the number of the pixel that includes with the color is divided by, and obtaining the color includes The average value of color value of the pixel under first color mode;
Third determines submodule, color value of the pixel for including by the color under first color mode Average value, be determined as the mass-tone of the application icon.
In order to enable the display for belonging to the application icon of same group is more beautiful, and the application icon inquiry of more conducively user, The present embodiment additionally provides the sortord of application icon in a kind of group, described device further include:
Module is obtained, for obtaining color of the mass-tone for belonging to the application icon of same group under second color mode Value;
Sorting module, for color value of the mass-tone according to the application icon under second color mode, to belong to It is ranked up in same group of application icon.
In addition, first determining module, is specifically used for working as application program during installation, previously according to the application program Application icon on each pixel color, determine the mass-tone of the application icon.
In order to improve application icon mass-tone determination efficiency, first determining module, comprising:
It compresses submodule and obtains compressed application icon for compressing the application icon;
4th determines submodule, for the color according to each pixel on the compressed application icon, determines The mass-tone of the application icon.
The present embodiment can also increase preview function, specifically, described device further include:
Generation module, for generating the preview graph of the application icon according to the group result;
The display module, specifically for when receive user triggering default application icon idsplay order when, according to described Preview graph shows the application icon on the desktop of the terminal device again.
The collator of application icon provided in an embodiment of the present invention can be realized following functions: according to the application icon The color of upper each pixel, determines the mass-tone of the application icon.When the default application icon sequence for receiving user's triggering refers to When enabling, the corresponding application icon of mass-tone for belonging to same pre-set color section is determined as same group, and obtain group result;According to The group result shows the application icon on the desktop of the terminal device again.It is arranged with existing application icon Sequence is compared, and the method provided in an embodiment of the present invention to be sorted according to application icon color to application icon can satisfy user couple The aesthetic requirement of desktop improves user in addition, user can easily inquire the application of needs according to the color of application icon Usage experience.
For ease of description, only parts related to embodiments of the present invention are shown, disclosed by specific technical details, asks Referring to present invention method part.Terminal device in the present embodiment may include mobile phone, tablet computer, PDA (Personal Digital Assistant, personal digital assistant), POS (Point of Sales, point-of-sale terminal), vehicle mounted electric Brain etc. mobile terminal, or computer, TV etc..With terminal device mobile terminal, and using mobile terminal as smart phone For:
For below using smart phone as the mobile terminal for the sequence of application icon, simply from hardware capability knot The angle of structure carries out the introduction of the mobile terminal function structure.
Show with reference to the part-structure that Fig. 3, Fig. 3 are the sequence smart phones provided in an embodiment of the present invention for application icon It is intended to.Wherein, the part-structure of smart phone is only shown, it is to be understood that the smart phone in the present embodiment also wraps in Fig. 3 The other structures that general intelligence mobile phone all has are included, such as voicefrequency circuit, Wireless Fidelity (wireless fidelity, WiFi) mould Block etc..It will be understood by those skilled in the art that smart phone structure shown in Fig. 3 does not constitute the restriction to smart phone, It may include perhaps combining certain components or different component layouts than illustrating more or fewer components.
Component related to the present invention in smart phone is specifically introduced below with reference to Fig. 3:
Processor 301 is the control centre of smart phone, utilizes each of various interfaces and the entire smart phone of connection A part by running or execute the software program and/or module that are stored in memory 302, and calls and is stored in storage Data in device 302 execute the various functions and processing data of smart phone, to carry out integral monitoring to smart phone.It can Choosing, processor 301 may include one or more processing units;Preferably, processor 301 can integrate application processor and modulation Demodulation processor, wherein the main processing operation system of application processor, user interface and application program etc., modulation /demodulation processing Device mainly handles wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 301.
Memory 302 can be used for storing software program and module, and processor 301 is stored in memory 302 by operation Software program and module, thereby executing the various function application and data processing of smart phone.Memory 302 can be main Including storing program area and storage data area, wherein storing program area can answer needed for storage program area, at least one function With program (such as sound-playing function, image player function etc.) etc.;Storage data area can store the use according to smart phone Data (such as audio data, phone directory etc.) created etc..In addition, memory 302 may include high random access storage Device, can also include nonvolatile memory, and a for example, at least disk memory, flush memory device or other volatibility are solid State memory device.
In embodiments of the present invention, processor 301 is used for the color according to pixel each on the application icon, determines The mass-tone of the application icon.The mass-tone for each application icon that memory 302 is determined for storage processor 301.
Input unit 1130 can be used for receiving the number or character information of input, and generates and set with the user of smart phone It sets and the related key signals of function control inputs.Specifically, the input unit 303 in the embodiment of the present invention may include touch surface Plate 3031 and other input equipments 3032.Touch panel 3031, also referred to as touch screen collect user on it or nearby Touch operation (for example user uses any suitable objects or attachment such as finger, stylus on touch panel 3031 or in touch-control Operation near panel 3031), and corresponding attachment device is driven according to preset formula.Optionally, touch panel 3031 may include both touch detecting apparatus and touch controller.Wherein, the touch side of touch detecting apparatus detection user Position, and touch operation bring signal is detected, transmit a signal to touch controller;Touch controller is from touch detecting apparatus Touch information is received, and is converted into contact coordinate, then give processor 301, and the order that processor 301 is sent can be received And it is executed.Furthermore, it is possible to realize touch surface using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves Plate 3031.In addition to touch panel 3031, input unit 303 can also include other input equipments 3032.Specifically, other are inputted Equipment 3032 can include but is not limited to physical keyboard, function key (such as volume control button, switch key etc.), trace ball, One of mouse, operating stick etc. are a variety of.
In embodiments of the present invention, input unit 303 is used to receive the default application icon ordering instruction of user's triggering, and Described instruction is sent to processor 301.The processor 301, the mass-tone for that will belong to same pre-set color section are corresponding Application icon be determined as same group, and obtain group result.
Display unit 304 can be used for showing information input by user or be supplied to user information and mobile phone it is various Menu.Display unit 304 may include display panel 3041, optionally, can use liquid crystal display (Liquid Crystal Display, LCD), the forms such as Organic Light Emitting Diode (Organic Light-Emitting Diode, OLED) it is aobvious to configure Show panel 3041.Further, touch panel 3031 can cover display panel 3041, when touch panel 3031 detects on it Or after neighbouring touch operation, processor 301 is sent to determine the type of touch event, is followed by subsequent processing device 301 according to touch The type of event provides corresponding visual output on display panel 3041.Although in Fig. 3, touch panel 3031 and display surface Plate 3041 is the input and input function for realizing mobile phone as two independent components, but in some embodiments it is possible to It is touch panel 3031 and display panel 3041 is integrated and that realizes mobile phone output and input function.
In embodiments of the present invention, display unit 303 are used for according to the group result, again by the application icon It is shown on the desktop of the mobile terminal.
In embodiments of the present invention, processor 301 included by the smart phone is also with the following functions:
Each pixel on the application icon is traversed, and calculates color of each pixel under the first color mode Value;
Color value of each pixel under first color mode is converted into the color value under the second color mode;
According to color value of each pixel under second color mode, the color of each pixel is determined;
According to the color for having pixel most on the application icon, the mass-tone of the application icon is determined.
Preferably, face of the pixel for including by the color most with pixel under first color mode After color value is added, then the number of the pixel that includes with the color is divided by, and obtains pixel that the color includes described The average value of color value under first color mode;
The average value of color value of the pixel for including by the color under first color mode is determined as described The mass-tone of application icon.
Preferably, color value of the mass-tone for belonging to the application icon of same group under second color mode is obtained;
According to color value of the mass-tone of the application icon under second color mode, to belong to the application drawing with group Mark is ranked up.
Preferably, when application program during installation, previously according to each pixel on the application icon of the application program Color, determine the mass-tone of the application icon.
Preferably, the application icon is compressed, obtains compressed application icon;
According to the color of each pixel on the compressed application icon, the mass-tone of the application icon is determined.
Preferably, according to the group result, the preview graph of the application icon is generated;
When receiving the default application icon idsplay order of user's triggering, according to the preview graph, by the application icon Again it is shown on the desktop of the terminal device.
In addition, power module 305, for the modules into smart phone, such as processor 301, memory 302, defeated Enter unit 303, output unit 304 etc., electric energy is provided and it is maintained to work on.
For device embodiment, since it corresponds essentially to embodiment of the method, so related place is referring to method reality Apply the part explanation of example.The apparatus embodiments described above are merely exemplary, wherein described be used as separation unit The unit of explanation may or may not be physically separated, and component shown as a unit can be or can also be with It is not physical unit, it can it is in one place, or may be distributed over multiple network units.It can be according to actual It needs that some or all of the modules therein is selected to achieve the purpose of the solution of this embodiment.Those of ordinary skill in the art are not In the case where making the creative labor, it can understand and implement.
It should be noted that, in this document, relational terms such as first and second and the like are used merely to a reality Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation In any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to Non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those Element, but also including other elements that are not explicitly listed, or further include for this process, method, article or equipment Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that There is also other identical elements in process, method, article or equipment including the element.
The above is only a preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art For member, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also answered It is considered as protection scope of the present invention.

Claims (8)

1. a kind of sort method of application icon, which is characterized in that the method is applied to terminal device, the terminal device At least one application icon is shown on desktop, which comprises
According to the color of pixel each on the application icon, the mass-tone of the application icon is determined;
It is when receiving the default application icon ordering instruction of user's triggering, the mass-tone for belonging to same pre-set color section is corresponding Application icon is determined as same group, and obtains group result, the ordering instruction is triggered by preset button or preset gesture, Touch track triggering;
According to the group result, the preview graph of the application icon is generated, when the default application icon for receiving user's triggering is aobvious When showing instruction, according to the preview graph, the application icon is shown again on the desktop of the terminal device;
The color according to pixel each on the application icon, determines the mass-tone of the application icon, comprising:
The application icon is compressed, compressed application icon is obtained;
According to the color of each pixel on the compressed application icon, the mass-tone of the application icon is determined;
The color according to pixel each on the application icon, determines the mass-tone of the application icon, comprising:
Each pixel on the application icon is traversed, and calculates color value of each pixel under the first color mode, First color mode includes rgb color mode or ARGB color mode;
Color value of each pixel under first color mode is converted into the color value under the second color mode, it is described Second color mode includes HSL color mode or HSV color mode;
According to color value of each pixel under second color mode, the color of each pixel is determined;
According to the color for having pixel most on the application icon, the mass-tone of the application icon is determined.
2. the method according to claim 1, wherein described have pixel most according on the application icon Color, determine the mass-tone of the application icon, comprising:
By the pixel for including with the most color of pixel after the color value under first color mode is added, The number for the pixel for including with the color again is divided by, and obtains pixel that the color includes in first color mode Under color value average value;
The average value of color value of the pixel for including by the color under first color mode, is determined as the application The mass-tone of icon.
3. according to the method described in claim 2, it is characterized in that, the mass-tone that will belong to same pre-set color section is corresponding Application icon be determined as after same group, the method also includes:
Obtain color value of the mass-tone for belonging to the application icon of same group under second color mode;
According to color value of the mass-tone of the application icon under second color mode, for belong to the application icon with group into Row sequence.
4. the method according to claim 1, wherein the face according to pixel each on the application icon Color determines the mass-tone of the application icon, specifically:
When application program during installation, previously according to the color of each pixel on the application icon of the application program, determine The mass-tone of the application icon.
5. a kind of collator of application icon, which is characterized in that described device includes:
First determining module, the color of each pixel on the application icon shown on the desktop according to terminal device, really The mass-tone of the fixed application icon;
Second determining module, for same default face will to be belonged to when receiving the default application icon ordering instruction of user's triggering The corresponding application icon of the mass-tone in color section is determined as same group, and obtains group result, and the ordering instruction is pressed by preset Button triggering or preset gesture, touch track triggering;
Generation module, for generating the preview graph of the application icon according to the group result;
Display module, will be described according to the preview graph for when receiving the default application icon idsplay order of user's triggering Application icon is shown in again on the desktop of the terminal device;
First determining module, comprising:
It compresses submodule and obtains compressed application icon for compressing the application icon;
4th determines submodule, for the color according to each pixel on the compressed application icon, determine described in The mass-tone of application icon;
First determining module, comprising:
First computational submodule for traversing each pixel on the application icon, and calculates each pixel first Color value under color mode, first color mode include rgb color mode or ARGB color mode;
Transform subblock, for color value of each pixel under first color mode to be converted to the second color mode Under color value, second color mode includes HSL color mode or HSV color mode;
First determines that submodule determines each picture for the color value according to each pixel under second color mode The color of vegetarian refreshments;
Second determines submodule, for determining the application drawing according to the color for having pixel most on the application icon Target mass-tone.
6. device according to claim 5, which is characterized in that described second determines submodule, comprising:
Second computational submodule, the pixel for including by the color most with pixel is in the first color mould After color value under formula is added, then the number of the pixel that includes with the color is divided by, and the pixel that the color includes is obtained The average value of color value of the point under first color mode;
Third determines submodule, and color value of the pixel for including by the color under first color mode is put down Mean value is determined as the mass-tone of the application icon.
7. device according to claim 6, which is characterized in that described device further include:
Module is obtained, for obtaining color value of the mass-tone for belonging to the application icon of same group under second color mode;
Sorting module, it is same to belong to for color value of the mass-tone according to the application icon under first color mode The application icon of group is ranked up.
8. device according to claim 5, which is characterized in that first determining module is specifically used for working as application program During installation, previously according to the color of each pixel on the application icon of the application program, the application icon is determined Mass-tone.
CN201510437761.8A 2015-07-23 2015-07-23 A kind of sort method and device of application icon Active CN104932777B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510437761.8A CN104932777B (en) 2015-07-23 2015-07-23 A kind of sort method and device of application icon

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510437761.8A CN104932777B (en) 2015-07-23 2015-07-23 A kind of sort method and device of application icon

Publications (2)

Publication Number Publication Date
CN104932777A CN104932777A (en) 2015-09-23
CN104932777B true CN104932777B (en) 2019-01-15

Family

ID=54119963

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510437761.8A Active CN104932777B (en) 2015-07-23 2015-07-23 A kind of sort method and device of application icon

Country Status (1)

Country Link
CN (1) CN104932777B (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105718144B (en) * 2016-01-20 2019-05-03 Oppo广东移动通信有限公司 A kind of icon processing method and processing device
CN107783806A (en) * 2016-08-24 2018-03-09 中兴通讯股份有限公司 A kind of method and device for arranging icon
CN106528094A (en) * 2016-10-20 2017-03-22 惠州Tcl移动通信有限公司 A similarity-based application icon classifying method and system
CN106598582A (en) * 2016-12-07 2017-04-26 北京奇虎科技有限公司 Mobile terminal and desk application display method and apparatus therefor
CN107678627A (en) * 2017-10-12 2018-02-09 深圳市万普拉斯科技有限公司 Icon processing method, device and user terminal
CN108170431B (en) * 2017-12-27 2020-12-15 深圳Tcl新技术有限公司 Navigation label window color setting method and device
CN109411143B (en) * 2018-10-29 2020-08-14 国核自仪系统工程有限公司 Easily identifiable cable, cable and connector integration method
CN109683758B (en) * 2018-12-13 2021-05-07 惠州Tcl移动通信有限公司 Application icon display method and device and storage medium
CN109683769A (en) * 2018-12-29 2019-04-26 惠州Tcl移动通信有限公司 A kind of application icon sequencing display processing method, mobile terminal and storage medium
CN115033138A (en) * 2021-02-20 2022-09-09 华为技术有限公司 Icon arrangement method, electronic device and readable medium
CN114489411A (en) * 2021-12-28 2022-05-13 永中软件股份有限公司 Interface icon processing method, computing device and readable medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005354245A (en) * 2004-06-09 2005-12-22 Sony Computer Entertainment Inc Multi-media reproducing device and menu screen display method
WO2008131022A1 (en) * 2007-04-17 2008-10-30 Guava Technologies, Inc. Graphical user interface for analysis and comparison of location-specific multiparameter data sets
US20110096087A1 (en) * 2009-10-26 2011-04-28 Samsung Electronics Co. Ltd. Method for providing touch screen-based user interface and portable terminal adapted to the method
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
CN104536771A (en) * 2015-01-28 2015-04-22 广东欧珀移动通信有限公司 Method and system for showing icon sequencing according to icon colors

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005354245A (en) * 2004-06-09 2005-12-22 Sony Computer Entertainment Inc Multi-media reproducing device and menu screen display method
WO2008131022A1 (en) * 2007-04-17 2008-10-30 Guava Technologies, Inc. Graphical user interface for analysis and comparison of location-specific multiparameter data sets
US20110096087A1 (en) * 2009-10-26 2011-04-28 Samsung Electronics Co. Ltd. Method for providing touch screen-based user interface and portable terminal adapted to the method
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
CN104536771A (en) * 2015-01-28 2015-04-22 广东欧珀移动通信有限公司 Method and system for showing icon sequencing according to icon colors

Also Published As

Publication number Publication date
CN104932777A (en) 2015-09-23

Similar Documents

Publication Publication Date Title
CN104932777B (en) A kind of sort method and device of application icon
US20180356935A1 (en) Touch point positioning method and apparatus, and terminal device
US8761839B2 (en) Method and mobile terminal for processing contacts
CN108984064B (en) Split screen display method and device, storage medium and electronic equipment
RU2632153C2 (en) Method, device and terminal for displaying virtual keyboard
CN103218165B (en) A kind of method, device and mobile terminal changing key arrangement
CN106325749A (en) Operation method of mobile terminal, and mobile terminal
CN108920082A (en) Method of controlling operation thereof, device, storage medium and electronic equipment
CN109062468B (en) Split screen display method and device, storage medium and electronic equipment
CN107390976B (en) Icon display processing method and electronic equipment
CN108307068A (en) Pair screen shows interface switching method, mobile terminal and storage medium
KR101783276B1 (en) Method and apparatus for controlling display of screen background
CN108519851A (en) A kind of interface switching method and mobile terminal
CN107533432B (en) Pressure touch method and electronic equipment
CN108932057A (en) Method of controlling operation thereof, device, storage medium and electronic equipment
CN110321915A (en) A kind of data processing method, compensation data method and relevant device
CN108897473A (en) A kind of interface display method and terminal
CN108415642A (en) A kind of display methods and mobile terminal
CN108616897A (en) A kind of configuration method, terminal and the network equipment of discontinuous reception DRX parameters
CN108958841A (en) A kind of setting method and mobile terminal of desktop pendant
CN108415643A (en) A kind of icon display method and terminal
CN110191303A (en) Video call method and Related product based on screen sounding
CN108920040A (en) A kind of application icon method for sorting and mobile terminal
CN109062469B (en) Split screen display method and device, storage medium and electronic equipment
CN106454936B (en) Network control method and intelligent terminal

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20190124

Address after: 100041 B-0035, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing.

Patentee after: BEIJING ZIJIE TIAODONG NETWORK TECHNOLOGY CO., LTD.

Address before: Room 309 and 310, Building 3, 33 D, 99 Kechuang 14th Street, Daxing Economic and Technological Development Zone, Beijing, 100176

Patentee before: Beijing hammer numeral science and technology company limited