CN102999606A - Software deleting method and device - Google Patents

Software deleting method and device Download PDF

Info

Publication number
CN102999606A
CN102999606A CN2012104766843A CN201210476684A CN102999606A CN 102999606 A CN102999606 A CN 102999606A CN 2012104766843 A CN2012104766843 A CN 2012104766843A CN 201210476684 A CN201210476684 A CN 201210476684A CN 102999606 A CN102999606 A CN 102999606A
Authority
CN
China
Prior art keywords
application
target location
file
destination application
installation path
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.)
Granted
Application number
CN2012104766843A
Other languages
Chinese (zh)
Other versions
CN102999606B (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.)
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Dongguan Yulong Telecommunication Technology Co Ltd
Original Assignee
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Dongguan Yulong Telecommunication Technology 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 Yulong Computer Telecommunication Scientific Shenzhen Co Ltd, Dongguan Yulong Telecommunication Technology Co Ltd filed Critical Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority to CN201210476684.3A priority Critical patent/CN102999606B/en
Publication of CN102999606A publication Critical patent/CN102999606A/en
Application granted granted Critical
Publication of CN102999606B publication Critical patent/CN102999606B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The embodiment of the invention discloses a software deleting method and a software deleting device, which relate to the field of mobile communication systems and can increase the deleting efficiency of a mobile terminal and lower the operating complexity of a user. The method comprises the following steps of: firstly acquiring the target position of a downloaded target application saved in the mobile terminal, and storing the target position; and after receiving a deletion command of the target application, detecting all files of the application of which the installation path is saved at the target position.

Description

