CN105468406A - Android system based application residual junk data collection method and system thereof - Google Patents

Android system based application residual junk data collection method and system thereof Download PDF

Info

Publication number
CN105468406A
CN105468406A CN201510796734.XA CN201510796734A CN105468406A CN 105468406 A CN105468406 A CN 105468406A CN 201510796734 A CN201510796734 A CN 201510796734A CN 105468406 A CN105468406 A CN 105468406A
Authority
CN
China
Prior art keywords
path
application program
data
path address
residual
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
CN201510796734.XA
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.)
Guangzhou jiubang century science and Technology Co Ltd
Original Assignee
JIUBANG COMPUTER TECHNOLOGY (GUANGZHOU) Co Ltd
Guangzhou Jiubang Digital 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 JIUBANG COMPUTER TECHNOLOGY (GUANGZHOU) Co Ltd, Guangzhou Jiubang Digital Technology Co Ltd filed Critical JIUBANG COMPUTER TECHNOLOGY (GUANGZHOU) Co Ltd
Priority to CN201510796734.XA priority Critical patent/CN105468406A/en
Publication of CN105468406A publication Critical patent/CN105468406A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • G06F8/62Uninstallation

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The invention provides an android system based application residual junk data collection method. The method comprises the steps of monitoring an installation event of an application, when an application installation notification is received, recording a current storage card path structure; continuously monitoring an open event of the application, when it is monitored that the application is opened, recording the current storage card path structure again in a preset time; comparing the storage card path structure of a second recorded event with the storage card path structure of a first recorded event, and screening out newly added path content data relatively to the first recorded event; back hauling a path address of the newly added content data to a server; comparing the path address with a preset list so as to filter path addresses in the list; and merging and gathering the filtered path addresses, counting and entering the filtered path addresses in an identification database, so as to realize collection in a high accuracy and high execution efficiency way. The invention also provides an android system based application residual junk data collection system.

Description

