CN112333519A - Color filling method, system, equipment and storage medium for icon spacing area - Google Patents

Color filling method, system, equipment and storage medium for icon spacing area Download PDF

Info

Publication number
CN112333519A
CN112333519A CN202011008394.7A CN202011008394A CN112333519A CN 112333519 A CN112333519 A CN 112333519A CN 202011008394 A CN202011008394 A CN 202011008394A CN 112333519 A CN112333519 A CN 112333519A
Authority
CN
China
Prior art keywords
color
icons
icon
interval
area
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011008394.7A
Other languages
Chinese (zh)
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.)
Shenzhen TCL New Technology Co Ltd
Original Assignee
Shenzhen TCL New 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 Shenzhen TCL New Technology Co Ltd filed Critical Shenzhen TCL New Technology Co Ltd
Priority to CN202011008394.7A priority Critical patent/CN112333519A/en
Publication of CN112333519A publication Critical patent/CN112333519A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/485End-user interface for client configuration
    • H04N21/4854End-user interface for client configuration for modifying image parameters, e.g. image brightness, contrast
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/485End-user interface for client configuration
    • H04N21/4858End-user interface for client configuration for modifying screen layout parameters, e.g. fonts, size of the windows

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a color filling method, a system, equipment and a storage medium for an icon spacing area, wherein the method comprises the following steps: for any two adjacent icons, extracting one color of one of the two adjacent icons as a target color; acquiring a spacing area between two adjacent icons; the target color is filled into the interval area, so that the problems that the color of the gaps between the program icons in the current smart television menu is single and not obvious enough are solved, the individuation of the program menu is increased, the program icons in the program menu can be distinguished obviously by a user, and the visual experience of the user is improved.

Description

