CN104572223B - The method for sorting and device of a kind of desktop icons - Google Patents

The method for sorting and device of a kind of desktop icons Download PDF

Info

Publication number
CN104572223B
CN104572223B CN201510056768.5A CN201510056768A CN104572223B CN 104572223 B CN104572223 B CN 104572223B CN 201510056768 A CN201510056768 A CN 201510056768A CN 104572223 B CN104572223 B CN 104572223B
Authority
CN
China
Prior art keywords
application software
icon
software icon
unloading
module
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
CN201510056768.5A
Other languages
Chinese (zh)
Other versions
CN104572223A (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.)
Shanghai Zhuoyi Technology Co Ltd
Original Assignee
Shanghai Zhuoyi Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Zhuoyi Technology Co Ltd filed Critical Shanghai Zhuoyi Technology Co Ltd
Priority to CN201510056768.5A priority Critical patent/CN104572223B/en
Publication of CN104572223A publication Critical patent/CN104572223A/en
Application granted granted Critical
Publication of CN104572223B publication Critical patent/CN104572223B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The present invention relates to desktop icons administrative skill field, the method for sorting and device of a kind of desktop icons are specifically disclosed.In the present invention, this method comprises the following steps:When unloading application software, the cell layout where the application software of unloading is obtained;In cell layout, using the application software of unloading as initiating terminal, the position of previous application software icon is assigned to adjacent the latter application software icon, by that analogy, until last application software picture mark position moves forward.Compared with prior art, the present invention realizes desktop icons automatic arranging, and then lift Consumer's Experience after desktop application software icon is removed.

Description

