CN106294004A - A kind of USB flash disk is anti-error deletes the method losing data - Google Patents

A kind of USB flash disk is anti-error deletes the method losing data Download PDF

Info

Publication number
CN106294004A
CN106294004A CN201610606659.0A CN201610606659A CN106294004A CN 106294004 A CN106294004 A CN 106294004A CN 201610606659 A CN201610606659 A CN 201610606659A CN 106294004 A CN106294004 A CN 106294004A
Authority
CN
China
Prior art keywords
module
data
usb flash
flash disk
backup
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
CN201610606659.0A
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.)
Wuhu Zhenhua Rongke Intelligent Technology Co Ltd
Original Assignee
Wuhu Zhenhua Rongke Intelligent 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 Wuhu Zhenhua Rongke Intelligent Technology Co Ltd filed Critical Wuhu Zhenhua Rongke Intelligent Technology Co Ltd
Priority to CN201610606659.0A priority Critical patent/CN106294004A/en
Publication of CN106294004A publication Critical patent/CN106294004A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1448Management of the data involved in backup or backup restore

Abstract

The present invention relates to a kind of anti-error method deleting loss data of USB flash disk, described USB flash disk includes backup module, memory module, execution module, when memory module is write, perform module and replicate presently written data to backup module, in the case of occurring deleting by mistake, the recovery of data can be carried out by the data opening backup module, thus avoid USB flash disk to delete by mistake and cause loss of data.The inventive method is advanced, science; pass through the present invention; when memory module is write; perform module and replicate presently written data to backup module; thus when occurring deleting in the case of by mistake, the recovery of data can be carried out by the data opening backup module, thus avoid USB flash disk to delete by mistake and cause loss of data; thus improve safety, reach to protect the purpose of USB flash disk data.

Description

A kind of USB flash disk is anti-error deletes the method losing data
Technical field
The present invention relates to a kind of anti-error method deleting loss data of USB flash disk, belong to USB flash disk safety design technical field.
Background technology
USB flash disk, full name USB flash drive, it is that a kind of miniature high power capacity without phisical drive using USB interface moves Storage product, is connected with computer by USB interface, it is achieved plug and play.Along with the universal of computer utility and storage device The expanding day of capacity, the use of movable storage device is more and more extensive, the problem thus having caused storage equipment security. Existing USB flash disk, once data are deleted by mistake, the most direct complete deletion, and the data of deletion are difficult to recover, thus the work to people Bring the biggest inconvenience.
Summary of the invention
The purpose of the present invention is aiming at the drawback that above-mentioned prior art exists, it is provided that one can improve USB flash disk safety USB flash disk anti-error delete lose data method.
The object of the present invention is achieved like this, and a kind of USB flash disk is anti-error deletes the method losing data, it is characterized in that: described USB flash disk Including backup module, memory module, execution module, the memory capacity of described backup module is identical with the capacity of memory module;When When memory module is write, perform module and replicate presently written data to backup module, copying data to backup Before module, perform module and first obtain the size of presently written file, then obtain the remaining memory space of backup module, when standby Presently written file more than or equal to the size of presently written file, is then directly copied to by part remaining memory space of module Backup module, when the remaining memory space of backup module is less than the size of presently written file, performs module and judges according to the time Delete time file earlier in backup module, until the remaining memory space of backup module is more than or equal to presently written The size of file, execution module retells presently written file and is copied to backup module;In the case of occurring deleting by mistake, Ke Yitong Cross and open the data of backup module and carry out the recovery of data, thus avoid USB flash disk to delete by mistake and cause loss of data.
It is additionally provided with regular removing module, the time arranged according to regular removing module in described backup module, mould will be backed up The data of the backup in block carry out emptying process.
The time that described regular removing module sets was as 1 week.
Described USB flash disk also includes display module, and display module is in real time by the residue storage area in backup module and storage mould The residue storage area of block.
Described display module is display.
The inventive method is advanced, science, by the present invention, when writing memory module, performs module duplication and works as The data of front write are to backup module, thus in the case of occurring deleting, can be carried out by the data opening backup module by mistake The recovery of data, thus avoid USB flash disk to delete by mistake and cause loss of data, thus improve safety, reach to protect USB flash disk data Purpose.
Accompanying drawing explanation
Fig. 1 is the workflow diagram of the present invention.
Detailed description of the invention
A kind of USB flash disk is anti-error deletes the method losing data, including backup module, memory module, execution module, described backup mould The memory capacity of block is identical with the capacity of memory module;When memory module is write, perform module and replicate presently written Data to backup module, before copying data to backup module, perform module and first obtain the size of presently written file, Then the remaining memory space of backup module is obtained, when the remaining memory space of backup module is more than or equal to presently written file Size, then directly presently written file is copied to backup module, when the remaining memory space of backup module is less than current The size of write file, performs module and judges to delete time file earlier in backup module according to the time, until backup The remaining memory space of module, more than or equal to the size of presently written file, performs module and retells presently written file duplication To backup module;When occurring deleting in the case of by mistake, the recovery of data can be carried out by the data opening backup module, thus keep away Exempt from USB flash disk to delete by mistake and cause loss of data.In the present invention, in backup module, it is additionally provided with regular removing module, according to periodically The time that removing module is arranged, carry out emptying process by the data of the backup in backup module.Periodically removing module set time Between be 1 week.USB flash disk also includes display module, and display module is in real time by the residue storage area in backup module and memory module Residue storage area.Display module is display.