Color filling method, system, equipment and storage medium for icon spacing area
Technical Field
The invention relates to the technical field of smart televisions, in particular to a color filling method, a color filling system, color filling equipment and a storage medium for an icon spacing area.
Background
At present, in order to facilitate a user to select a favorite television program or video content, a program icon related to a television program is provided for the user in an intelligent television program menu, so that the user can select the favorite television program. Certain gaps (also called interval regions) are arranged among the program icons, and the program icons can be distinguished through the gaps, so that a user can browse a program menu and select a program conveniently.
Gaps among program icons in the existing intelligent television menu are kept consistent with the color of the menu background, and the program icons are not easy to distinguish when a user browses the menu. As can be seen, the gaps between the program icons in the current smart television menu are single in color and not striking enough, so that the program icons are not easily distinguished clearly by the user.
Disclosure of Invention
The embodiment of the application aims to solve the problems that the color of gaps among program icons in the current smart television menu is single and not striking enough by providing a color filling method, a system, equipment and a storage medium for an icon spacing area.
The embodiment of the application provides a color filling method for an icon spacing area, which comprises the following steps:
for any two adjacent icons, extracting one color of one of the two adjacent icons as a target color;
acquiring a spacing area between the two adjacent icons;
filling the target color into the spaced area.
In one embodiment, the extracting a color of one of the two adjacent icons as the target color includes:
acquiring all colors in one of the two adjacent icons;
calculating a color ratio of each color;
and sequencing all the color ratio values, and selecting the color with the largest color ratio value as the target color.
In an embodiment, the acquiring the spacing region between the two adjacent icons includes:
acquiring the size of a screen, the number of icons of a desktop and a layout mode;
calculating the size of the interval between the two adjacent icons based on a preset interval setting rule according to the size, the number and the layout mode of the screen to obtain the interval area;
wherein, the preset interval setting rule is as follows:
the interval length is (the number of icons on the desktop/N) multiplied by the number of horizontal pixel points of the screen display resolution;
the interval width is (the number of icons on the desktop/N) multiplied by the number of vertical pixels of the screen display resolution;
and N is a proportionality coefficient.
In an embodiment, after the step of filling the target color into the spaced area, the method further includes:
and when the color of the interval area is the same as the currently displayed ground color of the screen, refilling the interval area with any color in one of the icons adjacent to the interval area.
In an embodiment, after the step of filling the target color into the spaced area, the method further includes:
and when the colors of the adjacent interval areas are the same, adjusting the color parameter of one of the interval areas.
In an embodiment, after the step of filling the target color into the spaced area, the method further includes:
and when the colors of the two adjacent icons are single colors and the color of the interval area is the same as the color of at least one of the two adjacent icons, adjusting the color parameters of the interval area.
In an embodiment, after the step of filling the target color into the spaced area, the method further includes:
highlighting the spacer region.
In addition, to achieve the above object, the present invention also provides a color filling system for an icon space region, including:
the color extraction module is used for extracting one color of one of any two adjacent icons as a target color;
the interval area acquisition module is used for acquiring an interval area between the two adjacent icons;
a color filling module for filling the target color into the spaced area.
In addition, to achieve the above object, the present invention further provides a color filling method and apparatus for an icon space region, including: the color filling program of the icon spacing area realizes the steps of the color filling method of the icon spacing area when being executed by the processor.
Further, to achieve the above object, the present invention also provides a computer-readable storage medium having stored thereon a color filling program of an icon space region, which when executed by a processor, implements the steps of the color filling method of an icon space region described above.
The technical scheme of the color filling method, system, device and storage medium for the icon space region provided in the embodiments of the present application has at least the following technical effects or advantages:
the technical scheme that one color of any two adjacent icons is extracted as the target color, the interval area between the two adjacent icons is obtained, and the target color is filled into the interval area is adopted, so that the problems that the color of the gap between the program icons in the existing intelligent television menu is single and not striking enough are solved, different colors can be set for the interval area between the adjacent program icons according to the colors of the program icons, the individuation of the program menu is increased, the program icons in the program menu can be distinguished by a user in a striking manner, and the visual experience of the user is improved.
Drawings
FIG. 1 is a schematic diagram of a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a color filling method for an icon space region according to a first embodiment of the present invention;
FIG. 3 is a flowchart illustrating a color filling method for an icon space area according to a second embodiment of the present invention;
FIG. 4 is a flowchart illustrating a color filling method for an icon space region according to a third embodiment of the present invention;
FIG. 5 is a functional block diagram of a color fill system for the icon space region according to the present invention.
Detailed Description
For a better understanding of the above technical solutions, exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
The invention provides a color filling device for an icon spacing area. As shown in fig. 1, fig. 1 is a schematic structural diagram of a hardware operating environment according to an embodiment of the present invention.
Fig. 1 is a schematic structural diagram of a hardware operating environment of a color filling apparatus, which may be an icon space region.
As shown in fig. 1, the color filling apparatus of the icon space region may include: a processor 1001, such as a CPU, a memory 1005, a user interface 1003, a network interface 1004, a communication bus 1002. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a storage device separate from the processor 1001.
Optionally, the color filling device of the icon space region may further include RF (Radio Frequency) circuits, sensors, audio circuits, WiFi modules, and the like.
Those skilled in the art will appreciate that the color fill device configuration of the icon spacing region shown in fig. 1 does not constitute a color fill device definition for the icon spacing region, and may include more or fewer components than shown, or some components in combination, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a kind of computer-readable storage medium, may include therein an operating system, a network communication module, a user interface module, and a color filling program of an icon space region. Among them, the operating system is a program that manages and controls hardware and software resources of the color filling device of the icon space region, the color filling program of the icon space region, and the execution of other software or programs.
In the color filling apparatus of the icon space region shown in fig. 1, the user interface 1003 is mainly used for connecting a terminal, and performing data communication with the terminal; the network interface 1004 is mainly used for the background server and performs data communication with the background server; the processor 1001 may be used to invoke a color filling program for the icon space region stored in the memory 1005.
In this embodiment, the color filling apparatus of the icon space region includes: a memory 1005, a processor 1001 and a color filling program of an icon space area stored on the memory and executable on the processor, wherein:
when the processor 1001 calls the color filling program of the icon space region stored in the memory 1005, the following operations are performed:
for any two adjacent icons, extracting one color of one of the two adjacent icons as a target color;
acquiring a spacing area between the two adjacent icons;
filling the target color into the spaced area.
When the processor 1001 calls the color filling program of the icon space region stored in the memory 1005, the following operations are also performed:
acquiring all colors in one of the two adjacent icons;
calculating a color ratio of each color;
and sequencing all the color ratio values, and selecting the color with the largest color ratio value as the target color.
When the processor 1001 calls the color filling program of the icon space region stored in the memory 1005, the following operations are also performed:
acquiring the size of a screen, the number of icons of a desktop and a layout mode;
and calculating the size of the interval between the two adjacent icons based on a preset interval setting rule according to the size, the number and the layout mode of the screen to obtain the interval area.
Wherein, the preset interval setting rule is as follows:
the interval length is (the number of icons on the desktop/N) multiplied by the number of horizontal pixel points of the screen display resolution;
the interval width is (the number of icons on the desktop/N) multiplied by the number of vertical pixels of the screen display resolution;
and N is a proportionality coefficient.
When the processor 1001 calls the color filling program of the icon space region stored in the memory 1005, the following operations are also performed:
and when the color of the interval area is the same as the currently displayed ground color of the screen, refilling the interval area with any color in one of the icons adjacent to the interval area.
When the processor 1001 calls the color filling program of the icon space region stored in the memory 1005, the following operations are also performed:
and when the colors of the adjacent interval areas are the same, adjusting the color parameter of one of the interval areas.
When the processor 1001 calls the color filling program of the icon space region stored in the memory 1005, the following operations are also performed:
and when the colors of the two adjacent icons are single colors and the color of the interval area is the same as the color of at least one of the two adjacent icons, adjusting the color parameters of the interval area.
When the processor 1001 calls the color filling program of the icon space region stored in the memory 1005, the following operations are also performed:
highlighting the spacer region.
As shown in fig. 2, in a first embodiment of the present application, a method for color filling of an icon space region of the present application includes the following steps:
step S210: for any two adjacent icons, one color of one of the two adjacent icons is extracted as a target color.
In this embodiment, the icon refers to a program icon in a program menu, and a user can click the program icon through a remote controller to play a program corresponding to the program icon. The program icon is used for promoting the corresponding program, and generally comprises parts such as different background colors, different background patterns, program related characters and the like. Specifically, the video server sends the program menu to a display device, such as an intelligent television. The intelligent television obtains the layout mode of the program icons from the program menu, determines every two adjacent program icons, extracts one color from one of the two adjacent program icons for any two adjacent program icons, and takes the extracted color as a target color, wherein the target color is used for filling a spacing area between the two adjacent program icons. For example, two adjacent program icons are icon a and icon B, respectively, where the colors in icon a are red, green, blue, white, and purple; the colors in icon B are yellow, black, green, and orange. The extracted target color may be red in the icon a, that is, red is a target color filling a space region between the icon a and the icon B; or the extracted target color may be green in the icon a, that is, green is a target color that fills the space region between the icon a and the icon B.
Step S220: and acquiring a spacing area between the two adjacent icons.
In this embodiment, the smart television may obtain a layout manner of program icons according to a program menu, for example, the number of program icons in the program menu is 4, the 4 program icons are respectively an icon a, an icon B, an icon C, and an icon D, the icon a, the icon B, the icon C, and the icon D are sequentially and horizontally arranged, and an order presented on a screen of the smart television is also the icon a, the icon B, the icon C, and the icon D, that is, the above order is also an order viewed by a user viewing angle. A gap is reserved between the icon A and the icon B, a gap is reserved between the icon B and the icon C, and a gap is reserved between the icon C and the icon D. And the intelligent television acquires a gap between two adjacent icons according to the layout mode of the current 4 icons, wherein the gap is the interval area. There are three gaps between icon a, icon B, icon C, and icon D, i.e., three spaced areas, which are objects filled with target colors, respectively.
Step S230: filling the target color into the spaced area.
In the present embodiment, a target color extracted from one of two adjacent program icons is filled in a space area between the two adjacent icons. For example, the icon a and the icon B are adjacent to each other, the extracted target color is red, the red may be the color in the icon a, or may be the color in the icon B, and the interval region between the icon a and the icon B is filled with the red, that is, the gap between the icon a and the icon B becomes red.
According to the technical scheme, one color of any two adjacent icons is extracted to serve as the target color, the interval area between the two adjacent icons is obtained, and the target color is filled into the interval area.
As shown in fig. 3, in the second embodiment of the present application, step S210 specifically includes the following steps:
step S211: all colors in one of the two adjacent icons are acquired.
In this embodiment, after receiving the program menu, the smart television traverses all program icons in the program menu, determines all colors in each program icon, selects two adjacent program icons according to the arrangement mode of each program icon, and further obtains all colors of one of the selected two adjacent program icons. Wherein, all colors in each program icon include background color, pattern color, character color, and the like.
Step S212: the color ratio value of each color is calculated.
The propaganda design of each program icon is different, wherein the propaganda design comprises different colors, each color accounts for different proportions, and different colors can render patterns, characters and the like in the program icons, so that the program icons are more vivid and vivid, and the user eyes are attracted more easily. In this embodiment, first, the total number of pixel points of all colors and the number of pixel points of each color in the program icon are obtained, and then the following formula is adopted: and obtaining the color ratio of each color by the number of pixel points of a certain color/the total number of pixel points of all colors.
Step S213: and sequencing all the color ratio values, and selecting the color with the largest color ratio value as the target color.
In this embodiment, the color ratio values of the colors in the program icon are obtained through calculation, all the color ratio values are sorted from large to small, and the color with the largest color ratio value is selected as the target color. For example, the program icon includes 4 colors of red, green, blue, and white, the number of red pixels is 1000, the number of green pixels is 500, the number of blue pixels is 800, and the number of white pixels is 700, where the ratio of red is 1/3, the ratio of green is 1/6, the ratio of blue is 4/15, and the ratio of white is 7/30. The color ratio ordering of these four colors is: the red proportion value > blue proportion value > white proportion value > green proportion value, wherein the red proportion value is the largest, and red is selected as a target color. Further, red is the color with the largest color proportion in the program icons, and is used as the target color for filling the space area, so that two adjacent icons are more striking and can be distinguished more easily.
The method adopts the technical scheme that all colors in one of two adjacent icons are obtained, the color ratio of each color is calculated, all the color ratios are ranked, the color with the largest color ratio is selected as the target color, and the color with the largest color ratio in the program icons is used as the filling color of the interval area, so that the interval area between the two adjacent icons can be personalized, the two adjacent program icons are further more striking, and the program icons are easier to distinguish.
As shown in fig. 4, in the third embodiment of the present application, the step S220 specifically includes the following steps:
step S221: and acquiring the size of the screen, the number of icons of the desktop and the layout mode.
In the present embodiment, the size of the screen is the display resolution. After receiving the program menu, the intelligent television acquires the size of a screen of the intelligent television, traverses the program menu, and determines the number of program icons (the number of program icons on a desktop) in the program menu and the layout mode of the program icons. For example, the number of program icons in the program menu is 12, where the program menu may be traversed by arranging the program icons in a 3 × 4 manner, that is, 3 rows and 4 columns, and it may be determined that the program icons are 12, and at the same time, the program icon layout manner is also 3 × 4.
Step S222: and calculating the size of the interval between the two adjacent icons based on a preset interval setting rule according to the size, the number and the layout mode of the screen to obtain the interval area.
In this embodiment, the smart television acquires the layout mode of the program icons, and can determine how the program icons keep the original layout mode to be displayed on the screen according to the size of the screen. Because the sizes of different possible screens of the intelligent television are different, after the program icons in the same layout mode are displayed on the screens with different sizes, the intervals between two adjacent program icons are different. Further, the present embodiment sets a setting rule for calculating the size of the space between two adjacent icons, the setting rule relating to the size of the screen according to the number of program icons, the setting rule being:
the interval length is (the number of icons on the desktop/N) multiplied by the number of horizontal pixel points of the screen display resolution;
the interval width is (number of icons on the desktop/N) × the number of vertical pixels of the screen display resolution, where N is a scaling factor.
For example, if the number of program icons is 10, the screen display resolution is 1920 × 1080, and N is 1000, the number of horizontal pixels at intervals is 19.2, and the number of vertical pixels at intervals is 10.8. Wherein the length of the interval is 19.2, the width of the interval is 10.8, and 19.2 x 10.8 is the interval size, namely the interval area.
According to the method, the size of the screen, the number of icons on the desktop and the layout mode are obtained, the size of the interval between two adjacent icons is calculated based on a preset interval setting rule according to the size of the screen, the number of the icons and the layout mode, and the technical scheme of the interval region is obtained, so that the interval region between the program icons can be adjusted, and the program icons can be adaptive to different screens.
Further, in the first embodiment of the present application, the method for filling a color into an icon space region of the present application further includes: and when the color of the interval area is the same as the currently displayed ground color of the screen, refilling the interval area with any color in one of the icons adjacent to the interval area.
In this embodiment, in order to avoid that the color of the space region is the same as the currently displayed ground color of the screen, the application performs traversal detection on the color of the space region after filling the space region between two adjacent program icons with a target color, determines that the space region is an abnormal color region when the space region is the same as the currently displayed ground color of the screen, further automatically erases the color of the abnormal color region, and re-fills the abnormal color region with any color in one of the program icons adjacent to the abnormal color region until the color of the abnormal color region is different from the currently displayed ground color of the screen. The color of the spacing area is kept different from the current displayed ground color of the screen, so that the spacing area and the screen can form sharp contrast, individuation of the spacing area is enhanced, and visual impact is improved.
Further, in the first embodiment of the present application, the method for filling a color into an icon space region of the present application further includes: and when the colors of the adjacent interval areas are the same, adjusting the color parameter of one of the interval areas.
Specifically, after the space area between two adjacent program icons is filled with the target color, the colors of the space area are subjected to traversal detection, and when the colors of the adjacent space areas are the same, it is determined that the adjacent space areas are similar/identical in color, and then the color parameter of one of the adjacent space areas is automatically increased or decreased. In this embodiment, the adjacent spacing regions can be understood in two ways. First, for example, the program menu includes 4 icons, namely icon a, icon B, icon C, and icon D, and the layout of the 4 program icons is 2 × 2, i.e., 2 rows and 2 columns. The icons a and B are in the same row, the icons C and D are in the same row, the icons a and C are in the same column, and the icons B and D are in the same column, so that the spacing region adjacent to the spacing region (marked as region x) between the icon a and the icon C is the spacing region (marked as region y) between the icon B and the icon D. If the colors of the area x and the area y are the same, the colors of the area x and the area y are not changed in color difference from the user's perspective, and the visual sensation is poor. Second, for example, the program menu includes 4 icons, namely icon a, icon b, icon c, and icon d, and the layout of the 4 program icons is 1 × 4, i.e., 1 row and 4 columns. The icon a, the icon b, the icon c and the icon d are sequentially arranged, a spacing area between the icon a and the icon b is marked as an area m, a spacing area between the icon b and the icon c is marked as an area n, and a spacing area between the icon c and the icon d is marked as an area k, so that the area m and the area n are adjacent spacing areas, and the area n and the area k are adjacent spacing areas. When the color of the area m is the same as that of the area n or the color of the area n is the same as that of the area k, the color difference between the area m and the area n or between the area n and the area k is not changed from the user perspective, and the visual sense is poor. When the colors of the adjacent interval areas are the same, the color parameter of one interval area is automatically increased or decreased, so that the colors of the adjacent interval areas are in color difference, and the visual comfort of a user when the user browses the program icon is enhanced. Wherein the color parameter is an RGB value, for example, the color may change to pink after the RGB value is reduced by red.
Further, in the first embodiment of the present application, the method for filling a color into an icon space region of the present application further includes: and when the colors of the two adjacent icons are single colors and the color of the interval area is the same as the color of at least one of the two adjacent icons, adjusting the color parameters of the interval area.
Specifically, when the color of two adjacent program icons is a single color, and the color of the interval region between the two adjacent program icons is the same as the color of at least one of the two adjacent program icons, the color parameter of the interval region between the two adjacent program icons is automatically adjusted, and the color parameter is an RGB value. In this embodiment, the color of the adjacent program icons may be monochrome, for example, in one case, the icon a is green, the icon B is orange, and the color of the time interval region is green or orange, when the color of the time interval region is green, the time interval region is fused with the icon a, and when the user visually watches the program icons, only the icon a and the icon B can be seen, and there is no time interval region between the icon a and the icon B, so that the visual experience is poor. When the situation occurs, the color parameter of the color of the interval area is automatically increased or decreased, and after the color of the interval area is decreased by the color parameter, the color of the interval area is changed into light green, so that the color difference is generated between the icon A and the interval area, and the visual comfort of the user in browsing the program icon is enhanced. In other cases, if the icon a is green and the icon B is orange, and the color of the space region is orange or the colors of the icon a, the icon B and the space region are the same, the operation of increasing or decreasing the color parameter is performed on the color of the space region, and the specific operation is similar to the above case, and is not repeated here.
Further, in the first embodiment of the present application, the method for filling a color into an icon space region of the present application further includes: highlighting the spacer region.
In this embodiment, the target color is used to fill the space between two adjacent program icons, and the space between any two adjacent program icons has its own color, and in the present application, highlighting operation is performed on each space, so as to further enhance the visual sense of the space, and make the program icons more striking. There are various ways to highlight the space region, such as displaying the space region with a breathing lamp, setting the space region to be always on, and so on.
As shown in fig. 5, further, the present application provides a color filling system for an icon space region, including:
a color extraction module 300, configured to, for any two adjacent icons, extract one color of one of the two adjacent icons as a target color;
an interval region acquiring module 301, configured to acquire an interval region between the two adjacent icons;
a color filling module 302 for filling the target color into the spaced area.
Further, the color extraction module 300 includes:
the color acquisition unit is used for acquiring all colors in one of the two adjacent icons;
a first calculation unit for calculating a color ratio value of each color;
and the sorting unit is used for sorting all the color proportion values and selecting the color with the largest color proportion value as the target color.
Further, the interval region obtaining module 301 includes:
the parameter acquisition unit is used for acquiring the size of a screen, the number of icons of a desktop and a layout mode;
and the second calculating unit is used for calculating the size of the interval between the two adjacent icons based on a preset interval setting rule according to the size, the number and the layout mode of the screen to obtain the interval area.
Further, the color filling module 302 is further configured to, when the color of the space region is the same as the currently displayed ground color of the screen, refill the space region with any color in one of the icons adjacent to the space region.
Further, the color filling system for the icon space region further includes:
the color parameter adjusting module 303 is configured to adjust a color parameter of one of the interval regions when the colors of adjacent interval regions are the same.
Further, the color parameter adjusting module 303 is further configured to adjust the color parameter of the spacing region when the color of the two adjacent icons is a single color and the color of the spacing region is the same as the color of at least one of the two adjacent icons.
Further, the color filling system for the icon space region further includes:
a highlighting module 304 for highlighting the gap region
The specific implementation of the color filling system for the icon space area of the present invention is substantially the same as the embodiments of the color filling method for the icon space area, and will not be described herein again.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It should be noted that in the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (10)

1. A method of color filling an icon space region, the method comprising:
for any two adjacent icons, extracting one color of one of the two adjacent icons as a target color;
acquiring a spacing area between the two adjacent icons;
filling the target color into the spaced area.
2. The method of claim 1, wherein said extracting a color of one of said two adjacent icons as a target color comprises:
acquiring all colors in one of the two adjacent icons;
calculating a color ratio of each color;
and sequencing all the color ratio values, and selecting the color with the largest color ratio value as the target color.
3. The method of claim 1, wherein said obtaining a separation region between said two adjacent icons comprises:
acquiring the size of a screen, the number of icons of a desktop and a layout mode;
calculating the size of the interval between the two adjacent icons based on a preset interval setting rule according to the size, the number and the layout mode of the screen to obtain the interval area;
wherein, the preset interval setting rule is as follows:
the interval length is (the number of icons on the desktop/N) multiplied by the number of horizontal pixel points of the screen display resolution;
the interval width is (the number of icons on the desktop/N) multiplied by the number of vertical pixels of the screen display resolution;
and N is a proportionality coefficient.
4. The method of claim 3, wherein the step of filling the target color into the spaced area is followed by further comprising:
and when the color of the interval area is the same as the currently displayed ground color of the screen, refilling the interval area with any color in one of the icons adjacent to the interval area.
5. The method of claim 1, wherein the step of filling the target color into the spaced area is followed by further comprising:
and when the colors of the adjacent interval areas are the same, adjusting the color parameter of one of the interval areas.
6. The method of claim 1, wherein the step of filling the target color into the spaced area is followed by further comprising:
and when the colors of the two adjacent icons are single colors and the color of the interval area is the same as the color of at least one of the two adjacent icons, adjusting the color parameters of the interval area.
7. The method of claim 1, wherein the step of filling the target color into the spaced area is followed by further comprising:
highlighting the spacer region.
8. A color fill system for an icon space region, comprising:
the color extraction module is used for extracting one color of one of any two adjacent icons as a target color;
the interval area acquisition module is used for acquiring an interval area between the two adjacent icons;
a color filling module for filling the target color into the spaced area.
9. A color filling apparatus of an icon space region, comprising: a memory, a processor and a color filling program of an icon spacing region stored on the memory and executable on the processor, which when executed by the processor implements the steps of the color filling method of an icon spacing region as claimed in any one of claims 1 to 7.
10. A computer-readable storage medium, on which a color filling program of an icon spacing region is stored, which when executed by a processor implements the steps of the color filling method of an icon spacing region according to any one of claims 1 to 7.
CN202011008394.7A 2020-09-23 2020-09-23 Color filling method, system, equipment and storage medium for icon spacing area Pending CN112333519A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011008394.7A CN112333519A (en) 2020-09-23 2020-09-23 Color filling method, system, equipment and storage medium for icon spacing area

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011008394.7A CN112333519A (en) 2020-09-23 2020-09-23 Color filling method, system, equipment and storage medium for icon spacing area