The method for sorting and device of a kind of desktop icons
Technical field
The present invention relates to desktop icons administrative skill field, the method for sorting and device of more particularly to a kind of desktop icons.
Background technology
With the rapid development of intelligent terminal and the communication technology, the abundant intelligent terminal of various functions turns into people's day Often live indispensable instrument.There is provided personalized service becomes the important means that the lasting consumption of manufacturer's acquisition increases, because The application that this is arranged on intelligent terminal is also more and more, and various application program images have been covered with the desktop of intelligent terminal Mark.
However, some application icons being of little use are arranged on desktop, and it is serious to consume desk-top space resource, so people Usually need to delete some less desktop icons used;Substantial amounts of application program can also consume system resource simultaneously, because This people needs to unload some application programs seldom used.After application program unloading, corresponding desktop icons disappear therewith, or After person deletes desktop icons manually, corresponding position is just empty out on desktop, causes desktop irregular, manually to desktop icons Alignment operation is carried out, it is not only time-consuming, laborious, also affect the usage experience of user.
The content of the invention
It is an object of the invention to provide a kind of method for sorting of desktop icons and device so that the application software on desktop After icon is removed, desktop icons can be with automatic arranging, and then lifts Consumer's Experience.
In order to solve the above technical problems, embodiments of the present invention provide a kind of method for sorting of desktop icons, it is described Method comprises the steps of:
When unloading application software, the cell layout where the application software of unloading is obtained;
In the cell layout, using the application software of unloading as initiating terminal, by the position of previous application software icon Adjacent the latter application software icon is assigned, until last application software picture mark position moves forward.
Compared with prior art, when unloading application software, the cell layout where the application software of unloading is obtained, at this In cell layout, using the application software of unloading as initiating terminal, the position of previous application software icon is assigned adjacent latter Individual application software icon, by that analogy, a to the last application software picture mark position reach, it is, by obtaining desktop Icon removes event message, and the coordinate position for removing icon is then obtained in cell layout (celllayout), then will be single It is located at the application software icon after the coordinate position in first domain to move forward successively, fills up the room vacateed because icon removes Put.So, after the application software icon of unloading is removed, the automatic arranging of desktop icons is realized, user is eliminated and grasps manually Make arranging desktop icons, improve Consumer's Experience.
It is preferred that the method for sorting of described desktop icons also includes, described by previous application software icon Before position assigns adjacent the latter application software icon step, comprise the steps of:
In the cell layout, it is pointed to all software icons behind the application software icon of unloading and is detected, And by the application software iconic marker detected it is application software.In cell layout, to the application software icon that detects according to It is secondary to make marks, it can disposably obtain application software picture mark position to be shifted.
If it is preferred that detecting widget widget icons or empty position, skip and not mark.The present invention passes through knowledge The empty position that other widget widget icons or user reserve for one's own use, the automatic desktop layouts for retaining user are realized, further lifting Consumer's Experience.
Specifically, adjacent the latter application software icon is assigned in the position by previous application software icon In step, following sub-step is included:
Coordinate of the application software icon of unloading in the cell layout is obtained, and the coordinate of acquisition is stored in one In array;
Coordinate in the array is assigned to the latter application software icon adjacent with the application software icon unloaded, and The former coordinate of the application software icon of position reach is updated into the array;
Assign the coordinate in the array to first icon in the application software icon not moved, until last Application software picture mark position moves forward.
It is preferred that assign adjacent the latter application software icon in the position by previous application software icon In step,
The latter application software icon is smoothly moved to the position of the previous application software icon.
Specifically, an application software icon is smoothly moved to the position of the previous application software icon in the rear The step of in,
The latter application software icon is smoothly moved to by the previous application software icon by mobile animation Position;
Wherein, animation parameters include the positional information of the previous application software icon and the latter application software The positional information of icon.The present invention is effectively improved Consumer's Experience, enriched by the way that desktop icons are moved with increase dynamic effect Embodiments of the present invention.
Embodiments of the present invention additionally provide a kind of collating unit of desktop icons, comprising:Acquisition module and mobile mould Block;
The acquisition module, for when unloading application software, obtaining the cell layout where the application software of unloading;
The mobile module, in the cell layout, using the application software of unloading as initiating terminal, being answered previous Adjacent the latter application software icon is assigned with the position of software icon, until before last application software picture mark position Move.
Compared with prior art, acquisition module of the present invention is when unloading application software, by the application software for obtaining unloading The cell layout at place, the position of previous application software icon is assigned to adjacent the latter application software using mobile module Icon, a to the last application software picture mark position reach, it is, the application behind the application software icon of unloading is soft Part icon moves forward successively, fills up the empty position vacateed because icon removes.So, the application software icon of unloading is removed Afterwards, the automatic arranging of desktop icons is realized, the manually operated arranging desktop icons of user is eliminated, improves Consumer's Experience.
It is preferred that the collating unit of the desktop icons also includes detection module, judge module and mark module;
The detection module, it is all behind the application software icon of unloading in the cell layout, being pointed to Software icon is detected;
The judge module, for judging the application software icon positioned at unloading according to the testing result of the detection module Whether each software icon below is application software icon, and triggers the mark module when judged result is and is;
The mark module, the application software iconic marker for that will detect are application software.
It is preferred that when the testing result is widget widget icons or empty position, the judged result be it is no, And the judge module triggering mark module is skipped and not marked.
It is preferred that the mobile module, the previous application is smoothly moved to by the latter application software icon The position of software icon.
Specifically, the mobile module, the latter application software icon is smoothly moved to by institute by mobile animation State the position of previous application software icon;
Wherein, animation parameters include the positional information of the previous application software icon and the latter application software The positional information of icon.
Brief description of the drawings
Fig. 1 is the flow chart according to the method for sorting of the desktop icons of first embodiment of the invention;
Fig. 2 is the structured flowchart according to the collating unit of the desktop icons of third embodiment of the invention.
Embodiment
To make the object, technical solutions and advantages of the present invention clearer, each reality below in conjunction with accompanying drawing to the present invention The mode of applying is explained in detail.However, it will be understood by those skilled in the art that in each embodiment of the present invention, In order that reader more fully understands the application and proposes many ins and outs.But even if without these ins and outs and base Many variations and modification in following embodiment, each claim of the application technical side claimed can also be realized Case.
The present invention first embodiment be related to a kind of method for sorting of desktop icons, idiographic flow as shown in figure 1, including Following steps:
Step 101, the cell layout of desktop where obtaining the application software icon of unloading.When unloading application software, meeting Remove application software icon simultaneously.In Android (android) intelligent terminal system, desktop where starter (launcher) After each page (page) can have corresponding unit plate (celllayout), application software icon to remove, list can be passed through First domain easily obtains the positional information of the application software icon of removal, specifically, can obtain the application software figure of unloading Target coordinate (X, Y), wherein, the line position where X represents icon is put, and Y represents the column position where icon.
Step 102, software icon all behind the application software icon of unloading is detected.Namely in cell layout, It is pointed to all icons behind the application software icon of unloading to be detected, is detected successively by the coordinate position of cell layout Whether corresponding picture mark position has taken, and such as takes, then obtains type corresponding to the icon of occupancy, such as vacant, then is identified as User's reserved location.
Step 103, whether the icon for judging to detect is application software icon.Judge that it is successively according to the type of icon No is application software, if so, then entering step 104;If corresponding to picture mark position being widget (widget) or empty position, Jump out and do not make marks, that is, the picture mark position need not be made marks, enter step after the completion of desktop icons position is detected successively Rapid 105.So do, can be in the idle desktop icons arrangement for not influenceing widget (widget) icon or user originally retained In the case of position, automatic arranging is carried out to application icon, influence will not be brought on the use habit of user's desktop icons.
Step 104, labeled as application software icon.In desktop domain, whole application software figures to detecting successively Mark makes marks.
Step 105, application software icon is moved forward successively, to the last an application software icon reach.With unloading Application software picture mark position is initiating terminal, and the icon of the application software behind the position is moved forward successively, by that analogy, until most The latter application software icon moves forward.Specifically, the step includes following sub-step:
Step 1051, coordinate of the application software icon of unloading in cell layout is obtained, and the coordinate of acquisition is stored In an array.The coordinate (X, Y) of the application software icon of unloading is stored in an array in the present embodiment.
Step 1052, the coordinate in the array is assigned to the latter application software adjacent with the application software icon unloaded Icon, and the former coordinate of the application software icon of position reach is updated into array;Such as by the coordinate (X, Y) in the array The first application software icon behind adjacent is accordingly assigned, so as to realize that the position of the first application software icon is advanced to this The position of the application software icon of unloading, meanwhile, the array is arrived into coordinate (X1, the Y1) renewal of the first application software icon In, by that analogy, until last application program image cursor position moves forward in cell layout.So as to realize the automatic of desktop icons Arrange, the step of saving user's manually operated arranging desktop, lift Consumer's Experience.In the present embodiment, array is temporary and coordinate is assigned The mode of value, the automatic shift of desktop icons can be quickly realized, it is simple to operate.
Compared with prior art, when unloading application software, the cell layout where the application software of unloading is obtained, in list In first domain, using the application software of unloading as initiating terminal, the position of previous application software icon is assigned to adjacent the latter Application software icon, by that analogy, a to the last application software picture mark position reach, it is, the application of unloading is soft Application software icon behind part icon moves forward successively, fills up the empty position vacateed because icon removes.So, unloading After application software icon is removed, the automatic arranging of desktop icons is realized, eliminates the manually operated arranging desktop icons of user, Improve Consumer's Experience.
Second embodiment of the present invention is related to a kind of method for sorting of desktop icons.Second embodiment is implemented first Further improvement is made on the basis of mode, has mainly theed improvement is that:In second embodiment of the invention, by mobile dynamic Draw the position that the latter application software icon is smoothly moved to previous application software icon.Preferably, mobile animation is dynamic Draw parameter and include the positional information of previous application software icon and the positional information of the latter application software icon.By to certainly Dynamic displacement increase dynamic effect, further lifts Consumer's Experience.
The step of various methods divide above, be intended merely to describe it is clear, can be merged into when realizing a step or Some steps are split, are decomposed into multiple steps, as long as including identical logical relation, all protection domain in this patent It is interior;To either adding inessential modification in algorithm in flow or introducing inessential design, but its algorithm is not changed Core design with flow is all in the protection domain of the patent.
Third embodiment of the invention is related to a kind of collating unit of desktop icons, as shown in Fig. 2 the collating unit bag Include:
Acquisition module, for when unloading application software, obtaining the cell layout where the application software of unloading.
Detection module, for all software icons in cell layout, being pointed to behind the application software icon of unloading Detected.
Judge module, for each behind the application software icon according to the judgement unloading of the testing result of the detection module Whether individual software icon is application software icon, and is triggered mark module when being in judged result.
Specifically, when testing result is widget (widget) icon or empty position, judged result is no, and described Judge module triggered mark module, which is skipped, not to be marked.
Mark module, the application software iconic marker for that will detect are application software.
Mobile module, in cell layout, using the application software of unloading as initiating terminal, by previous application software figure Target position assigns adjacent the latter application software icon, until last application software picture mark position moves forward.
It is seen that present embodiment is the system embodiment corresponding with first embodiment, present embodiment can be with First embodiment is worked in coordination implementation.The relevant technical details mentioned in first embodiment still have in the present embodiment Effect, in order to reduce repetition, is repeated no more here.Correspondingly, the relevant technical details mentioned in present embodiment are also applicable in In first embodiment.
It is noted that each module involved in present embodiment is logic module, and in actual applications, one Individual logic unit can be a part for a physical location or a physical location, can also be with multiple physics lists The combination of member is realized.In addition, in order to protrude the innovative part of the present invention, will not be with solving institute of the present invention in present embodiment The unit that the technical problem relation of proposition is less close introduces, but this is not intended that in present embodiment and other lists are not present Member.
Four embodiment of the invention is related to a kind of collating unit of desktop icons.4th embodiment and the 3rd embodiment party Formula is roughly the same, and it is theed improvement is that:
The latter application software icon is smoothly moved to previous by the mobile module of present embodiment by mobile animation The position of application software icon.
Specifically, the animation parameters of mobile animation include positional information and the latter application of previous application software icon The positional information of software icon.By increasing dynamic effect to automatic shift, Consumer's Experience is further lifted.
Because second embodiment is mutually corresponding with present embodiment, therefore present embodiment can be mutual with second embodiment It is engaged implementation.The relevant technical details mentioned in second embodiment are still effective in the present embodiment, implement second The technique effect that can reach in mode can similarly be realized in the present embodiment, no longer superfluous here in order to reduce repetition State.Correspondingly, the relevant technical details mentioned in present embodiment are also applicable in second embodiment.
It will be understood by those skilled in the art that the respective embodiments described above are to realize the specific embodiment of the present invention, And in actual applications, can to it, various changes can be made in the form and details, without departing from the spirit and scope of the present invention.

Claims (6)

1. a kind of method for sorting of desktop icons, it is characterised in that comprise the steps of:
When unloading application software, the cell layout where the application software of unloading is obtained;
In the cell layout, using the application software of unloading as initiating terminal, the position of previous application software icon is assigned Adjacent the latter application software icon, until last application software picture mark position moves forward;
Wherein, adjacent the latter application software icon step is assigned in the position by previous application software icon In, include following sub-step:
Coordinate of the application software icon of unloading in the cell layout is obtained, and the coordinate of acquisition is stored in an array In;
Assign the coordinate in the array to the adjacent the latter application software icon of application software icon with unloading, and by position The former coordinate for putting the application software icon of reach is updated into the array;
The coordinate in the array is assigned to first icon in the application software icon not moved, until last application Software icon position moves forward;
Before the position by previous application software icon assigns adjacent the latter application software icon step, bag Containing following steps:
In the cell layout, it is pointed to all software icons behind the application software icon of unloading and is detected, and will The application software iconic marker detected is application software;
In the step of all software icons being pointed to behind the application software icon of unloading are detected,
If detecting widget widget icons or empty position, skip and not mark.
2. the method for sorting of desktop icons according to claim 1, it is characterised in that described by previous application software The position of icon was assigned in the step of adjacent the latter application software icon,
The latter application software icon is smoothly moved to the position of the previous application software icon.
3. the method for sorting of desktop icons according to claim 2, it is characterised in that an application software figure in the rear In the step of mark is smoothly moved to the position of the previous application software icon,
The latter application software icon is smoothly moved to the position of the previous application software icon by mobile animation Put;
Wherein, animation parameters include the positional information of the previous application software icon and the latter application software icon Positional information.
4. a kind of collating unit of desktop icons, it is characterised in that include:Acquisition module and mobile module;
The acquisition module, for when unloading application software, obtaining the cell layout where the application software of unloading;
The mobile module is soft by previous application using the application software of unloading as initiating terminal in the cell layout The position of part icon assigns adjacent the latter application software icon, until last application software picture mark position moves forward;
Coordinate of the application software icon that the mobile module is specifically used for obtaining unloading in the cell layout, and will obtain Coordinate be stored in an array;
Assign the coordinate in the array to the adjacent the latter application software icon of application software icon with unloading, and by position The former coordinate for putting the application software icon of reach is updated into the array;
The coordinate in the array is assigned to first icon in the application software icon not moved, until last application Software icon position moves forward;
The collating unit of the desktop icons also includes detection module, judge module and mark module;
The detection module, for all softwares in the cell layout, being pointed to behind the application software icon of unloading Icon is detected;
The judge module, for being judged according to the testing result of the detection module behind the application software icon of unloading Each software icon whether be application software icon, and judged result for be when trigger the mark module;
The mark module, the application software iconic marker for that will detect are application software;
When the testing result is widget widget icons or empty position, the judged result is no, and the judgement The module triggering mark module, which is skipped, not to be marked.
5. the collating unit of desktop icons according to claim 4, it is characterised in that the mobile module, after described One application software icon is smoothly moved to the position of the previous application software icon.
6. the collating unit of desktop icons according to claim 5, it is characterised in that the mobile module, pass through movement The latter application software icon is smoothly moved to the position of the previous application software icon by animation;
Wherein, animation parameters include the positional information of the previous application software icon and the latter application software icon Positional information.
CN201510056768.5A 2015-02-03 2015-02-03 The method for sorting and device of a kind of desktop icons Active CN104572223B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510056768.5A CN104572223B (en) 2015-02-03 2015-02-03 The method for sorting and device of a kind of desktop icons

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510056768.5A CN104572223B (en) 2015-02-03 2015-02-03 The method for sorting and device of a kind of desktop icons

