CN104360804A - Arranging method and device for desktop icons - Google Patents
Arranging method and device for desktop icons Download PDFInfo
- Publication number
- CN104360804A CN104360804A CN201410613812.3A CN201410613812A CN104360804A CN 104360804 A CN104360804 A CN 104360804A CN 201410613812 A CN201410613812 A CN 201410613812A CN 104360804 A CN104360804 A CN 104360804A
- Authority
- CN
- China
- Prior art keywords
- application
- rss value
- desktop
- desktop icons
- rss
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/04842—Selection of displayed objects or displayed text elements
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06F3/04817—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
- Telephone Function (AREA)
Abstract
The invention discloses an arranging method and device for desktop icons. The size of a running memory is presented by using an RSS (Resident Set Size) value, each application is arranged according to the RSS value, and then the icons are arranged on a desktop in sequence according to the arranging result, so that the desktop icons which are arranged according to the occupation condition of the running memory are obtained, the arranging method of the desktop icons is enriched, and the intelligence and the humanization of a mobile terminal are improved. Further, a user can learn the applications which occupy more running memory by observing the positions of the desktop applications; when the system runs non-smoothly, the applications which occupy more running memory are closed to obtain smooth running speed.
Description
Technical field
The present invention relates to technical field of mobile terminals, particularly relate to a kind of aligning method and device of desktop icons.
Background technology
Along with the exploitation of types of applications software, the function of intelligent terminal is more and more abundanter.User opens the desktop of intelligent terminal, and the icon of application is multifarious, and this brings difficulty to certain application of searching.
Based on above-mentioned situation, intelligent terminal all has the function according to certain regularly arranged application icon, provides convenience for finding.Common queueing discipline comprises: according to set-up time sequence, according to frequency of usage sequence, according to title sequence etc., user can select queueing discipline according to use habit.
Summary of the invention
The invention provides a kind of new aligning method of desktop icons, to enrich aligning method, for user provides more more options, the scheme adopted is as follows.
An aligning method for desktop icons, comprises step:
When applying operation, obtain the RSS value of this application;
According to RSS value, each application is sorted;
According to ranking results, be arranged in order the icon of application on the table.
A collating unit for desktop icons, comprising:
RSS value acquisition module, for when applying operation, obtains the RSS value of this application;
RSS value order module, for according to RSS value, sorts to each application;
Icon arrangement module, for the ranking results according to application, is arranged in order the icon of application on the table.
The aligning method of desktop icons of the present invention and device, RSS value is adopted to characterize the size of running memory, and according to RSS value, application is sorted, icon is arranged in order on the table again according to ranking results, thus obtain a kind of desktop icons taking situation arrangement according to running memory, enrich the aligning method of desktop icons, improve intellectuality and the hommization of mobile terminal.Further, which application user, by observing the position of desktop application, can understand and take running memory comparatively greatly, when system cloud gray model is not smooth, running memory is taken larger application and closes, to obtain smooth travelling speed.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet of the aligning method of desktop icons of the present invention;
Fig. 2 is the structural representation of the collating unit of desktop icons of the present invention.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearly understand, below in conjunction with drawings and Examples, the present invention is described in further detail.Should be appreciated that embodiment described herein only in order to explain the present invention, do not limit protection scope of the present invention.
The aligning method of desktop icons of the present invention, as shown in Figure 1, comprises step:
Step s101, when apply run time, obtain the RSS value of this application;
Step s102, according to RSS value, each application to be sorted;
Step s103, according to ranking results, be arranged in order the icon of application on the table.
This method is preferably applicable to the mobile phone of Android system, each Android application operation is got up, all need running memory, the RAM namely said at ordinary times, an actual value applying the RAM used is difficult to calculate, but there is the concept of a RSS in running memory, RSS is meant to: Resident Set Size is namely actual uses physical memory (comprising the internal memory that shared library takies), RSS value and running memory proportional, what when thus can be run by application, the value of required RSS characterized running memory takies situation.Here is the step of a specific embodiment.
1, user clicks some application, and when entering application, obtain the RSS value of this application, method is as follows:
int Current_pid=Process.myPid();
// annotation: obtain application pid value
int[]pids={Current_pid};
MemoryInfo meminfo=am.getProcessMemoryInfo(pids)[0];
// annotation: the memory information MemoryInfo being obtained this application by the getProcessMemoryInfo method of ActivityManager interface
meminfo.getTotalSharedDirty()
// annotation: obtain the RSS value in this application memory information
2, after obtaining the RSS value of application, the name of this RSS value and application is stored in file ramsort.xml, and after such as entering oppo music application, the rss value calculated by above-mentioned aspect is 11944, be then recorded in ramsort.xml to be:
<string name="com.oppo.music"value="11944"/>
Wherein, very ripe for the technology of value write xml, here do not elaborate.
3, ramsort.xml is parsed by xml analytic method SAX (Simple API for XML), bag name and RSS value are saved in java container Map, then this container Map is sorted, obtain by RSS value new java container Map from high to low or from low to high.
4, desktop is according to this Map, just know that application corresponding to first element corresponding to Map is put in first position, application corresponding to second element corresponding to Map is just put in second position, and by that analogy, application corresponding to last element corresponding to Map is put in last position.
5, complete.
The collating unit of desktop icons of the present invention is devices corresponding with above-mentioned aligning method, as shown in Figure 2, comprising:
RSS value acquisition module, for when applying operation, obtains the RSS value of this application;
RSS value order module, for according to RSS value, sorts to each application;
Icon arrangement module, for the ranking results according to application, is arranged in order the icon of application on the table.
Above RSS value acquisition module, RSS value order module are connected successively with icon arrangement module, constitute an embodiment of this collating unit.
As a preferred embodiment, described RSS value order module sorts to application according to RSS value ascending order or descending.
As a preferred embodiment, described RSS value order module is also for being stored in ramsort.xml file by obtained RSS value, adopt SAX to resolve ramsort.xml file again, RSS value is stored in java container Map, and the RSS value in Map is sorted from high to low.
As a preferred embodiment, described application and described desktop are application in Android system mobile phone and desktop.
To sum up, the aligning method of desktop icons of the present invention and device, be different from traditional aligning method, according to running memory, desktop icons are arranged, for user provides new selection, meanwhile, making user understand which application intuitively, to take running memory large, it is little which application takies running memory, thus make corresponding decision.
The above embodiment only have expressed several embodiment of the present invention, and it describes comparatively concrete and detailed, but therefore can not be interpreted as the restriction to the scope of the claims of the present invention.It should be pointed out that for the person of ordinary skill of the art, without departing from the inventive concept of the premise, can also make some distortion and improvement, these all belong to protection scope of the present invention.Therefore, the protection domain of patent of the present invention should be as the criterion with claims.
Claims (8)
1. an aligning method for desktop icons, is characterized in that, comprises step:
When applying operation, obtain the RSS value of this application;
According to RSS value, each application is sorted;
According to ranking results, be arranged in order the icon of application on the table.
2. the aligning method of desktop icons according to claim 1, is characterized in that,
The icon of application is arranged on the table according to RSS value ascending order or descending.
3. the aligning method of desktop icons according to claim 1, is characterized in that, according to RSS value, applies the concrete steps sorted comprise each:
Obtained RSS value is stored in ramsort.xml file;
Adopt SAX to resolve ramsort.xml file, RSS value is stored in java container Map, and the RSS value in Map is sorted from high to low.
4. the aligning method of the desktop icons according to claim 1 or 2 or 3, is characterized in that,
Described application and described desktop are application in Android system mobile phone and desktop.
5. a collating unit for desktop icons, is characterized in that, comprising:
RSS value acquisition module, for when applying operation, obtains the RSS value of this application;
RSS value order module, for according to RSS value, sorts to each application;
Icon arrangement module, for the ranking results according to application, is arranged in order the icon of application on the table.
6. the collating unit of desktop icons according to claim 5, is characterized in that,
Described RSS value order module sorts to application according to RSS value ascending order or descending.
7. the collating unit of desktop icons according to claim 5, it is characterized in that, described RSS value order module is also for being stored in ramsort.xml file by obtained RSS value, SAX is adopted to resolve ramsort.xml file again, RSS value is stored in java container Map, and the RSS value in Map is sorted from high to low.
8. the collating unit of the desktop icons according to claim 5 or 6 or 7, is characterized in that,
Described application and described desktop are application in Android system mobile phone and desktop.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410613812.3A CN104360804A (en) | 2014-11-03 | 2014-11-03 | Arranging method and device for desktop icons |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410613812.3A CN104360804A (en) | 2014-11-03 | 2014-11-03 | Arranging method and device for desktop icons |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104360804A true CN104360804A (en) | 2015-02-18 |
Family
ID=52528068
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410613812.3A Pending CN104360804A (en) | 2014-11-03 | 2014-11-03 | Arranging method and device for desktop icons |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104360804A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108037868A (en) * | 2017-12-27 | 2018-05-15 | 努比亚技术有限公司 | Application icon aligning method, mobile terminal and computer-readable recording medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102866831A (en) * | 2012-08-30 | 2013-01-09 | 广东欧珀移动通信有限公司 | Method and device and mobile terminal for adjusting desktop icons |
CN103076971A (en) * | 2012-12-29 | 2013-05-01 | 北京风灵创景科技有限公司 | Process management method for mobile terminal and mobile terminal |
CN103336654A (en) * | 2013-03-27 | 2013-10-02 | 广东欧珀移动通信有限公司 | Icon adjusting method and icon adjusting device |
US20140101583A1 (en) * | 2012-10-08 | 2014-04-10 | Samsung Electronics Co., Ltd. | Mobile terminals and methods of operating the same |
CN103927088A (en) * | 2014-04-30 | 2014-07-16 | 深圳市中兴移动通信有限公司 | Method for sorting desktop icons of mobile terminal and mobile terminal |
CN104063136A (en) * | 2013-07-02 | 2014-09-24 | 姜洪明 | Mobile operation system |
CN104077208A (en) * | 2014-06-23 | 2014-10-01 | 小米科技有限责任公司 | Application program icon display method and apparatus |
-
2014
- 2014-11-03 CN CN201410613812.3A patent/CN104360804A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102866831A (en) * | 2012-08-30 | 2013-01-09 | 广东欧珀移动通信有限公司 | Method and device and mobile terminal for adjusting desktop icons |
US20140101583A1 (en) * | 2012-10-08 | 2014-04-10 | Samsung Electronics Co., Ltd. | Mobile terminals and methods of operating the same |
CN103076971A (en) * | 2012-12-29 | 2013-05-01 | 北京风灵创景科技有限公司 | Process management method for mobile terminal and mobile terminal |
CN103336654A (en) * | 2013-03-27 | 2013-10-02 | 广东欧珀移动通信有限公司 | Icon adjusting method and icon adjusting device |
CN104063136A (en) * | 2013-07-02 | 2014-09-24 | 姜洪明 | Mobile operation system |
CN103927088A (en) * | 2014-04-30 | 2014-07-16 | 深圳市中兴移动通信有限公司 | Method for sorting desktop icons of mobile terminal and mobile terminal |
CN104077208A (en) * | 2014-06-23 | 2014-10-01 | 小米科技有限责任公司 | Application program icon display method and apparatus |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108037868A (en) * | 2017-12-27 | 2018-05-15 | 努比亚技术有限公司 | Application icon aligning method, mobile terminal and computer-readable recording medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR102199786B1 (en) | Information Obtaining Method and Apparatus | |
EP3262529A1 (en) | Topically aware word suggestions | |
EP3518101A1 (en) | Electronic device and method for using captured image in electronic device | |
CN102929980B (en) | Folder cleaning method and device | |
CN102799610A (en) | Method and system for collecting network information | |
CN103440243A (en) | Teaching resource recommendation method and device thereof | |
CN104281252A (en) | Information processing method and electronic equipment | |
CN103455640A (en) | Method and device for displaying file management interfaces | |
CN106293600A (en) | A kind of sound control method and system | |
US9477664B2 (en) | Method and apparatus for querying media based on media characteristics | |
CN102622384A (en) | File management method | |
CN105183291A (en) | Method and system for extracting information in display interface | |
CN104980414A (en) | File transmission method and terminal | |
CN107111421A (en) | Electronic equipment and method for controlling display | |
CN106371706A (en) | Method and device for site selection of application shortcuts | |
CN103218452A (en) | Method and device for recognizing valid interlinkage in Hub webpage | |
CN103377225A (en) | Method and device for building knowledge base system | |
CN104166545A (en) | Webpage resource sniffing method and device | |
CN107506407B (en) | File classification and calling method and device | |
CN104360804A (en) | Arranging method and device for desktop icons | |
CN106599179B (en) | Man-machine conversation control method and device integrating knowledge graph and memory graph | |
CN104808995A (en) | Method and device for storing application contents over applications | |
CN104537082A (en) | File sorting display method and device | |
CN104753891A (en) | XML (Extensive Markup Language) message analyzing method and device | |
CN106339381B (en) | Information processing 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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20150218 |
|
RJ01 | Rejection of invention patent application after publication |