Android device data partition data error prevention method

A technology for data and equipment, applied in the field of data error prevention of DATA partition of Android devices, it can solve the problems of failed download and update, slow traversal speed, and reduced production line capacity, and achieves the effect of small amount of code, strong versatility, and fast speed

Active Publication Date: 2019-05-10
SHENZHEN TOPWISE COMM CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] After the existing mobile phone is successfully generated, it is necessary to charge the mobile phone and download and update the mobile phone system and software. However, during the process of downloading and updating the mobile phone software, there will be a power failure, resulting in failure to download and update, resulting in mobile phone failure. Or the software cannot be used. In this case, manual factory reset is often used, which is complicated to operate and reduces the production line capacity. This method cannot even be used under abnormal startup conditions; or the abnormal file search algorithm is used, the traversal speed is slow, and misjudgment is caused. There are many situations

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Android device data partition data error prevention method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0020] In order to express the present invention more clearly, the present invention will be further described below in conjunction with the accompanying drawings.

[0021] refer to figure 1 , a kind of Android device DATA partition data anti-error method of the present invention comprises the following specific steps:

[0022] S1, DATA generation: before downloading and updating the software, scan the data that needs to be downloaded to the DATA partition, and record the corresponding file name to the A file, and also include the A file name; the first time the phone is turned on, the DATA partition has no data , no other file names are recorded in the A file; the first boot thought the DATA partition had no data, so the first boot was a misjudgment, but it had no effect on the system;

[0023] S2, software burning: burning the required software to the mobile phone;

[0024] S3, the processing of files other than the files recorded in the A file during the startup initializ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a data error prevention method for a DATA partition of an Android device. Before update software is downloaded, data needed to be downloaded to the DATA partition is scanned, and corresponding file names are recorded in an A file, wherein the file names also include an A file name; and the Android device starts to be initialized, an init process discovers the existence of the A file after startup, a system deletes all files except files recorded in the A file in the DATA partition, the deleted files are regenerated by the system, the system sends a BOOT_COMPLETE message, and a corresponding application deletes the A file, so that the startup process is finished. According to the method, a DATA generation mechanism and a startup finishing message distribution mechanism of the android system are fully utilized; and the method has the advantages of high universality, no manual intervention, small code quantity, high speed and no misjudgment.

Description

technical field [0001] The invention relates to the technical field of Android devices, in particular to a data error prevention method for DATA partitions of Android devices. Background technique [0002] After the existing mobile phone is successfully generated, it is necessary to charge the mobile phone and download and update the mobile phone system and software. However, during the process of downloading and updating the mobile phone software, there will be a power failure, resulting in failure to download and update, resulting in mobile phone failure. Or the software cannot be used. In this case, manual factory reset is often used, which is complicated to operate and reduces the production line capacity. This method cannot even be used under abnormal startup conditions; or the abnormal file search algorithm is used, the traversal speed is slow, and misjudgment is caused. There are many situations. Contents of the invention [0003] Aiming at the deficiencies in the ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & AuthorityPatents(China)
IPC IPC(8): G06F11/07
CPCG06F11/0793
Inventor沙乃兵
OwnerSHENZHEN TOPWISE COMM CO LTD