CN104199704A - Application program installation package clearing method and device - Google Patents

Application program installation package clearing method and device Download PDF

Info

Publication number
CN104199704A
CN104199704A CN201410459006.5A CN201410459006A CN104199704A CN 104199704 A CN104199704 A CN 104199704A CN 201410459006 A CN201410459006 A CN 201410459006A CN 104199704 A CN104199704 A CN 104199704A
Authority
CN
China
Prior art keywords
application program
installation kit
program installation
mobile terminal
descriptor
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
Application number
CN201410459006.5A
Other languages
Chinese (zh)
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.)
Beijing Kingsoft Internet Security Software Co Ltd
Original Assignee
Beijing Kingsoft Internet Security Software 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 Beijing Kingsoft Internet Security Software Co Ltd filed Critical Beijing Kingsoft Internet Security Software Co Ltd
Priority to CN201410459006.5A priority Critical patent/CN104199704A/en
Publication of CN104199704A publication Critical patent/CN104199704A/en
Pending legal-status Critical Current

Links

Abstract

The embodiment of the invention discloses a method and a device for clearing an application program installation package, which are applied to mobile terminal equipment, wherein the method comprises the following steps: determining an application program installation package in the mobile terminal equipment; extracting the description information of the determined application program installation package; judging whether the application program corresponding to the obtained application program installation package is installed in the mobile terminal equipment or not according to the extracted description information; and if so, deleting the application program installation package. By applying the embodiment of the invention, the user does not need to manually check all files in the mobile terminal equipment, judge which file is the application program installation package, automatically detect and judge the application program installation package corresponding to the installed application program, and delete the application program installation package corresponding to the installed application program, so that the efficiency of removing the application program installation package is improved, and the occurrence of the situation of mistakenly deleting the application program installation package is avoided.

Description