Software delet method and device
Technical field
The present invention relates to the mobile communcations system field, particularly a kind of software delet method and device.
Background technology
Development along with portable terminal, support the platform of portable terminal to provide the user freely to select to download to the function of the application program of portable terminal, the user can be according to the hobby of oneself or the application program that is recommended in application platform download needs of professional website.Yet can have malicious application in application program, these malicious application can be embedded in the installation kit of other application programs, and after the user downloads infected installation kit and when installing, these rogue programs also can be installed on the portable terminal automatically.
The user can delete application program by indicating terminal after finding malicious application at present, be that portable terminal is together deleted malicious application and infected application program, but existing portable terminal need to could all be deleted malicious application and infected application program respectively according to user's repeatedly indication, cause the deletion efficiency of portable terminal not high, and increased user's operation complexity.
Summary of the invention
The invention provides a kind of software delet method and device, when having promoted the deletion efficiency of portable terminal, reduced user's operation complexity.
The technical scheme that the embodiment of the invention adopts is:
A kind of software delet method comprises:
Obtain the target location that the destination application after the download preserves and store described target location in portable terminal;
After receiving the delete instruction of described destination application, the deletion installation path is kept at the file of all application programs on the described target location.
A kind of software delete device comprises:
Acquiring unit is used for obtaining the target location that the destination application after the download is preserved;
The first storage unit is used for storing the described target location that described acquiring unit obtains;
The first receiving element is for the delete instruction that receives described destination application;
Delete cells, after being used for described receiving element and receiving the delete instruction of described destination application, the deletion installation path is kept at the file of all application programs on the described target location.
Software delet method and device that the embodiment of the invention provides, at first obtain the target location that the destination application after the download preserves and store described target location in portable terminal, then after receiving the delete instruction of described destination application, the deletion installation path is kept at the file of all application programs on the described target location.The user can delete application program by indicating terminal after finding malicious application at present, but existing portable terminal need to could all be deleted malicious application and infected application program respectively according to user's repeatedly indication, cause the deletion efficiency of portable terminal not high, and increased user's operation complexity.The embodiment of the invention is kept at the target location by the installation path with malicious application and infected application program, the user only need to send delete instruction one time, portable terminal just can be deleted malicious application and infected application program simultaneously, thereby promoted the deletion efficiency of portable terminal, and reduced user's operation complexity.
Description of drawings
In order to be illustrated more clearly in the technical scheme in the embodiment of the invention, the below will do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art, apparently, accompanying drawing in the following describes only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain according to these accompanying drawings other accompanying drawing.
The software delet method process flow diagram that Fig. 1 provides for the embodiment of the invention one;
The software delete device structural representation that Fig. 2 provides for the embodiment of the invention one;
The software delet method process flow diagram that Fig. 3 provides for the embodiment of the invention two;
The software delete device structural representation that Fig. 4 provides for the embodiment of the invention two.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making all other embodiment that obtain under the creative work prerequisite.
For the advantage that makes technical solution of the present invention is clearer, below in conjunction with drawings and Examples the present invention is elaborated.
Embodiment one
Present embodiment provides a kind of software delet method, and as shown in Figure 1, described method comprises:
101, obtain the target location that the destination application after the download preserves and store described target location in portable terminal.
Alternatively, can also comprise before the step 101: after receiving the download instruction of described destination application, download described destination application and described destination application is kept in the described portable terminal.Wherein, destination application is to satisfy the application program that the user downloads condition, i.e. the application program that need to download of user.
102, receive the delete instruction of described destination application after, the deletion installation path is kept at the file of all application programs on the described target location.
Present embodiment provides a kind of software delete device, the entity of described device can for portable terminal, computing machine, computer this etc., as shown in Figure 2, described device comprises: acquiring unit 21, storage unit 22, receiving element 23, delete cells 24.
Acquiring unit 21 can be used for obtaining the target location that the destination application after the download is preserved.
Storage unit 22 can be used for storing the described target location that described acquiring unit 21 obtains.
Receiving element 23 can be for the delete instruction that receives described destination application.
Delete cells 24, after can being used for described receiving element 23 and receiving the delete instruction of described destination application, the deletion installation path is kept at the file of all application programs on the described target location.
Need to prove that other corresponding descriptions of related each functional unit of software delete device that the embodiment of the invention provides can be with reference to description corresponding among the figure 1, the embodiment of the invention will repeat no more herein.
Software delet method and device that the embodiment of the invention provides, at first obtain the target location that the destination application after the download preserves and store described target location in portable terminal, then after receiving the delete instruction of described destination application, the deletion installation path is kept at the file of all application programs on the described target location.The user can delete application program by indicating terminal after finding malicious application at present, but existing portable terminal need to could all be deleted malicious application and infected application program respectively according to user's repeatedly indication, cause the deletion efficiency of portable terminal not high, and increased user's operation complexity.The embodiment of the invention is kept at the target location by the installation path with malicious application and infected application program, the user only need to send delete instruction one time, portable terminal just can be deleted malicious application and infected application program simultaneously, thereby promoted the deletion efficiency of portable terminal, and reduced user's operation complexity.
Embodiment two
Present embodiment provides a kind of software delet method, and as shown in Figure 3, described method comprises:
301, obtain the target location that the destination application after the download preserves and store described target location in portable terminal.
Alternatively, can also comprise before the step 101: after receiving the download instruction of described destination application, download described destination application and described destination application is kept in the described portable terminal.Wherein, destination application is to satisfy the application program that the user downloads condition, i.e. the application program that need to download of user.
302a, receive the installation instruction of described destination application after, if need to carry out multiple utility program installs, after the installation path of correspondence is kept at described target location respectively with each application program in the described multiple utility program, generate the file of described each application program.
Preferably, after receiving the installation instruction of described destination application, if need to carry out multiple utility program installs, judge in described each application program and whether have malicious application, if do not have malicious application in described each application program, after the installation path of described destination application is kept at described target location, generate the file of described each application program.In the time of can avoiding not having malicious application in each application program by this step, when deleting one of them application program other non-malicious application are also deleted.
Wherein, the application program that malicious application can define in portable terminal in advance for the user also can be the application program of the antivirus software definition of presetting in the portable terminal, and present embodiment is not done restriction, and malicious application is concrete but be not limited to trojan horse program etc.
302b, receive the installation instruction of described destination application after, if need to carry out the single application installation, the installation path of described destination application is kept at described target location after, generate the file of described destination application.
303, receive the delete instruction of described destination application after, the deletion installation path is kept at the file of all application programs on the described target location.
Particularly, receive the delete instruction of described destination application after, delete the file of described destination application and judge the installation path that whether has other application programs on the described target location; If there is the installation path of described other application programs on the described target location, the file of described other application programs of deletion.
For present embodiment, particularly application scenarios can for but be not limited to following form, comprise: when the user needs down load application program A, owing to embedded malicious application B in the application A, therefore malicious application B also is downloaded in the portable terminal, portable terminal is preserved application A in this locality address is mnt//sdcard//xxx.apk, receive the installation instruction of application A when portable terminal after, portable terminal can obtain the installation path data//xxx.apk of application A and the installation path data//yyy.apk of malicious application B, and the installation path data//xxx.apk of application A and the installation path data//yyy.apk of malicious application B be kept at address mnt//sdcard//xxx.apk, then carry out the fitting operation of application programs A and malicious application B.After the user finds that the installation of application A is surrounded by malicious application, portable terminal can receive the delete instruction of described application A, then judge installation path data//yyy.apk and this matching addresses of the upper malicious application B of also having of the corresponding address mnt//sdcard//xxx.apk of installation path data//xxx.apk of application A, this moment, portable terminal can together be deleted application A and malicious application B, thereby realized that the user is by once deletion indication, portable terminal just can be deleted destination application and the malicious application relevant with destination application, promote the deletion efficiency of portable terminal, reduced simultaneously user's operation complexity.
Present embodiment provides a kind of software delete device, as shown in Figure 4, the entity of described device can for portable terminal, computing machine, computer this etc., described device comprises: acquiring unit 41, the first storage unit 42, the first receiving element 43, delete cells 44.
Acquiring unit 41 can be used for obtaining the target location that the destination application after the download is preserved.
The first storage unit 42 can be used for storing the described target location that described acquiring unit 41 obtains.
The first receiving element 43 can be for the delete instruction that receives described destination application.
Delete cells 44, after can being used for described the first receiving element 43 and receiving the delete instruction of described destination application, the deletion installation path is kept at the file of all application programs on the described target location.
Described device can also comprise:
The second receiving element 45 can be used for receiving the installation instruction of described destination application.
The second storage unit 46 is installed if can be used for carrying out multiple utility program, with each application program in the described multiple utility program respectively corresponding installation path be kept at described target location.
Generation unit 47 can be for the file that generates described each application program.
Judging unit 48 can be used for judging whether described each application program exists malicious application.
There is not malicious application in generation unit 47 if can also be used for described each application program, the installation path of described destination application is kept at described target location after, generate the file of described each application program.
The second storage unit 46 if can also be used for carrying out the single application installation, is kept at described target location with the installation path of described destination application.
Generation unit 47 can also be for the file that generates described destination application.
Delete cells 44 specifically can comprise:
Removing module 4401 after can being used for receiving the delete instruction of described destination application, is deleted the file of described destination application.
Judge module 4402 can be used for judging the installation path that whether has other application programs on the described target location.
Removing module 4401, if can also be used for existing on the described target location installation path of described other application programs, the file of described other application programs of deletion.
Need to prove that other corresponding descriptions of related each functional unit of software delete device that the embodiment of the invention provides can be with reference to description corresponding among the figure 3, the embodiment of the invention will repeat no more herein.
Software delet method and device that the embodiment of the invention provides, at first obtain the target location that the destination application after the download preserves and store described target location in portable terminal, then after receiving the delete instruction of described destination application, the deletion installation path is kept at the file of all application programs on the described target location.The user can delete application program by indicating terminal after finding malicious application at present, but existing terminal need to could all be deleted malicious application and infected application program respectively according to user's repeatedly indication, cause the deletion efficiency of terminal not high, and increased user's operation complexity.The embodiment of the invention is kept at the target location by the installation path with malicious application and infected application program, the user only need to send delete instruction one time, terminal just can be deleted malicious application and infected application program simultaneously, thereby promoted the deletion efficiency of terminal, and reduced user's operation complexity.
The above-mentioned embodiment of the method that provides can be provided the software delete device that the embodiment of the invention provides, and concrete function realizes seeing also the explanation in the embodiment of the method, does not repeat them here.Software delet method and device that the embodiment of the invention provides go for the mobile communcations system field, but are not limited only to this.
One of ordinary skill in the art will appreciate that all or part of flow process that realizes in above-described embodiment method, to come the relevant hardware of instruction to finish by computer program, described program can be stored in the computer read/write memory medium, this program can comprise the flow process such as the embodiment of above-mentioned each side method when carrying out.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory, ROM) or store-memory body (Random Access Memory, RAM) etc. at random.
The above; be the specific embodiment of the present invention only, but protection scope of the present invention is not limited to this, anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; the variation that can expect easily or replacement all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection domain of claim.

