CN103942067B - Smart machine clears up the method and device of software installation APMB package automatically - Google Patents

Smart machine clears up the method and device of software installation APMB package automatically Download PDF

Info

Publication number
CN103942067B
CN103942067B CN201410124215.4A CN201410124215A CN103942067B CN 103942067 B CN103942067 B CN 103942067B CN 201410124215 A CN201410124215 A CN 201410124215A CN 103942067 B CN103942067 B CN 103942067B
Authority
CN
China
Prior art keywords
software installation
apmb package
installation apmb
software
package
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201410124215.4A
Other languages
Chinese (zh)
Other versions
CN103942067A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201410124215.4A priority Critical patent/CN103942067B/en
Publication of CN103942067A publication Critical patent/CN103942067A/en
Application granted granted Critical
Publication of CN103942067B publication Critical patent/CN103942067B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

The method that smart machine clears up software installation APMB package automatically, it is related to a kind of method for clearing up software installation APMB package, this method is completed by setting up functional module construction by computer program instructions control computer system, and these computer program instructions are stored in a computer-readable storage medium.This method is specially:Software installation APMB package in the memory of smart machine described in timing scan, the software installation APMB package that default reserve is not met in bag name identical software installation APMB package is deleted.Timing scan simultaneously deletes the software installation APMB package for not meeting default reserve, and such software installation APMB package would not constantly have accumulated in memory, considerably reduce their wastes to storage resource.In addition, being allowed a choice when software installation APMB package is deleted, the software installation APMB package that user wishes to remain is not deleted, is facilitated user to reuse in need when, without re-downloading, be provide the user facility.

Description