A kind of application program residual garbage collecting method based on Android system and system thereof
Technical field
The present invention relates to residual garbage data acquisition technology field, be specifically related to a kind of application program residual garbage collecting method based on Android system and system thereof.
Background technology
After Android is applied in and installs and uses under normal circumstances, can generate a batch file under SD card, when application program is unloaded, these files can not be completely deleted, therefore causes the free space of mobile terminal device constantly to reduce.For the junk data identification of the application program after unloaded, normally adopt artificial mode to safeguard, its accuracy, path cover, execution efficiency all has problems.
Summary of the invention
Object of the present invention, overcomes the deficiencies in the prior art exactly, provides a kind of accuracy and the high application program residual garbage collecting method based on Android system of execution efficiency, meets users ' individualized requirement.
For realizing another object of invention, present invention also offers a kind of application program residual garbage data acquisition system (DAS) based on Android system.
In order to achieve the above object, adopt following technical scheme: a kind of application program residual garbage collecting method based on Android system, said method comprising the steps of:
Monitor the Installation Events of application program, after receiving set up applications notice, recording current memory card path structure, is first record event;
What continue monitoring application program opens event, and when listening to this application program and opening, within the time of presetting, again record current memory card path structure, be second time recording events;
The memory card path structure of second time recording events and the memory card path structure of first record event are compared, filters out the path content data data that second time recording events newly increases relative to first record event;
The path address of newly-increased content-data is returned to server;
After server receives path address, itself and the list list preset are compared, filters out the path address in list list;
After filtering, gained path address is the path address of residual data, is merged to gather and carry out statistics to be entered in server identification database.
Further, described method is further comprising the steps of:
Monitor in gatherer process simultaneously and whether have new application program to install, if so, then interrupt the data acquisition of current application program.
Further, described method is further comprising the steps of:
After the path address of newly-increased content-data is treated to preset format, return to server.
Further, described method is further comprising the steps of:
After filtering, gained path address is the path address of residual data, and merged and gather and add up, statistics comprises: path address quantity, the accounting of the quantity of application package name, accounting and application package name correspondence.
Further, described method is further comprising the steps of:
After filtering, gained path address is the path address of residual data, being merged to gather and carry out statistics is entered in server identification database, server checks that whether path address to be logged is unique, if not, when whole application packages that then confirmation can generate this path address are not all installed, be just identified as residual data.
For realizing another object of the present invention, the present invention also adopts following technical scheme: a kind of application program residual garbage data acquisition system (DAS) based on Android system, and described system comprises:
Monitoring unit, for monitoring the Installation Events of application program, after receiving set up applications notice, recording current memory card path structure, is first record event; What continue monitoring application program opens event, and when listening to this application program and opening, within the time of presetting, again record current memory card path structure, be second time recording events;
Screening unit, for the memory card path structure of second time recording events and the memory card path structure of first record event being compared, filters out the path content data data that second time recording events newly increases relative to first record event;
Delivery unit, for returning to server by the path address of newly-increased content-data;
Filter element, after server receives path address, compares itself and the list list preset, filters out the path address in list list;
Typing unit, after filtering, gained path address is the path address of residual data, is merged to gather and carry out statistics to be entered in server identification database.
Further, whether described monitoring unit is monitored in gatherer process simultaneously has new application program to install, and if so, then interrupts the data acquisition of current application program.
Further, described delivery unit returns to server after the path address of newly-increased content-data is treated to preset format.
Further, after described typing unit filters, gained path address is the path address of residual data, merged and gather and add up, statistics comprises: path address quantity, the accounting of the quantity of application package name, accounting and application package name correspondence.
Further, described system also comprises:
Recognition unit, server checks that path address to be logged is whether unique, if not, then when whole application packages that confirmation can generate this path address are not all installed, be just identified as residual data.
Compared with prior art, beneficial effect of the present invention is: the present invention is by monitoring the Installation Events of application program, and after receiving set up applications notice, recording current memory card path structure, is first record event; What continue monitoring application program opens event, and when listening to this application program and opening, within the time of presetting, again record current memory card path structure, be second time recording events; The memory card path structure of second time recording events and the memory card path structure of first record event are compared, filters out the path content data data that second time recording events newly increases relative to first record event; The path address of newly-increased content-data is returned to server; After server receives path address, itself and the list list preset are compared, filters out the path address in list list; After filtering, gained path address is the path address of residual data, is merged to gather and carry out statistics and is entered in server identification database, to realize the collection of application program residual data of pin-point accuracy, high execution efficiency.
Accompanying drawing explanation
Fig. 1 is the module diagram of the embodiment of the present invention one based on the application program residual garbage data acquisition system (DAS) of Android system;
Fig. 2 is the process flow diagram of the embodiment of the present invention one based on the application program residual garbage collecting method of Android system.
Embodiment
Describe the present invention in detail below in conjunction with accompanying drawing and specific implementation method, be used for explaining the present invention in exemplary embodiment and description of the present invention, but not as a limitation of the invention.
Embodiment one
As shown in Figure 1, a kind of application program residual garbage data acquisition system (DAS) based on Android system, described system comprises:
Monitoring unit, for monitoring the Installation Events of application program, after receiving set up applications notice, recording current memory card path structure, is first record event; What continue monitoring application program opens event, and when listening to this application program and opening, within the time of presetting, again record current memory card path structure, be second time recording events;
Screening unit, for the memory card path structure of second time recording events and the memory card path structure of first record event being compared, filters out the path content data data that second time recording events newly increases relative to first record event;
Delivery unit, for returning to server by the path address of newly-increased content-data;
Filter element, after server receives path address, compares itself and the list list preset, filters out the path address in list list;
Typing unit, after filtering, gained path address is the path address of residual data, is merged to gather and carry out statistics to be entered in server identification database.
As shown in Figure 2, a kind of application program residual garbage collecting method based on Android system, said method comprising the steps of:
S101: the Installation Events monitoring application program, after receiving set up applications notice, recording current memory card path structure, is first record event;
S102: what continue monitoring application program opens event, when listening to this application program and opening, within the time of presetting, again record current memory card path structure, be second time recording events;
S103: the memory card path structure of second time recording events and the memory card path structure of first record event are compared, filters out the path content data data that second time recording events newly increases relative to first record event;
S104: the path address of newly-increased content-data is returned to server;
S105: after server receives path address, compares itself and the list list preset, filters out the path address in list list;
S106: after filtering, gained path address is the path address of residual data, is merged to gather and carry out statistics and is entered in server identification database.
Embodiment two
Based on an application program residual garbage data acquisition system (DAS) for Android system, described system comprises:
Monitoring unit, for monitoring the Installation Events of application program, after receiving set up applications notice, recording current memory card path structure, is first record event; What continue monitoring application program opens event, the time continuing to monitor can be 5min ~ 15min, when listening to this application program and opening, within the time of presetting, again records current memory card path structure, for second time recording events, the default time can be 30s ~ 90s; Whether described monitoring unit is monitored in gatherer process simultaneously has new application program to install, and if so, then interrupts the data acquisition of current application program.
Screening unit, for the memory card path structure of second time recording events and the memory card path structure of first record event are compared, filter out the path content data data that second time recording events newly increases relative to first record event, comprise the path address of newly-generated file, catalogue;
Delivery unit, after the path address of newly-increased content-data is treated to preset format, returns to server;
Filter element, after server receives path content data data, itself and the list list preset are compared, the list list preset comprises the system core data directories such as photograph album catalogue, music catalog .android, filters out the path content data data in list list;
Typing unit, after filtering, the data of gained are the path content data of residual data, being merged to gather and carry out statistics is entered in server identification database, statistics comprises: number of paths, the accounting of the quantity of application package name, accounting and application package name correspondence, the inexact data that wherein accounting is lower will be filtered.
Recognition unit, server checks that path to be logged is whether unique, if not, then when whole application packages that confirmation can generate this path are not all installed, be just identified as residual data, with the situation of the path avoiding often having different application to generate in individual path together.
The residual data storehouse gathered, will be used for identifying application program for mobile terminal bag residual data, concrete operations are: obtain the user's bag list of file names of set up applications and language in use, then inquire about to server request.Server by residual data storehouse according to inquiry, comprises the corresponding relation of path and bag name, program name, is handed down to mobile terminal.
Mobile terminal is in identifying, and whether by scan full hard disk memory card, in rubbish identification storehouse, inquiring about local path after completing has identification.If had, then corresponding according to this path in database application bag name, whether inquiring user installs list has occurrence, if all do not mated, then illustrate that the application program generating this path is all unloaded, and judge that the data in this path unload residual data as application.The present invention, by the mode of large data analysis, in conjunction with the installation behavior of user, analyzes surviving path the most accurately.
Based on an application program residual garbage collecting method for Android system, said method comprising the steps of:
S201: the Installation Events monitoring application program, after receiving set up applications notice, recording current memory card path structure, is first record event;
S202: what continue monitoring application program opens event, and when listening to this application program and opening, again recording current memory card path structure, is second time recording events;
S203: the memory card path structure of second time recording events and the memory card path structure of first record event are compared, filters out the path content data data that second time recording events newly increases relative to first record event;
S204: be, after preset format, return to server by newly-increased path content data data processing;
S205: after server receives path address, compares itself and the list list preset, filters out the path address in list list;
S206: after filtering, gained path address is the path address of residual data, is merged and gathers;
S207: server checks that path to be logged is whether unique, if not, then when whole application packages that confirmation can generate this path are not all installed, be just identified as residual data;
S208: carry out statistics to residual data and be entered in server identification database, statistics comprises: path address quantity, the accounting of the quantity of application package name, accounting and application package name correspondence.
Whether described monitoring unit is monitored in gatherer process simultaneously has new application program to install, and if so, then interrupts the data acquisition of current application program.
If the function described in the present embodiment using the form of SFU software functional unit realize and as independently production marketing or use time, can be stored in a computing equipment read/write memory medium.Based on such understanding, the part of the part that the embodiment of the present invention contributes to prior art or this technical scheme can embody with the form of software product, this software product is stored in a storage medium, comprising some instructions in order to make a computing equipment (can be personal computer, server, mobile computing device or the network equipment etc.) perform all or part of step of method described in each embodiment of the present invention.And aforesaid storage medium comprises: USB flash disk, portable hard drive, ROM (read-only memory) (ROM, Read-OnlyMemory), random access memory (RAM, RandomAccessMemory), magnetic disc or CD etc. various can be program code stored medium.In this instructions, each embodiment adopts the mode of going forward one by one to describe, and what each embodiment stressed is the difference with other embodiment, between each embodiment same or similar part mutually see.
To the above-mentioned explanation of the disclosed embodiments, professional and technical personnel in the field are realized or uses the present invention.To be apparent for those skilled in the art to the multiple amendment of these embodiments, General Principle as defined herein can without departing from the spirit or scope of the present invention, realize in other embodiments.Therefore, the present invention can not be restricted to these embodiments shown in this article, but will meet the widest scope consistent with principle disclosed herein and features of novelty.

Claims (10)

1., based on an application program residual garbage collecting method for Android system, it is characterized in that, said method comprising the steps of:
Monitor the Installation Events of application program, after receiving set up applications notice, recording current memory card path structure, is first record event;
What continue monitoring application program opens event, and when listening to this application program and opening, within the time of presetting, again record current memory card path structure, be second time recording events;
The memory card path structure of second time recording events and the memory card path structure of first record event are compared, filters out the path content data data that second time recording events newly increases relative to first record event;
The path address of newly-increased content-data is returned to server;
After server receives path address, itself and the list list preset are compared, filters out the path address in list list;
After filtering, gained path address is the path address of residual data, is merged to gather and carry out statistics to be entered in server identification database.
2. the application program residual garbage collecting method based on Android system according to claim 1, it is characterized in that, described method is further comprising the steps of:
Monitor in gatherer process simultaneously and whether have new application program to install, if so, then interrupt the data acquisition of current application program.
3. the application program residual garbage collecting method based on Android system according to claim 1, it is characterized in that, described method is further comprising the steps of:
After the path address of newly-increased content-data is treated to preset format, return to server.
4. the application program residual garbage collecting method based on Android system according to claim 1, it is characterized in that, described method is further comprising the steps of:
After filtering, gained path address is the path address of residual data, and merged and gather and add up, statistics comprises: path address quantity, the accounting of the quantity of application package name, accounting and application package name correspondence.
5. the application program residual garbage collecting method based on Android system according to claim 1, it is characterized in that, described method is further comprising the steps of:
After filtering, gained path address is the path address of residual data, being merged to gather and carry out statistics is entered in server identification database, server checks that whether path address to be logged is unique, if not, when whole application packages that then confirmation can generate this path address are not all installed, be just identified as residual data.
6., based on an application program residual garbage data acquisition system (DAS) for Android system, it is characterized in that, described system comprises:
Monitoring unit, for monitoring the Installation Events of application program, after receiving set up applications notice, recording current memory card path structure, is first record event; What continue monitoring application program opens event, and when listening to this application program and opening, within the time of presetting, again record current memory card path structure, be second time recording events;
Screening unit, for the memory card path structure of second time recording events and the memory card path structure of first record event being compared, filters out the path content data data that second time recording events newly increases relative to first record event;
Delivery unit, for returning to server by the path address of newly-increased content-data;
Filter element, after server receives path address, compares itself and the list list preset, filters out the path address in list list;
Typing unit, after filtering, gained path address is the path address of residual data, is merged to gather and carry out statistics to be entered in server identification database.
7. the application program residual garbage data acquisition system (DAS) based on Android system according to claim 6, it is characterized in that, whether described monitoring unit is monitored in gatherer process simultaneously has new application program to install, and if so, then interrupts the data acquisition of current application program.
8. the application program residual garbage data acquisition system (DAS) based on Android system according to claim 6, it is characterized in that, described delivery unit returns to server after the path address of newly-increased content-data is treated to preset format.
9. the application program residual garbage data acquisition system (DAS) based on Android system according to claim 6, it is characterized in that, after described typing unit filters, gained path address is the path address of residual data, merged and gather and add up, statistics comprises: path address quantity, the accounting of the quantity of application package name, accounting and application package name correspondence.
10. the application program residual garbage data acquisition system (DAS) based on Android system according to claim 6, it is characterized in that, described system also comprises:
Recognition unit, server checks that path address to be logged is whether unique, if not, then when whole application packages that confirmation can generate this path address are not all installed, be just identified as residual data.
CN201510796734.XA 2015-11-18 2015-11-18 Android system based application residual junk data collection method and system thereof Pending CN105468406A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510796734.XA CN105468406A (en) 2015-11-18 2015-11-18 Android system based application residual junk data collection method and system thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510796734.XA CN105468406A (en) 2015-11-18 2015-11-18 Android system based application residual junk data collection method and system thereof