Claims (10)

1. a software delet method is characterized in that, comprising:
Obtain the target location that the destination application after the download preserves and store described target location in portable terminal;
After receiving the delete instruction of described destination application, the deletion installation path is kept at the file of all application programs on the described target location.
2. software delet method according to claim 1 is characterized in that, the target location that the described destination application that obtains after the download is preserved in portable terminal and store described target location after also comprise:
After receiving the installation instruction of described destination application, install if need to carry out multiple utility program, after the installation path of correspondence is kept at described target location respectively with each application program in the described multiple utility program, generate the file of described each application program.
3. software delet method according to claim 2 is characterized in that, described with each application program in the described multiple utility program respectively corresponding installation path also comprise before being kept at described target location:
Judge in described each application program and whether have malicious application;
If do not have malicious application in described each application program, described after corresponding installation path is kept at described target location respectively with each application program in the described multiple utility program, the file that generates described each application program is:
After the installation path of described destination application is kept at described target location, generate the file of described each application program.
4. software delet method according to claim 1 is characterized in that, the target location that the described destination application that obtains after the download is preserved in portable terminal and store described target location after also comprise:
After receiving the installation instruction of described destination application, if need to carry out the single application installation, the installation path of described destination application is kept at described target location after, generate the file of described destination application.
5. software delet method according to claim 1 is characterized in that, behind the described delete instruction that receives described destination application, the file that the deletion installation path is kept at all application programs on the described target location comprises:
After receiving the delete instruction of described destination application, delete the file of described destination application and judge the installation path that whether has other application programs on the described target location;
If there is the installation path of described other application programs on the described target location, the file of described other application programs of deletion.
6. a software delete device is characterized in that, comprising:
Acquiring unit is used for obtaining the target location that the destination application after the download is preserved;
The first storage unit is used for storing the described target location that described acquiring unit obtains;
The first receiving element is for the delete instruction that receives described destination application;
Delete cells, after being used for described the first receiving element and receiving the delete instruction of described destination application, the deletion installation path is kept at the file of all application programs on the described target location.
7. software delete device according to claim 6 is characterized in that, described device also comprises:
The second receiving element is used for receiving the installation instruction of described destination application;
The second storage unit is installed if be used for carrying out multiple utility program, with each application program in the described multiple utility program respectively corresponding installation path be kept at described target location;
Generation unit is for the file that generates described each application program.
8. software delete device according to claim 7 is characterized in that, described device also comprises:
Judging unit is used for judging whether described each application program exists malicious application;
There is not malicious application in described generation unit if also be used for described each application program, the installation path of described destination application is kept at described target location after, generate the file of described each application program.
9. software delete device according to claim 7 is characterized in that,
Described the second storage unit if also be used for carrying out the single application installation, is kept at described target location with the installation path of described destination application;
Described generation unit is also for the file that generates described destination application.
10. software delete device according to claim 6 is characterized in that, described delete cells comprises:
Removing module after being used for receiving the delete instruction of described destination application, is deleted the file of described destination application;
Judge module is used for judging the installation path that whether has other application programs on the described target location;
Described removing module, if also be used for existing on the described target location installation path of described other application programs, the file of described other application programs of deletion.
CN201210476684.3A 2012-11-21 2012-11-21 Software delet method and device Active CN102999606B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210476684.3A CN102999606B (en) 2012-11-21 2012-11-21 Software delet method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210476684.3A CN102999606B (en) 2012-11-21 2012-11-21 Software delet method and device

Publications (2)

Publication Number Publication Date
CN102999606A true CN102999606A (en) 2013-03-27
CN102999606B CN102999606B (en) 2015-12-23

Family

ID=47928174

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210476684.3A Active CN102999606B (en) 2012-11-21 2012-11-21 Software delet method and device

Country Status (1)

Country Link
CN (1) CN102999606B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103942067A (en) * 2014-03-31 2014-07-23 广东欧珀移动通信有限公司 Method and device for automatically cleaning up software installation package files through intelligent device
CN105205152A (en) * 2015-09-23 2015-12-30 北京金山安全软件有限公司 Method and device for judging corresponding relation between path and package name and electronic equipment
CN105490919A (en) * 2015-11-24 2016-04-13 小米科技有限责任公司 Message withdrawal method and device
CN106599017A (en) * 2016-10-20 2017-04-26 广州优视网络科技有限公司 Method and device for scanning and resolving installation packages, and mobile terminal

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6385623B1 (en) * 1999-11-12 2002-05-07 Dell Usa, L.P. System and method for ensuring proper execution of scheduled file updates
CN101256498A (en) * 2008-03-25 2008-09-03 中兴通讯股份有限公司 Method and device for unloading terminal drive
CN101276391A (en) * 2007-03-27 2008-10-01 鸿富锦精密工业(深圳)有限公司 Picture and file virus defense system and method
CN101833622A (en) * 2010-05-10 2010-09-15 深圳市五巨科技有限公司 Method and apparatus for checking and killing Trojan of removable storage device of terminal
CN101853296A (en) * 2010-05-28 2010-10-06 华为终端有限公司 Method and device for managing application program
CN101876914A (en) * 2010-04-23 2010-11-03 中兴通讯股份有限公司 Method for deleting files and mobile terminal
CN101901321A (en) * 2010-06-04 2010-12-01 华为终端有限公司 Method, device and system for defending malicious program for terminal
CN102043655A (en) * 2011-01-04 2011-05-04 奇智软件(北京)有限公司 Method and system for carrying out advanced uninstall on software
CN102736978A (en) * 2012-06-26 2012-10-17 奇智软件(北京)有限公司 Method and device for detecting installation status of application program

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6385623B1 (en) * 1999-11-12 2002-05-07 Dell Usa, L.P. System and method for ensuring proper execution of scheduled file updates
CN101276391A (en) * 2007-03-27 2008-10-01 鸿富锦精密工业(深圳)有限公司 Picture and file virus defense system and method
CN101256498A (en) * 2008-03-25 2008-09-03 中兴通讯股份有限公司 Method and device for unloading terminal drive
CN101876914A (en) * 2010-04-23 2010-11-03 中兴通讯股份有限公司 Method for deleting files and mobile terminal
CN101833622A (en) * 2010-05-10 2010-09-15 深圳市五巨科技有限公司 Method and apparatus for checking and killing Trojan of removable storage device of terminal
CN101853296A (en) * 2010-05-28 2010-10-06 华为终端有限公司 Method and device for managing application program
CN101901321A (en) * 2010-06-04 2010-12-01 华为终端有限公司 Method, device and system for defending malicious program for terminal
CN102043655A (en) * 2011-01-04 2011-05-04 奇智软件(北京)有限公司 Method and system for carrying out advanced uninstall on software
CN102736978A (en) * 2012-06-26 2012-10-17 奇智软件(北京)有限公司 Method and device for detecting installation status of application program

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
乔珊: "骑驴莫找驴 手边就有强悍杀虫工具", 《电脑爱好者》 *
周端等: "恶意程序的检测和删除", 《微电子学与计算机》 *

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103942067A (en) * 2014-03-31 2014-07-23 广东欧珀移动通信有限公司 Method and device for automatically cleaning up software installation package files through intelligent device
CN103942067B (en) * 2014-03-31 2017-11-03 广东欧珀移动通信有限公司 Smart machine clears up the method and device of software installation APMB package automatically
CN105205152A (en) * 2015-09-23 2015-12-30 北京金山安全软件有限公司 Method and device for judging corresponding relation between path and package name and electronic equipment
CN105205152B (en) * 2015-09-23 2019-04-02 北京金山安全软件有限公司 Method and device for judging corresponding relation between path and package name and electronic equipment
CN105490919A (en) * 2015-11-24 2016-04-13 小米科技有限责任公司 Message withdrawal method and device
US10320719B2 (en) 2015-11-24 2019-06-11 Xiaomi Inc. Message withdrawal method, apparatus and storage medium
CN105490919B (en) * 2015-11-24 2019-11-08 小米科技有限责任公司 Message cancelling method and device
CN106599017A (en) * 2016-10-20 2017-04-26 广州优视网络科技有限公司 Method and device for scanning and resolving installation packages, and mobile terminal

Also Published As

Publication number Publication date
CN102999606B (en) 2015-12-23

Similar Documents

Publication Publication Date Title
CN103227812B (en) Smart machine is supported method for down loading and the device of breakpoint transmission
CN104199711B (en) The method and apparatus for establishing root authority
CN102541475B (en) Data storage method and data storage device
US20100154062A1 (en) Virus Scanning Executed Within a Storage Device to Reduce Demand on Host Resources
JP5869661B2 (en) Local storage linked to a network storage system
WO2015062389A1 (en) Method and apparatus for uninstalling system application on terminal device
CN102662741A (en) Method, device and system for realizing virtual desktop
CN102880495A (en) Mobile terminal and software upgrading method for same
CN103577567A (en) Method for uninstalling application and deleting garbage file in Android system
CN103810416A (en) Software installation or uninstallation method and device
CN103324507A (en) Method and apparatus for updating terminal preset application program
CN102999606A (en) Software deleting method and device
CN104731622B (en) The loading method of a kind of application program, device and mobile terminal
CN107870769A (en) The installation method and device of operating system
TW201426550A (en) System and method for installing software in virtual machines
CN103902302A (en) Software installation system and method for virtual machine
CN104036194A (en) Vulnerability detection method and device for revealing private data in application program
CN110716845A (en) Method for reading log information of Android system
CN102968321A (en) Application program installation device and application program installation method
CN103677931A (en) Software moving method and device
CN104036193A (en) Local cross-domain vulnerability detection method and device for application program
CN103560934A (en) Power line modem production testing method and device
CN110045998A (en) Load the method and device of dynamic base
CN104765631A (en) Restoration method and device for application program of mobile terminal
CN103499942B (en) The disposal route of block configuration and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant