Movatterモバイル変換


[0]ホーム

URL:


CN103605451B - Method and device for pentagonally arranging and displaying icons - Google Patents

Method and device for pentagonally arranging and displaying icons
Download PDF

Info

Publication number
CN103605451B
CN103605451BCN201310500859.4ACN201310500859ACN103605451BCN 103605451 BCN103605451 BCN 103605451BCN 201310500859 ACN201310500859 ACN 201310500859ACN 103605451 BCN103605451 BCN 103605451B
Authority
CN
China
Prior art keywords
icon
pentagram
icons
coordinates
interface
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.)
Expired - Fee Related
Application number
CN201310500859.4A
Other languages
Chinese (zh)
Other versions
CN103605451A (en
Inventor
杨凯
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co LtdfiledCriticalBeijing Qihoo Technology Co Ltd
Priority to CN201310500859.4ApriorityCriticalpatent/CN103605451B/en
Publication of CN103605451ApublicationCriticalpatent/CN103605451A/en
Application grantedgrantedCritical
Publication of CN103605451BpublicationCriticalpatent/CN103605451B/en
Expired - Fee Relatedlegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Landscapes

Abstract

Translated fromChinese

本发明公开了一种图标五角星排布显示的方法和装置,其方法包括:预先设置多个应用的图标,并提供各所述图标的图标读取接口;预先设置图标五角星形排布模板,并提供所述图标五角星形排布模板的实现接口,所述图标五角星形排布模板设置有图标五角星形排布坐标算法;所述图标五角星形排布坐标算法在显示区域内计算多个位置坐标且使所述位置坐标的连线构成五角星形;通过调用所述图标五角星形排布模板的实现接口,执行所述图标五角星形排布坐标算法并计算得出多个所述位置坐标,实现所述图标五角星形排布模板;通过调用所述图标读取接口,将所读取的图标显示在所述位置坐标的位置处。通过本发明的方法和装置,能够使图标呈五角星排布显示。

The present invention discloses a method and device for displaying icon pentagram arrangement, the method comprising: pre-setting a plurality of application icons, and providing an icon reading interface for each of the icons; pre-setting an icon five-point star arrangement template , and provide the implementation interface of the icon pentagram layout template, the icon pentagram layout template is provided with the icon pentagram layout coordinate algorithm; the icon pentagram layout coordinate algorithm is in the display area Calculate a plurality of position coordinates and make the connection lines of the position coordinates form a five-pointed star; by calling the implementation interface of the icon five-pointed star layout template, execute the icon five-pointed star layout coordinate algorithm and calculate multiple coordinates of the position to realize the icon pentagram layout template; by calling the icon reading interface, the read icon is displayed at the position of the coordinates of the position. Through the method and device of the present invention, the icons can be displayed in a five-pointed star arrangement.

Description

Translated fromChinese
一种图标五角星排布显示的方法和装置Method and device for displaying icons in five-pointed star arrangement

技术领域technical field

本发明涉及计算机技术领域,具体涉及一种图标五角星排布显示的方法和装置。The present invention relates to the field of computer technology, in particular to a method and device for displaying icon five-pointed star arrangement.

背景技术Background technique

图标应用于计算机软件方面,包括:程序标识、数据标识、命令选择、模式信号或切换开关、状态指示等。一个图标是一个小的图片或对象,代表一个文件、程序、网页或命令。图标有助于用户快速执行命令和打开程序文件。单击或双击图标以执行一个命令。图标也用于在浏览器中快速展现内容。Icons are used in computer software, including: program identification, data identification, command selection, mode signal or switch, status indication, etc. An icon is a small picture or object that represents a file, program, web page, or command. Icons help users quickly execute commands and open program files. Click or double-click an icon to execute a command. Icons are also used to quickly display content in the browser.

Icon图标是一种图标格式,用于系统图标、软件图标等,这种图标扩展名为*.icon、*.ico。常见的软件或windows桌面上的图标一般都是ICON格式的。Icon is an icon format used for system icons, software icons, etc. The extensions of such icons are *.icon and *.ico. Common software or icons on the windows desktop are generally in the ICON format.

现有技术中对于图标进行显示时,往往是已经设定好了图标的显示位置,将图标在预设的位置进行显示,图标往往呈矩形网状排布进行显示,造成了图标显示排布方式单一的问题。When displaying icons in the prior art, the display position of the icon is often set, and the icon is displayed at the preset position, and the icons are often displayed in a rectangular mesh arrangement, resulting in the icon display arrangement single question.

发明内容Contents of the invention

鉴于上述问题,提出了本发明以便提供一种克服上述问题或者至少部分地解决上述问题的图标五角星排布显示的方法和相应的装置。In view of the above problems, the present invention is proposed to provide a method for displaying icon pentagram arrangement and a corresponding device that overcomes the above problems or at least partially solves the above problems.

根据本发明的一个方面,提供了一种图标五角星排布显示的方法,其包括:According to one aspect of the present invention, there is provided a method for displaying icons in a five-pointed star arrangement, which includes:

预先设置多个应用的图标,并提供各图标的图标读取接口;Set icons of multiple applications in advance, and provide an icon reading interface for each icon;

预先设置图标五角星形排布模板,并提供图标五角星形排布模板的实现接口,图标五角星形排布模板设置有图标五角星形排布坐标算法;图标五角星形排布坐标算法在显示区域内计算多个位置坐标且使位置坐标的连线构成五角星形;The icon pentagram layout template is set in advance, and the implementation interface of the icon pentagram layout template is provided. The icon pentagram layout template is set with the icon pentagram layout coordinate algorithm; the icon pentagram layout coordinate algorithm is in Calculate multiple position coordinates in the display area and make the connection lines of the position coordinates form a five-pointed star;

通过调用图标五角星形排布模板的实现接口,执行图标五角星形排布坐标算法并计算得出多个位置坐标,实现图标五角星形排布模板;By calling the implementation interface of the icon pentagram layout template, execute the icon pentagram layout coordinate algorithm and calculate multiple position coordinates to realize the icon pentagram layout template;

通过调用图标读取接口,将所读取的图标显示在位置坐标的位置处。By calling the icon reading interface, the read icon is displayed at the position of the position coordinates.

进一步的,本发明的方法,其中,五角星形是正五角星形且包括五个外顶点、五个内顶点和十条边线;图标五角星形排布坐标算法具体包括:Further, in the method of the present invention, wherein the pentagram is a regular pentagram and includes five outer vertices, five inner vertices and ten edges; the icon pentagram arrangement coordinate algorithm specifically includes:

在显示区域内建立坐标系,坐标系的横坐标轴与十条边线中的两条边线平行,五角星形的尺寸由显示区域的尺寸确定;Establish a coordinate system in the display area, the abscissa axis of the coordinate system is parallel to two of the ten side lines, and the size of the pentagram is determined by the size of the display area;

根据外顶点至正五角星形中心的距离计算五个外顶点、五个内顶点和十条边线的中点的坐标作为位置坐标。Calculate the coordinates of the midpoints of five outer vertices, five inner vertices, and ten edges according to the distance from the outer vertices to the center of the regular pentagram as position coordinates.

进一步的,本发明的方法,其中,根据外顶点至正五角星形中心的距离计算五个外顶点、五个内顶点和十条边线的中点的坐标作为位置坐标的步骤具体包括:Further, in the method of the present invention, wherein, according to the distance from the outer vertex to the center of the regular pentagram, the step of calculating the coordinates of the midpoints of five outer vertices, five inner vertices and ten edges as position coordinates specifically includes:

根据如下公式(1)和公式(2)计算五个外顶点的坐标(Xi,Yi)作为位置坐标:Calculate the coordinates (Xi , Yi ) of the five outer vertices as the position coordinates according to the following formula (1) and formula (2):

Xxii==rrnno××coscosθθ++rrnnoYYii==rrnno××sinsinθθ++rrnno------((11))

θθ==1818++7272××ii--1122------((22))

其中,rn表示外顶点至正五角星形中心的距离;i表示顶点索引值,顶点索引值从正五角星形右上部的外顶点开始,以逆时针方向对全部外顶点和内顶点计数;Among them, rn represents the distance from the outer vertex to the center of the regular pentagram; i represents the vertex index value, and the vertex index value starts from the outer vertex at the upper right of the regular pentagram, and counts all outer vertices and inner vertices in a counterclockwise direction;

根据如下公式(3)、公式(4)和公式(5)计算五个内顶点的坐标(Xi,Yi)作为位置坐标:According to the following formula (3), formula (4) and formula (5), the coordinates (Xi , Yi ) of the five inner vertices are calculated as the position coordinates:

Xxii==rrmm××coscosαα++rrnnoYYii==rrmm××sinsinαα++rrnno------((33))

αα==5454++7272××ii--2222------((44))

rrmm==rrnno--YY11sinsin((3636))------((55))

其中,rm表示内顶点至正五角星形中心的距离;Y1表示顶点索引值i=1时的第一个外顶点的纵坐标;Among them, rm represents the distance from the inner vertex to the center of the regular pentagram; Y1 represents the ordinate of the first outer vertex when the vertex index value i=1;

根据如下公式(6)计算十条边线的中点的坐标(Xj,Yj)作为位置坐标:Calculate the coordinates (Xj , Yj ) of the midpoints of the ten sidelines as the position coordinates according to the following formula (6):

Xxjj==Xxii++Xxii++1122YYjj==YYii++YYii++1122------((66))

其中,j表示中点索引值,中点索引值从顶点索引值i=1时的第一个外顶点左侧的边线的中点开始,以逆时针方向对全部边线的中点计数。Among them, j represents the midpoint index value, and the midpoint index value starts from the midpoint of the edge line on the left side of the first outer vertex when the vertex index value i=1, and counts the midpoints of all edge lines in a counterclockwise direction.

进一步的,本发明的方法,其中,Further, the method of the present invention, wherein,

在预先设置图标五角星形排布模板,并提供图标五角星形排布模板的实现接口之后;在通过调用图标五角星形排布模板的实现接口,执行图标五角星形排布坐标算法并计算得出在显示区域内的各图标的坐标,实现图标五角星形排布模板之前;After setting the icon pentagram layout template in advance and providing the implementation interface of the icon pentagram layout template; after calling the implementation interface of the icon pentagram layout template, execute the icon pentagram layout coordinate algorithm and calculate Get the coordinates of each icon in the display area, before realizing the icon pentagram arrangement template;

还包括:Also includes:

确定待显示图标的数量N,N为正整数。Determine the number N of icons to be displayed, where N is a positive integer.

通过调用图标读取接口,将所读取的图标显示在位置坐标的位置处的具体步骤包括:The specific steps of displaying the read icon at the location coordinates by calling the icon reading interface include:

当5≤N≤10时,调用图标读取接口,将所读取的N个待显示图标中的五个待显示图标显示在各个外顶点的坐标的位置处,并且将所读取的N个待显示图标中剩余的待显示图标显示在各个内顶点的坐标的位置处;When 5≤N≤10, call the icon reading interface, display five of the read N icons to be displayed at the coordinates of each outer vertex, and display the read N The remaining icons to be displayed among the icons to be displayed are displayed at the positions of the coordinates of each inner vertex;

当10<N≤20时,调用图标读取接口,将所读取的N个待显示图标中的十个待显示图标显示在各个外顶点和内顶点的坐标的位置处,并且将所读取的N个待显示图标中剩余的待显示图标显示在各条边线的中点的坐标的位置处。When 10<N≤20, call the icon reading interface, display ten of the read N icons to be displayed at the coordinate positions of each outer vertex and inner vertex, and read the The remaining icons to be displayed among the N icons to be displayed are displayed at the positions of the coordinates of the midpoints of each side line.

进一步的,本发明的方法,其中,通过调用图标读取接口,将所读取的图标显示在位置坐标的位置处的步骤还包括:Further, in the method of the present invention, the step of displaying the read icon at the position of the position coordinates by calling the icon reading interface further includes:

根据历史使用情况选择一个应用的图标;Select an app's icon based on historical usage;

将选择的图标显示在正五角星形的中心处。Display the selected icon at the center of the regular pentagram.

根据本发明的另一方面,提供了一种图标五角星排布显示的装置,其包括:According to another aspect of the present invention, a device for displaying icons arranged in five-pointed stars is provided, which includes:

图标接口模块,用于预先设置多个应用的图标,并提供各图标的图标读取接口;The icon interface module is used to pre-set the icons of multiple applications and provide an icon reading interface for each icon;

模板接口模块,用于预先设置图标五角星形排布模板,并提供图标五角星形排布模板的实现接口,图标五角星形排布模板设置有图标五角星形排布坐标算法;图标五角星形排布坐标算法在显示区域内计算多个位置坐标且使位置坐标的连线构成五角星形;The template interface module is used to pre-set the icon pentagram layout template and provide the implementation interface of the icon pentagram layout template. The icon pentagram layout template is set with the icon pentagram layout coordinate algorithm; the icon pentagram The shape arrangement coordinate algorithm calculates multiple position coordinates in the display area and makes the connection lines of the position coordinates form a five-pointed star;

模板实现模块,用于通过调用图标五角星形排布模板的实现接口,执行图标五角星形排布坐标算法并计算得出多个位置坐标,实现图标五角星形排布模板;The template implementation module is used to implement the icon pentagram layout template by calling the implementation interface of the icon pentagram layout template, execute the icon pentagram layout coordinate algorithm and calculate multiple position coordinates, and realize the icon pentagram layout template;

图标显示模块,用于通过调用图标读取接口,将所读取的图标显示在位置坐标的位置处。The icon display module is used to display the read icon at the position of the position coordinates by calling the icon reading interface.

进一步的,本发明的装置,其中,五角星形是正五角星形且包括五个外顶点、五个内顶点和十条边线;模板接口模块包括:Further, in the device of the present invention, wherein the pentagram is a regular pentagram and includes five outer vertices, five inner vertices and ten edges; the template interface module includes:

坐标建立模块,用于在显示区域内建立坐标系,坐标系的横坐标轴与十条边线中的两条边线平行,五角星形的尺寸由显示区域的尺寸确定;The coordinate establishment module is used to establish a coordinate system in the display area, the abscissa axis of the coordinate system is parallel to two of the ten side lines, and the size of the pentagram is determined by the size of the display area;

计算模块,用于根据外顶点至正五角星形中心的距离计算五个外顶点、五个内顶点和十条边线的中点的坐标作为位置坐标。The calculation module is used to calculate the coordinates of the midpoints of five outer vertices, five inner vertices and ten edges as position coordinates according to the distance from the outer vertices to the center of the regular pentagram.

进一步的,本发明的装置,其中,计算模块具体用于:Further, in the device of the present invention, the calculation module is specifically used for:

根据如下公式(1)和公式(2)计算五个外顶点的坐标(Xi,Yi)作为位置坐标:Calculate the coordinates (Xi , Yi ) of the five outer vertices as the position coordinates according to the following formula (1) and formula (2):

Xxii==rrnno&times;&times;coscos&theta;&theta;++rrnnoYYii==rrnno&times;&times;sinsin&theta;&theta;++rrnno------((11))

&theta;&theta;==1818++7272&times;&times;ii--1122------((22))

其中,rn表示外顶点至正五角星形中心的距离;i表示顶点索引值,顶点索引值从正五角星形右上部的外顶点开始,以逆时针方向对全部外顶点和内顶点计数;Among them, rn represents the distance from the outer vertex to the center of the regular pentagram; i represents the vertex index value, and the vertex index value starts from the outer vertex at the upper right of the regular pentagram, and counts all outer vertices and inner vertices in a counterclockwise direction;

根据如下公式(3)、公式(4)和公式(5)计算五个内顶点的坐标(Xi,Yi)作为位置坐标:According to the following formula (3), formula (4) and formula (5), the coordinates (Xi , Yi ) of the five inner vertices are calculated as the position coordinates:

Xxii==rrmm&times;&times;coscos&alpha;&alpha;++rrnnoYYii==rrmm&times;&times;sinsin&alpha;&alpha;++rrnno------((33))

&alpha;&alpha;==5454++7272&times;&times;ii--2222------((44))

rrmm==rrnno--YY11sinsin((3636))------((55))

其中,rm表示内顶点至正五角星形中心的距离;Y1表示顶点索引值i=1时的第一个外顶点的纵坐标;Among them, rm represents the distance from the inner vertex to the center of the regular pentagram; Y1 represents the ordinate of the first outer vertex when the vertex index value i=1;

根据如下公式(6)计算十条边线的中点的坐标(Xj,Yj)作为位置坐标:Calculate the coordinates (Xj , Yj ) of the midpoints of the ten sidelines as the position coordinates according to the following formula (6):

Xxjj==Xxii++Xxii++1122YYjj==YYii++YYii++1122------((66))

其中,j表示中点索引值,中点索引值从顶点索引值i=1时的第一个外顶点左侧的边线的中点开始,以逆时针方向对全部边线的中点计数。Among them, j represents the midpoint index value, and the midpoint index value starts from the midpoint of the edge line on the left side of the first outer vertex when the vertex index value i=1, and counts the midpoints of all edge lines in a counterclockwise direction.

进一步的,本发明的装置,其中,还包括:Further, the device of the present invention also includes:

数量确定模块,用于确定待显示图标的数量N,N为正整数。The quantity determining module is used to determine the quantity N of icons to be displayed, where N is a positive integer.

图标显示模块具体用于:The icon display module is specifically used for:

当5≤N≤10时,调用图标读取接口,将所读取的N个待显示图标中的五个待显示图标显示在各个外顶点的坐标的位置处,并且将所读取的N个待显示图标中剩余的待显示图标显示在各个内顶点的坐标的位置处;When 5≤N≤10, call the icon reading interface, display five of the read N icons to be displayed at the coordinates of each outer vertex, and display the read N The remaining icons to be displayed among the icons to be displayed are displayed at the positions of the coordinates of each inner vertex;

当10<N≤20时,调用图标读取接口,将所读取的N个待显示图标中的十个待显示图标显示在各个外顶点和内顶点的坐标的位置处,并且将所读取的N个待显示图标中剩余的待显示图标显示在各条边线的中点的坐标的位置处。When 10<N≤20, call the icon reading interface, display ten of the read N icons to be displayed at the coordinate positions of each outer vertex and inner vertex, and read the The remaining icons to be displayed among the N icons to be displayed are displayed at the positions of the coordinates of the midpoints of the respective side lines.

进一步的,本发明的装置,其中,图标显示模块还用于:Further, in the device of the present invention, the icon display module is also used for:

根据历史使用情况选择一个应用的图标;Select an app's icon based on historical usage;

将选择的图标显示在正五角星形的中心处。Display the selected icon at the center of the regular pentagram.

根据本发明的图标五角星排布显示的方法和装置,可以使图标呈五角星排布进行显示,由此解决了现有技术中图标排布方式为矩形网状而导致的图标排布显示方式单一的问题,取得了能够根据图标数量对图标进行五角星排布显示的有益效果。According to the method and device for displaying icons in a five-pointed star arrangement according to the present invention, the icons can be displayed in a five-pointed star arrangement, thereby solving the problem of icon arrangement and display in the prior art caused by the arrangement of icons in a rectangular grid A single problem has achieved the beneficial effect of being able to display icons in a five-pointed star arrangement according to the number of icons.

上述说明仅是本发明技术方案的概述,为了能够更清楚了解本发明的技术手段,而可依照说明书的内容予以实施,并且为了让本发明的上述和其它目的、特征和优点能够更明显易懂,以下特举本发明的具体实施方式。The above description is only an overview of the technical solution of the present invention. In order to better understand the technical means of the present invention, it can be implemented according to the contents of the description, and in order to make the above and other purposes, features and advantages of the present invention more obvious and understandable , the specific embodiments of the present invention are enumerated below.

附图说明Description of drawings

通过阅读下文优选实施方式的详细描述,各种其他的优点和益处对于本领域普通技术人员将变得清楚明了。附图仅用于示出优选实施方式的目的,而并不认为是对本发明的限制。而且在整个附图中,用相同的参考符号表示相同的部件。在附图中:Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiment. The drawings are only for the purpose of illustrating a preferred embodiment and are not to be considered as limiting the invention. Also throughout the drawings, the same reference numerals are used to designate the same parts. In the attached picture:

图1示出了根据本发明实施例一的图标五角星排布显示的方法流程图;Fig. 1 shows a flow chart of a method for displaying icon five-pointed star arrangement and display according to Embodiment 1 of the present invention;

图2示出了根据本发明实施例二的图标五角星排布显示的方法流程图;FIG. 2 shows a flow chart of a method for displaying icon pentagrams according to Embodiment 2 of the present invention;

图3示出了根据本发明实施例二的五角星示意图;Fig. 3 shows a schematic diagram of a five-pointed star according to Embodiment 2 of the present invention;

图4示出了根据本发明实施例三的图标五角星排布显示的装置结构图;Fig. 4 shows a structure diagram of a device according to a third embodiment of the present invention in which icons are arranged and displayed in five-pointed stars;

图5示出了根据本发明实施例四的图标五角星排布显示的装置结构图。FIG. 5 shows a structural diagram of a device for displaying icons in a five-pointed star arrangement according to Embodiment 4 of the present invention.

具体实施方式detailed description

下面将参照附图更详细地描述本公开的示例性实施例。虽然附图中显示了本公开的示例性实施例,然而应当理解,可以以各种形式实现本公开而不应被这里阐述的实施例所限制。相反,提供这些实施例是为了能够更透彻地理解本公开,并且能够将本公开的范围完整的传达给本领域的技术人员。Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

本发明第一个实施例提供了一种图标五角星排布显示的方法,图1示出了根据本发明实施例一的图标五角星排布显示的方法流程图,如图1所示,其包括:The first embodiment of the present invention provides a method for arranging and displaying icons with five-pointed stars. FIG. 1 shows a flow chart of a method for arranging and displaying icons with five-pointed stars according to Embodiment 1 of the present invention. As shown in FIG. 1 , it include:

步骤S101、预先设置多个应用的图标,并提供各图标的图标读取接口;Step S101, presetting icons of multiple applications, and providing an icon reading interface for each icon;

图标包括安卓系统应用图标、iOS系统(苹果操作系统)应用图标、WindowsPhone系统(微软手机操作系统)应用图标、Windows系统(微软计算机操作系统)应用图标等能够在操作系统上显示的应用图标,优选为ICON格式的图标;Icons include Android system application icons, iOS system (Apple operating system) application icons, Windows Phone system (Microsoft mobile phone operating system) application icons, Windows system (Microsoft computer operating system) application icons and other application icons that can be displayed on the operating system, preferably It is an icon in ICON format;

图标读取接口包括:The icon reading interface includes:

显示初始化接口initView,用于对图标显示环境的参数、布局进行初始化;The display initialization interface initView is used to initialize the parameters and layout of the icon display environment;

图标初始化接口initIcons,用于对图标本身进行初始化;The icon initialization interface initIcons is used to initialize the icon itself;

图标建立接口creatIcons,用于读取布局文件,将应用信息和图标进行绑定;The icon creation interface creatIcons is used to read the layout file and bind the application information to the icon;

操作触发接口touch,用于根据用户的操作触发图标的相应动作,使用户根据显示装置显示的图标,进行选择应用、打开应用、查看应用等操作;The operation trigger interface touch is used to trigger the corresponding action of the icon according to the user's operation, so that the user can perform operations such as selecting an application, opening an application, and viewing an application according to the icon displayed on the display device;

布局接口onLayout,用于根据图标宽度、图标高度、宽高比例、图片缩放比例、父容器宽度、父容器高度等信息对图标进行显示布局;Layout interface onLayout, which is used to display and layout icons according to icon width, icon height, aspect ratio, image zoom ratio, parent container width, parent container height, etc.;

图标显示接口AppWallCellLayout,用于将图标根据图标的坐标位置在操作系统的桌面进行显示;The icon display interface AppWallCellLayout is used to display the icon on the desktop of the operating system according to the coordinate position of the icon;

图标设置接口Setting,用于设置编辑图标显示的参数。Icon setting interface Setting, used to set parameters for editing icon display.

图标读取接口通过调用上述接口以及图标参数、图片数据、图标坐标、图标索引值等信息,将图标显示在图标五角星形排布模板所确定的坐标位置处;The icon reading interface displays the icon at the coordinate position determined by the icon pentagram layout template by calling the above interface and information such as icon parameters, image data, icon coordinates, and icon index values;

步骤S102、预先设置图标五角星形排布模板,并提供图标五角星形排布模板的实现接口,图标五角星形排布模板设置有图标五角星形排布坐标算法;图标五角星形排布坐标算法在显示区域内计算多个位置坐标且使位置坐标的连线构成五角星形;Step S102, pre-setting the icon pentagram layout template, and providing the realization interface of the icon pentagram layout template, the icon pentagram layout template is set with the icon pentagram layout coordinate algorithm; icon pentagram layout The coordinate algorithm calculates multiple position coordinates in the display area and makes the connection lines of the position coordinates form a five-pointed star;

五角星形既可以采用正五角星形,也可以采用各边边长间不相等的五角星形以及其他类型的五角星形;The pentagram can be either a regular pentagram, a pentagram with unequal side lengths or other types of pentagrams;

步骤S103、通过调用图标五角星形排布模板的实现接口,执行图标五角星形排布坐标算法并计算得出多个位置坐标,实现图标五角星形排布模板;Step S103, by calling the implementation interface of the icon pentagram layout template, executing the icon pentagram layout coordinate algorithm and calculating multiple position coordinates to realize the icon pentagram layout template;

步骤S104、通过调用图标读取接口,将所读取的图标显示在位置坐标的位置处。Step S104, by calling the icon reading interface, displaying the read icon at the position of the position coordinates.

根据本发明实施例一的图标五角星排布显示的方法,可以使图标呈五角星形排布进行显示,由此解决了现有技术中图标排布方式为矩形网状而导致的图标排布显示方式单一的问题,取得了对图标进行五角星形排布显示的有益效果。According to the method for displaying icons in a five-pointed star arrangement according to Embodiment 1 of the present invention, the icons can be displayed in a five-pointed star-shaped arrangement, thereby solving the problem of icon arrangement in the prior art caused by a rectangular mesh arrangement The problem of a single display mode has achieved the beneficial effect of displaying the icons in a five-pointed star arrangement.

本发明第二个实施例提供了一种图标五角星排布显示的方法,图2示出了根据本发明实施例二的图标五角星排布显示的方法流程图,如图2所示,其包括:The second embodiment of the present invention provides a method for arranging and displaying icons with five-pointed stars. FIG. 2 shows a flow chart of a method for arranging and displaying icons with five-pointed stars according to Embodiment 2 of the present invention. As shown in FIG. 2 , it include:

步骤S201、预先设置多个应用的图标,并提供各图标的图标读取接口;Step S201, presetting icons of multiple applications, and providing an icon reading interface for each icon;

步骤S202、预先设置图标五角星形排布模板,并提供图标五角星形排布模板的实现接口,图标五角星形排布模板设置有图标五角星形排布坐标算法;图标五角星形排布坐标算法在显示区域内计算多个位置坐标且使位置坐标的连线构成五角星形;Step S202, pre-setting the icon pentagram layout template, and providing the realization interface of the icon pentagram layout template, the icon pentagram layout template is set with the icon pentagram layout coordinate algorithm; icon pentagram layout The coordinate algorithm calculates multiple position coordinates in the display area and makes the connection lines of the position coordinates form a five-pointed star;

图3示出了根据本发明实施例二的五角星示意图,如图3所示,五角星形是正五角星形且包括五个外顶点901、五个内顶点902和十条边线903,边线上具有中点904;Fig. 3 shows a schematic diagram of a five-pointed star according to Embodiment 2 of the present invention. As shown in Fig. 3, the five-pointed star is a regular five-pointed star and includes five outer vertices 901, five inner vertices 902 and ten edges 903, with Midpoint 904;

图标五角星形排布坐标算法可以包括:The icon pentagram arrangement coordinate algorithm may include:

步骤S211、在显示区域内建立坐标系,坐标系的横坐标轴与十条边线中的两条边线平行,五角星形的尺寸由显示区域的尺寸确定;Step S211, establish a coordinate system in the display area, the abscissa axis of the coordinate system is parallel to two of the ten side lines, and the size of the pentagram is determined by the size of the display area;

坐标系的纵坐标轴与坐标系的横坐标轴垂直;穿过正五角星形的五个外顶点做圆,纵坐标和横坐标均与该圆相切;The ordinate axis of the coordinate system is perpendicular to the abscissa axis of the coordinate system; a circle is formed through the five outer vertices of the regular pentagram, and the ordinate and abscissa are both tangent to the circle;

步骤S212、根据外顶点至正五角星形中心的距离计算五个外顶点、五个内顶点和十条边线的中点的坐标作为位置坐标;Step S212, calculating the coordinates of the midpoints of five outer vertices, five inner vertices and ten sidelines as position coordinates according to the distance from the outer vertices to the center of the regular pentagram;

其中,步骤S212可以包括:Wherein, step S212 may include:

步骤S221、根据如下公式(1)和公式(2)计算五个外顶点的坐标(Xi,Yi)作为位置坐标:Step S221. Calculate the coordinates (Xi , Yi ) of the five outer vertices as the position coordinates according to the following formula (1) and formula (2):

Xxii==rrnno&times;&times;coscos&theta;&theta;++rrnnoYYii==rrnno&times;&times;sinsin&theta;&theta;++rrnno------((11))

&theta;&theta;==1818++7272&times;&times;ii--1122------((22))

其中,rn表示外顶点至正五角星形中心的距离;i表示顶点索引值,顶点索引值从正五角星形右上部的外顶点开始,以逆时针方向对全部外顶点和内顶点计数;Among them, rn represents the distance from the outer vertex to the center of the regular pentagram; i represents the vertex index value, and the vertex index value starts from the outer vertex at the upper right of the regular pentagram, and counts all outer vertices and inner vertices in a counterclockwise direction;

下面通过具体的示例进行介绍:The following is an introduction through specific examples:

示例一,外顶点的顺序以逆时针方向从正五角星形右上部的外顶点开始,包括全部外顶点和内顶点,根据公式(1)和公式(2)求得:Example 1, the order of the outer vertices starts from the upper right outer vertex of the regular pentagram in a counterclockwise direction, including all outer vertices and inner vertices, and is obtained according to formula (1) and formula (2):

第1个外顶点(i=1)的坐标为(rn×sin18+rn,rn×sin18+rn);The coordinates of the first outer vertex (i=1) are (rn ×sin18+rn , rn ×sin18+rn );

第2个外顶点(i=3)的坐标为(rn×sin90+rn,rn×sin90+rn);The coordinates of the second outer vertex (i=3) are (rn ×sin90+rn , rn ×sin90+rn );

第3个外顶点(i=5)的坐标为(rn×sin162+rn,rn×sin162+rn);The coordinates of the third outer vertex (i=5) are (rn ×sin162+rn , rn ×sin162+rn );

第4个外顶点(i=7)的坐标为(rn×sin134+rn,rn×sin234+rn);The coordinates of the fourth outer vertex (i=7) are (rn ×sin134+rn , rn ×sin234+rn );

第5个外顶点(i=9)的坐标为(rn×sin306+rn,rn×sin306+rn);The coordinates of the fifth outer vertex (i=9) are (rn ×sin306+rn , rn ×sin306+rn );

步骤S222、根据如下公式(3)、公式(4)和公式(5)计算五个内顶点的坐标(Xi,Yi)作为位置坐标:Step S222, calculate the coordinates (Xi , Yi ) of the five inner vertices as the position coordinates according to the following formula (3), formula (4) and formula (5):

Xxii==rrmm&times;&times;coscos&alpha;&alpha;++rrnnoYYii==rrmm&times;&times;sinsin&alpha;&alpha;++rrnno------((33))

&alpha;&alpha;==5454++7272&times;&times;ii--2222------((44))

rrmm==rrnno--YY11sinsin((3636))------((55))

其中,rm表示内顶点至正五角星形中心的距离;Y1表示顶点索引值i=1时的第一个外顶点的纵坐标;Among them, rm represents the distance from the inner vertex to the center of the regular pentagram; Y1 represents the ordinate of the first outer vertex when the vertex index value i=1;

下面通过具体的示例进行介绍:The following is an introduction through specific examples:

示例二,内顶点的顺序以逆时针方向从正五角星形右上部的外顶点开始,包括全部外顶点和内顶点,根据公式(3)、公式(4)和公式(5)求得:Example 2, the order of the inner vertices starts from the outer vertex at the upper right of the regular pentagram in a counterclockwise direction, including all outer vertices and inner vertices, and is calculated according to formula (3), formula (4) and formula (5):

第1个内顶点(i=2)的坐标为(rm×sin54+rn,rm×sin54+rn);The coordinates of the first inner vertex (i=2) are (rm ×sin54+rn , rm ×sin54+rn );

第2个内顶点(i=4)的坐标为(rm×sin126+rn,rm×sin126+rn);The coordinates of the second inner vertex (i=4) are (rm ×sin126+rn , rm ×sin126+rn );

第3个内顶点(i=6)的坐标为(rm×sin198+rn,rm×sin198+rn);The coordinates of the third inner vertex (i=6) are (rm ×sin198+rn , rm ×sin198+rn );

第4个内顶点(i=8)的坐标为(rm×sin270+rn,rm×sin270+rn);The coordinates of the fourth inner vertex (i=8) are (rm ×sin270+rn , rm ×sin270+rn );

第5个内顶点(i=10)的坐标为(rm×sin342+rn,rm×sin342+rn);The coordinates of the fifth inner vertex (i=10) are (rm ×sin342+rn , rm ×sin342+rn );

其中,rm=sin18sin36&times;rn;in, r m = sin 18 sin 36 &times; r no ;

步骤S223、根据如下公式(6)计算十条边线的中点的坐标(Xj,Yj)作为位置坐标:Step S223. Calculate the coordinates (Xj , Yj ) of the midpoints of the ten sidelines as the position coordinates according to the following formula (6):

Xxjj==Xxii++Xxii++1122YYjj==YYii++YYii++1122------((66))

其中,j表示中点索引值,中点索引值从顶点索引值i=1时的第一个外顶点左侧的边线的中点开始,以逆时针方向对全部边线的中点计数;Among them, j represents the midpoint index value, and the midpoint index value starts from the midpoint of the sideline on the left side of the first outer vertex when the vertex index value i=1, and counts the midpoints of all sidelines in a counterclockwise direction;

下面通过具体的示例进行介绍:The following is an introduction through specific examples:

示例三,中点的顺序以逆时针方向从i=1时的第一个外顶点左侧的边线的中点开始,包括全部10条边线的中点,根据公式(6)求得:Example 3, the order of midpoints starts from the midpoint of the edge on the left side of the first outer vertex when i=1 in a counterclockwise direction, including the midpoints of all 10 edges, and is obtained according to formula (6):

第1条边线的中点(j=1)的坐标为The coordinates of the midpoint (j=1) of the first edge line are

第2条边线的中点(j=2)的坐标为The coordinates of the midpoint (j=2) of the second edge are

……...

第9条边线的中点(j=9)的坐标为The coordinates of the midpoint (j=9) of the ninth edge line are

第10条边线的中点(j=10)的坐标为The coordinates of the midpoint (j=10) of the 10th edge are

其中,(X1、Y1)、(X2、Y2)……(X9、Y9)、(X10、Y10)分别为上述步骤S221和步骤S222计算出的外顶点和内顶点的坐标;Among them, (X1 , Y1 ), (X2 , Y2 )...(X9 , Y9 ), (X10 , Y10 ) are the outer vertices and inner vertices calculated in the above step S221 and step S222 respectively coordinate of;

步骤S203、确定待显示图标的数量N,N为正整数;Step S203, determining the number N of icons to be displayed, where N is a positive integer;

步骤S204、通过调用图标五角星形排布模板的实现接口,执行图标五角星形排布坐标算法并计算得出多个位置坐标,实现图标五角星形排布模板;Step S204, by calling the implementation interface of the icon pentagram layout template, executing the icon pentagram layout coordinate algorithm and calculating multiple position coordinates to realize the icon pentagram layout template;

步骤S205、通过调用图标读取接口,将所读取的图标显示在位置坐标的位置处;Step S205, displaying the read icon at the location coordinates by calling the icon reading interface;

步骤S205具体包括:Step S205 specifically includes:

步骤S231、当5≤N≤10时,调用图标读取接口,将所读取的N个待显示图标中的五个待显示图标显示在各个外顶点的坐标的位置处,并且将所读取的N个待显示图标中剩余的待显示图标显示在各个内顶点的坐标的位置处;Step S231, when 5≤N≤10, call the icon reading interface, display five of the read N icons to be displayed at the coordinates of each outer vertex, and read the The remaining icons to be displayed among the N icons to be displayed are displayed at the positions of the coordinates of each inner vertex;

步骤S232、当10<N≤20时,调用图标读取接口,将所读取的N个待显示图标中的十个待显示图标显示在各个外顶点和内顶点的坐标的位置处,并且将所读取的N个待显示图标中剩余的待显示图标显示在各条边线的中点的坐标的位置处。Step S232, when 10<N≤20, call the icon reading interface, display ten of the read N icons to be displayed at the coordinate positions of each outer vertex and inner vertex, and The remaining icons to be displayed among the read N icons to be displayed are displayed at the positions of the coordinates of the midpoints of the respective borders.

通过上述技术方案,除了能够对图标进行五角星排布显示,还可以根据待显示图标的数量,将待显示图标放置在外顶点、内顶点或者边线的中点的位置处,使图标排布更加均匀。Through the above technical solution, in addition to displaying the icons in a five-pointed star arrangement, the icons to be displayed can also be placed at the midpoint of the outer vertex, inner vertex, or sideline according to the number of icons to be displayed, so that the icon arrangement is more uniform .

进一步的,本发明的方法,其中,步骤S205通过调用图标读取接口,将所读取的图标显示在位置坐标的位置处的步骤还包括:Furthermore, in the method of the present invention, the step of displaying the read icon at the position of the position coordinates by calling the icon reading interface in step S205 further includes:

步骤S241、根据历史使用情况选择一个应用的图标;Step S241, selecting an application icon according to the historical usage;

步骤S242、将选择的图标显示在正五角星形的中心处。Step S242, displaying the selected icon at the center of the regular pentagram.

通过步骤S241和S242,使用户根据历史使用情况快速定位图标。历史使用情况优选为:图标所对应的应用在预设时间内被打开的次数。Through steps S241 and S242, the user can quickly locate icons according to historical usage conditions. The usage history is preferably: the number of times the application corresponding to the icon is opened within a preset time.

本发明第三个实施例提供了一种图标五角星排布显示的装置,图4示出了根据本发明实施例三的图标五角星排布显示的装置结构图,如图4所示,其包括:The third embodiment of the present invention provides a device for arranging and displaying icon five-pointed stars. include:

图标接口模块100,用于预先设置多个应用的图标,并提供各图标的图标读取接口;An icon interface module 100, configured to preset icons of multiple applications, and provide an icon reading interface for each icon;

模板接口模块200,用于预先设置图标五角星形排布模板,并提供图标五角星形排布模板的实现接口,图标五角星形排布模板设置有图标五角星形排布坐标算法;图标五角星形排布坐标算法在显示区域内计算多个位置坐标且使位置坐标的连线构成五角星形;The template interface module 200 is used to pre-set the icon pentagram layout template, and provide the realization interface of the icon pentagram layout template. The icon pentagram layout template is provided with the icon pentagram layout coordinate algorithm; the icon pentagon The star-shaped coordinate algorithm calculates multiple position coordinates in the display area and makes the connection lines of the position coordinates form a five-pointed star;

模板实现模块300,用于通过调用图标五角星形排布模板的实现接口,执行图标五角星形排布坐标算法并计算得出多个位置坐标,实现图标五角星形排布模板;The template implementation module 300 is used to implement the icon pentagram layout template by calling the implementation interface of the icon pentagram layout template, execute the icon pentagram layout coordinate algorithm and calculate multiple position coordinates, and realize the icon pentagram layout template;

图标显示模块400,用于通过调用图标读取接口,将所读取的图标显示在位置坐标的位置处。The icon display module 400 is configured to display the read icon at the position of the position coordinates by calling the icon reading interface.

本发明的第三个实施例提供的图标五角星排布显示装置,是本发明第一个实施例提供的图标五角星排布显示的方法的实现装置,其具体原理与本发明第一个实施例提供的方法相同,因此不再赘述。The icon five-pointed star arrangement display device provided by the third embodiment of the present invention is a device for realizing the method for icon five-pointed star arrangement and display provided by the first embodiment of the present invention, and its specific principle is the same as that of the first embodiment of the present invention The method provided by the example is the same, so it is not repeated here.

根据本发明实施例三的图标五角星排布显示的装置,可以在终端设备上使图标呈五角星排布进行显示,由此解决了现有技术中图标排布方式为矩形网状而导致的图标排布显示方式单一的问题,取得了能够对图标进行五角星排布显示的有益效果。According to the device for displaying icons in a five-pointed star arrangement according to Embodiment 3 of the present invention, the icons can be displayed in a five-pointed star arrangement on the terminal device, thus solving the problem caused by the rectangular grid arrangement of icons in the prior art. The problem of a single arrangement and display mode of the icons has achieved the beneficial effect of being able to display the icons in a five-pointed star arrangement.

本发明第四个实施例提供了一种图标五角星排布显示的装置,图5示出了根据本发明实施例四的图标五角星排布显示的装置结构图,如图5所示,其包括:The fourth embodiment of the present invention provides a device for arranging and displaying icons with five-pointed stars. FIG. 5 shows a structural diagram of a device for arranging and displaying icons with five-pointed stars according to Embodiment 4 of the present invention. As shown in FIG. 5 , it include:

图标接口模块100,用于预先设置多个应用的图标,并提供各图标的图标读取接口;An icon interface module 100, configured to preset icons of multiple applications, and provide an icon reading interface for each icon;

模板接口模块200,用于预先设置图标五角星形排布模板,并提供图标五角星形排布模板的实现接口,图标五角星形排布模板设置有图标五角星形排布坐标算法;图标五角星形排布坐标算法在显示区域内计算多个位置坐标且使位置坐标的连线构成五角星形;The template interface module 200 is used to pre-set the icon pentagram layout template, and provide the realization interface of the icon pentagram layout template. The icon pentagram layout template is provided with the icon pentagram layout coordinate algorithm; the icon pentagon The star-shaped coordinate algorithm calculates multiple position coordinates in the display area and makes the connection lines of the position coordinates form a five-pointed star;

模板实现模块300,用于通过调用图标五角星形排布模板的实现接口,执行图标五角星形排布坐标算法并计算得出多个位置坐标,实现图标五角星形排布模板;The template implementation module 300 is used to implement the icon pentagram layout template by calling the implementation interface of the icon pentagram layout template, execute the icon pentagram layout coordinate algorithm and calculate multiple position coordinates, and realize the icon pentagram layout template;

图标显示模块400,用于通过调用图标读取接口,将所读取的图标显示在位置坐标的位置处。The icon display module 400 is configured to display the read icon at the position of the position coordinates by calling the icon reading interface.

进一步的,本发明的装置,其中,五角星形是正五角星形且包括五个外顶点、五个内顶点和十条边线;模板接口模块200包括:Further, in the device of the present invention, wherein the pentagram is a regular pentagram and includes five outer vertices, five inner vertices and ten edges; the template interface module 200 includes:

坐标建立模块201,用于在显示区域内建立坐标系,坐标系的横坐标轴与十条边线中的两条边线平行,五角星形的尺寸由显示区域的尺寸确定;The coordinate establishment module 201 is used to establish a coordinate system in the display area, the abscissa axis of the coordinate system is parallel to two of the ten side lines, and the size of the pentagram is determined by the size of the display area;

计算模块202,用于根据外顶点至正五角星形中心的距离计算五个外顶点、五个内顶点和十条边线的中点的坐标作为位置坐标。The calculation module 202 is used to calculate the coordinates of the midpoints of five outer vertices, five inner vertices and ten sidelines as position coordinates according to the distance from the outer vertices to the center of the regular pentagram.

进一步的,本发明的装置,其中,计算模块202具体用于:Further, in the device of the present invention, the calculation module 202 is specifically used for:

根据如下公式(1)和公式(2)计算五个外顶点的坐标(Xi,Yi)作为位置坐标:Calculate the coordinates (Xi , Yi ) of the five outer vertices as the position coordinates according to the following formula (1) and formula (2):

Xxii==rrnno&times;&times;coscos&theta;&theta;++rrnnoYYii==rrnno&times;&times;sinsin&theta;&theta;++rrnno------((11))

&theta;&theta;==1818++7272&times;&times;ii--1122------((22))

其中,rn表示外顶点至正五角星形中心的距离;i表示顶点索引值,顶点索引值从正五角星形右上部的外顶点开始,以逆时针方向对全部外顶点和内顶点计数;Among them, rn represents the distance from the outer vertex to the center of the regular pentagram; i represents the vertex index value, and the vertex index value starts from the outer vertex at the upper right of the regular pentagram, and counts all outer vertices and inner vertices in a counterclockwise direction;

根据如下公式(3)、公式(4)和公式(5)计算五个内顶点的坐标(Xi,Yi)作为位置坐标:According to the following formula (3), formula (4) and formula (5), the coordinates (Xi , Yi ) of the five inner vertices are calculated as the position coordinates:

Xxii==rrmm&times;&times;coscos&alpha;&alpha;++rrnnoYYii==rrmm&times;&times;sinsin&alpha;&alpha;++rrnno------((33))

&alpha;&alpha;==5454++7272&times;&times;ii--2222------((44))

rrmm==rrnno--YY11sinsin((3636))------((55))

其中,rm表示内顶点至正五角星形中心的距离;Y1表示顶点索引值i=1时的第一个外顶点的纵坐标;Among them, rm represents the distance from the inner vertex to the center of the regular pentagram; Y1 represents the ordinate of the first outer vertex when the vertex index value i=1;

根据如下公式(6)计算十条边线的中点的坐标(Xj,Yj)作为位置坐标:Calculate the coordinates (Xj , Yj ) of the midpoints of the ten sidelines as the position coordinates according to the following formula (6):

Xxjj==Xxii++Xxii++1122YYjj==YYii++YYii++1122------((66))

其中,j表示中点索引值,中点索引值从顶点索引值i=1时的第一个外顶点左侧的边线的中点开始,以逆时针方向对全部边线的中点计数。Among them, j represents the midpoint index value, and the midpoint index value starts from the midpoint of the edge line on the left side of the first outer vertex when the vertex index value i=1, and counts the midpoints of all edge lines in a counterclockwise direction.

进一步的,本发明的装置,其中,还包括:Further, the device of the present invention also includes:

数量确定模块500,用于确定待显示图标的数量N,N为正整数。The quantity determination module 500 is configured to determine the quantity N of icons to be displayed, where N is a positive integer.

图标显示模块400具体用于:The icon display module 400 is specifically used for:

当5≤N≤10时,调用图标读取接口,将所读取的N个待显示图标中的五个待显示图标显示在各个外顶点的坐标的位置处,并且将所读取的N个待显示图标中剩余的待显示图标显示在各个内顶点的坐标的位置处;When 5≤N≤10, call the icon reading interface, display five of the read N icons to be displayed at the coordinates of each outer vertex, and display the read N The remaining icons to be displayed among the icons to be displayed are displayed at the positions of the coordinates of each inner vertex;

当10<N≤20时,调用图标读取接口,将所读取的N个待显示图标中的十个待显示图标显示在各个外顶点和内顶点的坐标的位置处,并且将所读取的N个待显示图标中剩余的待显示图标显示在各条边线的中点的坐标的位置处。When 10<N≤20, call the icon reading interface, display ten of the read N icons to be displayed at the coordinate positions of each outer vertex and inner vertex, and read the The remaining icons to be displayed among the N icons to be displayed are displayed at the positions of the coordinates of the midpoints of the respective side lines.

进一步的,本发明的装置,其中,图标显示模块400还用于:Furthermore, in the device of the present invention, the icon display module 400 is also used for:

根据历史使用情况选择一个应用的图标;Select an app's icon based on historical usage;

将选择的图标显示在正五角星形的中心处。Display the selected icon at the center of the regular pentagram.

本发明的第四个实施例提供的图标五角星排布显示装置,是本发明第二个实施例提供的图标五角星排布显示的方法的实现装置,其具体原理与本发明第二个实施例提供的方法相同,因此不再赘述。The icon five-pointed star arrangement display device provided by the fourth embodiment of the present invention is the realization device of the icon five-pointed star arrangement display method provided by the second embodiment of the present invention, and its specific principle is the same as that of the second embodiment of the present invention The method provided by the example is the same, so it is not repeated here.

通过本发明的第四个实施例提供的图标五角星排布显示装置,除了能够对图标进行五角星排布显示,还可以根据待显示图标的数量,将待显示图标放置在外顶点、内顶点或者边线的中点的位置处,使图标排布更加均匀;而且,能够使用户根据历史使用情况快速定位图标。Through the icon pentagram arrangement display device provided by the fourth embodiment of the present invention, in addition to being able to display the icons in a five-point star arrangement, the icons to be displayed can also be placed on the outer vertex, inner vertex or The position of the midpoint of the sideline makes the arrangement of the icons more uniform; moreover, it enables the user to quickly locate the icons according to the historical usage conditions.

在此提供的算法和显示不与任何特定计算机、虚拟系统或者其它设备固有相关。各种通用系统也可以与基于在此的示教一起使用。根据上面的描述,构造这类系统所要求的结构是显而易见的。此外,本发明也不针对任何特定编程语言。应当明白,可以利用各种编程语言实现在此描述的本发明的内容,并且上面对特定语言所做的描述是为了披露本发明的最佳实施方式。The algorithms and displays presented herein are not inherently related to any particular computer, virtual system, or other device. Various generic systems can also be used with the teachings based on this. The structure required to construct such a system is apparent from the above description. Furthermore, the present invention is not specific to any particular programming language. It should be understood that various programming languages can be used to implement the content of the present invention described herein, and the above description of specific languages is for disclosing the best mode of the present invention.

在此处所提供的说明书中,说明了大量具体细节。然而,能够理解,本发明的实施例可以在没有这些具体细节的情况下实践。在一些实例中,并未详细示出公知的方法、结构和技术,以便不模糊对本说明书的理解。In the description provided herein, numerous specific details are set forth. However, it is understood that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure the understanding of this description.

类似地,应当理解,为了精简本公开并帮助理解各个发明方面中的一个或多个,在上面对本发明的示例性实施例的描述中,本发明的各个特征有时被一起分组到单个实施例、图、或者对其的描述中。然而,并不应将该公开的方法解释成反映如下意图:即所要求保护的本发明要求比在每个权利要求中所明确记载的特征更多的特征。更确切地说,如下面的权利要求书所反映的那样,发明方面在于少于前面公开的单个实施例的所有特征。因此,遵循具体实施方式的权利要求书由此明确地并入该具体实施方式,其中每个权利要求本身都作为本发明的单独实施例。Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, in order to streamline this disclosure and to facilitate an understanding of one or more of the various inventive aspects, various features of the invention are sometimes grouped together in a single embodiment, figure, or its description. This method of disclosure, however, is not to be interpreted as reflecting an intention that the claimed invention requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the Detailed Description are hereby expressly incorporated into this Detailed Description, with each claim standing on its own as a separate embodiment of this invention.

本领域那些技术人员可以理解,可以对实施例中的设备中的模块进行自适应性地改变并且把它们设置在与该实施例不同的一个或多个设备中。可以把实施例中的模块或单元或组件组合成一个模块或单元或组件,以及此外可以把它们分成多个子模块或子单元或子组件。除了这样的特征和/或过程或者单元中的至少一些是相互排斥之外,可以采用任何组合对本说明书(包括伴随的权利要求、摘要和附图)中公开的所有特征以及如此公开的任何方法或者设备的所有过程或单元进行组合。除非另外明确陈述,本说明书(包括伴随的权利要求、摘要和附图)中公开的每个特征可以由提供相同、等同或相似目的的替代特征来代替。Those skilled in the art can understand that the modules in the device in the embodiment can be adaptively changed and arranged in one or more devices different from the embodiment. Modules or units or components in the embodiments may be combined into one module or unit or component, and furthermore may be divided into a plurality of sub-modules or sub-units or sub-assemblies. All features disclosed in this specification (including accompanying claims, abstract and drawings), as well as any method or method so disclosed, may be used in any combination, except that at least some of such features and/or processes or units are mutually exclusive. All processes or units of equipment are combined. Each feature disclosed in this specification (including accompanying claims, abstract and drawings), may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.

此外,本领域的技术人员能够理解,尽管在此所述的一些实施例包括其它实施例中所包括的某些特征而不是其它特征,但是不同实施例的特征的组合意味着处于本发明的范围之内并且形成不同的实施例。例如,在下面的权利要求书中,所要求保护的实施例的任意之一都可以以任意的组合方式来使用。Furthermore, those skilled in the art will understand that although some embodiments described herein include some features included in other embodiments but not others, combinations of features from different embodiments are meant to be within the scope of the invention. and form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.

本发明的各个部件实施例可以以硬件实现,或者以在一个或者多个处理器上运行的软件模块实现,或者以它们的组合实现。本领域的技术人员应当理解,可以在实践中使用微处理器或者数字信号处理器(DSP)来实现根据本发明实施例的图标五角星排布显示的装置中的一些或者全部部件的一些或者全部功能。本发明还可以实现为用于执行这里所描述的方法的一部分或者全部的设备或者装置程序(例如,计算机程序和计算机程序产品)。这样的实现本发明的程序可以存储在计算机可读介质上,或者可以具有一个或者多个信号的形式。这样的信号可以从因特网网站上下载得到,或者在载体信号上提供,或者以任何其他形式提供。The various component embodiments of the present invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art should understand that a microprocessor or a digital signal processor (DSP) may be used in practice to implement some or all of some or all of the components in the device for displaying icons arranged in a five-pointed star according to an embodiment of the present invention Function. The present invention can also be implemented as an apparatus or an apparatus program (for example, a computer program and a computer program product) for performing a part or all of the methods described herein. Such a program for realizing the present invention may be stored on a computer-readable medium, or may be in the form of one or more signals. Such a signal may be downloaded from an Internet site, or provided on a carrier signal, or provided in any other form.

应该注意的是上述实施例对本发明进行说明而不是对本发明进行限制,并且本领域技术人员在不脱离所附权利要求的范围的情况下可设计出替换实施例。在权利要求中,不应将位于括号之间的任何参考符号构造成对权利要求的限制。单词“包含”不排除存在未列在权利要求中的元件或步骤。位于元件之前的单词“一”或“一个”不排除存在多个这样的元件。本发明可以借助于包括有若干不同元件的硬件以及借助于适当编程的计算机来实现。在列举了若干装置的单元权利要求中,这些装置中的若干个可以是通过同一个硬件项来具体体现。单词第一、第二、以及第三等的使用不表示任何顺序。可将这些单词解释为名称。It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention can be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In a unit claim enumerating several means, several of these means can be embodied by one and the same item of hardware. The use of the words first, second, and third, etc. does not indicate any order. These words can be interpreted as names.

Claims (10)

CN201310500859.4A2013-10-222013-10-22Method and device for pentagonally arranging and displaying iconsExpired - Fee RelatedCN103605451B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201310500859.4ACN103605451B (en)2013-10-222013-10-22Method and device for pentagonally arranging and displaying icons

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201310500859.4ACN103605451B (en)2013-10-222013-10-22Method and device for pentagonally arranging and displaying icons

Publications (2)

Publication NumberPublication Date
CN103605451A CN103605451A (en)2014-02-26
CN103605451Btrue CN103605451B (en)2017-01-18

Family

ID=50123684

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201310500859.4AExpired - Fee RelatedCN103605451B (en)2013-10-222013-10-22Method and device for pentagonally arranging and displaying icons

Country Status (1)

CountryLink
CN (1)CN103605451B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN1875338A (en)*2003-10-312006-12-06皇家飞利浦电子股份有限公司Method and system for organizing content on a time axis
CN101390038A (en)*2005-12-302009-03-18苹果公司 Portable electronic device with interface reconfiguration mode
US7603629B1 (en)*2006-11-082009-10-13Aol Llc, A Delaware Limited Liability CompanyDynamic desktop icon
CN103186316A (en)*2011-12-292013-07-03宇龙计算机通信科技(深圳)有限公司Method and device for replacing application icon and mobile terminal
CN103218123A (en)*2013-04-262013-07-24广东欧珀移动通信有限公司Method of rearranging desktop icons and touch type mobile terminal thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN1875338A (en)*2003-10-312006-12-06皇家飞利浦电子股份有限公司Method and system for organizing content on a time axis
CN101390038A (en)*2005-12-302009-03-18苹果公司 Portable electronic device with interface reconfiguration mode
US7603629B1 (en)*2006-11-082009-10-13Aol Llc, A Delaware Limited Liability CompanyDynamic desktop icon
CN103186316A (en)*2011-12-292013-07-03宇龙计算机通信科技(深圳)有限公司Method and device for replacing application icon and mobile terminal
CN103218123A (en)*2013-04-262013-07-24广东欧珀移动通信有限公司Method of rearranging desktop icons and touch type mobile terminal thereof

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
图形用户接口中的图标(Icon)的设计;马小薏等;《计算机应用研究》;19940630(第6期);第37-39页*
桌面图标任我排,想怎么排就怎么排;杨峰;《软件频道》;http://article.pchome.net/content-1013616-all.html;20091128;全文*
桌面图标随心排 方便访问乐无穷;亦云;《电脑爱好者》;20110630(第11期);第32页*
桌面小工具funnydesk的设计与实现;明月伟等;《信息与电脑》;20100430(第8期);第50-51页*

Also Published As

Publication numberPublication date
CN103605451A (en)2014-02-26

Similar Documents

PublicationPublication DateTitle
US8610714B2 (en)Systems, methods, and computer-readable media for manipulating graphical objects
JP5992934B2 (en) 3D viewing method
CN104025003B (en)Translate animation
TWI601020B (en)Graphical analysis system and graphical analysis method
KR20160046150A (en)Apparatus and method for drawing and solving a figure content
CN107452055B (en)Three-dimensional house type graph generation method and device
US9013509B2 (en)System and method for manipulating digital images on a computer display
JP2007249989A5 (en)
US20190295217A1 (en)Digital image transformation environment using spline handles
TWI545450B (en)Browser and method for displaying subsites
CN107122966A (en)A kind of red packet amount of money distribution method and mobile terminal
CN104156144A (en)Electronic document page-turning effect realizing method and device
CN102591555A (en)method and system for simulating three-dimensional operation interface
JP6538879B2 (en) System and method for generating annotations
CN106897321A (en)The method and device of show map data
JP6126679B2 (en) Interactive control of link curvature
CN103543912B (en)The method and apparatus that a kind of icon triangular pitch shows
CN103605451B (en)Method and device for pentagonally arranging and displaying icons
CN105243469A (en)Method for mapping from multidimensional space to low-dimensional space, and display method and system
CN107273123A (en)The method and mobile terminal of application interface are shown under split screen display available state
EP2608003A1 (en)Method and device for movement of image object
CN106528130B (en)A kind of Edit button adaptation method and device
RU2637903C2 (en)Method and computer device for creating simplified borders of graphic objects
WO2012126343A1 (en)Method, device and apparatus for performing display transformation on display object
US20140322680A1 (en)Educational System for Creating Mathematical Operations

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
C14Grant of patent or utility model
GR01Patent grant
CF01Termination of patent right due to non-payment of annual fee
CF01Termination of patent right due to non-payment of annual fee

Granted publication date:20170118

Termination date:20211022


[8]ページ先頭

©2009-2025 Movatter.jp