Publications (2)

Publication Number Publication Date
CN104572223A CN104572223A (en) 2015-04-29
CN104572223B true CN104572223B (en) 2017-11-24

Family

ID=53088381

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510056768.5A Active CN104572223B (en) 2015-02-03 2015-02-03 The method for sorting and device of a kind of desktop icons

Country Status (1)

Country Link
CN (1) CN104572223B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106257390B (en) * 2015-06-19 2019-11-22 深圳超多维科技有限公司 A kind of three-dimensional widget icon exchange method, device and touch terminal
CN105117492A (en) * 2015-09-23 2015-12-02 北京金山安全软件有限公司 Management method and device for browser home page interface
CN105302447B (en) * 2015-12-02 2018-05-01 上海斐讯数据通信技术有限公司 A kind of management method and mobile terminal of APP application icons
CN106354366A (en) * 2016-08-26 2017-01-25 乐视控股(北京)有限公司 Method for treating desktop icons arrangement and device thereof
CN109634482A (en) * 2018-12-13 2019-04-16 惠州Tcl移动通信有限公司 Icon method for sorting, device and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7899959B2 (en) * 2007-01-26 2011-03-01 Key Criteria Technology Limited Method of loading software in mobile and desktop environments
CN103365532A (en) * 2012-04-11 2013-10-23 中兴通讯股份有限公司 Change method and change system of terminal application display
CN103488379A (en) * 2013-09-16 2014-01-01 北京奇虎科技有限公司 Desktop element adjusting method and desktop element adjusting device for intelligent terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7899959B2 (en) * 2007-01-26 2011-03-01 Key Criteria Technology Limited Method of loading software in mobile and desktop environments
CN103365532A (en) * 2012-04-11 2013-10-23 中兴通讯股份有限公司 Change method and change system of terminal application display
CN103488379A (en) * 2013-09-16 2014-01-01 北京奇虎科技有限公司 Desktop element adjusting method and desktop element adjusting device for intelligent terminal