Smart machine clears up the method and device of software installation APMB package automatically
Technical field
The present invention relates to a kind of method for clearing up software installation APMB package, and in particular to smart machine clears up its storage automatically The method of software installation APMB package in device, this method is controlled to count by setting up functional module construction by computer program instructions Calculation machine system is completed, and these computer program instructions are stored in a computer-readable storage medium.
Background technology
The characteristics of smart machine is can to install the different software of various functions(Software is also referred to as in intelligent mobile terminal Using), such as Games Software, office software, many users can be downloaded during smart machine is used by browser The installation package file of various softwares is installed, and is accumulated over a long period, and substantial amounts of software peace will be accumulated in the memory of smart machine Fill APMB package.Software installation APMB package will not be used again substantially after software installation is complete, can also even if in need afterwards Re-download, therefore retain having little significance for software installation APMB package.However, the file in smart machine often has thousands of Individual, many times user is not aware that the storing path of these software installation APMB packages, it is desirable to they are found out and deleted manually Bother very much, but if leaving, they retain in memory, will take substantial amounts of memory space, cause the wave of storage resource Take.
The content of the invention
It is an object of the invention to provide a kind of method that smart machine clears up software installation APMB package automatically, this method can be certainly Software installation APMB package in dynamic cleanup memory, so as to reduce waste of the software installation APMB package to storage resource.
To achieve the above object, the present invention provides following technical scheme.
In the method that smart machine clears up software installation APMB package automatically, the memory of smart machine described in timing scan Software installation APMB package, will not meet the software installation APMB package of default reserve in bag name identical software installation APMB package Delete, this is technical scheme 1.
Timing scan simultaneously deletes the software installation APMB package for not meeting default reserve, and such software installation APMB package is just It will not constantly have accumulated in memory, considerably reduce their wastes to storage resource.In addition, deleting software installation It is allowed a choice when APMB package, the software installation APMB package that user wishes to remain is not deleted, facilitates user in need When reuse, without re-downloading, provide the user facility.
The method that smart machine according to technical scheme 1 clears up software installation APMB package automatically, specifically, meets pre- If the software installation APMB package of reserve refers to the maximum software installation of version number in bag name identical software installation APMB package APMB package, this is technical scheme 2.
The method that smart machine according to technical scheme 2 clears up software installation APMB package automatically, further, meets The software installation APMB package of default reserve refers to that version number is maximum in bag name identical software installation APMB package and file is given birth to Into the software installation APMB package of time the latest, this is technical scheme 3.
The method that smart machine according to technical scheme 1 clears up software installation APMB package automatically, specifically, meets pre- If the software installation APMB package of reserve refers to the software peace of download time the latest in bag name identical software installation APMB package APMB package is filled, this is technical scheme 4.
The method that smart machine according to technical scheme 1 clears up software installation APMB package automatically, specifically, meets pre- If the software installation APMB package of reserve refers to appointed software installation APMB package, this is technical scheme 5.
Brief description of the drawings
Fig. 1 is the flow chart that the smart machine of the present invention clears up the method for software installation APMB package automatically.
Embodiment
The present invention is elaborated below in conjunction with specific embodiment.
The present embodiment clears up software peace automatically by taking the smart mobile phone of Android system as an example come the smart machine to the present invention The method of dress APMB package is described in detail.
Reference picture 1, the method that smart machine of the invention clears up software installation APMB package automatically is as described below.
The first step, reaches the memory that preset time begins to scan smart mobile phone, finds out the software of default file type Installation package file.Preset sweep time, in the present embodiment, sweep time set in advance for every month the one morning 10 points, hereafter, 10 points of the morning of first day in every month, such as 10 points of the morning on March 1, begin to carry out above-mentioned scanning, The software installation APMB package of the smart mobile phone of Android system is apk files, therefore the default file type in the present embodiment is Apk files, after the completion of scanning, then find out all apk files in smart mobile phone memory.
Second step, is grouped to the apk files found out in the first step, and bag name identical apk files are assigned to same Group, then deletes the apk files that default reserve is not met in every group.Default reserve is need of the user according to oneself Ask what is pre-set, the purpose is to which user is wished into the apk files retained and the apk files for being not intended to retain make a distinction, with Ensure that user wishes that the apk files retained are not deleted.If the user desired that retaining the apk files of latest edition, then meet pre- If the apk files of reserve refer to the maximum apk files of version number in same group of apk file(Version number is bigger to represent issue More rearward, i.e., version is newer for order), so it is not that maximum apk files will be preset due to not meeting this per Zu Zhong version numbers Reserve and be deleted, can be with if the maximum apk files of version number have two or more in same group of apk file The maximum apk files of these version numbers are all retained, can also only retain the apk files of generation time the latest among them, text The part generation time is that software developer has developed after software the time for generating software installation APMB package.If the user desired that retaining most The apk files closely downloaded, the then apk files for meeting default reserve refer to the apk files of download time the latest in same group, Apk files will be deleted due to not meeting the default reserve earlier download time in so every group apk file.Such as Fruit user wishes the apk files that reservation oneself is specified, then the apk files for meeting default reserve refer in every group of apk file Appointed apk files, so deleted apk files be exactly in every group of apk file in addition to appointed apk files Apk files.Because the use habit of each user is different, the software of latest edition can not necessarily obtain all users Favor, and some softwares just no longer provide the download of the apk files of old edition after version updating is carried out, for such case, User can specify the apk files of oneself favorite software version of some software, and what is so deleted is exactly except user most likes Apk files outside the apk files of joyous software version, the apk files of the favorite software version of user are retained, such as This can not install the software of oneself favorite version again after can then preventing user's more new system or error uninstall.
Method given herein, all or part of step therein can be by setting up functional module construction, by computer Programmed instruction control computer system is completed.These computer program instructions are stored in a computer-readable storage medium.
Finally it should be noted that the above embodiments are merely illustrative of the technical solutions of the present invention, rather than to present invention guarantor The limitation of scope is protected, although being explained with reference to preferred embodiment to the present invention, one of ordinary skill in the art should Work as understanding, technical scheme can be modified or equivalent substitution, without departing from the reality of technical solution of the present invention Matter and scope.

Claims (2)