Publications (1)

Publication Number Publication Date
CN112333519A true CN112333519A (en) 2021-02-05

Family

ID=74303975

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011008394.7A Pending CN112333519A (en) 2020-09-23 2020-09-23 Color filling method, system, equipment and storage medium for icon spacing area

Country Status (1)

Country Link
CN (1) CN112333519A (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103123623A (en) * 2011-11-17 2013-05-29 阿里巴巴集团控股有限公司 Method and device for providing webpage hierarchy information
CN104536771A (en) * 2015-01-28 2015-04-22 广东欧珀移动通信有限公司 Method and system for showing icon sequencing according to icon colors
CN104965631A (en) * 2015-05-26 2015-10-07 深圳市万普拉斯科技有限公司 Desktop color matching method, desktop color matching apparatus and intelligent terminal
CN105005461A (en) * 2015-06-23 2015-10-28 深圳市金立通信设备有限公司 Icon display method and terminal
CN105677155A (en) * 2016-01-05 2016-06-15 深圳Tcl数字技术有限公司 Setting method and system for intelligent terminal application icons
CN105677349A (en) * 2016-01-05 2016-06-15 努比亚技术有限公司 Desktop icon display method and device
CN107291334A (en) * 2017-06-27 2017-10-24 努比亚技术有限公司 A kind of icon font color determines method and apparatus
CN108549507A (en) * 2018-03-01 2018-09-18 平安科技(深圳)有限公司 Arrange application drawing calibration method, terminal device and computer readable storage medium
CN108765485A (en) * 2018-04-10 2018-11-06 深圳康得新智能显示科技有限公司 The displaying of image, processing method and processing device
CN109189281A (en) * 2018-06-29 2019-01-11 努比亚技术有限公司 Color adaptation method, terminal and the computer storage medium of wallpaper and icon

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103123623A (en) * 2011-11-17 2013-05-29 阿里巴巴集团控股有限公司 Method and device for providing webpage hierarchy information
CN104536771A (en) * 2015-01-28 2015-04-22 广东欧珀移动通信有限公司 Method and system for showing icon sequencing according to icon colors
CN104965631A (en) * 2015-05-26 2015-10-07 深圳市万普拉斯科技有限公司 Desktop color matching method, desktop color matching apparatus and intelligent terminal
CN105005461A (en) * 2015-06-23 2015-10-28 深圳市金立通信设备有限公司 Icon display method and terminal
CN105677155A (en) * 2016-01-05 2016-06-15 深圳Tcl数字技术有限公司 Setting method and system for intelligent terminal application icons
CN105677349A (en) * 2016-01-05 2016-06-15 努比亚技术有限公司 Desktop icon display method and device
CN107291334A (en) * 2017-06-27 2017-10-24 努比亚技术有限公司 A kind of icon font color determines method and apparatus
CN108549507A (en) * 2018-03-01 2018-09-18 平安科技(深圳)有限公司 Arrange application drawing calibration method, terminal device and computer readable storage medium
CN108765485A (en) * 2018-04-10 2018-11-06 深圳康得新智能显示科技有限公司 The displaying of image, processing method and processing device
CN109189281A (en) * 2018-06-29 2019-01-11 努比亚技术有限公司 Color adaptation method, terminal and the computer storage medium of wallpaper and icon

Similar Documents

Publication Publication Date Title
CN104965631B (en) Desktop color matching method and device and intelligent terminal
CN106934693B (en) Ceramic tile type selection method and system displayed in VR scene based on AR product model
CN106780635B (en) Picture adaptation method and system of intelligent terminal
US9665952B2 (en) Information processing method and electronic device
JP2011128204A (en) Advertisement distribution device, method, and program
KR101873814B1 (en) Display device and method of recommending contents for the display device
CN110502205B (en) Picture display edge processing method and device, electronic equipment and readable storage medium
CN106547560A (en) Text based on Android system and other component mixing method and devices
CN113808120A (en) Image processing method, image processing device, electronic equipment and storage medium
CN106648508B (en) Image drawing method and device
CN113687753A (en) Split screen style configuration method and device, intelligent terminal and storage medium
CN111796889A (en) Terminal interface color correction method and device, electronic equipment and terminal
JP5563703B2 (en) Content distribution apparatus, content distribution method, content distribution program, and terminal program
CN102934064B (en) Theme display method and device thereof
CN105046671A (en) Edge processing method and display device
JP6006560B2 (en) Web content color creation support method and web content color creation support device
CN112667343B (en) Interface adjustment method, device, equipment and storage medium
CN111767492B (en) Picture loading method and device, computer equipment and storage medium
CN112333519A (en) Color filling method, system, equipment and storage medium for icon spacing area
CN102938862A (en) Television and user interface customizing method and device for television
JP6339550B2 (en) Terminal program, terminal device, and terminal control method
CN107085521A (en) A kind of icon display method and device
CN106708495B (en) Page display method and device based on mobile terminal
CN115964037A (en) Engineering data visualization low code configuration method and system
CN103164192A (en) Individuation interface forming method and system for set top box

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination