Supercharge Your Innovation With Domain-Expert AI Agents!

Storage unit formatting method and system

A storage unit and storage area technology, applied in the field of communication, can solve problems such as data loss, and achieve the effect of improving user experience.

Inactive Publication Date: 2017-02-22
ZTE CORP
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The main technical problem to be solved by the present invention is to provide a method and system for formatting a storage unit, which solves the problem that all stored data will be deleted during the existing format and the important data will be lost

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
  • Storage unit formatting method and system
  • Storage unit formatting method and system
  • Storage unit formatting method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0032] The storage unit formatting method of the embodiment of the present application, such as figure 1 As shown, the method includes:

[0033] S101: Setting a protected storage area in the storage unit, where the protected storage area is used to store data to be protected;

[0034] In this step, the protected storage area here is a part of the storage unit, that is, a specific storage space is selected from the storage spaces in the storage unit as the protected storage area. The storage unit here refers to a storage medium that can be used for data storage, specifically, it can be a mobile hard disk, a magnetic disk, an SD card, and the like. The protected data here refers to data that the user does not wish to delete, that is, data that is relatively important to the user. Specifically, it can be files, pictures, audio, etc.

[0035] S102: During the process of formatting the storage unit, determine whether the current storage area to be formatted is a protected storag...

Embodiment 2

[0041] For the storage unit formatting method of the embodiment of the present application, this embodiment mainly takes the storage unit as an SD card as an example for illustration, and the specific area is a protected storage area, such as figure 1 As shown, the method includes:

[0042] Step S201: Click and long press the file to be saved, and the pop-up option includes "save and move to a specific area when formatting";

[0043] Step S202: Obtain the starting sector and the total number of sectors of the file to be saved, and arrange the data into a specific area;

[0044] In this step, the specific process of storing data in a specific area is that the area is pointed out by the start cluster number of the directory entry to the first cluster number of the file in the allocation table. In this cluster number unit, it is recorded that The cluster number of the next cluster of the file, and so on until the last cluster number of the file, so that the storage space of the ...

Embodiment 3

[0052] This embodiment provides a storage unit formatting device 300, such as image 3 As shown, it includes a protection setting module 301 and a formatting module 302: wherein, the protection setting module 301 is used to set a protection storage area in the storage unit, and the protection storage area is used to store data to be protected; the formatting processing module 302 is used to During the formatting process of the storage unit, it is judged whether the storage area to be formatted is a protected storage area, and if so, the protected storage area is not formatted.

[0053] Further, the protection setting module 301 is further configured to set a protection storage area in the storage area occupied by the data to be protected in the storage unit, the protected storage area at least includes the storage area occupied by the data to be protected.

[0054] Further, the protection setting module 301 is also configured to set a specified area in the storage unit as a pr...

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 provides a storage unit formatting method and system, which is applied to the field of communications. The storage unit formatting method specifically comprises the steps of setting a protective storage region in a storage unit, wherein the protective storage region is used for storing to-be-protected data; and in a process of formatting the storage unit, judging whether a current to-be-formatted storage region is the protective storage region or not, and if yes, not formatting the protective storage region. Compared with the prior art, the method and the system have the advantages that the to-be-protected data is stored in the protective storage region, and stored data in the protective storage region is not deleted in the formatting process, so that important data can be stored without virtue of an external storage unit, a user can conveniently protect the important data during formatting, the important data loss does not need to be worried, and the user experience is improved.

Description

technical field [0001] The invention relates to the communication field, in particular to a storage unit formatting method and system. Background technique [0002] Formatting the current storage unit will format and delete all the stored information in the card, for example, the storage unit is an SD card. In a project that supports an external SD card, if the card is formatted, all stored information in the card will be formatted and deleted, which will cause trouble to the user. If the user wants to save the information, the user needs to back it up in advance, otherwise the stored information Information will be lost, causing some losses to users. [0003] If the user's important files need to be backed up or transferred in advance, it is not only a waste of time but also needs to be saved with other devices, so a good formatting method is needed to avoid the problem that formatting will delete all data. Contents of the invention [0004] The main technical problem t...

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 & Authority Applications(China)
IPC IPC(8): G06F3/06
CPCG06F3/06
Inventor 司路路
Owner ZTE CORP
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More