Method and device for displaying icon badge

US10095377B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-10095377-B2
Application numberUS-201615181600-A
CountryUS
Kind codeB2
Filing dateJun 14, 2016
Priority dateJul 24, 2015
Publication dateOct 9, 2018
Grant dateOct 9, 2018

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

A method for displaying a badge of an icon is disclosed. The method may comprise acquiring feature information of the icon; determining a display element of the badge according to the acquired feature information; and generating and displaying the badge according to the determined display element, at a preset position of the icon.

First claim

Opening claim text (preview).

What is claimed is: 1. A method for displaying a badge of an icon, comprising: acquiring feature information of the icon, the feature information including at least a feature color of the icon; determining a display element of the badge according to the acquired feature information, the determining of the display element of the badge comprises: determining at least one of a shape of the badge, a background color of the badge, a color of a character in the badge, or a font of a character in the badge according to the acquired feature information; and generating and displaying the badge according to the determined display element, at a preset position of the icon, wherein when an application corresponding to the icon is an application folder, acquiring the feature information of the icon comprises at least one of: acquiring all image files of all application icons in the application folder, and using a most frequently appearing color value among color values of all pixels in all the image files as the feature color of the icon, or acquiring all image files of all application icons in the application folder; and averaging color values of pixels with similar colors among all pixels in the image files, and using the averaged value as the feature color of the icon. 2. The method according to claim 1 , wherein: acquiring the feature information of the icon comprises acquiring an application type corresponding to the icon; and determining the display element of the badge according to the acquired feature information comprises determining the display element corresponding to the acquired application type according to a preset corresponding relationship between the acquired application type and the display element. 3. The method according to claim 1 , wherein: acquiring the feature information of the icon comprises acquiring a priority level of an application corresponding to the icon; and determining the display element of the badge according to the acquired feature information comprises determining the display element corresponding to the acquired priority level of the application according to a preset corresponding relationship between the acquired priority level of the application and the display element. 4. The method according to claim 1 , wherein: determining the display element of the badge according to the acquired feature information comprises using the feature color as the background color of the badge, and/or as the color of the character in the badge. 5. The method according to claim 1 , wherein acquiring the feature color of the icon comprises at least one of: acquiring a most frequently appearing color value among color values of all pixels in an image file of the icon, and using the acquired color value as the feature color of the icon; or averaging color values of pixels with similar colors among all pixels in an image file of the icon, and using the averaged value as the feature color of the icon. 6. The method according to claim 1 , wherein generating and displaying the badge, according to the determined display element, at the preset position of the icon comprises: generating and displaying a badge border for the badge. 7. The method according to claim 6 , wherein determining the display element of the badge according to the acquired feature information further comprises: determining at least one of a color of the badge border, a width of the badge border, or a shape of the badge border according to the acquired feature information. 8. A device for displaying a badge of an icon, comprising: a processor; and a memory for storing instructions executable by the processor; wherein the processor is configured to: acquire feature information of the icon, the feature information including at least a feature color of the icon; determine a display element of the badge according to the acquired feature information; and generate and display the badge, according to the determined display element, at a preset position of the icon, and wherein in determining the display element of the badge according to the acquired feature information, the processor is further configured to: determine at least one of a shape of the badge, a background color of the badge, a color of a character in the badge, or a font of a character in the badge according to the acquired feature information, and wherein when an application corresponding to the icon is an application folder, the processor is further configured to perform at least one of: acquiring all image files of all application icons in the application folder, and using a most frequently appearing color value among color values of all pixels in all the image files as the feature color of the icon, or acquiring all image files of all application icons in the application folder; and averaging color values of pixels with similar colors among all pixels in the image files, and using the averaged value as the feature color of the icon. 9. The device according to claim 8 , wherein the processor is further configured to: acquire an application type corresponding to the icon; and determine the display element corresponding to the acquired application type according to a preset corresponding relationship between the acquired application type and the display element. 10. The device according to claim 8 , wherein the processor is further configured to: acquire the priority level of an application corresponding to the icon; and determine a display element corresponding to the acquired priority level of the application according to a preset corresponding relationship between the acquired priority level of the application and the display element. 11. The device according to claim 8 , wherein the processor is further configured to: use the feature color as the background color of the badge, and/or as the color of the character in the badge. 12. The device according to claim 8 , wherein the processor is further configured to perform at least one of: acquiring a most frequently appearing color value among color values of all pixels in an image file of the icon, and using the acquired color as the feature color of the icon; or averaging color values of pixels with similar colors among all pixels in an image file of the icon, and using the averaged value as the feature color of the icon. 13. The device according to claim 8 , wherein the processor is further configured to: generate and display a badge border for the badge. 14. A non-transitory computer-readable storage medium having stored therein instructions that, when executed by a processor in a terminal device, cause the terminal device to perform a method for displaying a badge of an icon, the method comprising: acquiring feature information of the icon, the feature information including at least a feature color of the icon; determining a display element of the badge according to the acquired feature information, the determining of the display element of the badge comprises: determining at least one of a shape of the badge, a background color of the badge, a color of a character in the badge, or a font of a character in the badge according to the acquired feature information; and generating and displaying the badge, according to the determined display element, at a preset position of the icon, wherein when an application corresponding to the icon is an application folder, acquiring the feature information of the icon comprises at least one of: acquiring all image files of all application icons in the application folder, and using a most frequently appearing color value among color values of all pixels in

Assignees

Inventors

Classifications

  • Texturing; Colouring; Generation of textures or colours (retouching, inpainting or scratch removal G06T5/77) · CPC title

  • Image averaging · CPC title

  • Creating or editing images; Combining images with text · CPC title

  • Determination of colour characteristics · CPC title

  • using icons (graphical or visual programming using iconic symbols G06F8/34) · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US10095377B2 cover?
A method for displaying a badge of an icon is disclosed. The method may comprise acquiring feature information of the icon; determining a display element of the badge according to the acquired feature information; and generating and displaying the badge according to the determined display element, at a preset position of the icon.
Who is the assignee on this patent?
Xiaomi Inc
What technology area does this patent fall under?
Primary CPC classification G06F3/04817. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Oct 09 2018 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 4 related publications on this page (citations in our corpus or others sharing the same primary CPC).