Also Published As

Publication number Publication date
CN104572223A (en) 2015-04-29

Similar Documents

Publication Publication Date Title
CN104572223B (en) The method for sorting and device of a kind of desktop icons
US8966387B2 (en) Method and apparatus for managing icon in portable terminal
US9003283B2 (en) Copying text using parameters displayed on a clipboard
CN108376094B (en) Notification message display method and device, computer equipment and storage medium
CN104349045B (en) A kind of image-pickup method and electronic equipment
CN112099686B (en) Icon display control method and device and electronic equipment
CN111831182B (en) Application icon control method and device and electronic equipment
CN104541239A (en) Text select and enter
US11561685B2 (en) Method for enabling interaction using fingerprint on display and electronic device thereof
CN108694012B (en) Method and system for displaying objects on screen
CN104243749B (en) The control method of image processing system and image processing system
CN106648715A (en) Method and system for loading pop-up window control
CN101419617A (en) Method and apparatus for determining web page object
JP6026363B2 (en) Information processing apparatus and control program
CN104461614A (en) Method for processing theme resource and electronic device
CN104182230B (en) A kind of method and device of exposal model dynamic order
WO2023045837A1 (en) Desktop editing method and electronic device
CN104571904A (en) Information processing method and electronic equipment
CN105554271A (en) Electronic equipment and message management method applied to electronic equipment
CN107533448A (en) Image output control method, image Output Control Program and display device
CN108614661B (en) Interactive object display control method based on intelligent terminal and intelligent terminal
CN113268182A (en) Application icon management method and electronic equipment
CN106325836B (en) Window part processing method and device
CN106713962A (en) Video display method and apparatus and terminal device
CN112019770A (en) Board card resource allocation method and device, video wall and readable storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C53 Correction of patent for invention or patent application
CB02 Change of applicant information

Address after: 200233 Guiping Road, Xuhui District, No. 391, building 20, floor 3,

Applicant after: Shanghai Zhuo Yi Science and Technology Co., Ltd.

Address before: 200233 Guiping Road, Xuhui District, No. 391, building 20, floor 3,

Applicant before: Shanghai TYD Electronic Technology Co., Ltd.

COR Change of bibliographic data

Free format text: CORRECT: APPLICANT; FROM: SHANGHAI TYD ELECTRONIC TECHNOLOGY CO., LTD. TO: SHANGHAI ZHUOYI TECHNOLOGY CO., LTD.

GR01 Patent grant
GR01 Patent grant