Claims (5)

1. USB flash disk is anti-error deletes the method losing data, it is characterized in that: described USB flash disk includes backup module, memory module, execution Module, the memory capacity of described backup module is identical with the capacity of memory module;When memory module is write, perform mould Block replicates presently written data to backup module, before copying data to backup module, performs module and first obtains currently Write file size, then obtain the remaining memory space of backup module, when the remaining memory space of backup module more than or Equal to the size of presently written file, then directly presently written file is copied to backup module, when backup module is remaining Memory space, less than the size of presently written file, performs module and judges that in deletion backup module, the time is earlier according to the time File, until the remaining memory space of backup module is more than or equal to the size of presently written file, performs module and retell and work as The file of front write is copied to backup module;In the case of occurring deleting, can be carried out by the data opening backup module by mistake The recovery of data, thus avoid USB flash disk to delete by mistake and cause loss of data.
A kind of USB flash disk the most according to claim 1 is anti-error deletes the method losing data, it is characterized in that: in described backup module It is additionally provided with regular removing module, the time arranged according to regular removing module, the data of the backup in backup module is carried out clearly Vacancy is managed.
A kind of USB flash disk the most according to claim 2 is anti-error deletes the method losing data, it is characterized in that: described regular deletion mould The time that block sets was as 1 week.
A kind of USB flash disk the most according to claim 2 is anti-error deletes the method losing data, it is characterized in that: described USB flash disk also includes showing Showing module, display module is in real time by the residue storage area in backup module and the residue storage area of memory module.
A kind of USB flash disk the most according to claim 1 is anti-error deletes the method losing data, it is characterized in that: described display module is Display.
CN201610606659.0A 2016-07-29 2016-07-29 A kind of USB flash disk is anti-error deletes the method losing data Pending CN106294004A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610606659.0A CN106294004A (en) 2016-07-29 2016-07-29 A kind of USB flash disk is anti-error deletes the method losing data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610606659.0A CN106294004A (en) 2016-07-29 2016-07-29 A kind of USB flash disk is anti-error deletes the method losing data

Publications (1)

Publication Number Publication Date
CN106294004A true CN106294004A (en) 2017-01-04

Family

ID=57662862

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610606659.0A Pending CN106294004A (en) 2016-07-29 2016-07-29 A kind of USB flash disk is anti-error deletes the method losing data

Country Status (1)

Country Link
CN (1) CN106294004A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101901175A (en) * 2010-02-11 2010-12-01 宇龙计算机通信科技(深圳)有限公司 Data backup method and electronic terminal
CN102541683A (en) * 2010-12-31 2012-07-04 北大方正集团有限公司 Data file backup method and data file backup device
CN202523413U (en) * 2012-02-24 2012-11-07 浙江工商职业技术学院 USB (Universal Serial Bus) flash disk capable of displaying capacity
CN203055462U (en) * 2013-02-16 2013-07-10 林海斌 Backup flash disk
US20140258661A1 (en) * 2013-03-08 2014-09-11 Wistron Corporation Backup method and computer system thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101901175A (en) * 2010-02-11 2010-12-01 宇龙计算机通信科技(深圳)有限公司 Data backup method and electronic terminal
CN102541683A (en) * 2010-12-31 2012-07-04 北大方正集团有限公司 Data file backup method and data file backup device
CN202523413U (en) * 2012-02-24 2012-11-07 浙江工商职业技术学院 USB (Universal Serial Bus) flash disk capable of displaying capacity
CN203055462U (en) * 2013-02-16 2013-07-10 林海斌 Backup flash disk
US20140258661A1 (en) * 2013-03-08 2014-09-11 Wistron Corporation Backup method and computer system thereof

Similar Documents

Publication Publication Date Title
CN103838645B (en) Remote difference synthesis backup method based on Hash
WO2017113317A1 (en) File editing method and file editor
Aldaej et al. Solid state drive data recovery in open source environment
CN103176868B (en) A kind of file status backup method
CN103295587A (en) Centralized synchronous electronic storage medium data scrubbing method
CN106155570A (en) A kind of information technology for eliminating of storage medium
CN106294004A (en) A kind of USB flash disk is anti-error deletes the method losing data
CN102117232A (en) Multifunctional data backup device
CN104668278A (en) Secret-related USB flash disc self-destruction device
CN102609371A (en) System protecting method based on data security
CN104317532A (en) Multifunctional data destruction machine
CN104486387A (en) Data synchronization processing method and system
CN201063240Y (en) Mobile hard disk with read-write protection switch
CN103034565A (en) Disaster recovery method for large-scale 3D (three-dimensional) data edition period
CN103324445B (en) Method and system, USB storage device that USB storage device is run
WO2016110065A1 (en) Method and device for safely deleting data in mobile terminal
CN203422923U (en) Centralized data synchronization erasing device of electronic storage medium
CN204178355U (en) A kind of multi-functional data destroyer
CN109901783A (en) A kind of information technology for eliminating of storage medium
CN104809037B (en) Quick start method and device of the eMMC based on special page
CN204315231U (en) A kind of USB storage device for storing temporary file
CN102073558A (en) Method for realizing safety and integrity of files in smart card
CN204657084U (en) Confidential U-disk self-desttruction equipment
CN204463134U (en) SATA hard disc Write-protect system
CN206711076U (en) A kind of computer hard disk data Quick recovery device

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: 20170104