1. the method that smart machine clears up software installation APMB package automatically, it is characterized in that:
The software installation APMB package of default file type in the memory of smart machine described in timing scan, wherein, default file The software installation APMB package of type is apk files;
The software installation APMB package scanned is grouped, bag name identical software installation APMB package is divided into same group;
The software installation APMB package that default reserve is not met in same group is deleted;Wherein, default reserve is met Software installation APMB package refers to:The maximum software installation APMB package of version number in bag name identical software installation APMB package, or bag The software installation APMB package of download time the latest in name identical software installation APMB package, or appointed software installation Bao Wen Part;If or the maximum software installation APMB package at least two of same Zu Zhong version numbers, meet the software of default reserve Installation package file refers to:Version number is maximum in bag name identical software installation APMB package and the software of file generated time the latest is pacified APMB package is filled, wherein, the file generated time is that software developer has developed after software the time for generating software installation APMB package.
2. smart machine clears up the device of software installation APMB package automatically, it is characterized in that, including following device:
The software installation APMB package of default file type in scanning means, the memory of smart machine described in its timing scan, its In, the software installation APMB package of default file type is apk files;
Processing unit, it is grouped to the software installation APMB package scanned, by bag name identical software installation APMB package It is divided into same group;It deletes the software installation APMB package that default reserve is not met in same group;Wherein, default guarantor is met The software installation APMB package of condition is stayed to refer to:The maximum software installation Bao Wen of version number in bag name identical software installation APMB package The software installation APMB package of download time the latest in part, or bag name identical software installation APMB package, or appointed software peace Fill APMB package;If or the maximum software installation APMB package at least two of same Zu Zhong version numbers, meet default reserve Software installation APMB package refer to:In bag name identical software installation APMB package version number is maximum and the file generated time the latest Software installation APMB package, wherein, the file generated time is that software developer has developed generation software installation APMB package after software Time.
CN201410124215.4A 2014-03-31 2014-03-31 Smart machine clears up the method and device of software installation APMB package automatically Expired - Fee Related CN103942067B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410124215.4A CN103942067B (en) 2014-03-31 2014-03-31 Smart machine clears up the method and device of software installation APMB package automatically

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410124215.4A CN103942067B (en) 2014-03-31 2014-03-31 Smart machine clears up the method and device of software installation APMB package automatically

Publications (2)

Publication Number Publication Date
CN103942067A CN103942067A (en) 2014-07-23
CN103942067B true CN103942067B (en) 2017-11-03

Family

ID=51189743

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410124215.4A Expired - Fee Related CN103942067B (en) 2014-03-31 2014-03-31 Smart machine clears up the method and device of software installation APMB package automatically

Country Status (1)

