CN111414223A - Desktop management method and device - Google Patents

Desktop management method and device Download PDF

Info

Publication number
CN111414223A
CN111414223A CN202010224810.0A CN202010224810A CN111414223A CN 111414223 A CN111414223 A CN 111414223A CN 202010224810 A CN202010224810 A CN 202010224810A CN 111414223 A CN111414223 A CN 111414223A
Authority
CN
China
Prior art keywords
area
color value
desktop
wallpaper
application icon
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.)
Granted
Application number
CN202010224810.0A
Other languages
Chinese (zh)
Other versions
CN111414223B (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.)
Xi'an Fengyu Information Technology Co ltd
Original Assignee
Xi'an Jifengtianxia Information 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 Xi'an Jifengtianxia Information Technology Co ltd filed Critical Xi'an Jifengtianxia Information Technology Co ltd
Priority to CN202010224810.0A priority Critical patent/CN111414223B/en
Publication of CN111414223A publication Critical patent/CN111414223A/en
Application granted granted Critical
Publication of CN111414223B publication Critical patent/CN111414223B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The disclosure relates to a desktop management method and device. The method comprises the following steps: dividing a display interface of the desktop into N areas according to an arrangement rule of application icons on the desktop, wherein the N areas are provided with N area identifiers; n is an integer of 0 or more; acquiring a first color value of an application icon displayed on an area identified by each area identifier; acquiring a second color value of the desktop wallpaper area displayed on the area identified by each area identifier; and adjusting the position of each application icon on the desktop or exchanging desktop wallpaper according to the first color value corresponding to each area identifier and the second color value corresponding to each area identifier, so that the difference between the first color value of the application icon displayed on the area identified by the same area identifier on the desktop after adjustment and the second color value of the desktop wallpaper area meets the preset condition. The technical scheme can avoid the superposition of the icon color and the adjacent wallpaper color, so that the application icons on the desktop wallpaper are easy to be identified by a user.

Description

