The icon replacing method of a kind of application program installation kit and deviceTechnical field
The present embodiments relate to Digital data processing technical field, be specifically related to a kind of application program peaceThe icon replacing method of dress bag and device.
Background technology
Application program installation kit, namely software installation kit, all files needed for installing including software,Run installation kit can be discharged on hard disk by All Files, complete edit the registry, amendment system setsPut, create the work such as shortcut.During accordingly, it would be desirable to install certain software, the most first need to download to be somebody's turn to doThe installation kit of software, then clicks on operation installation kit to complete the installation of software.
Along with the development of mobile communication and improving constantly of people's living standard, various intelligent mobile terminalsUse such as smart mobile phone is more and more universal, and along with intelligent mobile terminal performance from strength to strengthUniversal with network, the application for intelligent mobile terminal exploitation gets more and more, user it is frequently necessary to fromThe various application softwaries of online download are arranged in intelligent mobile terminal.Inventor is realizing the process of inventionMiddle discovery, intelligent mobile terminal, when downloading installation kit, can't show the icon of software itself sometimes,But the icon of display system acquiescence, cause the icon of each installation kit to be just as.If preservedInstallation kit more time, what software is difficult to quickly distinguish each installation kit is respectively.
Summary of the invention
Therefore, the embodiment of the present invention to solve the technical problem that and to be that existing intelligent mobile terminal is being downloadedDuring application program installation kit, the icon of installation kit is entirely the icon of system default, causes user to be difficult toQuickly distinguish.
To this end, embodiments provide following technical scheme:
The icon replacing method of a kind of application program installation kit, comprises the steps: to obtain application programThe application information of installation kit;Corresponding soft of application program installation kit is obtained according to application informationPart icon;The default icon of application program installation kit is replaced with software icon.
Optionally, the step of software icon corresponding to application program installation kit is obtained according to application informationBefore Zhou, also include: obtain the software icon that each application program installation kit is corresponding;Set up software figureMark storehouse.
Optionally, the step of software icon corresponding to application program installation kit is obtained according to application informationSuddenly include: judge whether software icon storehouse exists the software icon corresponding with application program installation kit;If it is not, then pass through the software icon that Network Capture application program installation kit is corresponding.
Optionally, the step of software icon corresponding to application program installation kit is obtained according to application informationSuddenly include: judge whether software icon storehouse exists the software icon corresponding with application program installation kit;If it is not, then the application program installation kit providing current download does not has the prompting of the software icon of correspondence;Receive user and change the instruction of software icon;The icon of application program installation kit replaces with user selectSoftware icon.
Optionally, after the default icon of application program installation kit is replaced with the step of software icon,Also include: delete the default icon of application program installation kit.
A kind of icon alternative of application program installation kit, including:
Information acquisition unit, for obtaining the application information of application program installation kit;Corresponding softwareIcon acquiring unit, for obtaining, according to application information, the software figure that application program installation kit is correspondingMark;Replacement unit, for replacing with software icon by the default icon of application program installation kit.
Optionally, this device also includes: software icon pre-acquiring unit, is used for obtaining each application journeyThe software icon that sequence installation kit is corresponding;Icon library sets up unit, is used for setting up software icon storehouse.
Optionally, corresponding software icon acquiring unit includes: the first judgment sub-unit, is used for judging softWhether part icon library exists the software icon corresponding with application program installation kit;Network Capture subelement,If software icon the most corresponding with application program installation kit in software icon storehouse, then for by netNetwork obtains the software icon that application program installation kit is corresponding.
Optionally, corresponding software icon acquiring unit includes: the second judgment sub-unit, is used for judging softWhether part icon library exists the software icon corresponding with application program installation kit;Prompting subelement, asSoftware icon storehouse does not really exist the software icon corresponding with application program installation kit, is then used for being given and works asThe application program installation kit of front download does not has the prompting of the software icon of correspondence;It is single that user instruction obtains sonUnit, changes the instruction of software icon for receiving user;Icon replaces subelement, for applying journeyThe icon of sequence installation kit replaces with the software icon that user selects.
Optionally, this device also includes: delete unit, for deleting the acquiescence of application program installation kitIcon.
Technical solution of the present invention, has the advantage that
The icon replacing method of the application program installation kit that the embodiment of the present invention provides and device, userWhen having downloaded application program installation kit, parse immediately in its installation kit information (packageinfo)Application information (appinfo), and identify the installation of this application program according to this application informationWhich kind of software bag is.Then, more automatically by the icon of this application program installation kit replace with correspondenceSoftware icon.So that it is any software that user can tell this application program installation kit intuitively.
Accompanying drawing explanation
In order to be illustrated more clearly that the specific embodiment of the invention or technical scheme of the prior art, underThe accompanying drawing used required in detailed description of the invention or description of the prior art will be briefly described by face,It should be evident that the accompanying drawing in describing below is some embodiments of the present invention, general for this areaFrom the point of view of logical technical staff, on the premise of not paying creative work, it is also possible to obtain according to these accompanying drawingsObtain other accompanying drawing.
Fig. 1 is the flow chart of the icon replacing method of application program installation kit in the embodiment of the present invention 1;
Fig. 2 is the theory diagram of the icon alternative of application program installation kit in the embodiment of the present invention 2.
Detailed description of the invention
Below in conjunction with accompanying drawing, technical scheme is clearly and completely described, it is clear thatDescribed embodiment is a part of embodiment of the present invention rather than whole embodiments.Based on thisEmbodiment in bright, those of ordinary skill in the art are obtained under not making creative work premiseEvery other embodiment, broadly fall into the scope of protection of the invention.
Embodiment 1
As it is shown in figure 1, the present embodiment provides the icon replacing method of a kind of application program installation kit, bagInclude following steps:
S1: obtain the application information of application program installation kit;
S2: obtain the software icon that this application program installation kit is corresponding according to application information;
S3: the default icon of this application program installation kit is replaced with this software icon.
The icon replacing method of the application program installation kit that the present embodiment provides, has downloaded application userDuring program installation kit, parse the application program letter in its installation kit information (packageinfo) immediatelyBreath (appinfo), and identify which kind of this application program installation kit is according to this application informationSoftware.Then, more automatically by the icon of this application program installation kit replace with the software icon of correspondence.So that it is any software that user can tell this application program installation kit intuitively.
As specific embodiment, before above-mentioned steps S2, i.e. obtain according to application informationBefore the step of the software icon that application program installation kit is corresponding, also include:
First, the software icon that each application program installation kit is corresponding is obtained;
Then, software icon storehouse is set up.
The icon replacing method of the application program installation kit that the present embodiment provides, needs system to pre-buildComprising the icon library of various software icon, the icon in this software icon storehouse can be according to user onceOr the software acquisition installed, it is also possible to it is that user adds voluntarily.Set up software icon storehouseThe software icon that system can be facilitated to be more rapidly found just-downloaded application program installation kit corresponding is gone forward side by sideRow is replaced.In other implementations, this software icon storehouse is stored on cloud server,And safeguarded by the application shop provider of intelligent mobile terminal.
As optional embodiment, above-mentioned steps S2, i.e. obtain application journey according to application informationThe step of the software icon that sequence installation kit is corresponding includes:
Judge whether software icon storehouse exists the software icon corresponding with application program installation kit;
If it is not, then pass through the software icon that this application program installation kit of Network Capture is corresponding.
For the software icon not having in the software icon storehouse that pre-builds, the method that the present embodiment providesAutomatically by this software icon of network removal search, and can automatically download replacement.But also can be by this softwareIcon is added to software icon storehouse.Thus ensure that the application program installation kit downloaded can replace with correspondenceSoftware icon, and software icon storehouse is carried out supplement so that it is more perfect.
As other optional embodiments, above-mentioned steps S2, i.e. obtaining according to application information shouldInclude by the step of software icon corresponding to program installation kit:
Judge whether software icon storehouse exists the software icon corresponding with application program installation kit;
If it is not, then the application program installation kit providing current download does not has carrying of the software icon of correspondenceShow;
Receive user and change the instruction of software icon;
The icon of application program installation kit is replaced with the software icon that user selects.
As other detailed description of the invention, the icon replacing method of this application program installation kit is at softwareWhen icon library does not has the software icon the most corresponding with application program installation kit, then provide phase at display interfaceThe prompting answered, and ask the user whether to need Custom Icons, need self-defining image obtaining userAfter target instruction, then obtain the software icon that user selects, and by the application program installation kit of downloadDefault icon replaces with the software icon that user selects.Certainly, user can also select not replace softwareIcon directly uses default icon.The method cannot obtain the software figure that application program installation kit is correspondingTimestamp, software icon, and the icon replaced are replaced or do not replaced to the wish respecting fully clientSelected voluntarily by user.Thus facilitating user that the application program installation kit downloaded is carried out identification directly perceivedWhile, also improve Consumer's Experience.
As further alternative embodiment, after above-mentioned steps S3, will application program installation kitDefault icon replace with correspondence software icon step after, also include:
Delete the default icon of application program installation kit.
In the method that the present embodiment provides, if the default icon being replaced still stays intelligent mobile eventuallyEnd will take memory space, cause the waste of unnecessary memory space.And for literary composition uselessPart, user naturally also wishes to be automatically deleted.
Embodiment 2
As in figure 2 it is shown, originally execute example to provide the icon alternative of a kind of application program installation kit, including:
Information acquisition unit U1, for obtaining the application information of application program installation kit;
Corresponding software icon acquiring unit U2, installs for obtaining application program according to application informationThe software icon that bag is corresponding;
Replacement unit U3, for replacing with this software icon by the default icon of application program installation kit.
The icon alternative of the application program installation kit that the present embodiment provides, has downloaded application userDuring program installation kit, parse the application program letter in its installation kit information (packageinfo) immediatelyBreath (appinfo), and identify which kind of this application program installation kit is according to this application informationSoftware.Then, more automatically by the icon of this application program installation kit replace with the software icon of correspondence.So that it is any software that user can tell this application program installation kit intuitively.
As specific embodiment, this device also includes:
Software icon pre-acquiring unit, for obtaining the software icon that each application program installation kit is corresponding;
Icon library sets up unit, is used for setting up software icon storehouse.
The icon alternative of the application program installation kit that the present embodiment provides, needs pre-build and compriseThe icon library of various software icon, the icon in this software icon storehouse can be according to user once orSoftware through installing obtains, it is also possible to be that user adds voluntarily.Set up software icon storehouse permissibleSystem is facilitated to be more rapidly found the software icon of correspondence and be replaced.
As optional embodiment, corresponding software icon acquiring unit U2 includes:
First judgment sub-unit, is used for judging whether exist in software icon storehouse and application program installation kitCorresponding software icon;
Network Capture subelement, if the most not corresponding with application program installation kit soft in software icon storehousePart icon, then for the software icon corresponding by Network Capture application program installation kit.
For the software icon not having in the software icon storehouse that pre-builds, the device that the present embodiment providesAutomatically by this software icon of network removal search, and can automatically download replacement.But also can be by this softwareIcon is added to software icon storehouse.Thus ensure that the application program installation kit downloaded can replace with correspondenceSoftware icon, and software icon storehouse is carried out supplement so that it is more perfect.
As other optional embodiments, corresponding software icon acquiring unit U2 includes:
Second judgment sub-unit, is used for judging whether exist in software icon storehouse and application program installation kitCorresponding software icon;
, if there is not the software corresponding with application program installation kit in software icon storehouse in prompting subelementIcon, then for providing the prompting that the application program installation kit of current download does not has the software icon of correspondence;
User instruction obtains subelement, changes the instruction of software icon for receiving user;
Icon replaces subelement, for the icon of application program installation kit replaces with the soft of user's selectionPart icon.
As other detailed description of the invention, the icon alternative of this application program installation kit is at softwareWhen icon library does not has the software icon the most corresponding with application program installation kit, then provide phase at display interfaceThe prompting answered, and ask the user whether to need Custom Icons, need self-defining image obtaining userAfter target instruction, then obtain the software icon that user selects, and by the application program installation kit of downloadDefault icon replaces with the software icon that user selects.Certainly, user can also select not replace softwareIcon directly uses default icon.This device cannot obtain the software figure that application program installation kit is correspondingTimestamp, software icon, and the icon replaced are replaced or do not replaced to the wish respecting fully clientSelected voluntarily by user.Thus facilitating user that the application program installation kit downloaded is carried out identification directly perceivedWhile, also improve Consumer's Experience.
As further alternative embodiment, this device also includes:
Delete unit, for deleting the default icon of application program installation kit.
In the device that the present embodiment provides, if the default icon being replaced still stays intelligent mobile eventuallyEnd will take memory space, cause the waste of unnecessary memory space.And for literary composition uselessPart, user naturally also wishes to be automatically deleted.
Obviously, above-described embodiment is only for clearly demonstrating example, and not to embodiment partyThe restriction of formula.For those of ordinary skill in the field, the most also may be usedTo make other changes in different forms.Here without also all of embodiment being givenWith exhaustive.And the obvious change thus extended out or variation are still in the guarantor of the inventionProtect among scope.