Country Link
CN (1) CN103942067B (en)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104133754B (en) * 2014-07-29 2018-12-28 广州猎豹网络科技有限公司 A kind of application installation package is deleted the determination method, apparatus and system of reason
CN104182532B (en) * 2014-08-28 2018-10-16 北京金山安全软件有限公司 Terminal file cleaning method and device and terminal
WO2016029807A1 (en) 2014-08-28 2016-03-03 北京金山安全软件有限公司 Cleanup method and device for terminal resource and terminal
CN105373485A (en) * 2014-09-01 2016-03-02 富泰华工业(深圳)有限公司 Memory cleaning system and method and terminal device
CN104199704A (en) * 2014-09-10 2014-12-10 北京金山安全软件有限公司 Application program installation package clearing method and device
CN104268204A (en) * 2014-09-23 2015-01-07 珠海市君天电子科技有限公司 Garbage clearing method and device
CN104331376B (en) * 2014-11-14 2018-07-27 北京奇虎科技有限公司 The method for cleaning and device of the installation kit stored in mobile terminal
CN104572819B (en) * 2014-12-02 2017-02-22 深圳市腾讯计算机系统有限公司 Clearing method and system for junk data
CN106406927A (en) * 2016-08-24 2017-02-15 捷开通讯(深圳)有限公司 APK deletion method for terminal and terminal
CN110140117B (en) * 2017-11-10 2023-11-17 华为技术有限公司 Terminal automatically cleans personal files of users based on user habits
CN109032617B (en) * 2018-06-21 2022-03-29 上海二三四五网络科技有限公司 Control method and control device for automatically deleting installation package
CN109669920A (en) * 2018-12-07 2019-04-23 维沃移动通信有限公司 A kind of file delet method and terminal device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102654872A (en) * 2011-03-03 2012-09-05 腾讯科技(深圳)有限公司 Method and device for cleaning junk files generated by application programs
CN102999606A (en) * 2012-11-21 2013-03-27 东莞宇龙通信科技有限公司 Software deleting method and device
CN103092938A (en) * 2013-01-07 2013-05-08 浙江鸿程计算机系统有限公司 Method for intelligently cleaning garbage file of secure digital (SD) card of Android mobile phone

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100426298B9 (en) * 2006-08-28 2016-10-26 华为技术有限公司 A kind of cleaning garbage files method and system
JP5037595B2 (en) * 2009-12-10 2012-09-26 オリンパスイメージング株式会社 User information registration program and user information registration method
CN102129380B (en) * 2011-03-10 2015-05-13 宇龙计算机通信科技(深圳)有限公司 Server and method and mobile terminal for providing software
CN102955702B (en) * 2011-08-23 2016-08-10 腾讯科技(深圳)有限公司 A kind of software is installed and upgrade method and device
CN102857555A (en) * 2012-08-03 2013-01-02 深圳中兴网信科技有限公司 Terminal, server and software updating method
CN102867041B (en) * 2012-09-03 2015-07-22 东莞宇龙通信科技有限公司 Terminal and storage space management method
CN103176828B (en) * 2013-03-29 2017-06-09 北京奇虎科技有限公司 Delete the method and device of application program Stub File

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102654872A (en) * 2011-03-03 2012-09-05 腾讯科技(深圳)有限公司 Method and device for cleaning junk files generated by application programs
CN102999606A (en) * 2012-11-21 2013-03-27 东莞宇龙通信科技有限公司 Software deleting method and device
CN103092938A (en) * 2013-01-07 2013-05-08 浙江鸿程计算机系统有限公司 Method for intelligently cleaning garbage file of secure digital (SD) card of Android mobile phone

Also Published As

Publication number Publication date
CN103942067A (en) 2014-07-23

Similar Documents

Publication Publication Date Title
CN103942067B (en) Smart machine clears up the method and device of software installation APMB package automatically
US9519504B2 (en) Managing a server template
WO2016192197A1 (en) Software upgrade method, apparatus and system of terminal, and computer storage medium
CN111610978B (en) Applet conversion method, device, equipment and storage medium
US20220244941A1 (en) System and method for downgrading applications
CN107305553B (en) Method and system for dynamically jumping Hybrid page based on Hybrid App
CN108509209A (en) A kind of generation method, device, computer equipment and the storage medium of resource packet
CN103902562B (en) A kind of terminal database upgrade method and relevant apparatus
CN106569880B (en) Method and system for dynamically sharing resources between Android applications
CN110262872B (en) Load balancing application management method and device, computer equipment and storage medium
CN109101244B (en) Integrated automatic packaging method for ios system
CN105893073A (en) Update method and system used for application program, and business server and pushing server used for updating application program
CN113961346A (en) Data cache management and scheduling method and device, electronic equipment and storage medium
CN110209420A (en) A kind of method and device updating bootstrap loader
CN109819014B (en) Project deployment method and device, computer equipment and storage medium
CN108694049B (en) Method and equipment for updating software
CN105912641A (en) Icon update method and apparatus of Native Apps
CN106446114B (en) Data migration method and device
US11080909B2 (en) Image layer processing method and computing device
CN104243202A (en) Data processing method and device of parameter configuration and parameter configuration method and device
CN111294377B (en) Dependency network request sending method, terminal device and storage medium
KR102006640B1 (en) System, server system, method and program
CN107741854A (en) The installation method and device of the trawl performance of a kind of electronic equipment
CN104123160A (en) Element level updating method for navigation equipment
CN111338655A (en) Installation package distribution method and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20171103