CN104407822A - Method of clearing fragmented data of Android phone - Google Patents
Method of clearing fragmented data of Android phone Download PDFInfo
- Publication number
- CN104407822A CN104407822A CN201410775665.XA CN201410775665A CN104407822A CN 104407822 A CN104407822 A CN 104407822A CN 201410775665 A CN201410775665 A CN 201410775665A CN 104407822 A CN104407822 A CN 104407822A
- Authority
- CN
- China
- Prior art keywords
- data
- mobile phone
- subregion
- android
- crumb
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0628—Interfaces specially adapted for storage systems making use of a particular technique
- G06F3/0646—Horizontal data movement in storage systems, i.e. moving data in between storage devices or systems
- G06F3/0652—Erasing, e.g. deleting, data cleaning, moving of data to a wastebasket
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/62—Protecting access to data via a platform, e.g. using keys or access control rules
- G06F21/6218—Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
- G06F21/6245—Protecting personal data, e.g. for financial or medical purposes
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0628—Interfaces specially adapted for storage systems making use of a particular technique
- G06F3/0638—Organizing or formatting or addressing of data
- G06F3/064—Management of blocks
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Health & Medical Sciences (AREA)
- Health & Medical Sciences (AREA)
- Bioethics (AREA)
- Human Computer Interaction (AREA)
- Computer Hardware Design (AREA)
- Computer Security & Cryptography (AREA)
- Software Systems (AREA)
- Databases & Information Systems (AREA)
- Medical Informatics (AREA)
- Telephone Function (AREA)
Abstract
The invention discloses a method of clearing fragmented data of Android phone. The method comprises the following steps: S1, starting an Android underlying service; S2, paring file systems of partitions; S3, clearing all fragmented data of idle areas; S4, clearing all fragmented data of normal areas; The method of clearing fragmented data of Android phone is able to distinguish normal areas, idle areas and fragmented areas in partitions, thoroughly clear all fragmented data in idle areas and data of the fragmented areas in the normal areas, thereby ensuring data privacy of the public, and preventing baleful stealing of privacy data.
Description
Technical field
The present invention relates to field of information security technology, particularly a kind of method removing Android mobile phone crumb data.
Background technology
Android smartphone has SOS, independent operating space, can install third party software voluntarily, expanded function is powerful, inseparable with the life of people, data in mobile phone information wherein relates to the work, study, life, contacts, finance, leisure, amusement, emotion etc. of people, is very precious intangible asset concerning individual or company.
The mechanism of Android system file management can cause there is crumb data in mobile phone EMS memory and SD card, and when carrying out file management, disk fragments arrangement can be carried out to mobile phone EMS memory and SD card, the private data of user is very likely there is in fragment, these crumb data by some date restoring software rejuvenations on the market out, can cause the leakage of user privacy information.
Therefore, the process of these data is become very important.The at present also unspecial technology for eliminating to crumb data in Android mobile phone subregion on the market.In sum, develop a kind of method by scanning key word removing Android mobile phone crumb data and seem particularly important.
Summary of the invention
The present invention is directed to the defect of prior art, propose a kind of method removing Android mobile phone crumb data, effectively can solve above-mentioned prior art Problems existing.
To achieve these goals, the technical solution used in the present invention is: a kind of method removing Android mobile phone crumb data, comprises the following steps:
S1: enable Android underlying services;
S2: the file system of subregion is resolved;
S3: all crumb data removing clear area;
S4: all crumb data of normal region in removing.
As preferably, described S1 comprises the following steps:
S101: shielding Android system restriction;
S102: call physical layer interface, obtains the data of mobile phone subregion with self-defining block size;
S103: call the data that kernel function obtains mobile phone subregion, uses Android ADB Socket to set up with Android system and communicates;
S104: obtain the key message of corresponding sector and record by sending order.
As preferably, described S2 comprises the following steps:
S201: obtain partition system parameter;
S202: obtain subregion normal region and clear area, and obtain normal region and address, clear area;
S203: obtain the crumb data in subregion normal region.
As preferably, described subregion comprises DATA subregion and SD card subregion.
As preferably, described S3 comprises the following steps:
S301: the clear area size obtained according to S202, creates the file of formed objects;
S302: write null value is to file;
S303: file is filled out clear area stored in mobile phone;
S304: delete this file.
As preferably, described S4 comprises the following steps:
S401: the position and the size that calculate crumb data according to 203;
S402: crumb data is read to internal memory;
S403: null value write memory is covered all crumb data;
S404: write storage medium by with the data covered.
Compared with prior art the invention has the advantages that: the normal region in subregion, clear area, debris field can be distinguished; The debris field data of all crumb data in comprehensive removing clear area and normal region, have ensured the data-privacy of the public, and the malice of preventive inoculation to private data steals behavior.
Accompanying drawing explanation
Fig. 1 is the main flow chart of the embodiment of the present invention;
Fig. 2 is the detail flowchart of step S1 of the present invention;
Fig. 3 is the detail flowchart of step S2 of the present invention;
Fig. 4 is the detail flowchart of step S3 of the present invention;
Fig. 5 is the detail flowchart of step S4 of the present invention.
Embodiment
In order to describe the specific embodiment of the present invention in detail, below in conjunction with accompanying drawing to illustrate:
As shown in Figure 1, S1: enable Android underlying services;
S2: the file system of subregion is resolved;
S3: all crumb data removing clear area;
S4: remove all crumb data in normal region.
As shown in Figure 2, described S1 comprises the following steps:
S101: shielding Android system restriction; The effect of Android system is only the transmission of data, so shield the restriction of Android system, to realize the removing of bottom data.
S102: call physical layer interface, obtains the data of mobile phone subregion with self-defining block size;
S103: mobile phone is as server, and PC end, as client computer, uses Android ADB Socket to set up with Android system and communicates;
S104: obtain the key message of corresponding sector and record by sending order.
As shown in Figure 3, described S2 comprises the following steps:
S201: obtain partition system parameter, comprise partitioned organization, subregion path, carry partition name etc.;
S202: obtain subregion service condition, comprise total size and used size, distinguishes normal region and clear area, and obtains normal region and address, clear area;
S203: obtain size of data in block size and block, to distinguish the crumb data obtained in normal region.
Above-mentioned subregion comprises DATA subregion and SD card subregion.
As shown in Figure 4, described S3 comprises the following steps:
S301: the clear area size obtained according to S202, creates the file of formed objects;
S302: file, to file, fills up by write " 0x00 ";
S303: file is filled out clear area stored in mobile phone;
S304: delete this file, removes the crumb data that clear area is all.
As shown in Figure 5, described S4 comprises the following steps:
S401: the information obtained according to S203, calculates position and the size of block internal fragment data by usage space in block size and block;
S402: by all pieces of internal fragment digital independent to internal memory;
S403: " 0x00 " write memory is covered all crumb data;
S404: by with in the storage medium of the data covered write mobile phone, complete the cleaning of all normal regions internal fragment data.
More than describe and set forth detail to fully understand the present invention, but the present invention can also adopt other to be different from this describing mode to implement, therefore the present invention is not limited to above disclosed specific embodiment.
Claims (6)
1. remove a method for Android mobile phone crumb data, it is characterized in that comprising the following steps:
S1: enable Android underlying services;
S2: the file system of subregion is resolved;
S3: all crumb data removing clear area;
S4: remove all crumb data in normal region.
2. a kind of method removing Android mobile phone crumb data according to claim 1, is characterized in that described S1 comprises the following steps:
S101: shielding Android system restriction;
S102: call physical layer interface, obtains the data of mobile phone subregion with self-defining block size;
S103: call the data that kernel function obtains mobile phone subregion, uses Android ADB socket to set up with Android system and communicates;
S104: obtain the key message of corresponding sector and record by sending order.
3. a kind of method removing Android mobile phone crumb data according to claim 1, is characterized in that described S2 comprises the following steps:
S201: obtain partition system parameter;
S202: obtain subregion normal region and clear area, and obtain normal region and address, clear area;
S203: obtain the crumb data in subregion normal region.
4. a kind of method removing Android mobile phone crumb data according to claim 3, is characterized in that: described subregion comprises DATA subregion and SD card subregion.
5. a kind of method removing Android mobile phone crumb data according to claim 1 or 3, is characterized in that described S3 comprises the following steps:
S301: the clear area size obtained according to S202, creates the file of formed objects;
S302: write null value is to file;
S303: file is filled out clear area stored in mobile phone;
S304: delete this file.
6. a kind of method removing Android mobile phone crumb data according to claim 1 or 3, is characterized in that described S4 comprises the following steps:
S401: the position and the size that calculate crumb data according to 203;
S402: crumb data is read to internal memory;
S403: null value write memory is covered all crumb data;
S404: write storage medium by with the data covered.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201410775665.XA CN104407822A (en) | 2014-12-17 | 2014-12-17 | Method of clearing fragmented data of Android phone |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201410775665.XA CN104407822A (en) | 2014-12-17 | 2014-12-17 | Method of clearing fragmented data of Android phone |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN104407822A true CN104407822A (en) | 2015-03-11 |
Family
ID=52645455
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201410775665.XA Pending CN104407822A (en) | 2014-12-17 | 2014-12-17 | Method of clearing fragmented data of Android phone |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN104407822A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107277089A (en) * | 2016-04-07 | 2017-10-20 | 大唐网络有限公司 | The method that original information on smart mobile phone is thoroughly removed |
| CN111158869A (en) * | 2019-11-15 | 2020-05-15 | 西安海的电子科技有限公司 | Process fragment cleaning method based on android system |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7339892B1 (en) * | 2000-08-18 | 2008-03-04 | Nortel Networks Limited | System and method for dynamic control of data packet fragmentation threshold in a wireless network |
| US20080155301A1 (en) * | 2006-12-20 | 2008-06-26 | Nokia Corporation | Memory device performance enhancement through pre-erase mechanism |
| CN101409946A (en) * | 2008-11-28 | 2009-04-15 | 飞图科技(北京)有限公司 | Method capable of thoroughly deleting data of mobile phone memory card |
| CN104090793A (en) * | 2014-07-07 | 2014-10-08 | 四川效率源信息安全技术有限责任公司 | Device and method for destroying Android mobile phone body data |
-
2014
- 2014-12-17 CN CN201410775665.XA patent/CN104407822A/en active Pending
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7339892B1 (en) * | 2000-08-18 | 2008-03-04 | Nortel Networks Limited | System and method for dynamic control of data packet fragmentation threshold in a wireless network |
| US20080155301A1 (en) * | 2006-12-20 | 2008-06-26 | Nokia Corporation | Memory device performance enhancement through pre-erase mechanism |
| CN101409946A (en) * | 2008-11-28 | 2009-04-15 | 飞图科技(北京)有限公司 | Method capable of thoroughly deleting data of mobile phone memory card |
| CN104090793A (en) * | 2014-07-07 | 2014-10-08 | 四川效率源信息安全技术有限责任公司 | Device and method for destroying Android mobile phone body data |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107277089A (en) * | 2016-04-07 | 2017-10-20 | 大唐网络有限公司 | The method that original information on smart mobile phone is thoroughly removed |
| CN111158869A (en) * | 2019-11-15 | 2020-05-15 | 西安海的电子科技有限公司 | Process fragment cleaning method based on android system |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| Dai et al. | Who moved my data? privacy protection in smartphones | |
| CN107748685B (en) | Application program starting control method and device, terminal equipment and storage medium | |
| CN103281375B (en) | A kind of contact management method of third-party application and device, system | |
| US10609554B2 (en) | System and method to collect device location context without the collection of raw, detailed location data at scale | |
| CN105493054A (en) | Fast data protection using dual file systems | |
| CN102214288B (en) | Privacy protection method based on incarnations | |
| CN107844342A (en) | Management-control method, device and the storage medium and mobile terminal of application program keep-alive | |
| CN103702283A (en) | Message sending method, receiving method, device, terminal equipment and server | |
| CN102411684A (en) | Data protection method and device | |
| US10379994B1 (en) | Methods and systems for smart code scanning, analysis and reporting | |
| CN105005528A (en) | Log information extraction method and apparatus | |
| CN105373487A (en) | Defragmentation method and system for storage operation system | |
| US20200082285A1 (en) | User recommendation method and device | |
| CN104035842A (en) | Method for deleting and recovering built-in application program | |
| CN104618601A (en) | Data sharing method and multisystem terminal | |
| CN104008343A (en) | Data shattering method and device | |
| CN105760528A (en) | Information processing method and device | |
| CN105630855A (en) | File sharing method, file sharing system and terminal | |
| CN102929947A (en) | Data processing method and device | |
| CN104407822A (en) | Method of clearing fragmented data of Android phone | |
| CN103488487A (en) | Event reminding method and terminal | |
| CN104092680B (en) | The coding of a kind of audio signal, coding/decoding method and Apparatus and system | |
| CN106776908A (en) | Data clearing method, device and terminal | |
| CN107908953A (en) | Notifications service control method, device, terminal device and storage medium | |
| CN104331257A (en) | Method for clearing away fragment data of Android phone by scanning keywords |
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 | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20150311 |