Publications (1)

Publication Number Publication Date
CN105468406A true CN105468406A (en) 2016-04-06

Family

ID=55606144

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510796734.XA Pending CN105468406A (en) 2015-11-18 2015-11-18 Android system based application residual junk data collection method and system thereof

Country Status (1)

Country Link
CN (1) CN105468406A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112698849A (en) * 2021-03-24 2021-04-23 北京海誉动想科技股份有限公司 Method and device for clearing user archives based on cloud game

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102495772A (en) * 2011-09-30 2012-06-13 奇智软件(北京)有限公司 Characteristic-based terminal program cloud backup and recovery methods
CN103092938A (en) * 2013-01-07 2013-05-08 浙江鸿程计算机系统有限公司 Method for intelligently cleaning garbage file of secure digital (SD) card of Android mobile phone
CN103646087A (en) * 2013-12-13 2014-03-19 北京奇虎科技有限公司 Junk file data cleaning method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102495772A (en) * 2011-09-30 2012-06-13 奇智软件(北京)有限公司 Characteristic-based terminal program cloud backup and recovery methods
CN103092938A (en) * 2013-01-07 2013-05-08 浙江鸿程计算机系统有限公司 Method for intelligently cleaning garbage file of secure digital (SD) card of Android mobile phone
CN103646087A (en) * 2013-12-13 2014-03-19 北京奇虎科技有限公司 Junk file data cleaning method and device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112698849A (en) * 2021-03-24 2021-04-23 北京海誉动想科技股份有限公司 Method and device for clearing user archives based on cloud game

Similar Documents

Publication Publication Date Title
Chen Information valuation for information lifecycle management
CN109240886B (en) Exception handling method, exception handling device, computer equipment and storage medium
US20030065759A1 (en) Event driven storage resource metering
US9390128B1 (en) Datastore for storing file access event data
US8640232B2 (en) File system event tracking
CN103246595B (en) Application management method, device, server and terminating unit
US9262260B2 (en) Information processing apparatus, information processing method, and recording medium
CN201993755U (en) Data filtration, compression and storage system of real-time database
CN103955530A (en) Data reconstruction and optimization method of on-line repeating data deletion system
CN109165143A (en) Database detection method, system, server and storage medium
CN103177022A (en) Method and device of malicious file search
CN100478911C (en) Protection method in the time of aberrant management thread
CN105005517B (en) The storage and backup system and method for call center's recording file
CN110059139A (en) Business datum archiving method, equipment, server and computer readable storage medium
CN110941530B (en) Method, device, computer equipment and storage medium for acquiring monitoring data
CN105468406A (en) Android system based application residual junk data collection method and system thereof
WO2017040503A1 (en) FILE MANAGEMENT FOR eDISCOVERY
CN103778064A (en) Data management method and device
CN103678041A (en) Incremental backup method and system
US20130144844A1 (en) Computer system and file system management method using the same
CN104915376A (en) Cloud storage file archiving and compressing method
CN112433888A (en) Data processing method and device, storage medium and electronic equipment
CN107885644A (en) It is a kind of based on the method that BIOS default values are quickly checked under linux system
CN104408097A (en) Hybrid indexing method and system based on character field hot update
CN110827072A (en) Data query and storage 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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20171023

Address after: 510055, tower 17, A tower, Zhonghua International Center, No. three, 33 Zhongshan Road, Yuexiu District, Guangdong, Guangzhou, China

Applicant after: Guangzhou jiubang century science and Technology Co Ltd

Address before: 510055 A, block 16-17, China International Center, No. three, Zhongshan Road, Guangzhou, Guangdong, China

Applicant before: Guangzhou Jiubang Digital Technology Co., Ltd.

Applicant before: Jiubang computer technology (Guangzhou) Co., Ltd.

WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20160406