CN103941958B - A kind of method and terminal device of desktop management - Google Patents

A kind of method and terminal device of desktop management Download PDF

Info

Publication number
CN103941958B
CN103941958B CN201310024899.6A CN201310024899A CN103941958B CN 103941958 B CN103941958 B CN 103941958B CN 201310024899 A CN201310024899 A CN 201310024899A CN 103941958 B CN103941958 B CN 103941958B
Authority
CN
China
Prior art keywords
icon
desktop
grid
dimension
layout pattern
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.)
Active
Application number
CN201310024899.6A
Other languages
Chinese (zh)
Other versions
CN103941958A (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201310024899.6A priority Critical patent/CN103941958B/en
Publication of CN103941958A publication Critical patent/CN103941958A/en
Application granted granted Critical
Publication of CN103941958B publication Critical patent/CN103941958B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention discloses a kind of methods for managing desktop, comprising: obtains the information of screen, the quantity for the icon that resolution ratio of the information comprising the screen and desktop are shown;One kind is selected from the layout pattern of pre-set at least one management desktop according to the information, the layout pattern includes the grid that at least one is used to accommodate the icon;The icon that desktop is shown is placed in the grid of the layout pattern of the selected management desktop and shows.Correspondingly, the embodiment of the invention also discloses a kind of terminal devices.The embodiment of the present invention may be implemented intelligently to manage the icon that desktop is shown.

Description

A kind of method and terminal device of desktop management
Technical field
The present invention relates to field of computer technology more particularly to the methods and terminal device of a kind of desktop management.
Background technique
Usually user can show on the table the icon that some application programs being often arranged generate shortcuts, or will Some files being commonly used are set or file placement is shown on the table, in order to conveniently and efficiently apply journey using above-mentioned Sequence or file.In order to facilitate the icon that user uses desktop to show, it is aobvious to manage desktop that developer develops desktop management software The icon for the different attribute that desktop is shown can be carried out classification layout by the icon shown, the software;It such as will be fast using a sash The icon of prompt mode is framed, and is framed the icon of file using another sash, reuses a sash for file Icon is framed.Currently, but the classification layout of such software is only the figure that is on the table shown desktop with forms such as frames Mark is classified, and needs to be adjusted the size of frame and the pattern of layout by user, and it is aobvious to cannot achieve intelligently management desktop in this way The icon shown.
Summary of the invention
The embodiment of the invention provides a kind of methods and terminal device for managing desktop, may be implemented intelligently to manage table The icon that face is shown.
A kind of method managing desktop provided in an embodiment of the present invention, comprising:
Obtain the information of screen, the quantity for the icon that resolution ratio of the information comprising the screen and desktop are shown;
One kind, the layout are selected from the layout pattern of pre-set at least one management desktop according to the information Pattern includes the grid that at least one is used to accommodate the icon;
The icon that desktop is shown is placed in the grid of the layout pattern of the selected management desktop and shows.
Correspondingly, the embodiment of the invention also provides a kind of terminal devices, comprising: acquiring unit, selecting unit and execution Unit, in which:
The acquiring unit, for obtaining the information of screen, the information includes that the resolution ratio of the screen and desktop are shown The quantity of the icon shown;
The selecting unit, for according to the information from it is pre-set it is at least one management desktop layout pattern in One kind is selected, the layout pattern includes the grid that at least one is used to accommodate the icon;
The execution unit, the icon for showing desktop are placed in the layout pattern of the selected management desktop It is shown in grid.
In above-mentioned technical proposal, the information of screen is obtained, the information includes that the resolution ratio of the screen and desktop are shown Icon quantity;One kind is selected from the layout pattern of pre-set at least one management desktop according to the information, institute Stating layout pattern includes the grid that at least one is used to accommodate the icon;The icon that desktop is shown is placed in selected It manages and is shown in the grid of the layout pattern of desktop.The icon shown according to the resolution ratio and desktop of screen may be implemented in this way Quantity automatically select the layout pattern of management desktop, to achieve the effect that the intelligently icon that shows of management desktop.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 is a kind of flow diagram of method for managing desktop provided in an embodiment of the present invention;
Fig. 2 is the flow diagram of the method for another management desktop provided in an embodiment of the present invention;
Fig. 3 is the flow diagram of the method for another management desktop provided in an embodiment of the present invention;
Fig. 4 is the schematic diagram of management desktop layouts pattern provided in an embodiment of the present invention;
Fig. 5 is the schematic diagram of another management desktop layouts pattern provided in an embodiment of the present invention;
Fig. 6 is a kind of structural schematic diagram of terminal device provided in an embodiment of the present invention;
Fig. 7 is the structural schematic diagram of another terminal device provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
Fig. 1 is a kind of flow diagram of method for managing desktop provided in an embodiment of the present invention, as shown in Figure 1, comprising:
101, the information of screen, the number for the icon that resolution ratio of the information comprising the screen and desktop are shown are obtained Amount;
102, one kind is selected from the layout pattern of pre-set at least one management desktop according to the information, it is described Layout pattern includes the grid that at least one is used to accommodate the icon;
103, the icon for showing desktop is placed in the grid of the layout pattern of the selected management desktop and shows.
Optionally, the icon shown such as desktop includes the icon of the icon of shortcut, the icon of file and file, is led to The quantity for crossing the icon that above-mentioned steps can be shown automatically according to the resolution ratio and desktop of screen will select a kind of suitable pipe The layout pattern of reason desktop shows the icon of above-mentioned shortcut, the icon of file and file in different grid respectively Icon.To realize the effect for intelligently managing the icon that desktop is shown.
In above-mentioned technical proposal, the information of screen is obtained, the information includes that the resolution ratio of the screen and desktop are shown Icon quantity;One kind is selected from the layout pattern of pre-set at least one management desktop according to the information, institute Stating layout pattern includes the grid that at least one is used to accommodate the icon;The icon that desktop is shown is placed in selected It manages and is shown in the grid of the layout pattern of desktop.The icon shown according to the resolution ratio and desktop of screen may be implemented in this way Quantity automatically select the layout pattern of management desktop, to achieve the effect that the intelligently icon that shows of management desktop.
Fig. 2 is the flow diagram of the method for another management desktop provided in an embodiment of the present invention, as shown in Fig. 2, packet It includes:
201, the resolution ratio in the first dimension of the screen is obtained, and obtains every kind of different attribute that desktop is shown The quantity of icon;
Wherein, the icon that desktop is shown comprises at least one of the following the icon of attribute: the icon of shortcut, file The icon of icon, file.
Optionally, the resolution ratio in above-mentioned first dimension can be the pixel in the first dimension.
Optionally, the icon of above-mentioned file can following at least one icon:
The icon of video, the icon of audio, the icon of picture and the icon of document.
202, the maximum icon number and the desktop that can be accommodated in first dimension according to the screen are shown The quantity of the icon of every kind of different attribute selects one kind from the layout pattern of pre-set at least one management desktop.
Optionally, it can be and select a kind of the first dimension of satisfaction in the layout pattern of pre-set at least one management desktop The maximum icon number that can be accommodated on degree, and grid can show the layout of the icon for every kind of different attribute that the desktop is shown Pattern, for example, when the desktop shows that icon sum is fewer, so that it may select a kind of only comprising the layout sample of a grid Formula, when the desktop shows that icon sum is more, so that it may select a kind of layout pattern comprising multiple grid, and every A grid shows the icon etc. of an attribute.
203, the icon for showing desktop is placed in the grid of the layout pattern of the selected management desktop and shows.
Every kind of different attribute that resolution ratio and desktop in the first dimension according to screen are shown thus may be implemented The quantity of icon select suitable layout pattern, to realize the icon that intelligently management desktop is shown.
As an alternative embodiment, the method can also include:
According to the resolution ratio in the first dimension of the screen, the grid in the layout pattern in first dimension The shortest distance of first end and second end apart from the screen, the icon grid described in distance in first dimension The maximum resolution scale of the distance of first end and second end, the icon in first dimension, determines that the screen exists The maximum icon number that can be accommodated in first dimension.
Optionally, it can be here every in the layout pattern for predefining above-mentioned pre-set at least one management desktop The maximum icon number that the screen can accommodate in first dimension under a layout pattern.
Optionally, the method can also include:
Determine the screen in institute also according to the distance between the grid in the layout pattern in first dimension State the maximum icon number that can be accommodated in the first dimension.
That is, according to the resolution ratio in the first dimension of the screen, the grid in the layout pattern in first dimension The shortest distance of the first end and second end of screen described in distance, the icon lattice described in distance in first dimension on degree Distance, the figure between grid in the distance of first end and second end of son, the layout pattern in first dimension The maximum resolution scale being marked in first dimension determines the maximum that the screen can accommodate in first dimension Icon number.
Optionally, the maximum icon number that above-mentioned screen can accommodate in first dimension can be in the first dimension Resolution ratio subtracts the first end and second end of screen described in distance in first dimension of the grid in the layout pattern The shortest distance, and subtract the icon in first dimension distance of the first end and second end of grid described in distance, And subtract what resolution ratio described after the distance in first dimension between grid in the layout pattern can accommodate Maximum icon number.
As an alternative embodiment, the method can also include:
The quantity of the icon of the every kind of different attribute shown according to desktop determines the grid in the layout pattern first Scale in dimension.
It may be implemented to determine that the grid in the layout pattern exists according to the quantity of the icon of every kind of different attribute in this way Scale in first dimension, for example, the grid in layout pattern is determined as showing in the grid in the scale in the first dimension The quantity of the icon shown is proportional, i.e., the scale of grid different in layout pattern in the first dimension can be according to the lattice Depending on the quantity of the icon shown in son.So as to efficiently control the scale of grid, make desktop more succinct.
As an alternative embodiment, the method can also include:
204, the scale and the grid according to the grid of the layout pattern of currently used management desktop in the first dimension The directly proportional adjustment rule of the quantity of interior shown icon, adjusts the grid of the layout pattern of currently used management desktop Scale in the first dimension.
In the embodiment, it may be implemented after selected layout pattern, it can also be according to the icon shown by current desktop Quantity, adjust the scale in the first dimension of the grid of the layout pattern of currently used management desktop.
Optionally, in embodiments of the present invention, different layout patterns realizes grid scale in first dimension Variation and/or the variation of grid quantity;And/or
Different layout patterns be different from first dimension the second dimension on realize grid scale variation and/or The variation of grid quantity.
I.e. each layout pattern scale of grid for being included and the quantity of grid can be different, such as: cloth Office's pattern 1 includes a grid, and layout pattern 2 includes multiple grid, the grid in a certain column of layout pattern 3, but another Include multiple grid etc. in one column.And the spread pattern of grid can be different in each layout pattern.
In above-mentioned technical proposal, on the basis of above example, point in the first dimension according to screen may be implemented The quantity of the icon for every kind of different attribute that resolution and desktop are shown selects suitable layout pattern, to realize intelligence The icon that ground management desktop is shown.
Fig. 3 is the flow diagram of the method for another management desktop provided in an embodiment of the present invention, as shown in figure 3, packet It includes:
301, the height of the screen is obtained, and obtains the quantity of the icon for every kind of different attribute that desktop is shown;Table The icon that face is shown comprises at least one of the following the icon of attribute: the icon of shortcut, the icon of file, file figure Mark.
It should be noted that can be above-mentioned height specifically and can be the resolution value between screen top and bottom end, this It is only illustrated, but can be in the embodiment of the present invention with height or for other parameters such as width by taking height as an example in embodiment It realizes, i.e., above-mentioned first dimension includes but is not limited to height and width.
302, every kind of difference that the maximum icon number and the desktop that can be accommodated on a column according to the screen are shown The quantity of the icon of attribute selects one kind from the layout pattern of pre-set at least one management desktop.
Optionally, the maximum icon number that above-mentioned screen can accommodate on a column, i.e. screen one arrange the figure that most multipotency is shown Mark quantity.
303, the icon for showing desktop is placed in the grid of the layout pattern of the selected management desktop and shows.
As an alternative embodiment, the method can also include:
According to the most short of the top of screen described in the lattice spacing in the height of the screen, the layout pattern and bottom end Distance, the distance on top and bottom end of the icon apart from the grid, the maximum height of the icon, determine that the screen exists The maximum icon number that can be accommodated on one column.
Optionally, it can be here every in the layout pattern for predefining above-mentioned pre-set at least one management desktop The maximum icon number that the screen can accommodate on a column under a layout pattern.
Optionally, the method can also include:
It can be accommodated also according to the distance above and below between the grid in the layout pattern to determine that the screen is arranged one Maximum icon number.
That is, the top and bottom end of according to the lattice spacing in the height of the screen, layout pattern screen Above and below between grid in the distance on the top and bottom end of the shortest distance, the icon apart from the grid, the layout pattern Distance, the maximum height of the icon determine the maximum icon number that the screen can accommodate on a column.
As an alternative embodiment, the method can also include:
The quantity of the icon of the every kind of different attribute shown according to desktop determines the height of the grid in the layout pattern.
The embodiment, the data that the icon shown according to desktop may be implemented determine the height of the grid in layout pattern Degree.Certainly, it can also be that the data of the icon shown according to desktop determine the grid in layout pattern in the embodiment of the present invention Width.
As an alternative embodiment, the method can also include:
304, according to figure shown in the height of the grid of the layout pattern of currently used management desktop and the grid The directly proportional adjustment rule of target quantity, adjusts the height of the grid of the layout pattern of currently used management desktop.
In the embodiment, it may be implemented after selected layout pattern, it can also be according to the icon shown by current desktop Quantity, adjust the height of the grid of the layout pattern of currently used management desktop.
As an alternative embodiment, variation and/or each column of the height of different layout pattern realization grid The variation of middle grid quantity;
And/or
Different layout patterns realizes the variation of grid quantity in the variation and/or each row of the width of grid.
It is illustrated below with specific layout pattern:
For example, as shown in figure 4, a kind of management desktop layouts pattern only includes a column, and only include a grid in the column, It may be implemented to show icon all on desktop (such as: management desktop layouts pattern one is mentioned below) in grid in this way, The layout pattern primarily can be used for the case where small number for the icon that desktop is shown;Another kind management desktop layouts pattern Only comprising a column, and only include three grid in the column, may be implemented to show icon all on desktop in three grid in this way (such as: management desktop layouts pattern two is mentioned below), which primarily can be used for the quantity for the icon that desktop is shown More situation than in a upper situation;Another kind management desktop layouts pattern includes two column, and only includes a grid in first row, Secondary series includes two grid, may be implemented in this way three grid of different lines show all icon on desktop (such as: under Text mentions management desktop layouts pattern three), which primarily can be used for the quantity for the icon that desktop is shown than upper two kinds More situation in situation;It certainly can also include the figure that is suitable for desktop and show including but not limited to above-mentioned three kinds in the present invention The more situation of target, such as comprising three column, and each column includes the layout pattern of multiple frames.
Such as: when the sum of quantity of icon of every kind of different attribute that the desktop is shown is less than the screen on a column When the maximum icon number that can be accommodated, step 302 can be from the layout pattern of pre-set at least one management desktop Select above-mentioned management desktop layouts pattern one;
Such as: when the sum of quantity of icon of every kind of different attribute that the desktop is shown is greater than the screen on a column When the maximum icon number that can be accommodated, step 302 can be from the layout pattern of pre-set at least one management desktop Select above-mentioned management desktop layouts pattern two.
As step 302 carries out selecting above-mentioned management desktop layouts pattern one by following formula:
Wherein, x, y and z be respectively the quantity of the icon of quick method, file icon quantity and file icon Quantity;It respectively rounds up and downward rounding operation;P is the height of screen, and m is the icon occupy-place that desktop is shown Maximum height;D1=dt+ht+hb+db;dtThe grid and screen top nearest from the top of screen in layout pattern to manage desktop Distance, dbThe grid nearest from bottom of screen is at a distance from screen bottom end in layout pattern to manage desktop, htTo manage table The distance on top of the nearest icon in the top of the son out of place in the grid in the layout pattern in face to grid, hbTo manage desktop Layout pattern in grid in son out of place top of the nearest icon in bottom end to grid distance.
As step 302 carries out selecting above-mentioned management desktop layouts pattern two by following formula:
Or
Wherein, D2=dt+3(ht+hb)+2h2+db, h2For it is described management desktop layouts pattern in grid between above and below away from From.
As step 302 carries out selecting above-mentioned management desktop layouts pattern two by following formula:
Wherein, D3=dt+2(ht+hb)+2h1+db;n1For it is described management desktop layouts pattern in grid between above and below away from From.
Optionally, above-mentioned all height and distances specifically can be as unit of pixel p x, can thus pass through screen The resolution ratio of curtain calculates above-mentioned height and distance.
Optionally, step 302 can be the icon of the quantity of the icon of the quick method shown when desktop, file When the quantity of the icon of quantity and file is substituted into x, y and z of above-mentioned formula, then, the quick method shown according to desktop The quantity of the icon of the quantity of icon, the quantity of the icon of file and file meets different formula and selects different layout samples Formula.
Optionally, when the layout pattern of at least one above-mentioned pre-set management desktop includes management desktop layouts pattern For the moment, the management desktop layouts pattern one refers to the icon that will show that desktop is shown using a grid;It may be implemented to adopt in this way All icons that desktop is shown are shown with a frame, and it is fewer which can mainly be used in the icon that desktop is shown The case where.
Optionally, in the embodiment, when the layout pattern of at least one above-mentioned pre-set management desktop includes pipe When managing desktop layouts pattern two, the management desktop layouts pattern two refers to the figure for showing quick method respectively using three grid The icon of mark, the icon of file and file is framed, and three grid form a line;The layout pattern may be implemented to adopt The icon of the icon for the quick method that desktop is shown, the icon of file and file will be framed respectively with three grid, with The icon for quickly using desktop to show convenient for user.Certainly, if the icon of the display of desktop does not only include above-mentioned shortcut Icon, file icon and file icon when, the layout pattern can use N number of grid, the difference that will be shown respectively The icon of attribute, wherein N is equal to the number of the icon for the different attribute that desktop is shown;Desktop may be implemented in this way to show not Icon with attribute is respectively displayed in a grid, the icon shown such as desktop includes: the icon of quick method, file The icon of icon, file, and the icon of file includes the figure of the icon of video, the icon of audio, the icon of picture and document When mark, then N is equal to 6, the icon of this 6 kinds of different attributes is shown respectively using 6 grid.
When the layout pattern of at least one pre-set management desktop includes management desktop layouts pattern three, the pipe Reason desktop layouts pattern three refers to the figure for showing the icon of quick method, the icon of file and file respectively using three grid Mark, and three grid line up at least two column.The layout pattern can also be the first grid row in above three grid For an independent column, the column of the first grid can also be placed in the edge of screen, first grid refers in above three frame The most grid of the quantity of the icon of institute's frame.Certainly, if the icon of the display of desktop do not only include above-mentioned shortcut icon, When the icon of the icon of file and file, which can use N number of grid, by the different attribute that desktop is shown respectively Icon be shown in different grid, wherein N is equal to the number for the icon of different attribute that desktop is shown;It in this way can be real The icon for the different attribute that existing desktop is shown is respectively displayed in a grid.
Optionally, the embodiment, above-mentioned management desktop layouts pattern one, management desktop layouts pattern two and management desktop Layout pattern three all can also be at least provided with the grid and display instant communication software of the application of display instant communication software The grid of contact person.It specifically can be as shown in Figure 5, wherein Fig. 5-a is management desktop layouts pattern one, wherein the grid on the left side It is the grid for the icon that frame desktop is shown, the grid on the right is the application for showing instant communication software and the grid of contact person;Figure 5-b is management desktop layouts pattern two, wherein the grid on the left side is the grid for the icon for showing that desktop is shown, the grid on the right It is the grid for the application and contact person for showing instant communication software;Fig. 5-c is management desktop layouts pattern three, wherein the left side Grid is above-mentioned first grid, and intermediate grid is the grid for managing desktop layouts pattern three in addition to above-mentioned first grid, right The grid on side is the application for showing instant communication software and the grid of contact person.
Optionally, when above-mentioned management desktop layouts pattern a period of time that step 302 selection is, step 304 can be by as follows Formula adjusts the height of the grid of the layout pattern of currently used management desktop:
H1=P-dt-db
H1For the height of the grid of the management desktop layouts pattern one;And/or
Optionally, when step 302 selects the above-mentioned management desktop layouts pattern two for being, step 304 can be by as follows Formula adjusts the height of the grid of the layout pattern of currently used management desktop:
H2.1For the height for the grid for showing the icon of shortcut, H2.2For the lattice for showing the icon of file The height of son, H2.3For the height for the grid for showing the icon of file;And/or
Optionally, when above-mentioned management desktop layouts pattern a period of time that step 302 selection is, step 304 can be by as follows Formula adjusts the height of the grid of the layout pattern of currently used management desktop:
H3=P-dt-db
Wherein, H3For the grid height for being individually for a column;H3.1For X1The height of corresponding grid, H3.2For X2It is corresponding Grid height, X1For the quantity of icon shown by a grid in other grid, Y1And Y1Respectively described three lattice Remove in son is X1The quantity of icon shown by two grid except corresponding grid;X2For another in other grid The quantity of icon shown by grid, Y2And Y2Remove in respectively described three grid is X1Two except corresponding grid The quantity of icon shown by grid;Other grid refer in three grid except the grid for being individually for a column it Two outer grid.
Optionally, for above-mentioned management desktop layouts pattern three, when shortcut in the icon that desktop is shown icon most When more, then the icon of shortcut is just framed by the above-mentioned grid for being individually for a column, and it is individually for the height of the grid of a column Degree is just above-mentioned H3;If above-mentioned X1For the icon of file quantity when, then above-mentioned Y1And Z1The respectively icon of shortcut With the quantity of the icon of file, above-mentioned H3.1For the height of the grid for the icon that display icon is file;Meanwhile it obtaining above-mentioned H3.2Icon for display is the height of the grid of the icon of file.
Optionally, in the embodiment, when the icon of the icon that desktop is shown not only shortcut, the icon of file and When the icon of file, the icon of file can also be such as subdivided into the figure of the icon of document and/or the icon of video and/or audio Mark, and shown in different grid, in the embodiment, the figure that adjust automatically shows document is equally may be implemented in step 304 The height of the grid of the icon of other attributes such as the icon of mark, the icon of video or audio.Specific embodiment please refers to above-mentioned Realize the embodiment party of the height of grid of the adjustment for showing the icon of the icon of shortcut, file and the icon of file Formula.
In above-mentioned technical proposal, is further expanded on the basis of an above-mentioned embodiment, intelligence equally may be implemented Change the icon that ground management desktop is shown.
The following is an embodiment of the apparatus of the present invention, and apparatus of the present invention embodiment is for executing embodiment of the present invention method one, reality The method that example two and embodiment three are realized is applied, for ease of description, only parts related to embodiments of the present invention are shown, specifically What technical detail did not disclosed, please refer to the embodiment of the present invention one, embodiment two and embodiment three.
Fig. 6 is a kind of structural schematic diagram of terminal device provided in an embodiment of the present invention, as shown in Figure 6, comprising: is obtained single Member 31, selecting unit 32 and execution unit 33, in which:
Acquiring unit 31, for obtaining the information of screen, the information includes that the resolution ratio of the screen and desktop are shown Icon quantity;
Selecting unit 32, information for being obtained according to acquiring unit 31 is from pre-set at least one management desktop One kind is selected in layout pattern, the layout pattern includes the grid that at least one is used to accommodate the icon;
Execution unit 33, the icon for showing desktop are placed in the lattice of the layout pattern of the selected management desktop It is shown in son.
Optionally, the icon shown such as desktop includes the icon of the icon of shortcut, the icon of file and file, is led to The quantity for crossing the icon that above-mentioned steps can be shown automatically according to the resolution ratio and desktop of screen will select a kind of suitable pipe The layout pattern of reason desktop shows the icon of above-mentioned shortcut, the icon of file and file in different grid respectively Icon.To realize the effect for intelligently managing the icon that desktop is shown.
In above-mentioned technical proposal, the information of screen is obtained, the information includes that the resolution ratio of the screen and desktop are shown Icon quantity;One kind is selected from the layout pattern of pre-set at least one management desktop according to the information, institute Stating layout pattern includes the grid that at least one is used to accommodate the icon;The icon that desktop is shown is placed in selected It manages and is shown in the grid of the layout pattern of desktop.The icon shown according to the resolution ratio and desktop of screen may be implemented in this way Quantity automatically select the layout pattern of management desktop, to achieve the effect that the intelligently icon that shows of management desktop.
Fig. 7 is the structural schematic diagram of another terminal device provided in an embodiment of the present invention, as shown in fig. 7, comprises: it obtains Unit 41, selecting unit 42 and execution unit 43, in which:
Acquiring unit 41, the resolution ratio in the first dimension for obtaining the screen, and acquisition desktop show every The quantity of the icon of kind different attribute;
Wherein, the icon that desktop is shown comprises at least one of the following the icon of attribute: the icon of shortcut, file The icon of icon, file.
Optionally, the resolution ratio in above-mentioned first dimension can be the pixel in the first dimension.
Optionally, the icon of above-mentioned file can following at least one icon:
The icon of video, the icon of audio, the icon of picture and the icon of document.
Selecting unit 42, maximum icon number for that can be accommodated in first dimension according to the screen and described The quantity of the icon for every kind of different attribute that desktop is shown is selected from the layout pattern of pre-set at least one management desktop Select one kind.
Execution unit 43, the icon for showing desktop are placed in the lattice of the layout pattern of the selected management desktop It is shown in son.
As an alternative embodiment, the equipment can also include:
First determination unit (is not drawn into) in attached drawing, resolution ratio in the first dimension according to the screen, described Grid in the layout pattern shortest distance of the first end and second end of screen described in distance, the figure in first dimension The distance of the first end and second end of grid described in distance in first dimension, the icon are marked in first dimension Maximum resolution scale, determine the maximum icon number that the screen can accommodate in first dimension.
Optionally, the first determination unit (being not drawn into attached drawing) can be also used for also according to the grid in the layout pattern Between in the distance in first dimension determine maximum icon number that the screen can accommodate in first dimension.
That is, the first determination unit (being not drawn into attached drawing) can be used for the resolution in the first dimension according to the screen The most short distance of grid first end and second end of screen described in distance in first dimension in rate, the layout pattern In the distance of the first end and second end of grid described in a distance from, the icon is in first dimension, the layout pattern Grid between in the maximum resolution scale of distance, the icon in first dimension in first dimension, determine The maximum icon number that the screen can accommodate in first dimension.
As an alternative embodiment, the equipment can also include:
Second determination unit (is not drawn into) in attached drawing, the quantity of the icon of every kind of different attribute for being shown according to desktop Determine scale of the grid in the first dimension in the layout pattern.
It may be implemented to determine that the grid in the layout pattern exists according to the quantity of the icon of every kind of different attribute in this way Scale in first dimension, for example, the grid in layout pattern is determined as showing in the grid in the scale in the first dimension The quantity of the icon shown is proportional, i.e., the scale of grid different in layout pattern in the first dimension can be according to the lattice Depending on the quantity of the icon shown in son.So as to efficiently control the scale of grid, make desktop more succinct.
As an alternative embodiment, the equipment can also include:
Adjustment unit 44, ruler of the grid in the first dimension for the layout pattern according to currently used management desktop The adjustment rule directly proportional to the quantity of icon shown in the grid is spent, the layout sample of currently used management desktop is adjusted The scale in the first dimension of the grid of formula.
In the embodiment, it may be implemented after selected layout pattern, it can also be according to the icon shown by current desktop Quantity, adjust the scale in the first dimension of the grid of the layout pattern of currently used management desktop.
Optionally, in embodiments of the present invention, different layout patterns realizes grid scale in first dimension Variation and/or the variation of grid quantity;And/or
Different layout patterns be different from first dimension the second dimension on realize grid scale variation and/or The variation of grid quantity.
I.e. each layout pattern scale of grid for being included and the quantity of grid can be different, such as: cloth Office's pattern 1 includes a grid, and layout pattern 2 includes multiple grid, the grid in a certain column of layout pattern 3, but another Include multiple grid etc. in one column.And the spread pattern of grid can be different in each layout pattern.
In another embodiment,
Acquiring unit 41 can be also used for obtaining the height of the screen, and obtain every kind of different attribute that desktop is shown Icon quantity;The icon that desktop is shown comprises at least one of the following the icon of attribute: the icon of shortcut, file The icon of icon, file.
Selecting unit 42 can also be used in the maximum icon number and the desktop that can be accommodated on a column according to the screen The quantity of the icon of every kind of different attribute of display selects one from the layout pattern of pre-set at least one management desktop Kind.
The icon that execution unit 43 can be also used for showing desktop is placed in the layout sample of the selected management desktop It is shown in the grid of formula.
Optionally, the first determination unit (being not drawn into attached drawing) can be also used for the height according to the screen, the cloth The top of screen described in lattice spacing in office's pattern and the top apart from the grid of the shortest distance, the icon of bottom end and The maximum height of the distance of bottom end, the icon determines the maximum icon number that the screen can accommodate on a column.
Optionally, the first determination unit (being not drawn into attached drawing) can be also used for also according to the grid in the layout pattern Between above and below distance determine the screen maximum icon number that can accommodate on a column.
Optionally, the second determination unit (being not drawn into attached drawing) can be also used for the every kind of different attribute shown according to desktop The quantity of icon determine the height of the grid in the layout pattern.
The embodiment, the data that the icon shown according to desktop may be implemented determine the height of the grid in layout pattern Degree.Certainly, it can also be that the data of the icon shown according to desktop determine the grid in layout pattern in the embodiment of the present invention Width.
Optionally, adjustment unit 44 can be also used for the height of the grid of the layout pattern according to currently used management desktop The adjustment rule directly proportional to the quantity of icon shown in the grid is spent, the layout sample of currently used management desktop is adjusted The height of the grid of formula.
In the embodiment, it may be implemented after selected layout pattern, it can also be according to the icon shown by current desktop Quantity, adjust the height of the grid of the layout pattern of currently used management desktop.
Optionally, for example, as shown in figure 4, pre-set management desktop layouts pattern includes what above example described When managing desktop layouts pattern one, management desktop layouts pattern two and management desktop layouts pattern three;Certainly include in the present invention But above-mentioned three kinds are not limited to, can also such as be arranged comprising three comprising the more situation of the icon shown suitable for desktop, and Each column includes the layout pattern of multiple frames.
Selecting unit 42 can also carry out selecting above-mentioned management desktop layouts pattern one by following formula:
Wherein, x, y and z be respectively the quantity of the icon of quick method, file icon quantity and file icon Quantity;It respectively rounds up and downward rounding operation;P is the height of screen, and m is the icon occupy-place that desktop is shown Maximum height;D1=dt+ht+hb+db;dtThe grid and screen top nearest from the top of screen in layout pattern to manage desktop Distance, dbThe grid nearest from bottom of screen is at a distance from screen bottom end in layout pattern to manage desktop, htTo manage table The distance on top of the nearest icon in the top of the son out of place in the grid in the layout pattern in face to grid, nbTo manage desktop Layout pattern in grid in son out of place top of the nearest icon in bottom end to grid distance.
As selecting unit 42 carries out selecting above-mentioned management desktop layouts pattern two by following formula:
Or
Wherein, D2=dt+3(ht+hb)+2h2+db, h2For it is described management desktop layouts pattern in grid between above and below away from From.
As selecting unit 42 carries out selecting above-mentioned management desktop layouts pattern two by following formula:
Wherein, D3=dt+2(ht+hb)+2h1+db;h1For it is described management desktop layouts pattern in grid between above and below away from From.
Optionally, above-mentioned all height and distances specifically can be as unit of pixel p x, can thus pass through screen The resolution ratio of curtain calculates above-mentioned height and distance.
Optionally, selecting unit 42 can be the figure of the quantity of the icon of the quick method shown when desktop, file When the quantity of the icon of target quantity and file is substituted into x, y and z of above-mentioned formula, then, the quick side shown according to desktop The quantity of the icon of the quantity of the icon of method, the quantity of the icon of file and file meets different formula and selects different cloth Office's pattern.
Optionally, when above-mentioned management desktop layouts pattern a period of time that the selection of selecting unit 42 is, adjustment unit 44 can lead to Cross the height that following formula adjusts the grid of the currently used layout pattern for managing desktop:
H1=P-dt-db
H1For the height of the grid of the management desktop layouts pattern one;And/or
Optionally, when selecting unit 42 selects the above-mentioned management desktop layouts pattern two for being, adjustment unit 44 can lead to Cross the height that following formula adjusts the grid of the currently used layout pattern for managing desktop:
H2.1For the height for the grid for showing the icon of shortcut, H2.2For the lattice for showing the icon of file The height of son, H2.3For the height for the grid for showing the icon of file;And/or
Optionally, when above-mentioned management desktop layouts pattern a period of time that the selection of selecting unit 42 is, adjustment unit 44 can lead to Cross the height that following formula adjusts the grid of the currently used layout pattern for managing desktop:
H3=P-dt-db
Wherein, H3For the grid height for being individually for a column;H3.1For X1The height of corresponding grid, H3.2For X2It is corresponding Grid height, X1For the quantity of icon shown by a grid in other grid, Y1And Y1Respectively described three lattice Remove in son is X1The quantity of icon shown by two grid except corresponding grid;X2For another in other grid The quantity of icon shown by grid, Y2And Y2Remove in respectively described three grid is X1Two except corresponding grid The quantity of icon shown by grid;Other grid refer in three grid except the grid for being individually for a column it Two outer grid.
In above-mentioned technical proposal, is further expanded on the basis of an above-mentioned embodiment, intelligence equally may be implemented Change the icon that ground management desktop is shown.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the program can be stored in a computer-readable storage medium In, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (RandomAccess Memory, abbreviation RAM) etc..
The above disclosure is only the preferred embodiments of the present invention, cannot limit the right model of the present invention with this certainly It encloses, therefore equivalent changes made in accordance with the claims of the present invention, is still within the scope of the present invention.

Claims (15)

1. a kind of method for managing desktop characterized by comprising
The quantity for the icon that the information of acquisition screen, resolution ratio of the information comprising the screen and desktop are shown, described point Resolution includes the resolution ratio in the first dimension;
One kind, the layout pattern are selected from the layout pattern of pre-set at least one management desktop according to the information It is used to accommodate the grid of the icon including at least one;It specifically includes: if the quantity for the icon that the desktop is shown is less than institute The maximum icon number that can be accommodated in the first dimension is stated, a kind of layout pattern comprising a grid is selected, if the desktop is aobvious The quantity of the icon shown is greater than the maximum icon number that can be accommodated in first dimension, and selection includes the layout sample of multiple grid Formula;Wherein, in the layout pattern of pre-set at least one management desktop under each layout pattern the screen in institute The maximum icon number that stating can accommodate in the first dimension is determined in advance;
The icon that desktop is shown is placed in the grid of the layout pattern of the selected management desktop and shows.
2. the method as described in claim 1, which is characterized in that it is described obtain screen information include:
Obtain the resolution ratio in the first dimension of the screen;
Obtain the quantity of the icon for every kind of different attribute that desktop is shown;The icon that desktop is shown comprises at least one of the following attribute Icon: the icon of shortcut, the icon of file, file icon.
3. method according to claim 1 or 2 characterized by comprising
According to the resolution ratio in the first dimension of the screen, the grid in the layout pattern in first dimension distance The shortest distance of the first end and second end of the screen, the icon in first dimension grid described in distance first Maximum resolution scale of the distance, the icon of end and second end in first dimension, determines the screen described The maximum icon number that can be accommodated in first dimension.
4. method as claimed in claim 3, which is characterized in that further include:
Determine the screen described also according to the distance between the grid in the layout pattern in first dimension The maximum icon number that can be accommodated on dimension.
5. method as claimed in claim 3, which is characterized in that described to be managed according to the information from pre-set at least one It manages in the layout pattern of desktop and selects one kind, comprising:
Every kind of difference that the maximum icon number and the desktop that can be accommodated in first dimension according to the screen are shown The quantity of the icon of attribute selects one kind from the layout pattern of pre-set at least one management desktop.
6. method according to claim 2, which is characterized in that the quantity of the icon of the every kind of different attribute shown according to desktop Determine scale of the grid in the first dimension in the layout pattern.
7. method according to claim 1 or 2, which is characterized in that further include:
Grid according to the layout pattern of currently used management desktop is shown in the scale and the grid in the first dimension Icon the directly proportional adjustment rule of quantity, adjust the grid of the layout pattern of currently used management desktop in the first dimension Scale on degree.
8. method according to claim 1 or 2, it is characterised in that:
Different layout patterns realizes the variation of grid scale and/or the variation of grid quantity in the first dimension;
And/or
Different layout patterns realizes variation and/or the grid of grid scale in the second dimension for being different from first dimension The variation of quantity.
9. a kind of terminal device characterized by comprising acquiring unit, selecting unit and execution unit, in which:
The acquiring unit, for obtaining the information of screen, the information includes the resolution ratio of the screen and desktop is shown The quantity of icon, the resolution ratio include the resolution ratio in the first dimension;
The selecting unit, for being selected from the layout pattern of pre-set at least one management desktop according to the information One kind, the layout pattern include the grid that at least one is used to accommodate the icon;It specifically includes: if what the desktop was shown The quantity of icon is less than the maximum icon number that can be accommodated in first dimension, selects a kind of layout sample comprising a grid Formula, if the quantity for the icon that the desktop is shown is greater than the maximum icon number that can be accommodated in first dimension, selection includes The layout pattern of multiple grid;Wherein, each layout sample in the layout pattern of pre-set at least one management desktop The maximum icon data that the screen can accommodate in first dimension under formula are determined in advance;
The execution unit, the icon for showing desktop are placed in the grid of the layout pattern of the selected management desktop Middle display.
10. equipment as claimed in claim 9, which is characterized in that the selecting unit is also used to obtain the first of the screen Resolution ratio in dimension, and obtain the quantity of the icon for every kind of different attribute that desktop is shown;The icon that desktop is shown includes The icon of following at least one attribute: the icon of shortcut, the icon of file, file icon.
11. the equipment as described in claim 9 or 10, the equipment further include:
First determination unit, the grid in resolution ratio, the layout pattern in the first dimension according to the screen exist The shortest distance of the first end and second end of screen described in distance, the icon are in first dimension in first dimension The maximum resolution scale of the distance of first end and second end apart from the grid, the icon in first dimension, Determine the maximum icon number that the screen can accommodate in first dimension.
12. equipment as claimed in claim 11, which is characterized in that first determination unit is also used to also according to the layout Determine what the screen can accommodate in first dimension in the distance in first dimension between grid in pattern Maximum icon number.
13. equipment as claimed in claim 11, which is characterized in that the selecting unit is also used to according to the screen described The quantity of the icon for every kind of different attribute that the maximum icon number and the desktop that can be accommodated in first dimension are shown, from preparatory One kind is selected in the layout pattern for at least one management desktop being arranged.
14. equipment as claimed in claim 10, which is characterized in that the equipment further include:
The quantity of second determination unit, the icon of every kind of different attribute for being shown according to desktop determines in the layout pattern Scale of the grid in the first dimension.
15. the equipment as described in claim 9 or 10, which is characterized in that the equipment further include:
Adjustment unit, scale of the grid in the first dimension for the layout pattern according to currently used management desktop with should The directly proportional adjustment rule of the quantity of shown icon in grid, adjusts the lattice of the layout pattern of currently used management desktop The scale in the first dimension of son.
CN201310024899.6A 2013-01-23 2013-01-23 A kind of method and terminal device of desktop management Active CN103941958B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310024899.6A CN103941958B (en) 2013-01-23 2013-01-23 A kind of method and terminal device of desktop management

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310024899.6A CN103941958B (en) 2013-01-23 2013-01-23 A kind of method and terminal device of desktop management

Publications (2)

Publication Number Publication Date
CN103941958A CN103941958A (en) 2014-07-23
CN103941958B true CN103941958B (en) 2019-01-29

Family

ID=51189645

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310024899.6A Active CN103941958B (en) 2013-01-23 2013-01-23 A kind of method and terminal device of desktop management

Country Status (1)

Country Link
CN (1) CN103941958B (en)

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105630316B (en) * 2014-10-30 2020-07-28 北京搜狗科技发展有限公司 Display object arrangement method and electronic equipment
CN104407779B (en) * 2014-12-15 2019-01-08 北京国双科技有限公司 The arrangement display methods and device of graphical interfaces
CN104461549B (en) * 2014-12-15 2018-09-18 北京国双科技有限公司 The arrangement display methods and device of graphical interfaces
CN104461547B (en) * 2014-12-15 2018-08-07 北京国双科技有限公司 The arrangement display methods and device of graphical interfaces
CN104461249B (en) * 2014-12-15 2018-09-18 北京国双科技有限公司 The arrangement display methods and device of graphical interfaces
CN104484093B (en) * 2014-12-15 2018-08-07 北京国双科技有限公司 The arrangement display methods and device of graphical interfaces
CN106980622B (en) * 2016-01-18 2020-08-25 青岛海信移动通信技术股份有限公司 Folder processing method and device
CN107145358A (en) * 2017-05-10 2017-09-08 上海上讯信息技术股份有限公司 A kind of method and apparatus for generating enterprise desktop
CN108121487A (en) * 2018-01-19 2018-06-05 深圳市富途网络科技有限公司 A kind of button management module and method for application program for mobile terminal
CN108549507A (en) * 2018-03-01 2018-09-18 平安科技(深圳)有限公司 Arrange application drawing calibration method, terminal device and computer readable storage medium
CN108549508A (en) * 2018-03-07 2018-09-18 维沃移动通信有限公司 A kind of application icon display methods and mobile terminal
CN112740162B (en) * 2018-10-26 2023-11-24 深圳市欢太科技有限公司 Desktop management method and device, mobile terminal and storage medium
CN110750317A (en) * 2019-08-31 2020-02-04 华为技术有限公司 Desktop editing method and electronic equipment
WO2023092343A1 (en) * 2021-11-24 2023-06-01 深圳传音控股股份有限公司 Icon area management method, intelligent terminal and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7590947B1 (en) * 2004-05-28 2009-09-15 Adobe Systems Incorporated Intelligent automatic window sizing
CN101908076A (en) * 2010-08-24 2010-12-08 北京世纪高通科技有限公司 Page layout self-adaptive method and device
CN102508655A (en) * 2011-10-12 2012-06-20 宇龙计算机通信科技(深圳)有限公司 Method and system for displaying desktop icons
CN102713813A (en) * 2009-12-22 2012-10-03 诺基亚公司 Method and apparatus for quick selection from ordered list
CN102880382A (en) * 2012-07-31 2013-01-16 北京奇虎科技有限公司 Interface display system, method and equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7590947B1 (en) * 2004-05-28 2009-09-15 Adobe Systems Incorporated Intelligent automatic window sizing
CN102713813A (en) * 2009-12-22 2012-10-03 诺基亚公司 Method and apparatus for quick selection from ordered list
CN101908076A (en) * 2010-08-24 2010-12-08 北京世纪高通科技有限公司 Page layout self-adaptive method and device
CN102508655A (en) * 2011-10-12 2012-06-20 宇龙计算机通信科技(深圳)有限公司 Method and system for displaying desktop icons
CN102880382A (en) * 2012-07-31 2013-01-16 北京奇虎科技有限公司 Interface display system, method and equipment

Also Published As

Publication number Publication date
CN103941958A (en) 2014-07-23

Similar Documents

Publication Publication Date Title
CN103941958B (en) A kind of method and terminal device of desktop management
CN104965631B (en) Desktop color matching method and device and intelligent terminal
CN105989130B (en) Electronic map methods of exhibiting, device and electronic equipment
CN105653281B (en) A kind of method and apparatus carrying out screenshotss in a mobile device
KR101572541B1 (en) Terminal and schedule displaying method
CN104778047B (en) A kind of content display method and terminal
CN103902165A (en) Method and device for implementing background of menu
CN105843480A (en) Desktop icon adjustment method and apparatus
CN105407323B (en) A kind of split screen method and device of monitor video
JP5651773B2 (en) Character display method and apparatus
TWI547853B (en) System and method for displaying user interface
CN106095373B (en) Realize striding equipment screen coordinate adaptation, the method for operation equipment and corresponding device
CN106569659A (en) Information display method and apparatus
CN107943372A (en) A kind of interface display method, device and computer-readable recording medium
CN103870138A (en) Information processing method and electronic equipment
CN109840315A (en) A kind of detail information inspection method and device
EP2871826B1 (en) Method, device and terminal for adjusting widget
CN105867719A (en) Arrangement method and terminal device
CN103995654B (en) The method and apparatus for adjusting chart granularity
CN105068781B (en) Splicing display device windowing method and system
CN104750349B (en) A kind of setting method and device of user's head portrait
CN103959204B (en) Information processor, information processing method and recording medium
CN104346042A (en) Display area setting method and device
CN103631577A (en) Image display adjusting method and device
CN105677155B (en) The setting method and system of intelligent terminal application icon

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant