CN103246426B - It is a kind of to realize the method and device handled multiple icons - Google Patents

It is a kind of to realize the method and device handled multiple icons Download PDF

Info

Publication number
CN103246426B
CN103246426B CN201210030074.0A CN201210030074A CN103246426B CN 103246426 B CN103246426 B CN 103246426B CN 201210030074 A CN201210030074 A CN 201210030074A CN 103246426 B CN103246426 B CN 103246426B
Authority
CN
China
Prior art keywords
icon
desktop
animation
operational
deleted
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
CN201210030074.0A
Other languages
Chinese (zh)
Other versions
CN103246426A (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 CN201210030074.0A priority Critical patent/CN103246426B/en
Publication of CN103246426A publication Critical patent/CN103246426A/en
Application granted granted Critical
Publication of CN103246426B publication Critical patent/CN103246426B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention provides a kind of method and device realized and handled multiple icons, corresponding method includes the operational set for obtaining the icon of desktop;Store the icon information of the desktop;The operational set is traveled through, according to the operational set, operational order is set to the icon of the desktop;According to the operational order, the icon of the desktop is handled.The present invention realize it is a kind of by animation while realize the desktop framework that multiple icons add, delete, multiple icons while the operation added, deleted can be completed in an animation.

Description

It is a kind of to realize the method and device handled multiple icons
Technical field
The present invention relates to a kind of method and device realized and handled multiple icons, belongs to desktop framework technology neck Domain.
Background technology
Desktop is interactive primary interface, and the graphic user interface of man-machine interaction.The desktop of computer is pair The simulation of the desktop (such as desk) of routine work.The desktop style of each mainstream operation system is different, but major function and Component is generally similar.
The operating system desktop of present main flow, such as windows, mac os, ios, android etc., they are mainly It is made up of a series of icons, these icons are the entrances of application program.It is also user that desktop icons, which are added, and deleted The operation often done, and transition cartoon is added to these operations, Consumer's Experience can be undoubtedly lifted well.Such as, in ios systems In system, for user when adding an icon, other icons on desktop can be mobile to free place, the figure being added to this Mark vacates position.
But traditional desktop animation can have the disadvantage that:
1. each animation can be only done a kind of operation
2. operation can be only done an icon addition or delete every time
The content of the invention
The invention provides a kind of method and device realized and handled multiple icons, is moved with solving existing desktop Each animation present in picture technology can be only done a kind of operation, operation can be only done what an icon was added or deleted every time Problem, for this, the present invention adopts the following technical scheme that:
It is a kind of to realize the method handled multiple icons, including:
Obtain the operational set of the icon of desktop;
Store the icon information of the desktop;
The operational set is traveled through, according to the operational set, operational order is set to the icon of the desktop;
According to the operational order, the icon of the desktop is handled.
It is a kind of to realize the device handled multiple icons, including:
Icon acquiring unit, the operational set of the icon for obtaining desktop;
Icon storage unit, for storing the icon information of the desktop;
Setting unit is instructed, for traveling through the operational set, according to the operational set, the icon of the desktop is set Put operational order;
Instruction execution unit, for according to the operational order, handling the icon of the desktop.
The present invention realize it is a kind of by animation while realize the desktop framework that multiple icons add, delete, can be once Complete multiple icons while the operation added, deleted.
Brief description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, required use in being described below to embodiment Accompanying drawing be briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for this For the those of ordinary skill of field, without having to pay creative labor, other can also be obtained according to these accompanying drawings Accompanying drawing.
Fig. 1 is the method handled by animation realization multiple icons that the embodiment of the present invention provides Schematic flow sheet;
Fig. 2 is the desktop icons arrangement schematic diagram that the embodiment of the present invention provides;
Fig. 3 is the exemplary plot for the interim memory queue that the embodiment of the present invention provides;
Fig. 4 is the device handled by animation realization multiple icons that the embodiment of the present invention provides Structural representation.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.It is based on Embodiment in the present invention, those of ordinary skill in the art are obtained every other under the premise of creative work is not made Embodiment, belong to the scope of protection of the invention.
Embodiment of the present invention provide it is a kind of realize the method that is handled multiple icons, as shown in figure 1, bag Include:
Step 11, obtain desktop icon operational set.
Specifically, the operational set obtained is typically made up of multiple single operations, each single operation includes two fields, Specific single operation can include addition, mobile, deletion and corresponding animation.
The icon information of step 12, the storage desktop.
Specifically, when user operates completion or when desktop needs to refresh, first by the existing figure of operating system desktop Mark information is put into predetermined space, wherein predetermined space can be the interim memory queue temp_ divided in internal memory list.Wherein, the method for storing the icon information of desktop can be deposited the icon information of desktop by the form of queue Storage.
Step 13, the traversal operational set, according to the operational set, operation is set to refer to the icon of the desktop Order.
Specifically, operational set is traveled through first, wherein operational set refer to user by desktop management program to Operational set addition sequence of operations instruction, desktop management program is independently of a single program of desktop, and it can allow use Which icon family, which defines, to be deleted should be added with which icon.Each operational order includes following field:
type Action type (addition, is deleted)
icon Icon information
And the icon of the desktop of operating system can be as shown in Figure 2, sequentially from top to bottom, arrange successively from left to right Row.
When traversing operational order to add icon information, the icon information to be added in operational order is inserted into In temp_list;When traversing operational order to delete icon information, present embodiment is not directly from temp_list It is middle to delete the icon information, but stamp a mark to be deleted in the icon information icon.A for example, temp_ List can be with as shown in figure 3, include three original icons, and one newly plus icon and one original stamp mark to be deleted Icon.
Step 14, according to the operational order, the icon of the desktop is handled.
, can traversing operation system simultaneously specifically, if desired obtain the situation of change of the icon information in predetermined space The existing icon parade icon_list and temp_list of system desktop, it is that the icon newly added in temp_list sets insertion animation, For temp_list stamp mark to be deleted icon set delete animation, be in the original icons of temp_list, relative to The icon that icon_list position changes sets displacement animation.
Further, after the completion of traversal, corresponding animation can be pre-processed, processing rule is as follows:
Animation is deleted if existing, all deletion animations perform simultaneously at first;
If displacement animation be present, all displacement animations perform simultaneously after animation is deleted;
If addition animation be present, all addition animations move picture afterwards while performed in place.
After the completion of pretreatment, the processing to the desktop icons can be sequentially completed according to desktop icons order.
By taking the temp_list shown in Fig. 3 as an example, present embodiment perform at first from left to right the 4th stamp mark to be deleted The icon of note simultaneously show it is corresponding delete animation, then perform from left to right second newly plus icon and then show that corresponding addition is dynamic Draw.After all animations perform completion, temp_list can be emptied, to be ready to carry out new animation task.
Optionally, because in existing operating system, user can not be operated in animation process, in order to solve this Problem, present embodiment further provide the method that the operation and the response that is delayed of user are recorded in animation process, tool Body can include:In the situation of change of the icon information in predetermined space, corresponding animation and the process performed are set In, the operational order that sends of user is still received, when operational order is completed or when the desktop of operating system needs refreshing, is sentenced Whether disconnected animation is completed, if having performed completion, performs new animation.If animation is not carried out completing, current animation is waited After the completion of, perform new animation.The problem of can not being operated this addresses the problem user in animation implementation procedure, realize In animation process, the operation of user can be also recorded and the response that is delayed.
The technical scheme provided using present embodiment, one kind is realized by animation while realizes that multiple icons add The desktop framework add, deleted, multiple icons while the operation added, deleted can be completed in an animation, and in animation During, it can also record the operation of user and the response that is delayed.
The embodiment of the present invention additionally provides a kind of device realized and handled multiple icons, and the device can To be set in the terminal in the form of software module or hardware entities, and acquisition module is operated by existing user and gathers user Operational order, the device is as shown in figure 4, can specifically include:
Icon acquiring unit 41, the operational set of the icon for obtaining desktop;
Icon storage unit 42, for storing the icon information of the desktop;
Setting unit 43 is instructed, for traveling through the operational set, according to the operational set, to the icon of the desktop Operational order is set;
Instruction execution unit 44, for according to the operational order, handling the icon of the desktop.
Optionally, the operational set is made up of multiple single operations, and each single operation includes two fields.The behaviour Instructing also includes corresponding animation.
Optionally, include in icon storage unit 42:Storing sub-units, for the icon information of the desktop to be passed through The form of queue is stored.
Optionally, include in instruction setting unit 43:Subelement is set, for being added when traversing operational order When, icon information to be added is inserted into the predetermined space, when traversing operational order to delete, described pre- Predetermined mark is beaten in fixed space on icon to be deleted.
Optionally, can include in instruction execution unit 44:Animation process subelement, if deleting animation for existing, Then all deletion animations perform simultaneously at first;If displacement animation be present, all displacement animations after animation is deleted simultaneously Perform;If addition animation be present, all addition animations move picture afterwards while performed in place.
Optionally, can also include in instruction execution unit 44:Sequential processes subelement, for according to desktop icons Order is sequentially completed the processing to the desktop icons.
The specific implementation side of the processing function of each unit included in the device that above-mentioned realization is handled multiple icons Formula has been described above in method embodiment before, is not repeated to describe herein.
The technical scheme provided using present embodiment, one kind is realized by animation while realizes that multiple icons add The desktop framework add, deleted, multiple icons while the operation added, deleted can be completed in an animation, and in animation During, it can also record the operation of user and the response that is delayed.
It is worth noting that, in said apparatus embodiment, included modules are simply drawn according to function logic Point, but above-mentioned division is not limited to, as long as corresponding function can be realized;In addition, each functional module is specific Title is also only to facilitate mutually distinguish, the protection domain being not intended to limit the invention.
The foregoing is only a preferred embodiment of the present invention, but protection scope of the present invention be not limited thereto, Any one skilled in the art in the technical scope that the embodiment of the present invention discloses, the change that can readily occur in or Replace, should all be included within the scope of the present invention.Therefore, protection scope of the present invention should be with the protection of claim Scope is defined.

Claims (12)

1. a kind of realize the method handled multiple icons, it is characterised in that including:
The operational set of the icon of desktop is obtained, the icon is the entrance of application program, and the icon of the desktop includes desktop Existing icon, and/or the icon to be added to desktop;
Store the icon information of the desktop;
The operational set is traveled through, according to the operational set, operational order is set to the icon of the desktop;
When detecting operational order to add, icon information to be added is inserted into predetermined space, detects that operation refers to When making to delete, predetermined mark is beaten on icon to be deleted in the predetermined space, in order to exist according to operational order Multiple icons of the desktop are handled in animation process.
2. according to the method for claim 1, it is characterised in that the operational set is made up of multiple single operations, each Single operation includes two fields.
3. according to the method for claim 2, it is characterised in that the operational order also includes corresponding animation.
4. according to the method for claim 1, it is characterised in that the icon information of the storage desktop is included by described in The icon information of desktop is stored by the form of queue.
5. according to the method described in claim 1 or 2 or 3 any one, it is characterised in that the icon to the desktop enters Row processing includes:
Animation is deleted if existing, all deletion animations perform simultaneously at first;
If displacement animation be present, all displacement animations perform simultaneously after animation is deleted;
If addition animation be present, all addition animations move picture afterwards while performed in place.
6. according to the method for claim 5, it is characterised in that the icon to the desktop, which is handled, also to be included:
Icon order according to desktop is sequentially completed the processing of the icon to the desktop.
7. a kind of realize the device handled multiple icons, it is characterised in that including:
Icon acquiring unit, the operational set of the icon for obtaining desktop, the icon are the entrances of application program, the table The icon in face includes the existing icon of desktop, and/or the icon to be added to desktop;
Icon storage unit, for storing the icon information of the desktop;
Setting unit is instructed, for traveling through the operational set, according to the operational set, behaviour is set to the icon of the desktop Instruct;Wherein, include in instruction setting unit:Subelement is set, for when traversing operational order to add, will treat The icon information of addition is inserted into predetermined space, when traversing operational order to delete, in the predetermined space Predetermined mark is beaten on icon to be deleted;
Instruction execution unit, for according to operational order, in an animation process to multiple icons of the desktop at Reason.
8. device according to claim 7, it is characterised in that the operational set is made up of multiple single operations, each Single operation includes two fields.
9. device according to claim 8, it is characterised in that the operational order also includes corresponding animation.
10. device according to claim 7, it is characterised in that include in icon storage unit:
Storing sub-units, for the icon information of the desktop to be stored by the form of queue.
11. according to the device described in claim 7 or 8 or 9 any one, it is characterised in that include in instruction execution unit:
Animation process subelement, if deleting animation for existing, all deletion animations perform simultaneously at first;If there is displacement to move Draw, then all displacement animations perform simultaneously after animation is deleted;If addition animation be present, all addition animations are in place Performed simultaneously after mobile picture.
12. device according to claim 11, it is characterised in that also include in instruction execution unit:
Sequential processes subelement, for being sequentially completed the processing of the icon to the desktop according to the icon order of desktop.
CN201210030074.0A 2012-02-10 2012-02-10 It is a kind of to realize the method and device handled multiple icons Active CN103246426B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210030074.0A CN103246426B (en) 2012-02-10 2012-02-10 It is a kind of to realize the method and device handled multiple icons

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210030074.0A CN103246426B (en) 2012-02-10 2012-02-10 It is a kind of to realize the method and device handled multiple icons

Publications (2)

Publication Number Publication Date
CN103246426A CN103246426A (en) 2013-08-14
CN103246426B true CN103246426B (en) 2018-02-13

Family

ID=48925971

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210030074.0A Active CN103246426B (en) 2012-02-10 2012-02-10 It is a kind of to realize the method and device handled multiple icons

Country Status (1)

Country Link
CN (1) CN103246426B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105117245A (en) * 2015-08-04 2015-12-02 小米科技有限责任公司 Method and apparatus for uninstalling application program
CN106055210A (en) * 2016-06-24 2016-10-26 宇龙计算机通信科技(深圳)有限公司 Method and device for processing icons
CN108647073A (en) * 2018-05-08 2018-10-12 商派软件有限公司 A kind of methods for interface management and system of efficient process information

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101764885A (en) * 2009-12-22 2010-06-30 中兴通讯股份有限公司 Data deletion method and device on mobile terminal

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090270121A1 (en) * 2005-03-29 2009-10-29 Matsushita Electric Industrial Co., Ltd. Portable terminal
CN100539727C (en) * 2006-02-27 2009-09-09 宇龙计算机通信科技(深圳)有限公司 Mobile communication terminal tray management
CN101179781A (en) * 2006-11-07 2008-05-14 乐金电子(中国)研究开发中心有限公司 Function simplifying operation system and method for mobile terminal
CN101656789B (en) * 2009-07-01 2012-09-05 中兴通讯股份有限公司 Method for managing application information of mobile phone and application program manager
CN102033710B (en) * 2010-04-07 2015-03-11 苹果公司 Method for managing file folder and related equipment
CN101873383B (en) * 2010-06-23 2013-06-12 华为终端有限公司 Terminal operation configuration method and terminal

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101764885A (en) * 2009-12-22 2010-06-30 中兴通讯股份有限公司 Data deletion method and device on mobile terminal

Also Published As

Publication number Publication date
CN103246426A (en) 2013-08-14

Similar Documents

Publication Publication Date Title
CN103019522B (en) The display packing of icon and mobile terminal in user interface
CN103067569A (en) Method and device of multi-window displaying of smart phone
CN101923568A (en) Method for increasing and canceling elements of Bloom filter and Bloom filter
CN105159777A (en) Process memory collection method and apparatus
CN102855648B (en) A kind of image processing method and device
CN105718272B (en) A kind of method and terminal of terminal factory reset
CN103176687A (en) Regionalized management method and regionalized management system of desktop icons
CN106201170A (en) The footmark processing method of a kind of application icon and terminal
CN103077075B (en) The method of display running background application and terminal thereof
CN103763433A (en) Method and system for controlling operation of terminal applications
CN103246426B (en) It is a kind of to realize the method and device handled multiple icons
CN105281949B (en) Mix the partition method and isolating device of host in memory module
CN102789353A (en) Method and device for operating desktop objects on touch screen mobile devices
CN105786301A (en) Method and apparatus for switching display object under multi-window system
CN106598508A (en) Solid-state hard disc and write-in arbitrating method and system thereof
CN104331244B (en) The execution method of application program
CN106095240A (en) The display packing of a kind of text box and device
CN105138253A (en) Method and device for batch processing of pictures
CN102088635A (en) Method for recording historic search keywords in network television
CN103631831B (en) A kind of data back up method and device
CN104407965B (en) The display methods and system of a kind of graphical interface window
CN103780651B (en) Asynchronised handover, method and system that are newly-increased, closing the page
CN106575177B (en) The control method and terminal of touch screen report point quantity
CN103581845B (en) Method and system for pushing service information
CN109491557A (en) A kind of icon display method and device

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