Desktop management method and device
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a desktop management method and apparatus.
Background
With the development of electronic devices, various applications for running on the electronic devices are increasing, and applications that can be installed on the electronic devices are also increasing. Generally, each time an application is installed, an icon of the application is correspondingly generated on the desktop and used for starting the application. However, the color of the icon on the desktop easily overlaps with the color of the wallpaper, which causes a problem that the icon is not easily recognized.
Disclosure of Invention
The embodiment of the disclosure provides a desktop management method and device, which can obviously distinguish an application icon from a wallpaper color at a corresponding position of the application icon, avoid the icon color from being overlapped with an adjacent wallpaper color, and enable the application icon on desktop wallpaper to be easily recognized by a user. The technical scheme is as follows:
according to a first aspect of the embodiments of the present disclosure, there is provided a desktop management method, including:
dividing a display interface of a desktop into N areas according to an arrangement rule of application icons on the desktop, wherein the N areas are provided with N area identifiers; n is an integer greater than or equal to 0;
acquiring a first color value of an application icon displayed on an area identified by each area identifier;
acquiring a second color value of the desktop wallpaper area displayed on the area identified by each area identifier;
and adjusting the position of each application icon on the desktop or exchanging the desktop wallpaper according to the first color value corresponding to each area identifier and the second color value corresponding to each area identifier, so that the difference between the first color value of the application icon displayed on the area identified by the same area identifier on the desktop after adjustment and the second color value of the desktop wallpaper area meets the preset condition.
In one embodiment, the obtaining a first color value of an application icon displayed on each region identified by the region identifier includes:
acquiring color values of colors with the highest area to area ratios in all areas of the application icons displayed on the areas identified by the area identifications;
alternatively, the first and second electrodes may be,
and acquiring the color value of the color with the highest area ratio in the edge area of the application icon displayed on the area identified by each area identifier.
In one embodiment, the obtaining a second color value of a desktop wallpaper area displayed on the area identified by each area identifier includes:
acquiring color values of colors with the highest area ratio in all areas of the desktop wallpaper area in the area identified by each area identifier;
alternatively, the first and second electrodes may be,
and acquiring a color value of a color with the highest area ratio in a partial wallpaper area surrounding the application icon in the desktop wallpaper area.
In an embodiment, the adjusting, according to the first color value corresponding to each area identifier and the second color value corresponding to each area identifier, the area of each application icon on the desktop includes:
acquiring an icon adjusting instruction;
responding to the icon adjusting instruction, and acquiring an ideal icon color value of which the second color value corresponding to each area identifier is a complementary color;
for each application icon, determining an ideal icon color value that is closest to the first color value of the application icon;
and moving the application icon to the area identified by the area identifier corresponding to the nearest ideal icon color value.
In one embodiment, the moving the application icon to the area identified by the area identifier corresponding to the closest ideal icon color value includes:
when a first difference value between the first color value and the nearest ideal icon color value is smaller than a first preset threshold value, moving the application icon to a region identified by a region identifier corresponding to the nearest ideal icon color value;
the method further comprises the following steps:
and when a first difference value between the first color value and the nearest ideal icon color value is larger than or equal to a first preset threshold value, moving the application icon to a new folder.
In an embodiment, the swapping the desktop wallpaper according to the first color value corresponding to each area identifier and the second color value corresponding to each area identifier includes:
acquiring a wallpaper adjusting instruction;
responding to the wallpaper adjusting instruction, and acquiring an ideal wallpaper color value which is complementary to the first color value of the application icon for each application icon;
finding out matched desktop wallpaper from a wallpaper library, wherein when the matched desktop wallpaper is displayed on a desktop, second difference values between the second color value corresponding to the same area identifier and the ideal wallpaper color value are smaller than or equal to a second preset threshold value;
and exchanging the current desktop wallpaper into the matched desktop wallpaper.
In one embodiment, when M matched desktop wallpapers are found from a wallpaper library, where M is an integer greater than 1, the exchanging the current desktop wallpaper for the matched desktop wallpaper further includes:
searching the desktop wallpaper with the minimum sum of the second differences from the M matched desktop wallpapers;
and exchanging the current desktop wallpaper into the best matched desktop wallpaper.
According to a second aspect of the embodiments of the present disclosure, there is provided a desktop management apparatus, the apparatus including:
the desktop display device comprises a dividing module, a display module and a display module, wherein the dividing module is used for dividing a display interface of a desktop into N areas according to an arrangement rule of application icons on the desktop, and the N areas are provided with N area identifiers; n is an integer greater than or equal to 0;
the first acquisition module is used for acquiring a first color value of an application icon displayed on the area identified by each area identifier;
the second acquisition module is used for acquiring a second color value of the desktop wallpaper area displayed on the area identified by each area identifier;
and the adjusting module is used for adjusting the position of each application icon on the desktop or exchanging the desktop wallpaper according to the first color value corresponding to each area identifier and the second color value corresponding to each area identifier, so that the difference value between the first color value of the application icon displayed on the area identified by the same area identifier on the desktop after adjustment and the second color value of the desktop wallpaper area accords with a preset condition.
In one embodiment, the first obtaining module comprises:
the first obtaining submodule is used for obtaining the color value of the color with the highest area ratio in all the areas of the application icons displayed on the areas identified by the area identifications;
alternatively, the first and second electrodes may be,
and the second obtaining submodule is used for obtaining the color value of the color with the highest area ratio in the edge area of the application icon displayed on the area identified by each area identifier.
In one embodiment, the second obtaining module comprises:
the third obtaining submodule is used for obtaining the color value of the color with the highest area ratio in all the areas of the desktop wallpaper area in the area identified by each area identification;
alternatively, the first and second electrodes may be,
and the fourth obtaining sub-module is used for obtaining the color value of the color with the highest area ratio in the partial wallpaper area surrounding the application icon in the desktop wallpaper area.
In one embodiment, the adjustment module comprises:
the fifth obtaining submodule is used for obtaining an icon adjusting instruction;
a sixth obtaining submodule, configured to respond to the icon adjustment instruction, and obtain an ideal icon color value in which the second color value corresponding to each area identifier is a complementary color;
the first determining submodule is used for determining an ideal icon color value which is closest to the first color value of the application icon for each application icon;
and the moving submodule is used for moving the application icon to the area identified by the area identifier corresponding to the closest ideal icon color value.
In one embodiment, the moving submodule is configured to, when a first difference between the first color value and a closest ideal icon color value is smaller than a first preset threshold, move the application icon to a region identified by a region identifier corresponding to the closest ideal icon color value;
the device further comprises:
and the moving module is used for moving the application icon to a new folder when a first difference value between the first color value and the nearest ideal icon color value is greater than or equal to a first preset threshold value.
In one embodiment, the adjustment module comprises:
the seventh obtaining submodule is used for obtaining a wallpaper adjusting instruction;
the eighth obtaining submodule is used for responding to the wallpaper adjusting instruction and obtaining an ideal wallpaper color value which is complementary to the first color value of the application icon for each application icon;
the searching sub-module is used for searching matched desktop wallpaper from the wallpaper library, wherein when the matched desktop wallpaper is displayed on a desktop, the second difference between the second color value corresponding to the same area identifier and the ideal wallpaper color value is less than or equal to a second preset threshold;
and the adjusting submodule is used for exchanging the current desktop wallpaper into the matched desktop wallpaper.
In an embodiment, when M matched desktop wallpapers are searched from a wallpaper library, where M is an integer greater than 1, the adjusting sub-module is configured to search a smallest matched desktop wallpaper with a smallest sum of the second differences from the M matched desktop wallpapers; and exchanging the current desktop wallpaper into the best matched desktop wallpaper.
According to a third aspect of the embodiments of the present disclosure, there is provided a desktop management apparatus including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform the steps of the above method.
According to a fourth aspect of embodiments of the present disclosure, there is provided a non-transitory computer readable storage medium storing computer instructions which, when executed by a processor, implement the steps in the above method.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
in this embodiment, the position of each application icon on the desktop or the desktop wallpaper is adjusted according to the first color value corresponding to each area identifier and the second color value corresponding to each area identifier, so that the difference between the first color value of the application icon displayed on the area identified by the same area identifier on the adjusted desktop and the second color value of the desktop wallpaper area is relatively large, the application icon is obviously distinguished from the wallpaper color of the corresponding position of the application icon, the icon color is prevented from being overlapped with the adjacent wallpaper color, and the application icon on the desktop wallpaper is easily recognized by a user.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
FIG. 1 is a flow diagram illustrating a desktop management method in accordance with an exemplary embodiment.
FIG. 2 is a diagram illustrating desktop region partitioning, according to an illustrative embodiment.
FIG. 3 is a schematic diagram illustrating an application icon detection area in accordance with an exemplary embodiment.
FIG. 4 is a schematic diagram illustrating an application icon detection area in accordance with an exemplary embodiment.
FIG. 5 is a schematic diagram illustrating a wallpaper detection area, according to an example embodiment.
FIG. 6 is a schematic diagram illustrating a desktop wallpaper detection area, according to an example embodiment.
FIG. 7 is a diagram illustrating a desktop management method in accordance with an exemplary embodiment.
FIG. 8 is a diagram illustrating a desktop management method in accordance with an exemplary embodiment.
FIG. 9 is a block diagram illustrating a desktop management device in accordance with an exemplary embodiment.
FIG. 10 is a block diagram illustrating a desktop management device in accordance with an exemplary embodiment.
FIG. 11 is a block diagram illustrating a desktop management device in accordance with an exemplary embodiment.
FIG. 12 is a block diagram illustrating a desktop management device in accordance with an exemplary embodiment.
FIG. 13 is a block diagram illustrating a desktop management device in accordance with an exemplary embodiment.
FIG. 14 is a block diagram illustrating a desktop management device in accordance with an exemplary embodiment.
FIG. 15 is a block diagram illustrating a desktop management device in accordance with an exemplary embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
Fig. 1 is a flowchart illustrating a desktop management method according to an exemplary embodiment, where, as shown in fig. 1, the desktop management method includes the following steps 101 and 104:
in step 101, dividing a display interface of a desktop into N regions according to an arrangement rule of application icons on the desktop, where the N regions are provided with N region identifiers; and N is an integer greater than or equal to 0.
For example, fig. 2 is a schematic diagram illustrating desktop area division according to an exemplary embodiment, and the terminal system sets icons to be arranged according to 4 × 6, so that the terminal can divide the screen into N-4 × 6-24 areas, and numbers the areas in sequence, i.e., a to X are area identifiers of 24 area identifiers.
In step 102, a first color value of an application icon displayed on each region identified by the region identifier is obtained.
In this embodiment, in order to make the desktop wallpaper and the application area displayed in each area have a large color difference, which is convenient for a user to identify, in this embodiment, the terminal needs to detect the color condition of the application icon, the terminal may detect the first color value of the application icon displayed in each area according to the divided areas, it should be noted that, in the divided areas, some areas display the application icon, some areas do not display the application icon, and the terminal may only detect the area where the application icon is displayed.
In one possible embodiment, this step 102 may be implemented as the following step a 1:
in step a1, a color value of a color with the highest area ratio in all the areas of the application icons displayed on the area identified by each area identification is acquired.
Here, for the area in which the application icon is displayed, the terminal may detect, as the first color value, only a color value of a color having the highest area ratio among all areas of the application icon. For example, fig. 3 is a schematic diagram illustrating an application icon detection area according to an exemplary embodiment, as shown in fig. 3, for an application icon 30 displayed on the area a, the detection area is the entire area of the application icon 30, that is, the area filled with the slash in fig. 3. The terminal can detect the number of the pixel points with the same color value in all the areas of the application icon, the color value with the largest number of the pixel points is the color value of the color with the highest area ratio in all the areas of the application icon, and therefore the terminal can directly take the color value with the largest number of the pixel points in all the areas of the application icon as the first color value.
In practical applications, except for some application icons of the game-like application, most application icons have a dominant color to make the user recognize the application at a glance, for example, the dominant color of the icon of the WeChat application is green, and the dominant color of the icon of the WeChat application is blue, so that it is accurate to distinguish the color between the application icon and the wallpaper of the corresponding area by using the displayed dominant color of the icon as the color of the application icon.
In one possible embodiment, this step 102 may be implemented as the following step a 2:
in step a2, a color value of a color with the highest area ratio in the edge area of the application icon displayed on each area identification identified region is obtained.
Here, in order to reduce the detection area and ensure the accuracy of the color between the subsequent application icon and the wallpaper in the corresponding area, the terminal may detect only the color value of the color with the highest area ratio in the edge area close to the wallpaper display area in the application icon, and use the color value of the color with the highest area ratio in the edge area as the first color value. For example, fig. 4 is a schematic diagram illustrating an application icon detection area according to an exemplary embodiment, as shown in fig. 4, for the application icon 30 displayed on the area a, the detection area is an edge area 301 close to the wallpaper display area 31 in the application icon 30, that is, the area filled with the slash in fig. 3. The terminal can detect the number of the pixel points with the same color value in the border area 301 of the application icon, the color value with the largest number of the pixel points is the color value of the color with the highest area ratio in the border area of the application icon, and therefore the terminal can directly take the color value with the largest number of the pixel points in the border area of the application icon as the first color value.
It should be noted that the edge area is an area having a closest distance from the wallpaper display area of 0 to a preset value, where the preset value may be 1/10 to 1/5 of the side length of the application icon, and of course, the preset value may also be a default value in the terminal, which is not limited herein. Assume that the preset value is 1/9 of the side length of the application icon, and the edge area is an area having a closest distance between 0 and 1/9 from the wallpaper display area.
In practical applications, if the color distinction degree of the proximity region of the two contacted display regions is large, the user can recognize the two display regions at a glance, so the embodiment can distinguish the application icon on the wallpaper by the display color of the proximity region between the application icon and the wallpaper of the corresponding region.
In this embodiment, the first color value may be an RGB value, and if application icons are displayed in all of the areas a to X, according to the above steps a1 or a2, the corresponding relationship between the different area identifiers a-X and the RGB color values of the dominant color (area-to-highest color) of all or the edge area of the application icon displayed in the area identified by the area identifier may be obtained as shown in the following table 1:
region(s) RGB value
A R(RA)G(GA)B(BA)
B R(RB)G(GB)B(BB)
X R(RC)G(GC)B(BC)
TABLE 1
In step 103, a second color value of the desktop wallpaper area displayed on the area identified by each area identifier is obtained.
Here, when the terminal does not adjust the position of the application icon, the user only needs to distinguish the application icon on the desktop wallpaper with the application icon, so the terminal may perform the second color value detection of the desktop wallpaper area only for the area where the application icon is displayed, and of course, the terminal may perform the second color value detection of the desktop wallpaper area for all areas at this time, which is not limited herein. When the terminal adjusts the position of the application icon, the terminal needs to detect the second color value of the desktop wallpaper area for all the divided areas on the desktop, so that the terminal can adjust the corresponding application icon to a proper area of the N areas.
Here, a part of the area identified by the area identifier displays an application icon, and desktop wallpaper is displayed except for an area blocked by the application icon, and the part of the area may be referred to as a desktop wallpaper area. Certainly, the application icon is not displayed in the area identified by the part of the area identifier, at this time, the terminal may determine, according to the size of the application icon displayed by the terminal and the position information in the corresponding area, the application icon area in the area if the application icon is displayed, and further determine that the area other than the application icon area is the desktop wallpaper area.
In one possible embodiment, this step 103 may be implemented as the following step B1:
in step B1, a color value of a color with the highest area ratio in all areas of the desktop wallpaper area in each area identification identified area is obtained.
Here, the present embodiment may detect a color value of a color with the highest area ratio in all areas of the desktop wallpaper area as the second color value. For example, fig. 5 is a schematic diagram illustrating a wallpaper detection area according to an exemplary embodiment, as shown in fig. 5, an application icon 30 is displayed on an area a, and the terminal may detect the entire area (the area filled with the slash in fig. 5) of the desktop wallpaper area 31 except the application icon 30. The terminal can detect the number of pixel points with the same color value in the desktop wallpaper area 3, and the color value with the largest number of the pixel points is the color value of the color with the highest area ratio in the desktop wallpaper area 31, so the terminal can directly take the color value with the largest number of the pixel points in the desktop wallpaper area 31 as the second color value.
In one possible embodiment, this step 103 may be implemented as the following step B2:
in step B2, a color value of a color with the highest area ratio in a part of the wallpaper area surrounding the application icon in the desktop wallpaper area is obtained.
Here, in order to reduce the detection area and ensure the accuracy of the color between the wallpaper for subsequently distinguishing the application icon from the corresponding area thereof, the terminal may detect only the color value of the color with the highest area ratio in the part of the wallpaper area surrounding the application icon in the desktop wallpaper area, and use the color value of the color with the highest area ratio in the part of the wallpaper area as the first color value. For example, fig. 6 is a schematic diagram illustrating a desktop wallpaper detection area according to an exemplary embodiment, as shown in fig. 6, the detection area is a part of wallpaper area 311 surrounding an application icon 30 in the desktop wallpaper area 31 (i.e., the area filled with the slash in fig. 6). The terminal can detect the number of pixels with the same color value in the part of wallpaper area 311, and the color value with the largest number of the pixels is the color value of the color with the highest area ratio in the part of wallpaper area 311, so the terminal can directly take the color value with the largest number of the pixels in the part of wallpaper area 311 as the second color value.
It should be noted that the part of the wallpaper area is an area in the desktop wallpaper area, where the closest distance to the application icon is between 0 and a preset value, where the preset value may also be 1/10 to 1/5 of the side length of the application icon, and of course, the preset value may also be a default value in the terminal, which is not limited herein. Assuming that the preset value is 1/9 of the side length of the application icon, the edge area is an area having a closest distance between 0 and 1/9 from the wallpaper display area,
in this embodiment, the second color value is the same as the first color value, and may be an RGB value, and if application icons are displayed in all of the areas a to X, according to the above step B1 or B2, the corresponding relationship between the different area identifier a-X and the RGB color values of the dominant color (area-to-area ratio highest color) of all or part of the desktop wallpaper area displayed in the area identified by the area identifier may be obtained as shown in the following table 2:
region(s) RGB value
A R(Ra)G(Ga)B(Ba)
B R(Rb)G(Gb)B(Bb)
X R(Rc)G(Gc)B(Bc)
TABLE 2
In step 104, adjusting the position of each application icon on the desktop or exchanging the desktop wallpaper according to the first color value corresponding to each area identifier and the second color value corresponding to each area identifier, so that the difference between the first color value of the application icon displayed on the area identified by the same area identifier on the desktop after adjustment and the second color value of the desktop wallpaper area meets a preset condition.
Here, after the terminal acquires the first color value corresponding to each area identifier and the second color value corresponding to each area identifier, the difference between the first color value and the second color value in the same area identifier can be determined, if the difference is large, the difference indicates that the color difference between the application icon and the corresponding desktop wallpaper is large, and the user can easily identify the corresponding application icon on the corresponding desktop wallpaper; if the difference is smaller, the difference between the application icon and the corresponding desktop wallpaper is smaller, the color of the application icon is easy to coincide with the color of the wallpaper, and a user cannot easily recognize the corresponding application icon on the corresponding desktop wallpaper.
Here, the terminal may automatically adjust the position of the application icon or automatically replace the desktop icon when the difference between the first color value and the second color value corresponding to one or more than one area identifier is large, so that the difference between the first color value of the application icon displayed on the area identified by the same area identifier on the adjusted desktop and the second color value of the desktop wallpaper area is large, and the difference meets the preset condition. Of course, the terminal may also directly adjust the position of each application icon on the desktop or change the desktop wallpaper after detecting and acquiring each first color value or each second color value, so that the difference between the first color value of the application icon displayed on the area identified by the same area identifier on the adjusted desktop and the second color value of the desktop wallpaper is large, and the adjusted desktop meets the preset condition.
Here, when the terminal detects that a new application is installed, an application icon is moved, or when the display of an application icon such as desktop wallpaper is changed or the display of desktop wallpaper is changed by a user, the terminal automatically performs steps 102 to 104 to adjust the position of the application icon or change the desktop wallpaper.
Here, the terminal may adjust the position of each application icon on the desktop or exchange the desktop wallpaper according to a default setting on the terminal, or may display an option of adjusting the icon and an option of adjusting the desktop wallpaper during adjustment, and further adjust the position of the application icon or exchange the desktop wallpaper according to a selection of a user.
Here, whether the position of the application icon is adjusted by the terminal or desktop wallpaper is exchanged, it is required to ensure that a difference value between a first color value of the application icon and a second color value of the desktop wallpaper, which are displayed on an area identified by the same area identifier on the desktop after the position of the application icon is adjusted or the desktop wallpaper is exchanged, is large, and the difference value meets a preset condition.
In a possible embodiment, the "adjusting the area of each application icon on the desktop according to the first color value corresponding to each area identifier and the second color value corresponding to each area identifier" in the above desktop management method includes the following steps C1 to C3.
In step C1, an icon adjustment instruction is acquired.
Here, when the terminal is set as the adjustment application icon by default or the user selects an option of adjusting the application icon, the terminal acquires the icon adjustment instruction.
In step C2, in response to the icon adjustment instruction, an ideal icon color value with a second color value corresponding to each area identifier as a complementary color is obtained.
Here, the terminal may acquire, in response to the icon adjustment instruction, an ideal icon color value in which the second color value corresponding to each of the area identifiers is a complementary color. For example, the RGB values are calculated in an 8-bit channel mode, and the second color value of the area a is assumed to be: (202, 56, 174), the ideal icon color value of the complementary color is obtained by subtracting the second color value from 255, that is, the ideal icon color value of the area a is (255-:
region(s) Second color value Ideal icon color value
A R(Ra)G(Ga)B(Ba) R(255-Ra)G(255-Ga)B(255-Ba)
B R(Rb)G(Gb)B(Bb) R(255-Rb)G(255-Gb)B(255-Bb)
X R(Rc)G(Gc)B(Bc) R(255-Rc)G(255-Gc)B(255-Bc)
TABLE 3
In step C3, for each application icon, an ideal icon color value that is closest to the first color value of the application icon is determined.
In step C4, the application icon is moved to the area identified by the area identifier corresponding to the closest ideal icon color value.
Here, the ideal icon color value corresponding to each region identifier is the most suitable icon arrangement color in the region identified by each region identifier. The terminal may compare table 1 and table 3, determine the ideal icon color that the first color value of each application icon is closest to, and then move the application icon to the area identified by the area identifier corresponding to the ideal icon color value. For example, the first color value of the application icon a in the a region is (202, 56, 174), and the ideal icon color value closest to the first color value is the ideal icon color value corresponding to the region B (200, 57, 175), and then the application icon a may be moved to the region B.
Therefore, according to the method, the terminal can sequentially move each application icon to the area where the desktop wallpaper area with the largest color difference value is located, so that the superposition of the application icon color and the desktop wallpaper color is avoided, and a user can easily identify the application icon on the desktop wallpaper.
In a possible embodiment, the step C4 of the desktop management method may be further limited to the following step C41, and in this case, the desktop management method may further include the following step C42.
In step C41, when the difference between the first color value and the closest ideal icon color value is smaller than a first preset threshold, the application icon is moved to the area identified by the area identifier corresponding to the closest ideal icon color value.
In step C42, when a first difference between the first color value and the color value of the nearest ideal icon is greater than or equal to a first preset threshold, the application icon is moved to a new folder.
In some cases, after comparing table 1 and table 3, a first difference between a first color value of an application icon and a closest ideal icon color value thereof may be larger, at this time, a difference between the first color value of the application icon and a second color value of a corresponding desktop wallpaper area is smaller, if the application icon is moved to an area identified by an area identifier corresponding to the closest ideal icon color value, a color of the application icon may also be similar to a color of the desktop wallpaper area, and the application icon may not be easily recognized by a user.
In order to avoid the above situation, the terminal may move the application icon to the area identified by the area identifier corresponding to the closest ideal icon color value when the first difference between the first color value and the closest ideal icon color value is smaller than a first preset threshold value, that is, the first color value and the closest ideal icon color value are closer to each other, so that it is ensured that the application icon is moved to the area identified by the area identifier corresponding to the closest ideal icon color value, the color of the application icon is different from the color of the desktop wallpaper area of the area by a relatively large amount, and the user can easily recognize the application icon. When a first difference between the first color value and the corresponding closest ideal icon color value is greater than or equal to a first preset threshold value, namely the first color value and the closest ideal icon color value have a large difference, the application icon is not moved to the area identified by the area identifier corresponding to the closest ideal icon color value, but is moved to a new folder.
In a possible embodiment, the "swapping the desktop wallpaper according to the first color value corresponding to each region identifier and the second color value corresponding to each region identifier" in the desktop management method includes the following steps D1 to D3.
In step D1, a wallpaper adjustment instruction is obtained.
Here, when the terminal is set as exchanging the desktop wallpaper by default or the user selects an option of exchanging the desktop wallpaper, the terminal acquires the wallpaper adjustment instruction.
In step D2, in response to the wallpaper adjusting instruction, for each application icon, an ideal wallpaper color value that is complementary to the first color value of the application icon is obtained.
Here, the terminal may obtain, for each application icon, an ideal wallpaper color value that is a complementary color to the first color value of the application icon in response to the wallpaper adjustment instruction. For example, the RGB value calculation method is in an 8-bit channel mode, and it is assumed that the first color value of the application icon displayed on the area a is: (202, 56, 174), the ideal wallpaper color value of the complementary color is obtained by subtracting the first color value from 255, that is, the ideal wallpaper color value of the area a is (255-:
region(s) First color value Ideal wallpaper color value
A R(RA)G(GA)B(BA) R(255-RA)G(255-GA)B(255-BA)
B R(RB)G(GB)B(BB) R(255-RB)G(255-GB)B(255-BB)
X R(RC)G(GC)B(BC) R(255-RC)G(255-GC)B(255-BC)
TABLE 4
In step D3, finding out a matched desktop wallpaper from the wallpaper library, where the matched desktop wallpaper, when displayed on a desktop, satisfies that second difference values between the second color value corresponding to the same region identifier and the ideal wallpaper color value are all less than or equal to a second preset threshold value.
Here, the terminal may determine, for each desktop wallpaper in the wallpaper library, a second color value of each desktop wallpaper area of the desktop wallpaper, to obtain table 4, where an ideal wallpaper color value corresponding to each area identifier is the most appropriate wallpaper arrangement color in the area identified by each area identifier. The terminal can compare the table 4 of each desktop wallpaper with the table 2 one by one to obtain the matched desktop wallpaper, the matched desktop wallpaper needs to satisfy that a second difference value between the second color value corresponding to the same region identifier and the ideal wallpaper color value is less than or equal to a second preset threshold value, if the second difference between R (Ra) G (Ga) B (Ba) and R (255-RA) G (255-GA) B (255-BA) of the A region is less than or equal to a second preset threshold, the second difference between R (Rb) G (Gb) B (Bb) and R (255-RB) G (255-GB) B (255-BB) of the B region is less than or equal to a second preset threshold, and … …, the second difference between R (RZ) G (GZ) B (Bz) and R (255-RZ) G (255-GZ) B (255-BZ) of the Z region is less than or equal to a second preset threshold.
It should be noted here that only a partial area on the desktop may be provided with the application icon, at this time, the terminal only compares the second color value of the partial area with the ideal wallpaper color value, as long as the second difference between the second color value corresponding to the area provided with the application icon and the ideal wallpaper color value is less than or equal to the second preset threshold.
In step D4, the current desktop wallpaper is exchanged for the matching desktop wallpaper.
Here, after the terminal acquires the matched desktop wallpaper, the current desktop wallpaper may be directly exchanged to the matched desktop wallpaper
In a possible embodiment, when M matched desktop wallpapers are found from the wallpaper library, where M is an integer greater than 1, step D4 in the desktop management method may also be implemented as the following steps D41 and D42.
In step D41, the best matching desktop wallpaper with the smallest sum of the second differences is searched for from the M matching desktop wallpapers.
In step D42, the current desktop wallpaper is exchanged for the best matching desktop wallpaper.
Here, there may be more than 1 matched desktop wallpaper in the wallpaper library, and at this time, one matched desktop wallpaper needs to be selected from the M matched desktop wallpapers. The terminal may randomly select one matched desktop wallpaper from the M matched desktop wallpapers for exchange. In order to set the best desktop wallpaper for the user, in this embodiment, the terminal may calculate, for each matched desktop wallpaper, a sum of second differences between the second color value corresponding to the same region identifier and the ideal wallpaper color value, and determine the matched desktop wallpaper with the smallest sum of the differences as the best matched desktop wallpaper.
In this embodiment, the position of each application icon on the desktop or the desktop wallpaper is changed may be adjusted according to the first color value corresponding to each area identifier and the second color value corresponding to each area identifier, so that the difference between the first color value of the application icon displayed on the area identified by the same area identifier on the adjusted desktop and the second color value of the desktop wallpaper area is relatively large, thereby avoiding the color of the icon from being overlapped with the color of the adjacent wallpaper, and making the application icon on the desktop wallpaper easily recognized by the user.
FIG. 7 is a diagram illustrating a desktop management method according to an exemplary embodiment, as shown in FIG. 7, including the following steps 701 and 708:
in step 701, dividing a display interface of a desktop into N regions according to an arrangement rule of application icons on the desktop, where the N regions are provided with N region identifiers; and N is an integer greater than or equal to 0.
In step 702, a first color value of a color with the highest area ratio in all areas of the application icon displayed on each area identification identified area is obtained.
In step 703, a second color value of a color with the highest area ratio in all areas of the desktop wallpaper area in the area identified by each area identifier is obtained.
In step 704, an icon adjustment instruction is obtained.
In step 705, in response to the icon adjustment instruction, an ideal icon color value with a complementary color corresponding to each area identifier is obtained.
In step 706, for each application icon, an ideal icon color value that is closest to the first color value of the application icon is determined.
In step 707, when a first difference between the first color value and a closest ideal icon color value is smaller than a first preset threshold, the application icon is moved to a region identified by a region identifier corresponding to the closest ideal icon color value.
In step 708, when a first difference between the first color value and the nearest ideal icon color value is greater than or equal to a first preset threshold, the application icon is moved to a new folder.
FIG. 8 is a diagram illustrating a desktop management method according to an exemplary embodiment, as shown in FIG. 8, including the following steps 801 and 808:
in step 801, dividing a display interface of a desktop into N regions according to an arrangement rule of application icons on the desktop, where the N regions are provided with N region identifiers; and N is an integer greater than or equal to 0.
In step 802, a first color value of a color with the highest area ratio in an edge region of an application icon displayed on each region identified by the region identifier is obtained.
In step 803, a second color value of a color with the highest area ratio in a partial wallpaper area surrounding the application icon in the desktop wallpaper area is obtained.
In step 804, a wallpaper adjustment instruction is obtained.
In step 805, in response to the wallpaper adjusting instruction, for each application icon, an ideal wallpaper color value that is complementary to the first color value of the application icon is obtained.
In step 806, finding out a matched desktop wallpaper from the wallpaper library, where when the matched desktop wallpaper is displayed on a desktop, a second difference between the second color value corresponding to the same region identifier and the ideal wallpaper color value is less than or equal to a second preset threshold.
In step 807, when M matched desktop wallpapers are searched from the wallpaper library, where M is an integer greater than 1, the most matched desktop wallpaper with the smallest sum of the second differences is searched from the M matched desktop wallpapers.
In step 808, the current desktop wallpaper is exchanged for the best matching desktop wallpaper.
The following are embodiments of the disclosed apparatus that may be used to perform embodiments of the disclosed methods.
Fig. 9 is a block diagram illustrating a desktop management apparatus, which may be implemented as part or all of an electronic device through software, hardware, or a combination of both, according to an example embodiment. As shown in fig. 9, the desktop management apparatus includes:
a dividing module 901, configured to divide a display interface of a desktop into N regions according to an arrangement rule of application icons on the desktop, where the N regions are provided with N region identifiers; n is an integer greater than or equal to 0;
a first obtaining module 902, configured to obtain a first color value of an application icon displayed on an area identified by each area identifier;
a second obtaining module 903, configured to obtain a second color value of the desktop wallpaper area displayed on the area identified by each area identifier;
and an adjusting module 904, configured to adjust a position of each application icon on the desktop or exchange the desktop wallpaper according to the first color value corresponding to each area identifier and the second color value corresponding to each area identifier, so that a difference between the first color value of the application icon displayed on the area identified by the same area identifier on the desktop after adjustment and the second color value of the desktop wallpaper area meets a preset condition.
In an embodiment, fig. 10 is a block diagram illustrating a desktop management apparatus according to an exemplary embodiment, as shown in fig. 10, the first obtaining module 902 in the above disclosed desktop management apparatus may be further configured to include a first obtaining submodule 9021 or a second obtaining submodule 9022, where:
the first obtaining submodule 9021 is configured to obtain a color value of a color with the highest area ratio in all the areas of the application icons displayed on the area identified by each area identifier;
and the second obtaining submodule 9022 is configured to obtain a color value of a color with the highest area ratio in the edge area of the application icon displayed on the area identified by each area identifier.
In an embodiment, fig. 11 is a block diagram of a desktop management apparatus according to an exemplary embodiment, and as shown in fig. 11, the second obtaining module 903 in the above-disclosed desktop management apparatus may be further configured to include a third obtaining submodule 9031 or a fourth obtaining submodule 9032, where:
a third obtaining submodule 9031, configured to obtain a color value of a color with a highest area ratio in all areas of the desktop wallpaper area in the area identified by each area identifier;
and the fourth obtaining sub-module 9032 is configured to obtain a color value of a color with the highest area ratio in a partial wallpaper area around the application icon in the desktop wallpaper area.
In an embodiment, fig. 12 is a block diagram illustrating a desktop management apparatus according to an exemplary embodiment, and as shown in fig. 12, the adjusting module 904 in the above disclosed desktop management apparatus may further be configured to include a fifth obtaining sub-module 9041, a sixth obtaining sub-module 9042, a first determining sub-module 9043, and a moving sub-module 9044, where:
a fifth obtaining sub-module 9041 for obtaining the icon adjustment instruction;
a sixth obtaining submodule 9042, configured to respond to the icon adjustment instruction, and obtain an ideal icon color value in which the second color value corresponding to each region identifier is a complementary color;
a first determining submodule 9043, configured to determine, for each application icon, an ideal icon color value that is closest to the first color value of the application icon;
a moving sub-module 9044, configured to move the application icon to the area identified by the area identifier corresponding to the closest ideal icon color value.
In an embodiment, fig. 13 is a block diagram of a desktop management apparatus according to an exemplary embodiment, where the moving submodule 9044 is configured to, when a first difference between the first color value and a closest ideal icon color value is smaller than a first preset threshold, move the application icon to a region identified by a region identifier corresponding to the closest ideal icon color value; as shown in fig. 13, the desktop management apparatus disclosed above may be further configured to include a moving module 905, wherein:
and the moving module 905 is configured to, when a first difference between the first color value and the closest ideal icon color value is greater than or equal to a first preset threshold, move the application icon to a new folder.
In an embodiment, fig. 14 is a block diagram illustrating a desktop management apparatus according to an exemplary embodiment, and as shown in fig. 14, the adjusting module 904 in the above-disclosed desktop management apparatus may further be configured to include a seventh obtaining sub-module 9045, an eighth obtaining sub-module 9046, a lookup sub-module 9047, and an adjusting sub-module 9048, where:
a seventh obtaining sub-module 9045 for obtaining a wallpaper adjusting instruction;
an eighth obtaining submodule 9046, configured to, in response to the wallpaper adjustment instruction, obtain, for each application icon, an ideal wallpaper color value that is a complementary color to the first color value of the application icon;
the searching submodule 9047 is configured to search out matched desktop wallpapers from the wallpaper library, where when the matched desktop wallpapers are displayed on a desktop, second differences between the second color values corresponding to the same region identifier and the ideal wallpaper color values are both smaller than or equal to a second preset threshold;
and the adjusting sub-module 9048 is configured to change the current desktop wallpaper into the matched desktop wallpaper.
In an embodiment, when M matched desktop wallpapers are searched from the wallpaper library, where M is an integer greater than 1, the adjusting sub-module 9048 is configured to search, from the M matched desktop wallpapers, a smallest matched desktop wallpaper with a smallest sum of the second differences; and exchanging the current desktop wallpaper into the best matched desktop wallpaper.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 15 is a block diagram illustrating a desktop management apparatus adapted for use with a terminal device according to an example embodiment. For example, the apparatus 1500 may be a mobile phone, a tablet computer, or the like.
The apparatus 1500 may include one or more of the following components: processing component 1501, memory 1502, power component 1503, multimedia component 1504, audio component 1505, input/output (I/O) interface 1506, sensor component 1507, and communication component 1508.
The processing component 1501 generally controls the overall operation of the device 1500, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 1501 may include one or more processors 1520 executing instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 1501 can include one or more modules that facilitate interaction between the processing component 1501 and other components. For example, the processing component 1501 may include a multimedia module to facilitate interaction between the multimedia component 1504 and the processing component 1501.
The memory 1502 is configured to store various types of data to support operations at the apparatus 1500. Examples of such data include instructions for any application or method operating on the device 1500, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 1502 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power component 1503 provides power to the various components of the device 1500. The power component 1503 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the device 1500.
The multimedia component 1504 includes a screen that provides an output interface between the device 1500 and a user, hi some embodiments, the screen may include a liquid crystal display (L CD) and a Touch Panel (TP). if the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user.
Audio component 1505 is configured to output and/or input audio signals. For example, the audio component 1505 includes a Microphone (MIC) configured to receive external audio signals when the apparatus 1500 is in operating modes, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in memory 1502 or transmitted via communications component 1508. In some embodiments, audio component 1505 also includes a speaker for outputting audio signals.
The I/O interface 1506 provides an interface between the processing component 1501 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 1507 includes one or more sensors for providing various aspects of status assessment for the device 1500. For example, the sensor assembly 1507 may detect the on/off state of the apparatus 1500, the relative positioning of the components, such as the display and keypad of the apparatus 1500, the sensor assembly 1507 may also detect a change in the area of the apparatus 1500 or a component of the apparatus 1500, the presence or absence of user contact with the apparatus 1500, the orientation or acceleration/deceleration of the apparatus 1500, and a change in the temperature of the apparatus 1500. The sensor assembly 1507 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 1507 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 1507 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 1508 is configured to facilitate communications between the apparatus 1500 and other devices in a wired or wireless manner. The apparatus 1500 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 1508 receives a broadcast signal or broadcast associated information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 1508 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 1500 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), programmable logic devices (P L D), Field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as the memory 1502 comprising instructions, executable by the processor 1520 of the apparatus 1500 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A non-transitory computer-readable storage medium, in which instructions, when executed by a processor of an apparatus applied to an intercom or terminal, enable the apparatus to perform a method of the above desktop management method, the method comprising:
dividing a display interface of a desktop into N areas according to an arrangement rule of application icons on the desktop, wherein the N areas are provided with N area identifiers; n is an integer greater than or equal to 0;
acquiring a first color value of an application icon displayed on an area identified by each area identifier;
acquiring a second color value of the desktop wallpaper area displayed on the area identified by each area identifier;
and adjusting the position of each application icon on the desktop or exchanging the desktop wallpaper according to the first color value corresponding to each area identifier and the second color value corresponding to each area identifier, so that the difference between the first color value of the application icon displayed on the area identified by the same area identifier on the desktop after adjustment and the second color value of the desktop wallpaper area meets the preset condition.
In one embodiment, the obtaining a first color value of an application icon displayed on each region identified by the region identifier includes:
acquiring color values of colors with the highest area to area ratios in all areas of the application icons displayed on the areas identified by the area identifications;
alternatively, the first and second electrodes may be,
and acquiring the color value of the color with the highest area ratio in the edge area of the application icon displayed on the area identified by each area identifier.
In one embodiment, the obtaining a second color value of a desktop wallpaper area displayed on the area identified by each area identifier includes:
acquiring color values of colors with the highest area ratio in all areas of the desktop wallpaper area in the area identified by each area identifier;
alternatively, the first and second electrodes may be,
and acquiring a color value of a color with the highest area ratio in a partial wallpaper area surrounding the application icon in the desktop wallpaper area.
In an embodiment, the adjusting, according to the first color value corresponding to each area identifier and the second color value corresponding to each area identifier, the area of each application icon on the desktop includes:
acquiring an icon adjusting instruction;
responding to the icon adjusting instruction, and acquiring an ideal icon color value of which the second color value corresponding to each area identifier is a complementary color;
for each application icon, determining an ideal icon color value that is closest to the first color value of the application icon;
and moving the application icon to the area identified by the area identifier corresponding to the nearest ideal icon color value.
In one embodiment, the moving the application icon to the area identified by the area identifier corresponding to the closest ideal icon color value includes:
when a first difference value between the first color value and the nearest ideal icon color value is smaller than a first preset threshold value, moving the application icon to a region identified by a region identifier corresponding to the nearest ideal icon color value;
the method further comprises the following steps:
and when a first difference value between the first color value and the nearest ideal icon color value is larger than or equal to a first preset threshold value, moving the application icon to a new folder.
In an embodiment, the swapping the desktop wallpaper according to the first color value corresponding to each area identifier and the second color value corresponding to each area identifier includes:
acquiring a wallpaper adjusting instruction;
responding to the wallpaper adjusting instruction, and acquiring an ideal wallpaper color value which is complementary to the first color value of the application icon for each application icon;
finding out matched desktop wallpaper from a wallpaper library, wherein when the matched desktop wallpaper is displayed on a desktop, second difference values between the second color value corresponding to the same area identifier and the ideal wallpaper color value are smaller than or equal to a second preset threshold value;
and exchanging the current desktop wallpaper into the matched desktop wallpaper.
In one embodiment, when M matched desktop wallpapers are found from a wallpaper library, where M is an integer greater than 1, the exchanging the current desktop wallpaper for the matched desktop wallpaper further includes:
searching the desktop wallpaper with the minimum sum of the second differences from the M matched desktop wallpapers;
and exchanging the current desktop wallpaper into the best matched desktop wallpaper.
The present embodiment also provides a voice transmission apparatus, including:
a processor; a memory for storing processor-executable instructions;
wherein the processor is configured to:
dividing a display interface of a desktop into N areas according to an arrangement rule of application icons on the desktop, wherein the N areas are provided with N area identifiers; n is an integer greater than or equal to 0;
acquiring a first color value of an application icon displayed on an area identified by each area identifier;
acquiring a second color value of the desktop wallpaper area displayed on the area identified by each area identifier;
and adjusting the position of each application icon on the desktop or exchanging the desktop wallpaper according to the first color value corresponding to each area identifier and the second color value corresponding to each area identifier, so that the difference between the first color value of the application icon displayed on the area identified by the same area identifier on the desktop after adjustment and the second color value of the desktop wallpaper area meets the preset condition.
In one embodiment, the processor may be further configured to:
the obtaining a first color value of an application icon displayed on an area identified by each area identifier includes:
acquiring color values of colors with the highest area to area ratios in all areas of the application icons displayed on the areas identified by the area identifications;
alternatively, the first and second electrodes may be,
and acquiring the color value of the color with the highest area ratio in the edge area of the application icon displayed on the area identified by each area identifier.
In one embodiment, the processor may be further configured to:
the obtaining of the second color value of the desktop wallpaper area displayed on the area identified by each area identifier includes:
acquiring color values of colors with the highest area ratio in all areas of the desktop wallpaper area in the area identified by each area identifier;
alternatively, the first and second electrodes may be,
and acquiring a color value of a color with the highest area ratio in a partial wallpaper area surrounding the application icon in the desktop wallpaper area.
In one embodiment, the processor may be further configured to:
adjusting the area of each application icon on the desktop according to the first color value corresponding to each area identifier and the second color value corresponding to each area identifier, including:
acquiring an icon adjusting instruction;
responding to the icon adjusting instruction, and acquiring an ideal icon color value of which the second color value corresponding to each area identifier is a complementary color;
for each application icon, determining an ideal icon color value that is closest to the first color value of the application icon;
and moving the application icon to the area identified by the area identifier corresponding to the nearest ideal icon color value.
In one embodiment, the processor may be further configured to:
the moving the application icon to the area identified by the area identifier corresponding to the closest ideal icon color value includes:
when a first difference value between the first color value and the nearest ideal icon color value is smaller than a first preset threshold value, moving the application icon to a region identified by a region identifier corresponding to the nearest ideal icon color value;
the method further comprises the following steps:
and when a first difference value between the first color value and the nearest ideal icon color value is larger than or equal to a first preset threshold value, moving the application icon to a new folder.
In one embodiment, the processor may be further configured to:
the exchanging the desktop wallpaper according to the first color value corresponding to each area identifier and the second color value corresponding to each area identifier comprises:
acquiring a wallpaper adjusting instruction;
responding to the wallpaper adjusting instruction, and acquiring an ideal wallpaper color value which is complementary to the first color value of the application icon for each application icon;
finding out matched desktop wallpaper from a wallpaper library, wherein when the matched desktop wallpaper is displayed on a desktop, second difference values between the second color value corresponding to the same area identifier and the ideal wallpaper color value are smaller than or equal to a second preset threshold value;
and exchanging the current desktop wallpaper into the matched desktop wallpaper.
In one embodiment, the processor may be further configured to:
when M matched desktop wallpapers are found from the wallpaper library, and M is an integer greater than 1, the exchanging the current desktop wallpaper for the matched desktop wallpaper further includes:
searching the desktop wallpaper with the minimum sum of the second differences from the M matched desktop wallpapers;
and exchanging the current desktop wallpaper into the best matched desktop wallpaper.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (10)

1. A method for desktop management, the method comprising:
dividing a display interface of a desktop into N areas according to an arrangement rule of application icons on the desktop, wherein the N areas are provided with N area identifiers; n is an integer greater than or equal to 0;
acquiring a first color value of an application icon displayed on an area identified by each area identifier;
acquiring a second color value of the desktop wallpaper area displayed on the area identified by each area identifier;
and adjusting the position of each application icon on the desktop or exchanging the desktop wallpaper according to the first color value corresponding to each area identifier and the second color value corresponding to each area identifier, so that the difference between the first color value of the application icon displayed on the area identified by the same area identifier on the desktop after adjustment and the second color value of the desktop wallpaper area meets the preset condition.
2. The method of claim 1, wherein obtaining the first color value of the application icon displayed on the area identified by each area identifier comprises:
acquiring color values of colors with the highest area to area ratios in all areas of the application icons displayed on the areas identified by the area identifications;
alternatively, the first and second electrodes may be,
and acquiring the color value of the color with the highest area ratio in the edge area of the application icon displayed on the area identified by each area identifier.
3. The method of claim 1, wherein obtaining a second color value for a desktop wallpaper area displayed on the area identified by each area identification comprises:
acquiring color values of colors with the highest area ratio in all areas of the desktop wallpaper area in the area identified by each area identifier;
alternatively, the first and second electrodes may be,
and acquiring a color value of a color with the highest area ratio in a partial wallpaper area surrounding the application icon in the desktop wallpaper area.
4. The method of claim 1, wherein the adjusting the area of each application icon on the desktop according to the first color value corresponding to each area identifier and the second color value corresponding to each area identifier comprises:
acquiring an icon adjusting instruction;
responding to the icon adjusting instruction, and acquiring an ideal icon color value of which the second color value corresponding to each area identifier is a complementary color;
for each application icon, determining an ideal icon color value that is closest to the first color value of the application icon;
and moving the application icon to the area identified by the area identifier corresponding to the nearest ideal icon color value.
5. The method of claim 4, wherein moving the application icon to the area identified by the area identification corresponding to the closest ideal icon color value comprises:
when a first difference value between the first color value and the nearest ideal icon color value is smaller than a first preset threshold value, moving the application icon to a region identified by a region identifier corresponding to the nearest ideal icon color value;
the method further comprises the following steps:
and when a first difference value between the first color value and the nearest ideal icon color value is larger than or equal to a first preset threshold value, moving the application icon to a new folder.
6. The method of claim 1, wherein the swapping the desktop wallpaper according to the first color value corresponding to each region identifier and the second color value corresponding to each region identifier comprises:
acquiring a wallpaper adjusting instruction;
responding to the wallpaper adjusting instruction, and acquiring an ideal wallpaper color value which is complementary to the first color value of the application icon for each application icon;
finding out matched desktop wallpaper from a wallpaper library, wherein when the matched desktop wallpaper is displayed on a desktop, second difference values between the second color value corresponding to the same area identifier and the ideal wallpaper color value are smaller than or equal to a second preset threshold value;
and exchanging the current desktop wallpaper into the matched desktop wallpaper.
7. The method as claimed in claim 6, wherein when M matched desktop wallpapers are found from the wallpaper library, where M is an integer greater than 1, the exchanging the current desktop wallpaper for the matched desktop wallpaper further comprises:
searching the desktop wallpaper with the minimum sum of the second differences from the M matched desktop wallpapers;
and exchanging the current desktop wallpaper into the best matched desktop wallpaper.
8. A desktop management apparatus, comprising:
the desktop display device comprises a dividing module, a display module and a display module, wherein the dividing module is used for dividing a display interface of a desktop into N areas according to an arrangement rule of application icons on the desktop, and the N areas are provided with N area identifiers; n is an integer greater than or equal to 0;
the first acquisition module is used for acquiring a first color value of an application icon displayed on the area identified by each area identifier;
the second acquisition module is used for acquiring a second color value of the desktop wallpaper area displayed on the area identified by each area identifier;
and the adjusting module is used for adjusting the position of each application icon on the desktop or exchanging the desktop wallpaper according to the first color value corresponding to each area identifier and the second color value corresponding to each area identifier, so that the difference value between the first color value of the application icon displayed on the area identified by the same area identifier on the desktop after adjustment and the second color value of the desktop wallpaper area accords with a preset condition.
9. A desktop management apparatus, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform the steps of the method of any one of claims 1 to 7.
10. A non-transitory computer readable storage medium storing computer instructions, wherein the computer instructions, when executed by a processor, implement the steps of the method of any one of claims 1 to 7.
CN202010224810.0A 2020-03-26 2020-03-26 Desktop management method and device Active CN111414223B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010224810.0A CN111414223B (en) 2020-03-26 2020-03-26 Desktop management method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010224810.0A CN111414223B (en) 2020-03-26 2020-03-26 Desktop management method and device

Publications (2)

Publication Number Publication Date
CN111414223A true CN111414223A (en) 2020-07-14
CN111414223B CN111414223B (en) 2023-09-05

Family

ID=71491356

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010224810.0A Active CN111414223B (en) 2020-03-26 2020-03-26 Desktop management method and device

Country Status (1)

Country Link
CN (1) CN111414223B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113393372A (en) * 2021-07-02 2021-09-14 维沃移动通信(杭州)有限公司 Desktop wallpaper setting method and device

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104063123A (en) * 2014-05-28 2014-09-24 小米科技有限责任公司 Icon displaying method and device
CN105320391A (en) * 2014-07-31 2016-02-10 宇龙计算机通信科技(深圳)有限公司 Method for adjusting display effect of standby interface and terminal
CN106406667A (en) * 2016-09-22 2017-02-15 乐视控股(北京)有限公司 A method and a device for setting application program icons on a desktop wallpaper
CN106598582A (en) * 2016-12-07 2017-04-26 北京奇虎科技有限公司 Mobile terminal and desk application display method and apparatus therefor
CN106610761A (en) * 2015-10-21 2017-05-03 中兴通讯股份有限公司 Icon color adjusting method and device
CN106648607A (en) * 2016-10-21 2017-05-10 北京奇虎科技有限公司 Application starting method, device base on icon shift and terminal device
CN107153549A (en) * 2017-05-19 2017-09-12 努比亚技术有限公司 Icon decoration method, equipment and computer-readable recording medium
WO2017202051A1 (en) * 2016-05-23 2017-11-30 北京金山安全软件有限公司 Method and device for processing application icon, and electronic apparatus
CN108196740A (en) * 2017-11-28 2018-06-22 维沃移动通信有限公司 A kind of icon display method, device and mobile terminal
CN108985287A (en) * 2018-07-09 2018-12-11 杭州圣吉奥软件有限公司 Notebook paper and classification icon-based programming method
CN109189281A (en) * 2018-06-29 2019-01-11 努比亚技术有限公司 Color adaptation method, terminal and the computer storage medium of wallpaper and icon

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104063123A (en) * 2014-05-28 2014-09-24 小米科技有限责任公司 Icon displaying method and device
CN105320391A (en) * 2014-07-31 2016-02-10 宇龙计算机通信科技(深圳)有限公司 Method for adjusting display effect of standby interface and terminal
CN106610761A (en) * 2015-10-21 2017-05-03 中兴通讯股份有限公司 Icon color adjusting method and device
WO2017202051A1 (en) * 2016-05-23 2017-11-30 北京金山安全软件有限公司 Method and device for processing application icon, and electronic apparatus
CN106406667A (en) * 2016-09-22 2017-02-15 乐视控股(北京)有限公司 A method and a device for setting application program icons on a desktop wallpaper
CN106648607A (en) * 2016-10-21 2017-05-10 北京奇虎科技有限公司 Application starting method, device base on icon shift and terminal device
CN106598582A (en) * 2016-12-07 2017-04-26 北京奇虎科技有限公司 Mobile terminal and desk application display method and apparatus therefor
CN107153549A (en) * 2017-05-19 2017-09-12 努比亚技术有限公司 Icon decoration method, equipment and computer-readable recording medium
CN108196740A (en) * 2017-11-28 2018-06-22 维沃移动通信有限公司 A kind of icon display method, device and mobile terminal
CN109189281A (en) * 2018-06-29 2019-01-11 努比亚技术有限公司 Color adaptation method, terminal and the computer storage medium of wallpaper and icon
CN108985287A (en) * 2018-07-09 2018-12-11 杭州圣吉奥软件有限公司 Notebook paper and classification icon-based programming method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
文文: "切换Windows7主题时让图标和指针保持不变", 《网络与信息》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113393372A (en) * 2021-07-02 2021-09-14 维沃移动通信(杭州)有限公司 Desktop wallpaper setting method and device

Also Published As

Publication number Publication date
CN111414223B (en) 2023-09-05

Similar Documents

Publication Publication Date Title
US11337220B2 (en) Information indication method and apparatus, base station, and user equipment
CN110231901B (en) Application interface display method and device
CN105094578B (en) Method and device for adjusting position of desktop icon
JP2017525078A (en) Icon badge display method, apparatus, program, and recording medium
US10439660B2 (en) Method and device for adjusting frequencies of intercom apparatuses
US10313936B2 (en) Method and apparatus for accessing base station
US20230318773A1 (en) Method for transmitting reference signal, method for receiving reference signal, base station and user equipment
CN111290723A (en) Display background adjusting method, device, terminal and storage medium
CN112269556A (en) Information display method, device, system, equipment, server and storage medium
CN111243554B (en) Screen brightness adjusting method, screen brightness adjusting device and storage medium
CN107677377B (en) Method and device for determining color temperature
CN105677352B (en) Method and device for setting application icon color
CN111796783A (en) Display screen color calibration method, device and medium
EP3396940B1 (en) Method and apparatus for sorting filter options
US20160364459A1 (en) Search method and search device
CN111414223A (en) Desktop management method and device
CN110603847B (en) Cell reselection method and device, electronic equipment and computer readable storage medium
CN112148148A (en) Touch operation identification method and device, mobile terminal and storage medium
CN108847199B (en) Brightness determination method and device
CN108401518B (en) Channel coordination method and device
CN106790953B (en) Information interception method and device
CN105873154B (en) Network access method and device
CN112714434A (en) Identification display method and device, electronic equipment and computer readable storage medium
CN114449542A (en) Cell registration method, device and medium
CN109710123B (en) Method and device for detecting function button

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

Effective date of registration: 20220105

Address after: 710077 room 506, zone a, science and technology resources planning center, Xi'an, Shaanxi Province

Applicant after: XI'AN FENGYU INFORMATION TECHNOLOGY Co.,Ltd.

Address before: 505, zone a, science and technology resources co ordination center, high tech Zone, Xi'an City, Shaanxi Province, 710000

Applicant before: XI'AN JIFENGTIANXIA INFORMATION TECHNOLOGY Co.,Ltd.

GR01 Patent grant
GR01 Patent grant