CN106873857A - A kind of application icon autoplacement method and device - Google Patents
A kind of application icon autoplacement method and device Download PDFInfo
- Publication number
- CN106873857A CN106873857A CN201710099040.XA CN201710099040A CN106873857A CN 106873857 A CN106873857 A CN 106873857A CN 201710099040 A CN201710099040 A CN 201710099040A CN 106873857 A CN106873857 A CN 106873857A
- Authority
- CN
- China
- Prior art keywords
- icon
- area
- resettlement
- application icon
- application
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06F3/04817—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
- Processing Or Creating Images (AREA)
Abstract
本发明适用于移动终端技术领域,提供了一种应用图标自动布局方法及装置,所述应用图标自动布局方法包括:获取应用图标的像素平均值;读取桌面背景图,提取轮廓区域;在提取的轮廓区域中,选择图标安置区域;倘若有多个所述图标安置区域,则获取所述图标安置区域的像素平均值和所述应用图标的像素平均值之间的差异,根据差异安置所述应用图标。本发明解决了现有的桌面背景颜色和应用图标颜色很容易混淆在一起,让用户无法快速找到目标应用图标的问题。有益效果在于两方面,一方面,将图标安置在与其像素平均值差异大的图标安置区域,防止背景的颜色过分接近,干扰用户识别图标,另一方面,能根据用户的喜好自动布局应用图标,提高用户体验。
The present invention is applicable to the technical field of mobile terminals, and provides an automatic layout method and device for application icons. The automatic layout method for application icons includes: obtaining the average value of pixels of application icons; In the outline area of the icon, select the icon placement area; if there are multiple icon placement areas, obtain the difference between the pixel average value of the icon placement area and the pixel average value of the application icon, and place the icon according to the difference. App icon. The invention solves the problem that the existing desktop background color and the application icon color are easily confused together, so that the user cannot quickly find the target application icon. The beneficial effect lies in two aspects. On the one hand, the icon is placed in the icon placement area with a large difference from the average pixel value, preventing the background color from being too close to interfere with the user's identification of the icon. On the other hand, the application icon can be automatically laid out according to the user's preference. Improve user experience.
Description
技术领域technical field
本发明属于移动终端技术领域,尤其涉及一种应用图标自动布局方法及装置。The invention belongs to the technical field of mobile terminals, and in particular relates to a method and device for automatic layout of application icons.
背景技术Background technique
智能电子设备广泛普及,伴随着大量应用程序的产生。在电子设备的桌面上,会依次排列大量的应用程序图标,简称:应用图标,应用图标一般用户为了美化桌面背景,会设置不同的图片作为桌面背景,以在视觉感受方面带来良好体验。The widespread popularity of smart electronic devices is accompanied by the generation of a large number of applications. On the desktop of an electronic device, a large number of application program icons, referred to as application icons for short, will be arranged in sequence. In order to beautify the desktop background, the general user of the application icons will set different pictures as the desktop background to bring a good visual experience.
然而,应用图标的颜色也不尽相同,有时桌面背景颜色和应用图标颜色很容易混淆在一起,让用户无法快速找到目标应用图标。有时用户不希望桌面背景图片的某些感兴趣的区域被遮盖。However, the colors of the application icons are not the same, and sometimes the desktop background color and the application icon color are easily confused together, so that the user cannot quickly find the target application icon. Sometimes users do not want certain areas of interest to be obscured in the desktop background image.
发明内容Contents of the invention
本发明实施例的目的在于提供一种应用图标自动布局方法,旨在解决现有的桌面背景颜色和应用图标颜色很容易混淆在一起,让用户无法快速找到目标应用图标的问题。The purpose of the embodiments of the present invention is to provide a method for automatic layout of application icons, which aims to solve the problem that the existing desktop background color and application icon color are easily confused together, so that users cannot quickly find the target application icon.
本发明实施例是这样实现的,一种应用图标自动布局方法,包括:The embodiment of the present invention is implemented in this way, a method for automatic layout of application icons, including:
获取应用图标的像素平均值;Get the pixel average value of the application icon;
读取桌面背景图,提取轮廓区域;Read the desktop background image and extract the outline area;
在提取的轮廓区域中,选择图标安置区域;In the extracted outline area, select the icon placement area;
倘若有多个所述图标安置区域,则获取所述图标安置区域的像素平均值和所述应用图标的像素平均值之间的差异,根据差异安置所述应用图标。If there are multiple icon placement areas, the difference between the pixel average value of the icon placement area and the pixel average value of the application icon is obtained, and the application icon is placed according to the difference.
本发明实施例的另一目的在于提供一种应用图标自动布局装置,包括:Another object of the embodiments of the present invention is to provide an automatic layout device for application icons, including:
获取模块,用于获取应用图标的像素平均值;An acquisition module, configured to acquire the pixel average value of the application icon;
提取模块,用于读取桌面背景图,提取轮廓区域;The extraction module is used to read the desktop background image and extract the contour area;
选择模块,用于在提取的轮廓区域中,选择图标安置区域;a selection module, configured to select an icon placement area in the extracted contour area;
安置模块,用于倘若有多个所述图标安置区域,则获取所述图标安置区域的像素平均值和所述应用图标的像素平均值之间的差异,根据差异安置所述应用图标。The placement module is configured to obtain the difference between the average value of pixels of the icon placement area and the average value of pixels of the application icon if there are multiple icon placement areas, and place the application icon according to the difference.
在本发明实施例中,倘若有多个所述图标安置区域,则获取所述图标安置区域的像素平均值和所述应用图标的像素平均值之间的差异,根据差异安置所述应用图标,解决了现有的桌面背景颜色和应用图标颜色很容易混淆在一起,让用户无法快速找到目标应用图标的问题。有益效果在于两方面,一方面,将图标安置在与其像素平均值差异大的图标安置区域,防止背景的颜色过分接近,干扰用户识别图标,另一方面,能根据用户的喜好自动布局应用图标,提高用户体验。In the embodiment of the present invention, if there are multiple icon placement areas, the difference between the pixel average value of the icon placement area and the pixel average value of the application icon is obtained, and the application icon is placed according to the difference, Solve the problem that the existing desktop background color and application icon color are easily confused together, making it difficult for users to quickly find the target application icon. The beneficial effect lies in two aspects. On the one hand, the icon is placed in the icon placement area that has a large difference from the average pixel value, preventing the background color from being too close to interfere with the user's identification of the icon. On the other hand, the application icon can be automatically laid out according to the user's preference. Improve user experience.
附图说明Description of drawings
图1是本发明实施例提供的应用图标自动布局方法的实现流程图;FIG. 1 is a flow chart of the implementation of the method for automatic layout of application icons provided by an embodiment of the present invention;
图2是本发明实施例提供的应用图标自动布局方法步骤S103的实现流程图;Fig. 2 is a flow chart of the realization of step S103 of the method for automatic layout of application icons provided by the embodiment of the present invention;
图3是本发明实施例提供的应用图标自动布局方法步骤S104的实现流程图;Fig. 3 is a flow chart of the realization of step S104 of the method for automatic layout of application icons provided by the embodiment of the present invention;
图4是本发明实施例提供的应用图标自动布局装置的结构框图。Fig. 4 is a structural block diagram of an application icon automatic layout device provided by an embodiment of the present invention.
具体实施方式detailed description
为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.
应当理解,当在本说明书和所附权利要求书中使用时,术语“包括”和“包含”指示所描述特征、整体、步骤、操作、元素和/或组件的存在,但并不排除一个或多个其它特征、整体、步骤、操作、元素、组件和/或其集合的存在或添加。It should be understood that when used in this specification and the appended claims, the terms "comprising" and "comprises" indicate the presence of described features, integers, steps, operations, elements and/or components, but do not exclude one or Presence or addition of multiple other features, integers, steps, operations, elements, components and/or collections thereof.
还应当理解,在此本发明说明书中所使用的术语仅仅是出于描述特定实施例的目的而并不意在限制本发明。如在本发明说明书和所附权利要求书中所使用的那样,除非上下文清楚地指明其它情况,否则单数形式的“一”、“一个”及“该”意在包括复数形式。It should also be understood that the terminology used in the description of the present invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the present invention. As used in this specification and the appended claims, the singular forms "a", "an" and "the" are intended to include plural referents unless the context clearly dictates otherwise.
还应当进一步理解,在本发明说明书和所附权利要求书中使用的术语“和/或”是指相关联列出的项中的一个或多个的任何组合以及所有可能组合,并且包括这些组合。It should also be further understood that the term "and/or" used in the description of the present invention and the appended claims refers to any combination and all possible combinations of one or more of the associated listed items, and includes these combinations .
如在本说明书和所附权利要求书中所使用的那样,术语“倘若”可以依据上下文被解释为“当...时”或“一旦”或“响应于确定”或“响应于检测到”。类似地,短语“倘若确定”或“倘若读取到[所描述条件或事件]”可以依据上下文被解释为意指“一旦确定”或“响应于确定”或“一旦检测到[所描述条件或事件]”或“响应于检测到[所描述条件或事件]”。As used in this specification and the appended claims, the term "if" may be construed as "when" or "once" or "in response to determining" or "in response to detecting" depending on the context . Similarly, the phrases "provided it is determined" or "provided that [the described condition or event is read]" may be construed, depending on the context, to mean "once determined" or "in response to the determination" or "once detected [the described condition or event]" event]" or "in response to detection of [described condition or event]".
实施例一Embodiment one
图1是本发明实施例提供的应用图标自动布局方法的实现流程图,详述如下:Figure 1 is a flow chart of the implementation of the method for automatic layout of application icons provided by an embodiment of the present invention, which is described in detail as follows:
在步骤S101中,获取应用图标的像素平均值;In step S101, obtain the pixel average value of the application icon;
获取移动终端中每个应用图标中心部位的像素平均值;Obtain the average value of pixels in the center of each application icon in the mobile terminal;
按像素平均值从小到大的顺序,对应用图标进行排序:Sort app icons in ascending order of pixel average:
在步骤S102中,读取桌面背景图,提取轮廓区域;In step S102, the desktop background image is read, and the contour area is extracted;
其中,将面积小于预设阈值的轮廓区域合并到邻近的轮廓区域,以避免产生碎片化无用的轮廓区域。Among them, the contour regions whose area is smaller than the preset threshold are merged into adjacent contour regions to avoid fragmentation and useless contour regions.
在步骤S103中,在提取的轮廓区域中,选择图标安置区域;In step S103, in the extracted outline area, select an icon placement area;
在步骤S104中,倘若有多个所述图标安置区域,则获取所述图标安置区域的像素平均值和所述应用图标的像素平均值之间的差异,根据差异安置所述应用图标。In step S104, if there are multiple icon placement areas, the difference between the pixel average value of the icon placement area and the pixel average value of the application icon is obtained, and the application icon is placed according to the difference.
获取所述图标安置区域的像素平均值和所述应用图标的像素平均值之间的像素差值,根据像素差值,将所述应用图标安置在与其像素平均值差异大的图标安置区域。Acquiring the pixel difference between the pixel average value of the icon placement area and the pixel average value of the application icon, and according to the pixel difference value, placing the application icon in the icon placement area with a large difference from the pixel average value.
当新安装应用图标时,根据新安装的应用图标中的像素平均值确定与其像素平均值差异大的图标安置区域,然后按像素平均值从小到大的顺序,根据新安装的应用图标中的像素平均值,将该应用图标插入所述图标安置区域中相应的位置,并相应地调整排列在新安装的应用图标后的其他应用图标的显示位置,将它们的显示位置往后调整。When an application icon is newly installed, the icon placement area with a large difference from the average pixel value of the newly installed application icon is determined according to the pixel average value of the newly installed application icon, and then in order of the pixel average value from small to large, according to the pixels in the newly installed application icon The average value is to insert the application icon into a corresponding position in the icon placement area, and correspondingly adjust the display positions of other application icons arranged behind the newly installed application icon, and adjust their display positions backward.
在本发明实施例中,有益效果在于两方面,一方面,将应用图标安置在与其像素平均值差异大的图标安置区域,防止背景的颜色过分接近,干扰用户识别应用图标,另一方面,能根据用户的喜好自动布局应用图标,提高用户体验。In the embodiment of the present invention, the beneficial effect lies in two aspects. On the one hand, the application icon is placed in the icon placement area with a large difference from its pixel average value, preventing the background color from being too close to interfere with the user's recognition of the application icon. On the other hand, it can Automatically layout application icons according to user preferences to improve user experience.
实施例二Embodiment two
本发明实施例描述了应用图标自动布局方法步骤S102的实现流程,详述如下:The embodiment of the present invention describes the implementation process of step S102 of the automatic layout method for application icons, which is described in detail as follows:
通过边界检测的图像处理方式,提取轮廓区域;Through the image processing method of boundary detection, the contour area is extracted;
通过接收手动绘制的方式,提取轮廓区域。By receiving manual drawing, the contour area is extracted.
实施例三Embodiment Three
图2是本发明实施例提供的应用图标自动布局方法步骤S103的实现流程图,详述如下:Fig. 2 is a flow chart of the realization of step S103 of the method for automatic layout of application icons provided by an embodiment of the present invention, which is described in detail as follows:
在步骤S201中,判断提取的轮廓区域是否为用户手动绘制的轮廓区域;In step S201, it is judged whether the extracted outline area is an outline area manually drawn by the user;
在步骤S202中,倘若提取的轮廓区域为用户手动绘制的轮廓区域,则将提取的轮廓区域作为选择的图标安置区域;In step S202, if the extracted outline area is an outline area manually drawn by the user, then use the extracted outline area as the selected icon placement area;
在步骤S203中,倘若提取的轮廓区域不为用户手动绘制的轮廓区域,则选择桌面背景图中心位置以外的轮廓区域作为图标安置区域,或者,将用户的手动选择的轮廓区域作为选择的图标安置区域。In step S203, if the extracted outline area is not manually drawn by the user, select an outline area other than the center of the desktop background image as the icon placement area, or use the user's manually selected outline area as the selected icon placement area area.
在本发明实施例中,用户可以手绘图标安置区域,比如手绘特殊的曲线图作为图标安置区域,使得图标布局按照该曲线排列,增加用户体验。如果用户没有手绘图标安置区域,系统会根据背景图像,选择一些特殊的区域作为图标摆放位置,可以避免将背景图像中一些关键区域遮挡。比如,将应用图标布置在背景图四周。In the embodiment of the present invention, the user can draw an icon placement area, for example, draw a special graph as the icon placement area, so that the icon layout is arranged according to the curve, increasing user experience. If the user does not have a hand-drawn icon placement area, the system will select some special areas as the icon placement position according to the background image, which can avoid blocking some key areas in the background image. For example, arrange the application icon around the background image.
实施例四Embodiment Four
本发明实施例描述了安置应用图标的实现流程,详述如下:The embodiment of the present invention describes the implementation process of arranging application icons, which is described in detail as follows:
倘若有多个所述图标安置区域,则获取所述图标安置区域的像素平均值和所述应用图标的像素平均值之间的差异,将所述应用图标安置在与其像素平均值差异大的图标安置区域。If there are multiple icon placement areas, obtain the difference between the pixel average value of the icon placement area and the pixel average value of the application icon, and place the application icon in the icon with a large difference from its pixel average value Placement area.
实施例五Embodiment five
图3是本发明实施例提供的应用图标自动布局方法步骤S104的实现流程图,详述如下:Fig. 3 is a flow chart of the implementation of step S104 of the method for automatic layout of application icons provided by an embodiment of the present invention, which is described in detail as follows:
在步骤S301中,按第一顺序,对多个所述图标安置区域的像素平均值进行排序;In step S301, according to the first order, the pixel average values of the multiple icon placement areas are sorted;
在步骤S302中,按第二顺序,对所述应用图标的像素平均值进行排序;In step S302, the pixel average values of the application icons are sorted according to the second order;
在步骤S303中,按顺序依次读取所述应用图标,查找多个所述图标安置区域中容量非空的图标安置区域;In step S303, the application icons are read sequentially, and an icon placement area whose capacity is not empty among the plurality of icon placement areas is searched;
在步骤S304中,计算所述应用图标与容量非空的图标安置区域的像素平均值的差值,将差值取绝对值,按从大到小的顺序,查找优选的绝对值对应的图标安置区域;In step S304, calculate the difference between the application icon and the pixel average value of the icon placement area with a non-empty capacity, take the absolute value of the difference, and search for the icon placement corresponding to the preferred absolute value in descending order area;
在步骤S305中,将所述应用图标放置于优选的绝对值对应的图标安置区域;In step S305, placing the application icon in the icon placement area corresponding to the preferred absolute value;
其中,所述第一顺序和所述第二顺序是相反的顺序。Wherein, the first order and the second order are opposite orders.
其中,如果只有一个图标安置区域,则所有的图标均安置在该图标安置区域内。而图标排列顺序规则为:按照上次排列顺序,依次从左到右,从上到下,即最大限度保持原有顺序。Wherein, if there is only one icon placement area, all icons are placed in the icon placement area. The order of icon arrangement is as follows: according to the order of last arrangement, from left to right, and from top to bottom, that is, to maintain the original order to the greatest extent.
如果有多个图标安置区域,则获取安置区域像素平均值和图标像素平均值的差异,按照差异大小重新排列布局。具体方法如下:If there are multiple icon placement areas, the difference between the average pixel value of the placement area and the average pixel value of the icon is obtained, and the layout is rearranged according to the size of the difference. The specific method is as follows:
a)有n个图标安置区域,根据图标安置区域的像素平均值从大到小排序:即Q1,Q2,Q3,……Qn。a) There are n icon placement areas, which are sorted from large to small according to the pixel average value of the icon placement areas: ie Q1, Q2, Q3, ... Qn.
b)有m个应用图标需要安置,并且按照应用图标的像素平均值从小到大排序,即T1,T2,T3…Tm。b) There are m application icons to be placed, and they are sorted according to the pixel average value of the application icons from small to large, that is, T1, T2, T3...Tm.
c)图标安置过程:按顺序依次读取一个应用图标Ti,查找容量非空的图标安置区域,即计算Ti与Qx的像素平均值的差,取绝对值,即找出最大的值对应的x,即Qx即是该应用图标Ti将要放置的图标安置区域。c) Icon placement process: Read an application icon Ti in sequence, and find an icon placement area with a non-empty capacity, that is, Calculate the difference between the pixel average value of Ti and Qx, and take the absolute value, that is Find the x corresponding to the largest value, ie Qx is the icon placement area where the application icon Ti will be placed.
d)将应用图标Ti放置于该安置区域Qx后,Qx对应的容量减1。d) After the application icon Ti is placed in the placement area Qx, the capacity corresponding to Qx is reduced by 1.
通过上述方法,即将应用图标放置到与其平均像素差异最大的图标安置区域中。Through the above method, the application icon is placed in the icon placement area with the largest difference from its average pixel.
实施例六Embodiment six
图4是本发明实施例提供的应用图标自动布局装置的结构框图,该装置可以运行于用户设备中。用户设备包括但不限于移动电话、口袋计算机(Pocket PersonalComputer,PPC)、掌上电脑、计算机、笔记本电脑、个人数字助理(Personal DigitalAssistant,PDA)、MP4、MP3。为便于说明,仅示出了与本实施例相关的部分。为了便于说明,仅示出了与本实施例相关的部分。Fig. 4 is a structural block diagram of an apparatus for automatic layout of application icons provided by an embodiment of the present invention, and the apparatus can run in a user equipment. User equipment includes, but is not limited to, mobile phones, pocket computers (Pocket Personal Computer, PPC), palmtop computers, computers, notebook computers, personal digital assistants (Personal Digital Assistant, PDA), MP4, and MP3. For ease of description, only the parts related to this embodiment are shown. For ease of description, only the parts related to this embodiment are shown.
参照图4,该应用图标自动布局装置,包括:Referring to Figure 4, the device for automatic layout of application icons includes:
获取模块41,用于获取应用图标的像素平均值;An acquisition module 41, configured to acquire the pixel average value of the application icon;
提取模块42,用于读取桌面背景图,提取轮廓区域;The extraction module 42 is used to read the desktop background image and extract the contour area;
选择模块43,用于在提取的轮廓区域中,选择图标安置区域;A selection module 43, configured to select an icon placement area in the extracted outline area;
安置模块44,用于倘若有多个所述图标安置区域,则获取所述图标安置区域的像素平均值和所述应用图标的像素平均值之间的差异,根据差异安置所述应用图标。The placement module 44 is configured to obtain the difference between the pixel average value of the icon placement area and the pixel average value of the application icon if there are multiple icon placement areas, and arrange the application icon according to the difference.
作为本实施例的一种实现方式,在所述应用图标自动布局装置中,所述提取模块具体用于通过边界检测的图像处理方式,提取轮廓区域;或者,用于通过接收手动绘制的方式,提取轮廓区域。As an implementation of this embodiment, in the device for automatic layout of application icons, the extraction module is specifically configured to extract the outline area through an image processing manner of boundary detection; or, is configured to receive manual drawing, Extract contour regions.
作为本实施例的一种实现方式,在所述应用图标自动布局装置中,所述选择模块,具体包括:As an implementation of this embodiment, in the device for automatic layout of application icons, the selection module specifically includes:
判断单元,用于判断提取的轮廓区域是否为用户手动绘制的轮廓区域;A judging unit, configured to judge whether the extracted contour area is a contour area manually drawn by a user;
第一选择单元,用于倘若提取的轮廓区域为用户手动绘制的轮廓区域,则将提取的轮廓区域作为选择的图标安置区域;The first selection unit is configured to use the extracted outline area as the selected icon placement area if the extracted outline area is an outline area manually drawn by the user;
第二选择单元,用于倘若提取的轮廓区域不为用户手动绘制的轮廓区域,则选择桌面背景图中心位置以外的轮廓区域作为图标安置区域,或者,将用户的手动选择的轮廓区域作为选择的图标安置区域。The second selection unit is used to select an outline area other than the center position of the desktop background image as the icon placement area if the extracted outline area is not manually drawn by the user, or use the manually selected outline area of the user as the selected outline area. Icon placement area.
作为本实施例的一种实现方式,在所述应用图标自动布局装置中,所述安置模块具体用于倘若有多个所述图标安置区域,则获取所述图标安置区域的像素平均值和所述应用图标的像素平均值之间的差异,将所述应用图标安置在与其像素平均值差异大的图标安置区域。As an implementation of this embodiment, in the device for automatic layout of application icons, the placement module is specifically configured to obtain the average value of the pixels of the icon placement areas and the The difference between the average pixel values of the application icons is determined, and the application icon is placed in the icon placement area with a large difference between the average pixel values of the application icons.
作为本实施例的一种实现方式,在所述应用图标自动布局装置中,所述安置模块,具体包括:As an implementation of this embodiment, in the device for automatic layout of application icons, the placement module specifically includes:
第一排序单元,用于按第一顺序,对多个所述图标安置区域的像素平均值进行排序;The first sorting unit is configured to sort the pixel average values of the plurality of icon placement areas in a first order;
第二排序单元,用于按第二顺序,对所述应用图标的像素平均值进行排序;The second sorting unit is configured to sort the average pixel values of the application icons in a second order;
查找单元,用于按顺序依次读取所述应用图标,查找多个所述图标安置区域中容量非空的图标安置区域;A search unit, configured to read the application icons sequentially, and search for an icon placement area with a non-empty capacity among the plurality of icon placement areas;
查找单元,用于计算所述应用图标与容量非空的图标安置区域的像素平均值的差值,将差值取绝对值,按从大到小的顺序,查找优选的绝对值对应的图标安置区域;The search unit is used to calculate the difference between the application icon and the pixel average value of the icon placement area with a non-empty capacity, take the absolute value of the difference, and search for the icon placement corresponding to the preferred absolute value in descending order area;
放置单元,用于将所述应用图标放置于优选的绝对值对应的图标安置区域;a placement unit, configured to place the application icon in the icon placement area corresponding to the preferred absolute value;
其中,所述第一顺序和所述第二顺序是相反的顺序。Wherein, the first order and the second order are opposite orders.
本发明实施例方法中的步骤可以根据实际需要进行顺序调整、合并和删减。The steps in the methods of the embodiments of the present invention can be adjusted, combined and deleted according to actual needs.
本发明实施例装置和装置中的单元可以根据实际需要进行合并、划分和删减。The device in the embodiment of the present invention and the units in the device can be combined, divided and deleted according to actual needs.
本发明实施例提供的装置可以应用在前述对应的方法实施例中,详情参见上述实施例的描述,在此不再赘述。The apparatus provided by the embodiment of the present invention may be applied in the foregoing corresponding method embodiments. For details, refer to the description of the foregoing embodiments, and details are not repeated here.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些通信接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods may be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or May be integrated into another system, or some features may be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some communication interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit.
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。If the functions described above are realized in the form of software function units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disk and other media that can store program codes. .
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到的变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以权利要求的保护范围为准。The above is only a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Anyone skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the present invention. All should be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710099040.XA CN106873857B (en) | 2017-02-22 | 2017-02-22 | Automatic application icon layout method and device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710099040.XA CN106873857B (en) | 2017-02-22 | 2017-02-22 | Automatic application icon layout method and device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN106873857A true CN106873857A (en) | 2017-06-20 |
| CN106873857B CN106873857B (en) | 2020-05-19 |
Family
ID=59168366
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201710099040.XA Expired - Fee Related CN106873857B (en) | 2017-02-22 | 2017-02-22 | Automatic application icon layout method and device |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN106873857B (en) |
Cited By (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108549507A (en) * | 2018-03-01 | 2018-09-18 | 平安科技(深圳)有限公司 | Arrange application drawing calibration method, terminal device and computer readable storage medium |
| CN109683758A (en) * | 2018-12-13 | 2019-04-26 | 惠州Tcl移动通信有限公司 | Display methods, device and the storage medium of application icon |
| CN111295637A (en) * | 2017-09-07 | 2020-06-16 | 深圳传音通讯有限公司 | Display method and display device for intelligent terminal |
| CN111612864A (en) * | 2020-04-27 | 2020-09-01 | 厦门盈趣科技股份有限公司 | A painting method and system based on photo and image recognition |
| CN114489689A (en) * | 2021-08-26 | 2022-05-13 | 荣耀终端有限公司 | Application program installation method and system, electronic equipment and server |
| WO2023093390A1 (en) * | 2021-11-24 | 2023-06-01 | 华为技术有限公司 | Layout method, readable medium and electronic device |
| CN118897704A (en) * | 2024-06-19 | 2024-11-05 | 江西天珑通讯科技有限公司 | Interface layout method, device, and computer-readable storage medium for intelligent terminal |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104063123A (en) * | 2014-05-28 | 2014-09-24 | 小米科技有限责任公司 | Icon displaying method and device |
| CN105005461A (en) * | 2015-06-23 | 2015-10-28 | 深圳市金立通信设备有限公司 | Icon display method and terminal |
| CN105808054A (en) * | 2016-02-29 | 2016-07-27 | 宇龙计算机通信科技(深圳)有限公司 | Control method and control device for control icon, terminal |
| CN106406667A (en) * | 2016-09-22 | 2017-02-15 | 乐视控股(北京)有限公司 | A method and a device for setting application program icons on a desktop wallpaper |
-
2017
- 2017-02-22 CN CN201710099040.XA patent/CN106873857B/en not_active Expired - Fee Related
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104063123A (en) * | 2014-05-28 | 2014-09-24 | 小米科技有限责任公司 | Icon displaying method and device |
| CN105005461A (en) * | 2015-06-23 | 2015-10-28 | 深圳市金立通信设备有限公司 | Icon display method and terminal |
| CN105808054A (en) * | 2016-02-29 | 2016-07-27 | 宇龙计算机通信科技(深圳)有限公司 | Control method and control device for control icon, terminal |
| CN106406667A (en) * | 2016-09-22 | 2017-02-15 | 乐视控股(北京)有限公司 | A method and a device for setting application program icons on a desktop wallpaper |
Cited By (11)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111295637A (en) * | 2017-09-07 | 2020-06-16 | 深圳传音通讯有限公司 | Display method and display device for intelligent terminal |
| CN111295637B (en) * | 2017-09-07 | 2024-03-26 | 深圳传音通讯有限公司 | Display method and display device for intelligent terminal |
| CN108549507A (en) * | 2018-03-01 | 2018-09-18 | 平安科技(深圳)有限公司 | Arrange application drawing calibration method, terminal device and computer readable storage medium |
| WO2019165681A1 (en) * | 2018-03-01 | 2019-09-06 | 平安科技(深圳)有限公司 | Application icon arrangement method and device, and server and medium |
| CN109683758A (en) * | 2018-12-13 | 2019-04-26 | 惠州Tcl移动通信有限公司 | Display methods, device and the storage medium of application icon |
| CN111612864A (en) * | 2020-04-27 | 2020-09-01 | 厦门盈趣科技股份有限公司 | A painting method and system based on photo and image recognition |
| CN111612864B (en) * | 2020-04-27 | 2023-05-09 | 厦门盈趣科技股份有限公司 | Drawing method and system based on photo and image recognition |
| CN114489689A (en) * | 2021-08-26 | 2022-05-13 | 荣耀终端有限公司 | Application program installation method and system, electronic equipment and server |
| CN114489689B (en) * | 2021-08-26 | 2023-01-13 | 荣耀终端有限公司 | Application program installation method and system, electronic equipment and server |
| WO2023093390A1 (en) * | 2021-11-24 | 2023-06-01 | 华为技术有限公司 | Layout method, readable medium and electronic device |
| CN118897704A (en) * | 2024-06-19 | 2024-11-05 | 江西天珑通讯科技有限公司 | Interface layout method, device, and computer-readable storage medium for intelligent terminal |
Also Published As
| Publication number | Publication date |
|---|---|
| CN106873857B (en) | 2020-05-19 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN106873857A (en) | A kind of application icon autoplacement method and device | |
| US20230152962A1 (en) | Techniques for image-based search using touch controls | |
| US8736547B2 (en) | Method and system for interfacing a digital device with an interactive display surface | |
| RU2654145C2 (en) | Information search method and device and computer readable recording medium thereof | |
| US20150234818A1 (en) | Displaying clusters of media items on a map using representative media items | |
| CN106777007A (en) | Photograph album Classified optimization method, device and mobile terminal | |
| JP2012094138A (en) | Apparatus and method for providing augmented reality user interface | |
| WO2017114237A1 (en) | Image query method and device | |
| CN106846122A (en) | Commodity data treating method and apparatus | |
| US20140330814A1 (en) | Method, client of retrieving information and computer storage medium | |
| CN107084736A (en) | A kind of air navigation aid and mobile terminal | |
| TW202141475A (en) | Method of determining item name of object, device, computer equipment and storage medium | |
| CN108961267B (en) | Picture processing method, picture processing device and terminal equipment | |
| WO2014176938A1 (en) | Method and apparatus of retrieving information | |
| CN106469162A (en) | A kind of picture sort method and corresponding picture storage display device | |
| US20150063725A1 (en) | Related Image Searching Method and User Interface Controlling Method | |
| CN110019913A (en) | Picture match method, user equipment, storage medium and device | |
| KR102102164B1 (en) | Method, apparatus and computer program for pre-processing video | |
| JP5356289B2 (en) | Image search system | |
| CN103955713A (en) | Icon recognition method and device | |
| CN106934679A (en) | information matching method and device | |
| CN110457604A (en) | Recommended method and relevant device based on artificial intelligence | |
| US20170034586A1 (en) | System for content matching and triggering for reality-virtuality continuum-based environment and methods thereof | |
| CN106873856A (en) | App icon classification method and device | |
| CN112949709B (en) | Image data labeling method, device, electronic equipment and storage medium |
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 | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20200519 |
|
| CF01 | Termination of patent right due to non-payment of annual fee |