CN101281465B - Method for managing picture mark of mobile terminal - Google Patents

Method for managing picture mark of mobile terminal Download PDF

Info

Publication number
CN101281465B
CN101281465B CN200810100128XA CN200810100128A CN101281465B CN 101281465 B CN101281465 B CN 101281465B CN 200810100128X A CN200810100128X A CN 200810100128XA CN 200810100128 A CN200810100128 A CN 200810100128A CN 101281465 B CN101281465 B CN 101281465B
Authority
CN
China
Prior art keywords
icon
factory
iconic element
title
size
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN200810100128XA
Other languages
Chinese (zh)
Other versions
CN101281465A (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN200810100128XA priority Critical patent/CN101281465B/en
Publication of CN101281465A publication Critical patent/CN101281465A/en
Application granted granted Critical
Publication of CN101281465B publication Critical patent/CN101281465B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides an icon managing method for mobile terminal users. A icon file is converted to icon elements, the icon pixel data of the icon elements is resident in memory when a program is running, the icon elements are synthesized into icon sets, and the icon sets are collected to a icon factory, when a specific icon needs to be displayed, target icon elements in the icon sets in the icon factory are searched out according to the name and size of the icon, the icon pixel data of the target icon elements is read out from memory. By using the method, icons can be read and displayed quickly. The method is flexible and easy to manage, as well as provides better experience for users.

Description

A kind of management of icons method of portable terminal
Technical field
The present invention relates to the management of icons method, relate in particular to a kind of management of icons method of portable terminal.
Background technology
Along with the development of portable terminal is more and more rapider, use more and more widely, people are also more and more higher to the requirement of icon display on the portable terminal, and the one, to the requirement of display speed, the 2nd, to the requirement of way to manage flexibly with enrich the requirement at magnificent interface more.At present, be that icon is placed in the file system, the programming personnel can be parameter with the icon path in the picture handling function when needs use, and system finds icon and reads icon by the icon path from file system like this, decodes then and shows.Because the hardware handles ability of portable terminal is very limited, if all kinds of icons commonly used are placed in the file system, in needs, reload icon, frequent like this file system read operation, bring a lot of burdens to system undoubtedly, reduced the handling property of system.
In addition, though there is the mode of utilizing internal memory to accelerate the display speed of icon, but there is not suitable way to manage to come icon is managed flexibly yet.Such as having under the situation of more icon, how to search fast and display icon; How providing beyond the icon commonly used, how the user can add icon and the management of oneself neatly; How the icon of different series is provided on different themes.All can't address these problems fast and effectively at present, need to improve.
Summary of the invention
In view of this, fundamental purpose of the present invention is to provide a kind of management of icons method of portable terminal, can read fast and display icon, uses flexibly, is easy to management, brings better experience to the user.
For achieving the above object, technical scheme of the present invention is achieved in that
The invention provides a kind of management of icons method of portable terminal, this method may further comprise the steps:
A, icon file is converted to iconic element, during the program run attitude with the icon pixel data memory-resident of described iconic element;
B, with the synthetic icon set of iconic element, be icon factory with the icon clustered aggregates;
C, according to the title of the icon of appointment and the target icon element in the icon set in the size search icon factory, from internal memory, read the icon pixel data of described target icon element and show.
Preferably, described iconic element comprises at least: iconic element title, size, icon pixel data.
Preferably, described icon pixel data is the image data that the GUI system can discern.
Preferably, described icon set is synthetic by the iconic element of the different size that same icon generates, and comprises at least: icon name set, chart element tabulation.
Preferably, described icon factory is that the icon set under the same theme gathers together, and comprises at least: icon factory title, icon hash table.
Preferably, further comprise after the described step b, with the icon factory of current use as default icon factory.
Preferably, further comprise after the described step b: it is icon factory chained list that icon factory is assembled.
Preferably, the iconic element title is identical varies in size for each in the set of described icon.
Preferably, the title of the described iconic element of the identical purpose of realization was identical in the icon of same names was gathered in the different icons factory.
Preferably, the described iconic element of same names is big or small identical or different.
Preferably, described step c comprises: gather according to the title search icon of appointment from default icon factory or the Rigen of specified icons factory, then according to the size of appointment ferret out iconic element in described icon set, from internal memory, read the icon pixel data of described target icon element then, show by drafting.
The management of icons method of portable terminal of the present invention, icon file is converted to the synthetic icon set of iconic element and assembles is icon factory, during the program run attitude with icon pixel data memory-resident, make the programming personnel when using icon, need only specified icons title and size, can from internal memory, read fast and display icon, use flexibly, be easy to management, also improved system performance, enriched user interface and strengthened sense of experience of users and be subjected to.
Description of drawings
Fig. 1 is a management of icons process flow diagram of the present invention;
Fig. 2 is management of icons mode figure;
Fig. 3 is the icon display process flow diagram.
Embodiment
The invention provides a kind of management of icons method of portable terminal, the basic thought of this method is: the aggregate technology of utilizing icon, with icon transformation is iconic element, by the synthetic icon set of iconic element, and be icon factory by the icon clustered aggregates, when being combined realization switching theme with theme, icon factory can switch fast, and utilize the fireballing characteristic of memory read-write, when the program run attitude with icon pixel data memory-resident, be convenient to the quick demonstration of icon, the programming personnel only needs the title of specified icons and size to get final product quick display icon.
The realization flow of the management of icons method of a kind of portable terminal of the present invention may further comprise the steps as shown in Figure 1:
Step 101: utilize the icon file under the same theme crossover tool to be converted to the iconic element that title is identical, vary in size, each iconic element will comprise following information at least: iconic element title, size, icon pixel data etc.The icon pixel data here can be the image data that the GUI system can discern, and it is resided in the internal memory, to improve access speed.Different themes can be a series of icons that embody different-style.
Wherein crossover tool can be the resource crossover tool of MiniGui the inside, the crossover tool of UC Gui the inside, the crossover tool of GTK+ the inside.
Step 102: the iconic element of the different size that same icon is generated is combined into an icon set, and the title of each iconic element is identical, and the number of iconic element can change according to system's needs in the icon set.Icon set can carry out iconic element insertion, operation such as delete, search.Each icon sets is bonded to less will comprise following information: icon name set, iconic element tabulation, the title of icon set is identical with the title of its all iconic elements that comprise.
Step 103: the icon under same theme set is gathered together, generates an icon factory, icon factory is the set of icon set, and set manages to icon for it, operation such as can carry out insertion that icon gathers, delete, search.Icon factory will comprise following information at least: icon factory title, icon hash table.Generally having multiple theme style in a system exists, can allow the icon with a kind of style be kept in the icon factory, icon factory title can be corresponding with subject name, theme and icon factory are connected, and the icon factory that is being used is exactly the acquiescence factory of system.
When the programming personnel added new iconic element in icon factory, system can rebulid an icon set according to the title of iconic element, and corresponding, iconic element can reside in the internal memory, convenient follow-up use.
Step 104: generate a plurality of icon factory according to above step, icon factory is gathered together generates icon factory chained list, icon factory chained list can carry out icon factory insertion, operation such as delete, search.The title of the iconic element of the identical purpose of realization is identical in the icon set of the same names in each the icon factory under the icon factory chained list, and size can be identical, also can be different.Usually icon factory and chained list thereof exist in the GUI storehouse, can provide several unified icons for writing of application program like this.In order to meet individual requirements, the third party application personnel of writing can obtain icon factory chained list, add new icon factory and use it, the adding of so very convenient third party's icon theme.
Fig. 2 is management of icons mode figure of the present invention, below in conjunction with Fig. 2 the present invention is made a more detailed description.
Present embodiment has been enumerated 3 themes, all corresponding 1 the icon factory of each theme, and icon factory chained list formed in promptly a plurality of themes.5 icon set are all arranged in each icon factory as shown in Figure 2, and all there are 2 iconic elements each icon set the inside.The title of the icon set that each icon factory the inside effect is identical all is identical, referring to Fig. 2, for example, the icon set 1 of the icon set 1 of icon factory 1 the inside, the 2 the inside icon set 1 of icon factory and icon factory 3 the insides all is the icon display that is used to realize phone directory, therefore, the title of each icon set all is identical, and it also all is identical that the icon set 2 of similar three icon factories the inside, icon set 3, icon set 4, icon are gathered 5 titles.
The size of each iconic element in each icon set of icon factory the inside all is different, and the corresponding icon element size of the corresponding icon set the inside in the different icons factory can be identical, also can be different.Referring to Fig. 2, chart factory 1 the inside, the size that icon is gathered 2 iconic elements of 1 the inside is different, and the size that icon is gathered 2 iconic elements in 2 the insides is different, and other the icon set of icon factory 1 the inside is similar; The size that the icon of iconic element 1 that 1 the inside is gathered in icon factory 1 the inside, icon and icon factory 2 the insides is gathered the iconic element 1 of 1 the inside is identical, and it is similar that icon is gathered the iconic element 2 of 1 the inside; The size that the icon of iconic element 1 that 2 the insides are gathered in icon factory 1 the inside, icon and icon factory 2 the insides is gathered the iconic element 1 of 2 the insides is identical, and it is similar that icon is gathered the iconic element 2 of 2 the insides; Icon factory 3 is similar.
In order to reach good display, make the icon performance of diverse location in the portable terminal different, for example, also corresponding iconic element in the corresponding icon set of different icons factory the inside can be made as different size in order to make the icon display difference in the phone directory under the different themes.Such as icon factory 1 the inside, the iconic element 1 that icon is gathered 1 the inside is used for showing the icon of phone directory, the iconic element 1 that the icon of icon factory 2 the insides is gathered 1 the inside is used for showing the icon of phone directory, the size of these two iconic elements can be made as different size, it is similar that icon in the different icons factory is gathered the iconic element 2 of 1 the inside, other icon set are similar, and other icon factories are similar.
Fig. 3 is the icon display process flow diagram of the management of icons method of a kind of portable terminal according to the present invention, may further comprise the steps:
Step 301: the programming personnel specifies the title and the size of the icon that will show, system gathers according to title search icon from default icon factory or specified icons factory.
Step 302: ferret out iconic element in the icon set that in step 301, searches according to the size of appointment.
Wherein, specifically searching for iconic element then from the set of icon factory search icon is the search of carrying out according to data structure, as binary chop etc.But it is preferable, under the more situation of iconic element, can adopt the algorithm of hash table when searching for a certain target icon element, at first utilize the hash algorithm to find the icon set at target icon element place according to title, the size according to appointment finds the target icon element in the icon set then.
Step 303: the icon pixel data that from internal memory, obtains the target icon element.
Step 304:GUI draws according to the icon pixel data of target icon, and icon display is come out.
Here, because each theme has all been set up contact with an icon factory, when mobile phone users switches theme, the icon factory that the programming personnel needs only new theme will be set to default icon factory.Because switch to new theme, then the icon factory of new theme begins to be used.Because icon is to position according to title and size, so as long as corresponding with the icon in the old theme in the new theme, new naturally icon can replace old icon display to come out.
The above is preferred embodiment of the present invention only, is not to be used for limiting protection scope of the present invention.

Claims (11)

1. the management of icons method of a portable terminal is characterized in that, this method may further comprise the steps:
A, icon file is converted to iconic element, during the program run attitude with the icon pixel data memory-resident of described iconic element;
B, with the synthetic icon set of iconic element, be icon factory with the icon clustered aggregates;
C, according to the title of the icon of appointment and the target icon element in the icon set in the size search icon factory, from internal memory, read the icon pixel data of described target icon element and show.
2. method according to claim 1 is characterized in that, described iconic element comprises at least: iconic element title, size, icon pixel data.
3. method according to claim 2 is characterized in that, described icon pixel data is the image data that the GUI system can discern.
4. method according to claim 1 is characterized in that, described icon set is synthetic by the iconic element of the different size that same icon generates, and comprises at least: icon name set, chart element tabulation.
5. method according to claim 1 is characterized in that, described icon factory is that the icon set under the same theme gathers together, and comprises at least: icon factory title, icon hash table.
6. method according to claim 1 is characterized in that, further comprise after the step b, with the icon factory of current use as default icon factory.
7. method according to claim 1 is characterized in that, further comprises after the step b: it is icon factory chained list that icon factory is assembled.
8. method according to claim 1 is characterized in that, the iconic element title is identical varies in size for each in the set of described icon.
9. method according to claim 1 is characterized in that, the title of the described iconic element of the identical purpose of realization was identical in the icon of same names was gathered in the different icons factory.
10. method according to claim 1 is characterized in that, the described iconic element of same names big or small identical or different.
11. method according to claim 1, it is characterized in that, described step c comprises: gather according to the title search icon of appointment from default icon factory or the Rigen of specified icons factory, then according to the size of appointment ferret out iconic element in described icon set, from internal memory, read the icon pixel data of described target icon element then, show by drafting.
CN200810100128XA 2008-05-26 2008-05-26 Method for managing picture mark of mobile terminal Expired - Fee Related CN101281465B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200810100128XA CN101281465B (en) 2008-05-26 2008-05-26 Method for managing picture mark of mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200810100128XA CN101281465B (en) 2008-05-26 2008-05-26 Method for managing picture mark of mobile terminal

Publications (2)

Publication Number Publication Date
CN101281465A CN101281465A (en) 2008-10-08
CN101281465B true CN101281465B (en) 2011-09-21

Family

ID=40013952

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200810100128XA Expired - Fee Related CN101281465B (en) 2008-05-26 2008-05-26 Method for managing picture mark of mobile terminal

Country Status (1)

Country Link
CN (1) CN101281465B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102087600B (en) * 2011-02-28 2015-08-05 华为终端有限公司 Autonomous interface planning method and device
CN103942037A (en) * 2013-01-17 2014-07-23 阿里巴巴集团控股有限公司 Method and device for theme replacement of mobile device
CN106708348B (en) * 2015-07-16 2020-04-14 深圳市奇辉电气有限公司 Dynamic color icon display method and device
CN105511888A (en) * 2015-12-31 2016-04-20 魅族科技(中国)有限公司 Method and terminal for presenting file icon
CN106528161B (en) * 2016-11-18 2020-03-13 广州爱九游信息技术有限公司 Terminal device, page display processing device and method
CN108845857A (en) * 2018-06-13 2018-11-20 郑州云海信息技术有限公司 A kind of icon management method and device based on cloud platform

Also Published As

Publication number Publication date
CN101281465A (en) 2008-10-08

Similar Documents

Publication Publication Date Title
US10860179B2 (en) Aggregated, interactive communication timeline
CN101281465B (en) Method for managing picture mark of mobile terminal
US20090299990A1 (en) Method, apparatus and computer program product for providing correlations between information from heterogenous sources
KR20170091142A (en) Web content tagging and filtering
EP2817738B1 (en) Predictive service access
CN102841682A (en) Terminal and gesture manipulation method
JP2014533392A (en) Dynamic content feed filtering
WO2012022832A1 (en) Method and apparatus for browsing content files
CN101916164A (en) Mobile terminal and file browsing method implemented by same
CN103019770A (en) Application program quick launch management system and method
EP2770761B1 (en) Communication device and method for profiling and presentation of message threads
CN101963975A (en) System and method for quickly searching application program of mobile terminal
CN103442299B (en) A kind of display methods for playing record and electronic equipment
CN103517149A (en) Homepage design method of smart television based on android platform
CN102348135A (en) Method for customizing own application lists for users based on intelligent television and intelligent television
CN110019024A (en) A kind of directory method, system and electronic equipment and storage medium
CN105786829A (en) Tree-form data structure display method and device
CN104615770A (en) Recommendation method and recommendation device for data of bookmark of mobile terminal
US20120124163A1 (en) Recursive Navigation in Mobile CRM
CN105120392A (en) Method of creating sound box grouping and mobile terminal
CN104572981A (en) Web page caching method and mobile terminal device
CN106293356A (en) A kind of desktop layouts is changed planes method and system
CN103885948B (en) Information displaying method and device
KR101315800B1 (en) Management Method of Tag Based Personal Information in the Portable Information Terminal
CN104469518A (en) Access method for audio and video files and electronic 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
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20110921

Termination date: 20160526