A kind of application program installation kit sweep-out method and device
Technical field
The present invention relates to mobile terminal device technical field, particularly a kind of application program installation kit sweep-out method and device.
Background technology
Mobile applications, refer to can mobile terminal device operation and the software of realizing some appellative function is provided to user, for example: mobile phone version antivirus software, mobile phone version chat software etc.
Along with the fast development of mobile terminal device technology, the application program that is applied to mobile terminal device is also more and more.User is in the process of mobile terminal device set up applications, application program installation kit is downloaded in local mobile terminal equipment and preserves, generally, after application program has been mounted, application program installation kit has just lost its due effect, preserve for a long time the application program installation kit that set up applications is corresponding, just caused the waste of storage space.
A kind of existing method of clearing up application program installation kit is: the artificial application program installation kit in mobile terminal device of user is searched, and according to user's selection, the application program installation kit finding is deleted to processing.
The method of another kind of cleaning application program installation kit is: user utilizes file to remove software, detect the application program installation kit in mobile terminal device, application program installation kit to be detected and show to user, according to user's selection application programs installation kit, delete processing.
Applying above-mentioned artificial mode application programs installation kit clears up, just need user to check the All Files in mobile terminal device, judge which file is application program installation kit, operating process is loaded down with trivial details, efficiency is lower, and deletes according to user's selection application programs installation kit, easily causes the mistake of application program installation kit to delete, application program corresponding to set up applications installation kit not in mobile terminal device for example, but this application program installation kit is deleted.
Application file is removed software application programs installation kit and is cleared up, although can detect automatically the application program installation kit in mobile terminal device, but not distinguishing the application program which application program installation kit is corresponding installs, the application program which application program installation kit is corresponding is not installed, also need to delete according to user's selection application programs installation kit, also easily cause the mistake of application program installation kit to delete.
Summary of the invention
The object of the embodiment of the present invention is to provide a kind of application program installation kit sweep-out method and device, to improve the efficiency of removing application program installation kit, avoids application program installation kit to delete the appearance of situation by mistake.
For achieving the above object, the embodiment of the invention discloses a kind of application program installation kit sweep-out method, be applied to mobile terminal device, comprising:
Determine the application program installation kit in described mobile terminal device;
Extract the descriptor of determined application program installation kit, described descriptor at least comprises the sign of application program installation kit and the version number of application program installation kit;
According to the described descriptor of extracting, judge whether application program corresponding to determined application program installation kit has been installed in described mobile terminal device;
If so, described application program installation kit is carried out to deletion action.
Preferably, the described application program installation kit of determining in described mobile terminal device, comprising:
Whether the extension name that detects each file in described mobile terminal device is identical with the extension name of default application program installation kit, if identical,, by the identical file of extension name of the application program installation kit with default, is defined as application program installation kit.
Preferably, describedly judge in described mobile terminal device whether application program corresponding to determined application program installation kit has been installed, comprising:
Extract the descriptor of mounted application program in described mobile terminal device, described descriptor at least comprises the version number of sign and the application program of application program;
Judge whether the sign of the sign of application program in the descriptor of described application program and the application program installation kit in the descriptor of described application program installation kit is identical and judge the version number of application program in the descriptor of described application program whether identical with the version number of the application program installation kit in the description of described application program installation kit;
In the situation that the sign of application program installation kit in the description of the sign of the application program in the descriptor of described application program and described application program installation kit, the version number of the application program installation kit in the description of the version number of the application program in the descriptor of described application program and described application program installation kit is all identical, represents to have installed in described mobile terminal device application program corresponding to determined application program installation kit.
Preferably, described described application program installation kit is carried out to deletion action, comprising:
To user, show and can delete the information of described application program installation kit, and inquire whether user deletes described application program installation kit;
In the situation that user confirms to delete described application program installation kit, delete described application program installation kit.
Preferably, described described application program installation kit is carried out to deletion action, comprising:
Directly described application program installation kit is deleted from described mobile terminal device.
Preferably, described method also comprises:
In the situation that application program corresponding to determined application program installation kit is not installed in described mobile terminal device, to user, show the information that the application program that described application program installation kit is corresponding is not installed in described mobile terminal device.
Preferably, described method also comprises:
Receive the delete instruction of user to described application program installation kit;
After receiving described delete instruction, to user, show the confirmation of deleting described application program installation kit;
In the situation that user confirms to delete described application program installation kit, delete described application program installation kit.
For achieving the above object, the embodiment of the invention discloses a kind of application program installation kit scavenge unit, be applied to mobile terminal device, comprising: installation kit determination module, descriptor extraction module, judge module, the first removing module,
Described installation kit determination module, for determining the application program installation kit of described mobile terminal device;
Described descriptor extraction module, for extracting the descriptor of the determined application program installation kit of installation kit determination module, described descriptor at least comprises the sign of application program installation kit and the version number of application program installation kit;
Described judge module, for the described descriptor of extracting according to descriptor extraction module, judges whether application program corresponding to determined application program installation kit has been installed in described mobile terminal device;
Described the first removing module, the in the situation that of being, carries out deletion action to described application program installation kit for judgment result is that at judge module.
Preferably, described installation kit determination module, specifically for:
Whether the extension name that detects each file in described mobile terminal device is identical with the extension name of default application program installation kit, if identical,, by the identical file of extension name of the application program installation kit with default, is defined as application program installation kit.
Preferably, described judge module, specifically for:
Extract the descriptor of mounted application program in described mobile terminal device, described descriptor at least comprises the version number of sign and the application program of application program;
Judge whether the sign of the sign of application program in the descriptor of described application program and the application program installation kit in the descriptor of described application program installation kit is identical and judge the version number of application program in the descriptor of described application program whether identical with the version number of the application program installation kit in the description of described application program installation kit;
In the situation that the sign of application program installation kit in the description of the sign of the application program in the descriptor of described application program and described application program installation kit, the version number of the application program installation kit in the description of the version number of the application program in the descriptor of described application program and described application program installation kit is all identical, represents to have installed in described mobile terminal device application program corresponding to determined application program installation kit.
Preferably, described the first removing module, specifically for:
At judge module, judgment result is that be in the situation that, to user, show and can delete the information of described application program installation kit, and inquire whether user deletes described application program installation kit;
In the situation that user confirms to delete described application program installation kit, delete described application program installation kit.
Preferably, described the first removing module, specifically for:
At judge module, judgment result is that be in the situation that, directly described application program installation kit is deleted from described mobile terminal device.
Preferably, described device also comprises: information display module,
Described information display module, for the determination result is NO at judge module in the situation that, shows the information that the application program that described application program installation kit is corresponding is not installed in described mobile terminal device to user.
Preferably, described device also comprises: delete instruction receiver module, confirmation display module and the second removing module,
Described delete instruction receiver module, for receiving the delete instruction of user to described application program installation kit;
Described confirmation display module, for after receiving described delete instruction, shows the confirmation of deleting described application program installation kit to user;
Described the second removing module, for confirm to delete described application program installation kit user in the situation that, deletes described application program installation kit.
As seen from the above technical solutions, the embodiment of the present invention provides a kind of application program installation kit sweep-out method and device, determines the application program installation kit in described mobile terminal device; Extract the descriptor of determined application program installation kit; According to the described descriptor of extracting, judge whether obtained application program corresponding to application program installation kit is installed in described mobile terminal device; If so, described application program installation kit is carried out to deletion action.Without the All Files in mobile terminal device that user is artificial, check, judge which file is application program installation kit, can detect automatically and judge the application program installation kit that set up applications is corresponding, the application program installation kit that set up applications is corresponding is carried out to deletion action, improve the efficiency of removing application program installation kit, avoided application program installation kit to delete the appearance of situation by mistake.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, to the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skills, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
The first schematic flow sheet of the application program installation kit sweep-out method that is applied to mobile terminal device that Fig. 1 provides for the embodiment of the present invention;
The second schematic flow sheet of the application program installation kit sweep-out method that is applied to mobile terminal device that Fig. 2 provides for the embodiment of the present invention;
The third schematic flow sheet of the application program installation kit sweep-out method that is applied to mobile terminal device that Fig. 3 provides for the embodiment of the present invention;
The first structural representation of the application program installation kit scavenge unit that is applied to mobile terminal device that Fig. 4 provides for the embodiment of the present invention;
The second structural representation of the application program installation kit scavenge unit that is applied to mobile terminal device that Fig. 5 provides for the embodiment of the present invention;
The third structural representation of the application program installation kit scavenge unit that is applied to mobile terminal device that Fig. 6 provides for the embodiment of the present invention.
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 clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, rather than whole embodiment.Embodiment based in the present invention, those of ordinary skills, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
It should be noted that, embodiments of the invention are preferably applicable to mobile terminal device, for example, the mobile terminal device of IOS operating system (IOSShi You Apple exploitation handheld equipment operating system), Android operating system (Android system be a kind of freedom based on Linux and the operating system of open source code), Windows Phone operating system (Windows Phone is the Mobile phone operating system of Microsoft's issue), certainly be also applicable to other mobile terminal device, the present invention is not construed as limiting this.
Below by specific embodiment, the present invention is described in detail.
The first schematic flow sheet of the application program installation kit sweep-out method that is applied to mobile terminal device that Fig. 1 provides for the embodiment of the present invention, can comprise:
S101: determine the application program installation kit in described mobile terminal device;
Concrete, whether the extension name that can detect each file in described mobile terminal device is identical with the extension name of default application program installation kit, if identical,, by the identical file of extension name of the application program installation kit with default, be defined as application program installation kit.
Exemplary, the mobile phone that detects Android operating system of take below describes as example.
Generally, the expansion " .apk " by name of the application program installation kit of the mobile phone of Android operating system, whether the extension name of each file in therefore can detection of handset is .apk, if the extension name of file is .apk, this document is defined as to application program installation kit.Suppose, definite application program installation kit is: Kingsoft battery doctor _ com.ijinshan.kbatterydoctor_4111008.apk.
It should be noted that, above-mentionedly take the mobile phone that detects Android operating system and describe as example, only, for the extension name that detects each file in a described mobile terminal device instantiation whether identical with the extension name of default application program installation kit, the present invention is not formed to restriction.
S102: the descriptor of extracting determined application program installation kit;
Described descriptor at least comprises the sign of application program installation kit and the version number of application program installation kit.
Take application program installation kit: Kingsoft battery doctor _ com.ijinshan.kbatterydoctor_4111008.apk describes extracting the descriptor of application program installation kit as example.
Generally, the file designation rule of application program installation kit is: Chinese _ English name _ version number, file name at application program installation kit meets above-mentioned rule, and in the situation of the English name that is designated application program installation kit of application program installation kit, can directly from the file name of application program installation kit, extract the sign of application program installation kit and the version number of application program installation kit, for example: file is by name: the application program installation kit of Kingsoft battery doctor _ com.ijinshan.kbatterydoctor_4111008, extract being designated of Kingsoft battery doctor _ com.ijinshan.kbatterydoctor_4111008.apk: com.ijinshan.kbatterydoctor, version number is: 4111008.
The version number of the sign of application programs installation kit and application program installation kit extracts, can also be by the acquisition of AndroidManifest.xml file in application program installation kit.
For example, in Kingsoft battery doctor _ com.ijinshan.kbatterydoctor_4111008.apk, in AndroidManifest.xml, record is as follows:
name='com.ijinshan.kbatterydoctor'
versionCode='4111008'
versionName='4.11'
From AndroidManifest.xml, extract being designated of Kingsoft battery doctor _ com.ijinshan.kbatterydoctor_4111008.apk: com.ijinshan.kbatterydoctor, version number is: 4111008.
It should be noted that, the present invention does not limit extracting the specific implementation of the descriptor of application program installation kit, and any possible implementation can be applied in the present invention.
S103: the described descriptor according to extracting, judge in described mobile terminal device whether application program corresponding to determined application program installation kit has been installed, if so, carry out S104;
Concrete, can extract the descriptor of mounted application program in described mobile terminal device, described descriptor at least comprises the version number of sign and the application program of application program; Judge whether the sign of the sign of application program in the descriptor of described application program and the application program installation kit in the descriptor of described application program installation kit is identical and judge the version number of application program in the descriptor of described application program whether identical with the version number of the application program installation kit in the description of described application program installation kit; In the situation that the sign of application program installation kit in the description of the sign of the application program in the descriptor of described application program and described application program installation kit, the version number of the application program installation kit in the description of the version number of the application program in the descriptor of described application program and described application program installation kit is all identical, represents to have installed in described mobile terminal device application program corresponding to determined application program installation kit.
The mobile phone of Android operating system of take below describes as example.
Call the PackageManager class that Android operating system provides, applicationInfo.packageName method by PackageManager class obtains in mobile phone the sign of set up applications, by the applicationInfo.codeVersion method in PackageManager class, obtains in mobile phone the version number of set up applications.
Exemplary, suppose, in mobile phone, an application program is only installed, obtain being designated of this application program: com.storm.smart, version number is: 3950.Thereby judge in this mobile phone, do not install and be designated: com.ijinshan.kbatterydoctor, version number is: 4111008 application program corresponding to Kingsoft battery doctor _ com.ijinshan.kbatterydoctor_4111008.apk.
Exemplary, suppose, in mobile phone, an application program is only installed, obtain being designated of this application program: com.ijinshan.kbatterydoctor, version number is: 4102003.Thereby judge in this mobile phone, do not install and be designated: com.ijinshan.kbatterydoctor, version number is: 4111008 application program corresponding to Kingsoft battery doctor _ com.ijinshan.kbatterydoctor_4111008.apk.
Exemplary, suppose, in mobile phone, an application program is only installed, obtain being designated of this application program: com.ijinshan.kbatterydoctor, version number is: 4111008.Thereby judge in this mobile phone, install and be designated: com.ijinshan.kbatterydoctor, version number is: 4111008 application program corresponding to Kingsoft battery doctor _ com.ijinshan.kbatterydoctor_4111008.apk.
It should be noted that, above-mentioned mobile phone of take Android operating system is as example is to judging that in described mobile terminal device, whether application program corresponding to application program installation kit being obtained being installed describes, only for judging, the present invention is not formed to restriction by the instantiation whether application program that obtained application program installation kit is corresponding has been installed in described mobile terminal device.
S104: described application program installation kit is carried out to deletion action.
Concrete, can directly described application program installation kit be deleted from described mobile terminal device, also can show and can delete the information of described application program installation kit to user, and inquire whether user deletes described application program installation kit; In the situation that user confirms to delete described application program installation kit, delete described application program installation kit.
Exemplary, can show that information is to user: " in mobile phone, install and be designated: com.ijinshan.kbatterydoctor, version number is: 4111008 application program corresponding to Kingsoft battery doctor _ com.ijinshan.kbatterydoctor_4111008.apk, Kingsoft battery doctor _ com.ijinshan.kbatterydoctor_4111008.apk can delete, delete? " in the situation that user selects to delete Kingsoft battery doctor _ com.ijinshan.kbatterydoctor_4111008.apk, Kingsoft battery doctor _ com.ijinshan.kbatterydoctor_4111008.apk is deleted.
It should be noted that, the present invention not subtend user shows that the concrete manifestation form of the information that can delete described application program installation kit limits, and any possible form of expression can be applied in the present invention.
The present invention is embodiment illustrated in fig. 1 in application, without the All Files in mobile terminal device that user is artificial, check, judge which file is application program installation kit, can detect automatically and judge the application program installation kit that set up applications is corresponding, the application program installation kit that set up applications is corresponding is carried out to deletion action, improve the efficiency of removing application program installation kit, avoided application program installation kit to delete the appearance of situation by mistake.
Above-described embodiment is only removed and is described application program installation kit corresponding to mobile terminal device set up applications, reckon without in mobile terminal device the situation that the application program that the application program installation kit that obtains is corresponding is not installed, for this kind of situation, the embodiment of the present invention also provides a kind of application program installation kit sweep-out method of mobile terminal device, shown in Figure 2, the present invention is embodiment illustrated in fig. 2 on basis embodiment illustrated in fig. 1, increase S105: to user, show the information that the application program that described application program installation kit is corresponding is not installed in described mobile terminal device.
Exemplary, can show that information is to user: " in mobile phone, do not install and be designated: com.ijinshan.kbatterydoctor, version number is: 4111008 application program corresponding to Kingsoft battery doctor _ com.ijinshan.kbatterydoctor_4111008.apk ".User, according to this information, just can operate Kingsoft battery doctor _ com.ijinshan.kbatterydoctor_4111008.apk, for example, deletes, copies etc.
It should be noted that, the present invention not subtend user shows that the concrete manifestation form that the information of the application program that described application program installation kit is corresponding is not installed in described mobile terminal device limits, and any possible form of expression can be applied in the present invention.
The present invention is embodiment illustrated in fig. 2 in application, without the All Files in mobile terminal device that user is artificial, check, judge which file is application program installation kit, can detect automatically, and judge the application program installation kit that set up applications is corresponding, the application program installation kit that set up applications is corresponding is carried out to deletion action, improved the efficiency of removing application program installation kit, avoided application program installation kit to delete the appearance of situation by mistake, and can show to user the information of the application program that in mobile terminal device, set up applications installation kit is not corresponding, user can operate according to this information application programs installation kit.
The third schematic flow sheet of the application program installation kit sweep-out method that is applied to mobile terminal device that Fig. 3 provides for the embodiment of the present invention, the present invention is embodiment illustrated in fig. 3 on basis embodiment illustrated in fig. 2, increases following three steps:
S106: receive the delete instruction of user to described application program installation kit;
S107: after receiving described delete instruction, show the confirmation of deleting described application program installation kit to user;
S108: in the situation that user confirms to delete described application program installation kit, delete described application program installation kit.
Exemplary, user does not install after the information of the application program that described application program installation kit is corresponding in getting mobile phone according to S105, just can send the instruction of deleting this application program installation kit to mobile phone, mobile phone is being received the instruction of this application program installation kit of deletion that user sends, just can show that information is to user: " in mobile phone, do not install and be designated: com.ijinshan.kbatterydoctor, version number is: 4111008 application program corresponding to Kingsoft battery doctor _ com.ijinshan.kbatterydoctor_4111008.apk, determine Kingsoft battery doctor _ com.ijinshan.kbatterydoctor_4111008.apk deleted? " in the situation that user confirms to delete, delete Kingsoft battery doctor _ com.ijinshan.kbatterydoctor_4111008.apk.
It should be noted that, the present invention not subtend user shows that the concrete manifestation form of the information of deleting described application program installation kit limits, and any possible form of expression can be applied in the present invention.
The present invention is embodiment illustrated in fig. 3 in application, without the All Files in mobile terminal device that user is artificial, check, judge which file is application program installation kit, can detect automatically, and judge the application program installation kit that set up applications is corresponding, the application program installation kit that set up applications is corresponding is carried out to deletion action, improved the efficiency of removing application program installation kit, avoided application program installation kit to delete the appearance of situation by mistake, and can show to user the information of the application program that in mobile terminal device, set up applications installation kit is not corresponding, user can carry out deletion action according to this information application programs installation kit, further prevented the generation of the situation of by mistake deleting.
Corresponding with above-mentioned embodiment of the method, the embodiment of the present invention also provides the application program installation kit scavenge unit that is applied to mobile terminal device.
The first structural representation of the application program installation kit scavenge unit that is applied to mobile terminal device that Fig. 4 provides for the embodiment of the present invention, can comprise: installation kit determination module 201, descriptor extraction module 202, judge module 203 and the first removing module 204, wherein
Installation kit determination module 201, for determining the application program installation kit of described mobile terminal device;
The installation kit determination module 201 of the embodiment of the present invention, specifically can be for:
Whether the extension name that detects each file in described mobile terminal device is identical with the extension name of default application program installation kit, if identical,, by the identical file of extension name of the application program installation kit with default, is defined as application program installation kit.
Descriptor extraction module 202, for extracting the descriptor of the determined application program installation kit of installation kit determination module 201, described descriptor at least comprises the sign of application program installation kit and the version number of application program installation kit;
Judge module 203, for the described descriptor of extracting according to descriptor extraction module 202, judges whether application program corresponding to determined application program installation kit has been installed in described mobile terminal device;
The judge module 203 of the embodiment of the present invention, specifically can be for:
Extract the descriptor of mounted application program in described mobile terminal device, described descriptor at least comprises the version number of sign and the application program of application program;
Judge whether the sign of the sign of application program in the descriptor of described application program and the application program installation kit in the descriptor of described application program installation kit is identical and judge the version number of application program in the descriptor of described application program whether identical with the version number of the application program installation kit in the description of described application program installation kit;
In the situation that the sign of application program installation kit in the description of the sign of the application program in the descriptor of described application program and described application program installation kit, the version number of the application program installation kit in the description of the version number of the application program in the descriptor of described application program and described application program installation kit is all identical, represents to have installed in described mobile terminal device application program corresponding to determined application program installation kit.
The first removing module 204, the in the situation that of being, carries out deletion action to described application program installation kit for judgment result is that at judge module.
The first removing module 204 of the embodiment of the present invention, specifically can be for:
At judge module 203, judgment result is that be in the situation that, to user, show and can delete the information of described application program installation kit, and inquire whether user deletes described application program installation kit;
In the situation that user confirms to delete described application program installation kit, delete described application program installation kit.
The first removing module 204 of the embodiment of the present invention, specifically can be for:
At judge module 203, judgment result is that be in the situation that, directly described application program installation kit is deleted from described mobile terminal device.
The present invention is embodiment illustrated in fig. 4 in application, without the All Files in mobile terminal device that user is artificial, check, judge which file is application program installation kit, can detect automatically and judge the application program installation kit that set up applications is corresponding, the application program installation kit that set up applications is corresponding is carried out to deletion action, improve the efficiency of removing application program installation kit, avoided application program installation kit to delete the appearance of situation by mistake.
The second structural representation of the application program installation kit scavenge unit that is applied to mobile terminal device that Fig. 5 provides for the embodiment of the present invention, the present invention is embodiment illustrated in fig. 5 on basis embodiment illustrated in fig. 4, increases: information display module 205,
Information display module 205, for the determination result is NO at judge module 203 in the situation that, shows the information that the application program that described application program installation kit is corresponding is not installed in described mobile terminal device to user.
The present invention is embodiment illustrated in fig. 5 in application, without the All Files in mobile terminal device that user is artificial, check, judge which file is application program installation kit, can detect automatically, and judge the application program installation kit that set up applications is corresponding, the application program installation kit that set up applications is corresponding is carried out to deletion action, improved the efficiency of removing application program installation kit, avoided application program installation kit to delete the appearance of situation by mistake, and can show to user the information of the application program that in mobile terminal device, set up applications installation kit is not corresponding, user can operate according to this information application programs installation kit.
The third structural representation of the application program installation kit scavenge unit that is applied to mobile terminal device that Fig. 6 provides for the embodiment of the present invention, the present invention is embodiment illustrated in fig. 6 on basis embodiment illustrated in fig. 5, increase: delete instruction receiver module 206, confirmation display module 207 and the second removing module 208, wherein
Delete instruction receiver module 206, for receiving the delete instruction of user to described application program installation kit;
Confirmation display module 207, for after receiving described delete instruction, shows the confirmation of deleting described application program installation kit to user;
The second removing module 208, for confirm to delete described application program installation kit user in the situation that, deletes described application program installation kit.
The present invention is embodiment illustrated in fig. 6 in application, without the All Files in mobile terminal device that user is artificial, check, judge which file is application program installation kit, can detect automatically, and judge the application program installation kit that set up applications is corresponding, the application program installation kit that set up applications is corresponding is carried out to deletion action, improved the efficiency of removing application program installation kit, avoided application program installation kit to delete the appearance of situation by mistake, and can show to user the information of the application program that in mobile terminal device, set up applications installation kit is not corresponding, user can carry out deletion action according to this information application programs installation kit, further prevented the generation of the situation of by mistake deleting.
It should be noted that, in this article, relational terms such as the first and second grades is only used for an entity or operation to separate with another entity or operational zone, and not necessarily requires or imply and between these entities or operation, have the relation of any this reality or sequentially.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thereby the process, method, article or the equipment that make to comprise a series of key elements not only comprise those key elements, but also comprise other key elements of clearly not listing, or be also included as the intrinsic key element of this process, method, article or equipment.The in the situation that of more restrictions not, the key element being limited by statement " comprising ... ", and be not precluded within process, method, article or the equipment that comprises described key element and also have other identical element.
Each embodiment in this instructions all adopts relevant mode to describe, between each embodiment identical similar part mutually referring to, each embodiment stresses is the difference with other embodiment.Especially, for device embodiment, because it is substantially similar in appearance to embodiment of the method, so description is fairly simple, relevant part is referring to the part explanation of embodiment of the method.
One of ordinary skill in the art will appreciate that all or part of step realizing in said method embodiment is to come the hardware that instruction is relevant to complete by program, described program can be stored in computer read/write memory medium, here alleged storage medium, as: ROM/RAM, magnetic disc, CD etc.
The foregoing is only preferred embodiment of the present invention, be not intended to limit protection scope of the present invention.All any modifications of doing within the spirit and principles in the present invention, be equal to replacement, improvement etc., be all included in protection scope of the present invention.

Claims (14)

1. an application program installation kit sweep-out method, is applied to mobile terminal device, it is characterized in that, described method comprises:
Determine the application program installation kit in described mobile terminal device;
Extract the descriptor of determined application program installation kit, described descriptor at least comprises the sign of application program installation kit and the version number of application program installation kit;
According to the described descriptor of extracting, judge whether application program corresponding to determined application program installation kit has been installed in described mobile terminal device;
If so, described application program installation kit is carried out to deletion action.
2. method according to claim 1, is characterized in that, the described application program installation kit of determining in described mobile terminal device, comprising:
Whether the extension name that detects each file in described mobile terminal device is identical with the extension name of default application program installation kit, if identical,, by the identical file of extension name of the application program installation kit with default, is defined as application program installation kit.
3. method according to claim 1, is characterized in that, describedly judges in described mobile terminal device whether application program corresponding to determined application program installation kit has been installed, comprising:
Extract the descriptor of mounted application program in described mobile terminal device, described descriptor at least comprises the version number of sign and the application program of application program;
Judge whether the sign of the sign of application program in the descriptor of described application program and the application program installation kit in the descriptor of described application program installation kit is identical and judge the version number of application program in the descriptor of described application program whether identical with the version number of the application program installation kit in the description of described application program installation kit;
In the situation that the sign of application program installation kit in the description of the sign of the application program in the descriptor of described application program and described application program installation kit, the version number of the application program installation kit in the description of the version number of the application program in the descriptor of described application program and described application program installation kit is all identical, represents to have installed in described mobile terminal device application program corresponding to determined application program installation kit.
4. according to the method described in claims 1 to 3 any one, it is characterized in that, described described application program installation kit carried out to deletion action, comprising:
To user, show and can delete the information of described application program installation kit, and inquire whether user deletes described application program installation kit;
In the situation that user confirms to delete described application program installation kit, delete described application program installation kit.
5. according to the method described in claims 1 to 3 any one, it is characterized in that, described described application program installation kit carried out to deletion action, comprising:
Directly described application program installation kit is deleted from described mobile terminal device.
6. according to the method described in claims 1 to 3 any one, it is characterized in that, described method also comprises:
In the situation that application program corresponding to determined application program installation kit is not installed in described mobile terminal device, to user, show the information that the application program that described application program installation kit is corresponding is not installed in described mobile terminal device.
7. method according to claim 6, is characterized in that, described method also comprises:
Receive the delete instruction of user to described application program installation kit;
After receiving described delete instruction, to user, show the confirmation of deleting described application program installation kit;
In the situation that user confirms to delete described application program installation kit, delete described application program installation kit.
8. an application program installation kit scavenge unit, is applied to mobile terminal device, it is characterized in that, described device comprises: installation kit determination module, descriptor extraction module, judge module, the first removing module,
Described installation kit determination module, for determining the application program installation kit of described mobile terminal device;
Described descriptor extraction module, for extracting the descriptor of the determined application program installation kit of installation kit determination module, described descriptor at least comprises the sign of application program installation kit and the version number of application program installation kit;
Described judge module, for the described descriptor of extracting according to descriptor extraction module, judges whether application program corresponding to determined application program installation kit has been installed in described mobile terminal device;
Described the first removing module, the in the situation that of being, carries out deletion action to described application program installation kit for judgment result is that at judge module.
9. device according to claim 8, is characterized in that, described installation kit determination module, specifically for:
Whether the extension name that detects each file in described mobile terminal device is identical with the extension name of default application program installation kit, if identical,, by the identical file of extension name of the application program installation kit with default, is defined as application program installation kit.
10. device according to claim 8, is characterized in that, described judge module, specifically for:
Extract the descriptor of mounted application program in described mobile terminal device, described descriptor at least comprises the version number of sign and the application program of application program;
Judge whether the sign of the sign of application program in the descriptor of described application program and the application program installation kit in the descriptor of described application program installation kit is identical and judge the version number of application program in the descriptor of described application program whether identical with the version number of the application program installation kit in the description of described application program installation kit;
In the situation that the sign of application program installation kit in the description of the sign of the application program in the descriptor of described application program and described application program installation kit, the version number of the application program installation kit in the description of the version number of the application program in the descriptor of described application program and described application program installation kit is all identical, represents to have installed in described mobile terminal device application program corresponding to determined application program installation kit.
Device described in 11. according to Claim 8 to 10 any one, is characterized in that, described the first removing module, specifically for:
At judge module, judgment result is that be in the situation that, to user, show and can delete the information of described application program installation kit, and inquire whether user deletes described application program installation kit;
In the situation that user confirms to delete described application program installation kit, delete described application program installation kit.
Device described in 12. according to Claim 8 to 10 any one, is characterized in that, described the first removing module, specifically for:
At judge module, judgment result is that be in the situation that, directly described application program installation kit is deleted from described mobile terminal device.
Device described in 13. according to Claim 8 to 10 any one, is characterized in that, described device also comprises: information display module,
Described information display module, for the determination result is NO at judge module in the situation that, shows the information that the application program that described application program installation kit is corresponding is not installed in described mobile terminal device to user.
14. devices according to claim 13, is characterized in that, described device also comprises: delete instruction receiver module, confirmation display module and the second removing module,
Described delete instruction receiver module, for receiving the delete instruction of user to described application program installation kit;
Described confirmation display module, for after receiving described delete instruction, shows the confirmation of deleting described application program installation kit to user;
Described the second removing module, for confirm to delete described application program installation kit user in the situation that, deletes described application program installation kit.
CN201410459006.5A 2014-09-10 2014-09-10 Application program installation package clearing method and device Pending CN104199704A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410459006.5A CN104199704A (en) 2014-09-10 2014-09-10 Application program installation package clearing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410459006.5A CN104199704A (en) 2014-09-10 2014-09-10 Application program installation package clearing method and device

Publications (1)

Publication Number Publication Date
CN104199704A true CN104199704A (en) 2014-12-10

Family

ID=52085001

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410459006.5A Pending CN104199704A (en) 2014-09-10 2014-09-10 Application program installation package clearing method and device

Country Status (1)

Country Link
CN (1) CN104199704A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104484484A (en) * 2015-01-08 2015-04-01 北京奇虎科技有限公司 Method and device for removing cache file
CN104866346A (en) * 2015-05-20 2015-08-26 广东欧珀移动通信有限公司 APP installation prompting method and apparatus
CN104991948A (en) * 2015-07-14 2015-10-21 谢蓓 File deletion prompting method and system for android mobile phone
CN105978865A (en) * 2016-04-29 2016-09-28 北京小米移动软件有限公司 Application package name authentication method and device
WO2018072430A1 (en) * 2016-10-20 2018-04-26 广州优视网络科技有限公司 Method for scanning and parsing installation package, apparatus, mobile terminal and machine-readable storage medium
CN109032617A (en) * 2018-06-21 2018-12-18 上海二三四五网络科技有限公司 A kind of control method being automatically deleted installation kit and control device
CN109343860A (en) * 2018-08-23 2019-02-15 腾讯科技(深圳)有限公司 A kind of method, apparatus, server and medium for clearing up Game patches

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120239738A1 (en) * 2009-12-10 2012-09-20 Olympus Imaging Corp. Storage medium storing user information registration program and user information registration method
CN102929601A (en) * 2012-09-28 2013-02-13 北京小米科技有限责任公司 Application program management method and apparatus
CN103942067A (en) * 2014-03-31 2014-07-23 广东欧珀移动通信有限公司 Method and device for automatically cleaning up software installation package files through intelligent device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120239738A1 (en) * 2009-12-10 2012-09-20 Olympus Imaging Corp. Storage medium storing user information registration program and user information registration method
CN102929601A (en) * 2012-09-28 2013-02-13 北京小米科技有限责任公司 Application program management method and apparatus
CN103942067A (en) * 2014-03-31 2014-07-23 广东欧珀移动通信有限公司 Method and device for automatically cleaning up software installation package files through intelligent device

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104484484A (en) * 2015-01-08 2015-04-01 北京奇虎科技有限公司 Method and device for removing cache file
CN104484484B (en) * 2015-01-08 2018-05-01 北京奇虎科技有限公司 Clear up the method and device of cache file
CN104866346A (en) * 2015-05-20 2015-08-26 广东欧珀移动通信有限公司 APP installation prompting method and apparatus
CN104866346B (en) * 2015-05-20 2018-09-11 广东欧珀移动通信有限公司 A kind of method and device of prompt APP installations
CN104991948A (en) * 2015-07-14 2015-10-21 谢蓓 File deletion prompting method and system for android mobile phone
CN105978865A (en) * 2016-04-29 2016-09-28 北京小米移动软件有限公司 Application package name authentication method and device
CN105978865B (en) * 2016-04-29 2019-12-13 北京小米移动软件有限公司 application package name verification method and device
WO2018072430A1 (en) * 2016-10-20 2018-04-26 广州优视网络科技有限公司 Method for scanning and parsing installation package, apparatus, mobile terminal and machine-readable storage medium
CN109032617A (en) * 2018-06-21 2018-12-18 上海二三四五网络科技有限公司 A kind of control method being automatically deleted installation kit and control device
CN109032617B (en) * 2018-06-21 2022-03-29 上海二三四五网络科技有限公司 Control method and control device for automatically deleting installation package
CN109343860A (en) * 2018-08-23 2019-02-15 腾讯科技(深圳)有限公司 A kind of method, apparatus, server and medium for clearing up Game patches

Similar Documents

Publication Publication Date Title
CN104199704A (en) Application program installation package clearing method and device
CN103970516B (en) Redundancy image deletion method and device
CN102779151B (en) The searching method of application program, Apparatus and system
US11765557B2 (en) Short message processing method and apparatus, and electronic device
CN104881496B (en) File name identification and file cleaning method and device
CN102254113A (en) Method and system for detecting and intercepting malicious code of mobile terminal
KR20150044490A (en) A detecting device for android malignant application and a detecting method therefor
KR101582601B1 (en) Method for detecting malignant code of android by activity string analysis
CN103473505A (en) Scanning prompt method and device for software vulnerabilities
CN104317840A (en) File cleaning method and device and terminal
CN103294951A (en) Malicious code sample extraction method and system based on document type bug
US10067753B2 (en) Application program uninstallation method and apparatus
US20190005057A1 (en) Methods and Devices for File Folder Path Identification and File Folder Cleaning
CN103810428A (en) Method and device for detecting macro virus
CN105426761A (en) Identification method for illegal application and mobile terminal
CN104899049A (en) File deletion method and device
CN105975302A (en) Application installation method and terminal
US20200183789A1 (en) Installation file processing method and device, and server
CN104573492A (en) Method and device for safely downloading and installing application software
CN115562992A (en) File detection method and device, electronic equipment and storage medium
CN104461505A (en) Terminal
CN103679016A (en) Method and system for processing malicious programs of mobile phone
KR101256468B1 (en) Apparatus and method for detecting malicious file
CN103034810B (en) A kind of detection method, device and electronic equipment
CN104200164B (en) Loader virus searching and killing method, device and terminal

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: 20141210

RJ01 Rejection of invention patent application after publication