CN109614370A - Disk file scan method, device, computer equipment and storage medium - Google Patents
Disk file scan method, device, computer equipment and storage medium Download PDFInfo
- Publication number
- CN109614370A CN109614370A CN201811435150.XA CN201811435150A CN109614370A CN 109614370 A CN109614370 A CN 109614370A CN 201811435150 A CN201811435150 A CN 201811435150A CN 109614370 A CN109614370 A CN 109614370A
- Authority
- CN
- China
- Prior art keywords
- cluster number
- starting
- file
- document
- deleted
- 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.)
- Granted
Links
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The present invention provides a kind of disk file scan method, device, computer equipment and storage mediums.The present invention in target disk by obtaining the file record item for deleting file, and extract the low cluster number of starting in its document base information, the default high cluster number of starting of setting, which is used as, temporarily originates high cluster number, cluster number is originated according to the hypothesis that low cluster number constructs this document with starting of high cluster number is temporarily originated, judges whether the file corresponding to assuming starting cluster number on disk is target deleted document;If assuming, starting cluster number file corresponding on disk is target deleted document, record true cluster number of the hypothesis starting cluster number as target deleted document, the hypothesis is originated into the high cluster number of starting in cluster number as the high cluster number of default starting of next deleted document to realize the scanning to next deleted document, when avoiding finding each deletion file will traversal successively from the beginning to the end high cluster the case where, to greatly improve file scan efficiency.
Description
Technical field
The present invention relates to computer field, in particular to a kind of disk file scan method, device, computer equipment and
Storage medium.
Background technique
Common file system, for the feature of the file system of FAT32, each file has a file record
, wherein include in file record item: the information such as filename, file starting cluster number of file.Wherein, file starting cluster number is
The accurate location that file saves in disk, including high cluster number and low cluster number.To accurately find file destination, then need
The location information of high cluster number Yu low cluster number is obtained, the two combines the storage position that could accurately obtain file data.And it is deleting
After one file, file system can reset the high cluster number of the starting cluster number in its file record item, and the data of low cluster number are complete
It is good, and the initial data of this document is still completely present in disk.
Current general, effective algorithm is subregion where losing file by traversal, is acquired and is managed according to the size of subregion
The maximum cluster number range of the memory space of reason successively combines the low of file record item from the smallest high cluster number to maximum high cluster number
Cluster number originates cluster number to obtain the hypothesis file of this document, comes in conjunction with the format character of file or the storage feature of file true
Fixed interim cluster number whether be required file real storage location.The problems of this method is that each deletion file will be according to
Under the high cluster of secondary traversal from the beginning to the end, the especially big scene of disk space, it may appear that the problems such as sweep time is long.
In view of the above-mentioned problems, need to provide it is a kind of more preferably, faster disk file scan method.
Summary of the invention
The present invention provides a kind of disk file scan method, device, computer equipment and storage mediums, it is intended to solve existing
There is method slower situation of scanning speed when in face of largely having deleted file.
In a first aspect, the embodiment of the invention provides a kind of disk file scan methods comprising following steps: from target
The file record item that a deleted document is obtained in file directory table corresponding to subregion, obtains from the file record item
Document base information, the document base information include the low cluster number of starting of deleted document;The default high cluster number of starting is obtained to make
Temporarily to originate high cluster number, high cluster number is temporarily originated and the low cluster number of the starting constructs the deleted document according to described
It is assumed that starting cluster number;Judge whether the hypothesis starting cluster number is greater than target partition maximum management cluster number;If the hypothesis starting
Cluster number manages cluster number no more than target partition maximum, according to the document base information, judges the hypothesis starting cluster number in magnetic
Whether corresponding file is the deleted document on disk;If the file for assuming that starting cluster number is corresponding on disk is
The deleted document records the true cluster number for assuming starting cluster number as the deleted document, assumes described
The high cluster number of starting in beginning cluster number is realized as the high cluster number of default starting of next deleted document next has deleted text
The scanning of part.
Second aspect, the embodiment of the invention also provides a kind of devices of disk file scanning comprising:
Acquiring unit, for obtaining the file note an of deleted document from file directory table corresponding to target partition
Item is recorded, document base information is obtained from the file record item, the document base information includes the starting of deleted document
Low cluster number;
Structural unit, for obtaining the default high cluster number of starting as high cluster number is temporarily originated, according to the interim starting height
Cluster number and the low cluster number of the starting construct the hypothesis starting cluster number of the deleted document;
First judging unit, for judging whether the hypothesis starting cluster number is greater than target partition maximum management cluster number;
Second judgment unit, if cluster number is managed no more than target partition maximum for hypothesis starting cluster number, according to institute
Document base information is stated, judges whether the file for assuming that starting cluster number is corresponding on disk is the deleted document;
Recording unit, if being the deleted document for the file for assuming that starting cluster number is corresponding on disk,
The true cluster number for assuming starting cluster number as the deleted document is recorded, assumes that the starting in starting cluster number is high for described
Cluster number realizes the scanning of next deleted document as the high cluster number of default starting of next deleted document.
The third aspect, the embodiment of the invention also provides a kind of computer equipments comprising memory and processor, it is described
Computer program is stored on memory, the processor realizes the above method when executing the computer program.
Fourth aspect, the embodiment of the invention also provides a kind of computer readable storage medium, the storage medium storage
There is computer program, the computer program can realize the above method when being executed by a processor.
The present invention provides a kind of disk file scan method, device, computer equipment and storage mediums, by obtaining one
The file record item of a deleted document, according to its essential information, wherein essential information includes rising in file starting cluster number
Begin low cluster number, and the present invention assumes to originate cluster number, root by sequentially generating the high cluster number of starting and originating low cluster number with it and combine to generate
According to the file information pointed by starting cluster number is assumed, constantly it is compared with the essential information in this document entry, to find out
Its corresponding deleted document records the high cluster number of starting of the deleted document and has certain continuity using disk storage
The high cluster number of starting of currently determining deleted document is set the pre- of the file record item of next deleted document by feature
If originating high cluster number, when avoiding finding each deletion file will traversal successively from the beginning to the end high cluster the case where, thus significantly
Improve file scan efficiency.
Detailed description of the invention
Technical solution in order to illustrate the embodiments of the present invention more clearly, below will be to needed in embodiment description
Attached drawing is briefly described, it should be apparent that, drawings in the following description are some embodiments of the invention, general for this field
For logical technical staff, without creative efforts, it is also possible to obtain other drawings based on these drawings.
Fig. 1 is the flow diagram of one embodiment of disk file scan method provided by the invention;
Fig. 2 is the flow diagram of another embodiment of disk file scan method provided by the invention;
Fig. 3 is a sub-process schematic diagram of one embodiment of disk file scan method provided by the invention;
Fig. 4 is another sub-process schematic diagram of one embodiment of disk file scan method provided by the invention;
Fig. 5 is another sub-process schematic diagram of one embodiment of disk file scan method provided by the invention;
Fig. 6 is another sub-process schematic diagram of one embodiment of disk file scan method provided by the invention;
Fig. 7 is the schematic block diagram of one embodiment of disk file scanning means provided by the invention;
Fig. 8 is the schematic block diagram of another embodiment of disk file scanning means provided by the invention;
Fig. 9 is the subelement schematic block diagram of one embodiment of disk file scanning means provided by the invention;
Figure 10 is that the another of one embodiment of disk file scanning means provided by the invention shows subelement meaning property block diagram;
Figure 11 is that the another of one embodiment of disk file scanning means provided by the invention shows subelement schematic block diagram;
Figure 12 is that the another of one embodiment of disk file scanning means provided by the invention shows subelement schematic block diagram;
Figure 13 is the schematic block diagram of computer equipment provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair
Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts
Example, shall fall within the protection scope of the present invention.
It should be appreciated that ought use in this specification and in the appended claims, term " includes " and "comprising" instruction
Described feature, entirety, step, operation, the presence of element and/or component, but one or more of the other feature, whole is not precluded
Body, step, operation, the presence or addition of element, component and/or its set.
It is also understood that mesh of the term used in this description of the invention merely for the sake of description specific embodiment
And be not intended to limit the present invention.As description of the invention and it is used in the attached claims, unless on
Other situations are hereafter clearly indicated, otherwise " one " of singular, "one" and "the" are intended to include plural form.
It will be further appreciated that the term "and/or" used in description of the invention and the appended claims is
Refer to any combination and all possible combinations of one or more of associated item listed, and including these combinations.
It include step S110~S150 as shown in Figure 1, being the flow diagram of one embodiment of method provided by the invention.
S110, the file record item that a deleted document is obtained from file directory table corresponding to target partition, from
Document base information is obtained in the file record item, the document base information includes the low cluster number of starting of deleted document.
File directory table is one of the core content in FAT32 system, is mainly used for record storage in FAT32 system
Document base information.The file directory table includes several file record items corresponding with storage file, the file record
Item records the document base information of each storage file, and the document base information includes file on physical disk
Initial address message (IAM), the initial address message (IAM) is specially to originate high cluster number (high-order cluster number) and originate low cluster number (low level cluster
Number).When the storage file is deleted, the high cluster number of starting in the initial address message (IAM) is cleared, and makes the storage text
Part can not be searched because the initial address message (IAM) has been lacked, and then become deleted document.
In one embodiment, as shown in figure 5, step S110 includes S111~S113.
S111, a file record item is obtained from file directory table corresponding to target partition.
A file record item is obtained from file directory table corresponding to target partition.Text in the file directory table
Part entry is obtained according to certain rule, such as time sequencing, since disk storage has certain continuity, and should
Continuity was ranked up according to the file generated time, therefore can according to regular hour sequence when obtaining file record item
The characteristic of disk storage has been catered to a certain extent, improves scan efficiency.
S112, judge in the file record item with the presence or absence of deleted marker.
Judge in the file record item with the presence or absence of deleted marker.In the present embodiment, the deleted marker is specially
Preset characters " E5 ", when becoming deleted document after file is deleted, the ad hoc rules according to the FAT32 system will be described
The first character change of filename character string among the corresponding file record item of deleted document is " E5 ".The file name
Symbol string is the character string for being located at the head end of the file record item in the content of the file record item, and then described has deleted text
The first character of the content of the corresponding file record item of part is also " E5 ", that is, the deleted marker includes positioned at described
" E5 " of the first character of file record item.
If determining that the file record item is deleted document there are deleted marker in S113, the file record item
Entry obtains document base information from the file record item.
If determining that the file record item is the record of deleted document there are deleted marker in the file record item
, document base information is obtained from the file record item.The document base information includes the low cluster number of starting cluster.
S120, the default high cluster number of starting is obtained as high cluster number is temporarily originated, temporarily originate high cluster number and institute according to described
It states and originates the hypothesis starting cluster number that low cluster number constructs the deleted document.
In the present embodiment, as shown in Fig. 2, step S120 includes following two step: S121, obtaining the default high cluster of starting
Number as temporarily originating high cluster number;S122, according to it is described temporarily originate high cluster number and the low cluster number of the starting construct it is described
The hypothesis for deleting file originates cluster number.In the present embodiment, the value initialization of the initial phase of scanning, the default high cluster number of starting are set
It is set to 0, is scanned the minimum value in order to manage high cluster number since the target partition.
S130, judge whether the hypothesis starting cluster number is greater than target partition maximum management cluster number.
Judge whether the hypothesis starting cluster number is greater than target partition maximum management cluster number.If assuming, starting cluster number is greater than mesh
It marks subregion maximum and manages cluster number, then illustrate the deleted document addressing failure in this circulation, jump out this and recycle and return to step
Rapid S110.
If S140, hypothesis starting cluster number manage cluster number no more than target partition maximum, believed substantially according to the file
Breath judges whether the file for assuming that starting cluster number is corresponding on disk is the deleted document.
In one embodiment, as shown in fig. 6, step S140 includes S141 and S142.
S141, judge the file for assuming that starting cluster number is corresponding on disk feature whether with the file characteristic
Match.
The feature of the file includes filename, and the information such as file size and file format pass through in the present embodiment
It whether consistent compares hypothesis starting cluster number corresponding filename and filename in the file characteristic on disk, comes true
Recognize whether the hypothesis starting cluster number is that the file really originates cluster number.
If in the feature and the document base information of S142, the file for assuming that starting cluster number is corresponding on disk
File characteristic match, determine that the file for assuming that starting cluster number is corresponding on disk is the deleted document.
If S150, the file for assuming that starting cluster number is corresponding on disk are the deleted document, described in record
It is assumed that true cluster number of the starting cluster number as the deleted document, using the high cluster number of starting assumed in starting cluster number as
The high cluster number of default starting of next deleted document is to realize the scanning of next deleted document.
If the file for assuming that starting cluster number is corresponding on disk is the deleted document, records and described assume
True cluster number of the beginning cluster number as the deleted document, using the high cluster number of starting assumed in starting cluster number as next
The high cluster number of default starting of deleted document is to realize the scanning of next deleted document.When the confirmation hypothesis originates cluster number
It is described to assume that the high cluster number in starting cluster number is then really to originate high cluster number after true cluster number.Since disk is stored according to text
The part generation time is arranged and has certain continuity, in the condition for obtaining deleted document according to certain time sequence
Under, it is high as the default starting of next undetermined deleted document by the way that fixed deleted document is originated high cluster number
Cluster number, to save the sweep time of next deleted document, in the case where facing the big scene of disk space, each deletion file
It is no longer needed for the high cluster of traversal successively from the beginning to the end, improves its scan efficiency.
In one embodiment, as shown in Fig. 2, being the supplement of a upper embodiment.In step S140, judge described to assume
Whether beginning cluster number file corresponding on disk is the deleted document, if judging result be it is no, enter step S160.
If S160, the non-deleted document of file for assuming that starting cluster number is corresponding on disk, according to default
Rule resetting is described temporarily to originate high cluster number as the new high cluster number of temporarily starting, and returns described high according to the interim starting
Cluster number and the low cluster number of the starting construct the hypothesis starting cluster number step of the deleted document.
If the non-deleted document of file for assuming that starting cluster number is corresponding on disk, according to preset rules weight
Set it is described temporarily originate high cluster number as the new high cluster number of temporarily starting, and return it is described according to it is described temporarily originate high cluster number and
The hypothesis starting cluster number step namely return step S122 for originating low cluster number and constructing the deleted document.Specifically,
The hypothesis starting cluster number is reconfigured according to the preset rules, new hypothesis starting cluster number can be obtained, if new according to this
It is assumed that starting cluster number cannot get corresponding deleted document, then continue to play the new hypothesis according to the preset rules
Beginning cluster number is reconfigured.Cluster number is originated by the hypothesis to the deleted document to construct repeatedly, can gradually be obtained described
The true starting cluster number of deleted document.
In one embodiment, as shown in figure 3, step S160 further includes S161, S162 and S163.
S161, judge whether the high cluster number of temporarily starting assumed in starting cluster number is equal to target partition maximum management cluster
High cluster number in number.
Judge whether the high cluster number of temporarily starting assumed in starting cluster number is equal in target partition maximum management cluster number
High cluster number.If the determination result is YES, described to assume that the high cluster number of temporarily starting in starting cluster number is equal to target partition largest tube
The high cluster number in cluster number is managed, S162 is thened follow the steps;If judging result is no, the interim starting height assumed in starting cluster number
Cluster number thens follow the steps S163 not equal to the high cluster number in target partition maximum management cluster number.
If S162, the high cluster number of starting assumed in starting cluster number are not equal to the height in target partition maximum management cluster number
Cluster number, by it is described temporarily originate high cluster number carry out plus one processing after as newly the high cluster number of temporarily starting.
If the high cluster number of starting assumed in starting cluster number manages the high cluster number in cluster number not equal to target partition maximum,
By it is described temporarily originate high cluster number carry out plus one processing after as newly the high cluster number of temporarily starting.Specifically, assume when described
The high cluster number of starting in beginning cluster number temporarily originates high cluster number to described not equal to the high cluster number in target partition maximum management cluster number
Character medium size yardage add 1, make by the character on number plus 1 described temporarily originates in high cluster number and this process
The high cluster number of the starting it is different and in the character on number before into one.
If S163, the high cluster number that temporarily originates assumed in starting cluster number manage in cluster number equal to target partition maximum
High cluster number, after updating the target partition maximum management cluster number according to the default high cluster number of starting, by the default starting
High cluster number is set as zero as the new high cluster number of temporarily starting.
If described assume temporarily to originate high cluster number equal to the high cluster in target partition maximum management cluster number in starting cluster number
Number, after updating the target partition maximum management cluster number according to the default high cluster number of starting, by the default high cluster of starting
Zero number is set as the new high cluster number of temporarily starting.Specifically, during the scanning process, it is actual to will appear its for a small number of files
The case where high cluster number can scan the high cluster number of file lower than before is originated, it is described interim in judgement in order to exclude such case
After high cluster number is equal to the high cluster number in target partition maximum management cluster number, that is, indicate temporarily to originate high cluster described in this process
Number it is the high cluster number managed from the high cluster number of the default starting to the target partition maximum in cluster number scanning range, and does not have
The scanning range for finding its corresponding deleted document, therefore changing the interim high cluster number is high from 0 to the default starting
Cluster number specially updates the target partition maximum according to the default high cluster number of starting and manages cluster number, and presets described
The high cluster number that begins is set as zero as the new high cluster number of temporarily starting.
In one embodiment, as shown in figure 4, the supplement for a upper embodiment is additionally provided with step before step S161
S1610。
S1610, judge whether the default high cluster number of starting is equal to zero, if zero, then follow the steps S163, if not
Zero, then follow the steps S161.
Judge whether the default high cluster number of starting is equal to zero, if zero, thens follow the steps S163, if not zero, then it holds
Row step S161.Specifically, if the default high cluster number of starting is 0, then it represents that the described of this process temporarily originates high cluster number
Scanning range be since 0;If the default high cluster number of starting is not 0, then it represents that described temporarily to originate sweeping for high cluster number
Retouching range is since the default high cluster number of starting.
The method of the present invention by being traversed to target partition file record item, when get delete file entry,
The high cluster number of starting from the default high cluster number of starting to target partition maximum management successively combines the low of current deletion file record item
Cluster number determines that this faces in conjunction with the format character of file or the storage feature of file to obtain the interim starting cluster number of file
When starting cluster number whether be file destination actual stored position.Since file disk storage has certain continuity, and one
As next file to be found with current file be the same catalogue, the time is close, and contents storage address is also close, so currently
The high cluster number of the starting of file, have greatly may be also next file the high cluster number of starting, therefore in ergodic process, whenever true
The default height of next deletion file is filled using its fixed high cluster number of starting in the position for recognizing a deletion file record item
Cluster number improves scan efficiency, contracting so that avoiding next deletion file scan process from starting from scratch again carries out high cluster number traversal
Short scanning duration.
As shown in fig. 7, the disk file scan method more than corresponding to, the present invention also provides a kind of scannings of disk file to fill
The embodiment set, described device include acquiring unit 110, structural unit 120, the first judging unit 130, second judgment unit
140 and recording unit 150.
Acquiring unit 110 from file directory table corresponding to target partition for obtaining the file of a deleted document
Entry, obtains document base information from the file record item, and the document base information includes rising for deleted document
Begin low cluster number.
File directory table is one of the core content in FAT32 system, is mainly used for record storage in FAT32 system
Document base information.The file directory table includes several file record items corresponding with storage file, the file record
Item records the document base information of each storage file, and the document base information includes file on physical disk
Initial address message (IAM), the initial address message (IAM) is specially to originate high cluster number (high-order cluster number) and originate low cluster number (low level cluster
Number).When the storage file is deleted, the high cluster number of starting in the initial address message (IAM) is cleared, and makes the storage text
Part can not be searched because the initial address message (IAM) has been lacked, and then become deleted document.
In one embodiment, as shown in figure 11, acquiring unit 110 includes: entry acquiring unit 111, mark identification list
Member 112 and essential information acquiring unit 113.
Entry acquiring unit 111 is used to obtain a file record from file directory table corresponding to target partition
?.
A file record item is obtained from file directory table corresponding to target partition.Text in the file directory table
Part entry is obtained according to certain rule, such as time sequencing, since disk storage has certain continuity, and should
Continuity was ranked up according to the file generated time, therefore can according to regular hour sequence when obtaining file record item
The characteristic of disk storage has been catered to a certain extent, improves scan efficiency.
Mark recognition unit 112 is for judging in the file record item with the presence or absence of deleted marker.
Judge in the file record item with the presence or absence of deleted marker.In the present embodiment, the deleted marker is specially
Preset characters " E5 ", when becoming deleted document after file is deleted, the ad hoc rules according to the FAT32 system will be described
The first character change of filename character string among the corresponding file record item of deleted document is " E5 ".The file name
Symbol string is the character string for being located at the head end of the file record item in the content of the file record item, and then described has deleted text
The first character of the content of the corresponding file record item of part is also " E5 ", that is, the deleted marker includes positioned at described
" E5 " of the first character of file record item.
If essential information acquiring unit 113 is for judging that there are deleted markers in the file record item, determine the text
Part entry is the entry of deleted document, obtains document base information from the file record item.
If determining that the file record item is the record of deleted document there are deleted marker in the file record item
, document base information is obtained from the file record item.The document base information includes the low cluster number of starting cluster.
Structural unit 120 is for obtaining the default high cluster number of starting as high cluster number is temporarily originated, according to the interim starting
High cluster number and the low cluster number of the starting construct the hypothesis starting cluster number of the deleted document.
The default high cluster number of starting is obtained as high cluster number is temporarily originated, temporarily originates high cluster number and the starting according to described
Low cluster number constructs the hypothesis starting cluster number of the deleted document.In the present embodiment, the initial phase of scanning presets starting
The value Initialize installation of high cluster number is 0, is scanned the minimum value in order to manage high cluster number since the target partition.
First judging unit 130 is for judging whether the hypothesis starting cluster number is greater than target partition maximum management cluster number.
Judge whether the hypothesis starting cluster number is greater than target partition maximum management cluster number.If assuming, starting cluster number is greater than mesh
It marks subregion maximum and manages cluster number, then illustrate the deleted document addressing failure in this circulation, jump out this and recycle and return and obtain
Take unit 110.
If second judgment unit 140 manages cluster number no more than target partition maximum for hypothesis starting cluster number, according to
The document base information judges whether the file for assuming that starting cluster number is corresponding on disk is described to have deleted text
Part.
In one embodiment, as shown in figure 12, second judgment unit 140 includes that characteristic matching unit 141 and information are transmitted
Unit 142.
Characteristic matching unit 141 be used to judge the file for assuming that starting cluster number is corresponding on disk feature whether
Match with the file characteristic.
The feature of the file includes that the information such as filename, file size and file format pass through in the present embodiment
It whether consistent compares hypothesis starting cluster number corresponding filename and filename in the file characteristic on disk, comes true
Recognize whether the hypothesis starting cluster number is that the file really originates cluster number.
If messaging unit 142 for the file for assuming that starting cluster number is corresponding on disk feature with it is described
File characteristic in document base information matches, and determines that the file for assuming that starting cluster number is corresponding on disk is described
Deleted document.
If recording unit 150 has deleted text for the file for assuming that starting cluster number is corresponding on disk to be described
Part records the true cluster number for assuming starting cluster number as the deleted document, assumes rising in starting cluster number for described
The high cluster number that begins realizes the scanning of next deleted document as the high cluster number of default starting of next deleted document.
If the file for assuming that starting cluster number is corresponding on disk is the deleted document, records and described assume
True cluster number of the beginning cluster number as the deleted document, using the high cluster number of starting assumed in starting cluster number as next
The high cluster number of default starting of deleted document is to realize the scanning of next deleted document.When the confirmation hypothesis originates cluster number
It is described to assume that the high cluster number in starting cluster number is then really to originate high cluster number after true cluster number.Since disk is stored according to text
The part generation time is arranged and has certain continuity, in the condition for obtaining deleted document according to certain time sequence
Under, it is high as the default starting of next undetermined deleted document by the way that fixed deleted document is originated high cluster number
Cluster number, to save the sweep time of next deleted document, in the case where facing the big scene of disk space, each deletion file
It is no longer needed for the high cluster of traversal successively from the beginning to the end, improves its scan efficiency.
In one embodiment, as shown in figure 8, being the supplement of a upper embodiment.The disk file scanning means further includes
Reset cell 160.
If having deleted text described in the file corresponding on disk for the hypothesis starting cluster number of reset cell 160 is non-
Part, according to preset rules reset it is described temporarily originate high cluster number as the new high cluster number of temporarily starting, and return described according to institute
It states and temporarily originates high cluster number and the hypothesis starting cluster number step for originating low cluster number and constructing the deleted document.
If the non-deleted document of file for assuming that starting cluster number is corresponding on disk, according to preset rules weight
Set it is described temporarily originate high cluster number as the new high cluster number of temporarily starting, and return it is described according to it is described temporarily originate high cluster number and
The hypothesis starting cluster number step for originating low cluster number and constructing the deleted document.Specifically, according to the preset rules
The hypothesis starting cluster number is reconfigured, new hypothesis starting cluster number can be obtained, if the new hypothesis starting cluster number is unsatisfactory for
The preset condition then continues to reconfigure the new hypothesis starting cluster number according to the preset rules.By right
The hypothesis starting cluster number that can not restore the deleted document constructs repeatedly, can gradually obtain the true of the deleted document and rise
Beginning cluster number.
In one embodiment, as shown in figure 9, reset cell 160 includes maximum value judging unit 161,162 and of updating unit
Increment unit 163.
The maximum value judging unit 161 be used for judge it is described assume starting cluster number in the high cluster number of temporarily starting whether etc.
High cluster number in target partition maximum management cluster number.
The maximum value judging unit 161 be used for judge it is described assume starting cluster number in the high cluster number of temporarily starting whether etc.
High cluster number in target partition maximum management cluster number.If the determination result is YES, the interim starting assumed in starting cluster number
High cluster number is equal to the high cluster number in target partition maximum management cluster number, then triggers updating unit 162;If judging result is no, institute
It states and assumes temporarily to originate high cluster number not equal to the high cluster number in target partition maximum management cluster number in starting cluster number, then triggering is passed
Increase unit 163.
If updating unit 162 assumes that the high cluster number of starting in starting cluster number is not equal to the management of target partition maximum for described
High cluster number in cluster number, by it is described temporarily originate high cluster number carry out plus one processing after as newly the high cluster number of temporarily starting.
Wherein, if the high cluster number of starting assumed in starting cluster number is not equal to the height in target partition maximum management cluster number
Cluster number, by it is described temporarily originate high cluster number carry out plus one processing after as newly the high cluster number of temporarily starting.Specifically, when the vacation
Surely the high cluster number of starting in cluster number is originated not equal to the high cluster number in target partition maximum management cluster number, to the interim starting height
The character medium size yardage of cluster number adds 1, make by the character on number plus 1 it is described temporarily originate high cluster number and this stream
The high cluster number of the starting in journey is different and preceding into one on number in the character.
If increment unit 163 assumes that the high cluster number of temporarily starting in starting cluster number is equal to target partition largest tube for described
The high cluster number in cluster number is managed, after updating the target partition maximum management cluster number according to the default high cluster number of starting, by institute
It states the default high cluster number of starting and is set as zero as the new high cluster number of temporarily starting.
Wherein, if described assume temporarily to originate high cluster number equal in target partition maximum management cluster number in starting cluster number
High cluster number, after updating the target partition maximum management cluster number according to the default high cluster number of starting, by the default starting
High cluster number is set as zero as the new high cluster number of temporarily starting.Specifically, during the scanning process, a small number of files will appear it and rise
The case where high cluster number that begins can scan the high cluster number of file lower than before is determining the interim height to exclude such case
After cluster number is equal to the high cluster number in target partition maximum management cluster number, that is, indicate temporarily to originate high cluster number described in this process
It is the high cluster number managed from the default high cluster number of starting to the target partition maximum in cluster number scanning range, and does not look for
To its corresponding deleted document, therefore the scanning range for changing the interim high cluster number is to preset interim high cluster from 0 to described
Number, the target partition maximum is specially updated according to the high cluster number of the default starting and manages cluster number, and by the default starting
High cluster number is set as zero as the new high cluster number of temporarily starting.
It in one embodiment, as shown in Figure 10, is the supplement of a upper embodiment, the reset cell 160 further includes zero
Judging unit 1610.
Zero judging unit 1610 is for judging whether the default high cluster number of starting is equal to zero, and if zero, then triggering is passed
Increase unit 163, if not zero, then trigger maximum value judging unit 161.
Wherein, whether the default high cluster number of starting is equal to zero, if zero, then accesses increment unit 163, if not zero,
Then access maximum value judging unit 161.Specifically, if the default high cluster number of starting is 0, then it represents that the described of this process faces
When to originate the scanning range of high cluster number be since 0;If the default high cluster number of starting is not 0, then it represents that described interim
The scanning range for the high cluster number that begins is since the default high cluster number of starting.
It should be noted that it is apparent to those skilled in the art that, above-mentioned file restoring device and each
The specific implementation process of unit can refer to the corresponding description in preceding method embodiment, for convenience of description and succinctly,
This is repeated no more.
Above-mentioned file restoring device can be implemented as the form of computer program, which can be in such as Figure 13 institute
It is run in the computer equipment shown.
Figure 13 is please referred to, Figure 13 is the schematic block diagram of computer equipment provided in an embodiment of the present invention.
Refering to fig. 13, which includes processor 202, memory and the net connected by system bus 201
Network interface 205, wherein memory may include non-volatile memory medium 203 and built-in storage 204.
The non-volatile memory medium 203 can storage program area 2031 and computer program 2032.The computer program
2032 are performed, and processor 202 may make to execute file access pattern method.
The processor 202 supports the operation of entire computer equipment 200 for providing calculating and control ability.
The built-in storage 204 provides environment for the operation of the computer program 2032 in non-volatile memory medium 203, should
When computer program 2032 is executed by processor 202, processor 202 may make to execute file access pattern method.
The network interface 205 is for carrying out network communication.It will be understood by those skilled in the art that being tied shown in Figure 13
Structure, the only block diagram of part-structure relevant to the present invention program are not constituted and are applied thereon to the present invention program
The restriction of computer equipment 200, specific computer equipment 200 may include than more or fewer components as shown in the figure, or
Person combines certain components, or with different component layouts.
Wherein, the processor 202 is for running computer program 2032 stored in memory, to realize following function
Can: the file record item of a deleted document is obtained from file directory table corresponding to target partition, is remembered from the file
Document base information is obtained in record item, the document base information includes the low cluster number of starting of deleted document;Acquisition is preset
The high cluster number of beginning as temporarily originating high cluster number, according to it is described temporarily originate high cluster number and the low cluster number of the starting construct it is described
The hypothesis for deleting file originates cluster number;Judge whether the hypothesis starting cluster number is greater than target partition maximum management cluster number;If institute
It states hypothesis starting cluster number and manages cluster number no more than target partition maximum, according to the document base information, judge described to assume
Whether beginning cluster number file corresponding on disk is the deleted document;If hypothesis starting cluster number institute on disk is right
The file answered is the deleted document, records the true cluster number for assuming starting cluster number as the deleted document, will
The high cluster number of starting assumed in starting cluster number is next to realize as the high cluster number of default starting of next deleted document
The scanning of a deleted document.
In one embodiment, processor 202 is executing the file for judging that the hypothesis starting cluster number is corresponding on disk
After the step of whether being the deleted document, also perform the following operations: if the hypothesis originates cluster number, the institute on disk is right
The non-deleted document of the file answered resets according to preset rules and described temporarily originates high cluster number as new interim starting height
Cluster number, and return and described temporarily originate high cluster number and the low cluster number of the starting constructs the vacation of the deleted document according to described
Surely the step of originating cluster number.
In one embodiment, processor 202 described temporarily originate high cluster number and makees executing according to preset rules resetting is described
It when cluster number step high for new temporarily starting, specifically performs the following operations: judging the interim starting assumed in starting cluster number
Whether high cluster number is equal to the high cluster number in target partition maximum management cluster number;If the high cluster number of starting assumed in starting cluster number
Not equal to the high cluster number in target partition maximum management cluster number, by it is described temporarily originate high cluster number carry out plus a processing after as new
The high cluster number of temporarily starting;If the high cluster number of temporarily starting assumed in starting cluster number is equal to target partition maximum and manages cluster number
Middle high cluster number is preset after updating the target partition maximum management cluster number according to the default high cluster number of starting by described
The high cluster number that begins is set as zero as the new high cluster number of temporarily starting.
In one embodiment, processor 202 described temporarily originate high cluster number and makees executing according to preset rules resetting is described
It when cluster number step high for new temporarily starting, specifically performs the following operations: judging whether the default high cluster number of starting is equal to zero;
If the default high cluster number of starting is not equal to zero, the high cluster number of temporarily starting executed in the judgement hypothesis starting cluster number is
No the step of being equal to high cluster number in target partition maximum management cluster number;If the default high cluster number of starting is equal to zero, face described
When originate high cluster number carry out plus one processing after as newly the high cluster number of temporarily starting.
In one embodiment, processor 202 described obtains one from file directory table corresponding to target partition executing
The file record item of a deleted document, obtained from the file record item document base information when, it is specific execute it is as follows
Operation: a file record item is obtained from file directory table corresponding to target partition;Judge be in the file record item
It is no that there are deleted markers;If determining that the file record item is deleted document there are deleted marker in the file record item
Entry, obtain document base information from the file record item.
In one embodiment, processor 202 whether there is deleted marker in executing the judgement file record item
Step when, specifically perform the following operations: judging whether the first byte character in the file record item is preset characters;If institute
The first byte character stated in file record item is preset characters, determines that there are deleted markers in the file record item.
In one embodiment, processor 202 is executing the file for judging that the hypothesis starting cluster number is corresponding on disk
It when whether being the step of the deleted document, specifically performs the following operations: judging hypothesis starting cluster number institute on disk
Whether the feature of corresponding file matches with the file characteristic;If the text for assuming that starting cluster number is corresponding on disk
The feature of part matches with the file characteristic in the document base information, determines that hypothesis starting cluster number institute on disk is right
The file answered is the deleted document.
It will be understood by those skilled in the art that the embodiment of computer equipment shown in Figure 13 is not constituted to computer
The restriction of equipment specific composition, in other embodiments, computer equipment may include components more more or fewer than diagram, or
Person combines certain components or different component layouts.For example, in some embodiments, computer equipment can only include depositing
Reservoir and processor, in such embodiments, the structure and function of memory and processor are consistent with embodiment illustrated in fig. 13,
Details are not described herein.
It should be appreciated that in embodiments of the present invention, processor 202 can be central processing unit (Central
Processing Unit, CPU), which can also be other general processors, digital signal processor (Digital
Signal Processor, DSP), specific integrated circuit (Application Specific Integrated Circuit,
ASIC), ready-made programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic
Device, discrete gate or transistor logic, discrete hardware components etc..Wherein, general processor can be microprocessor or
Person's processor is also possible to any conventional processor etc..
Computer readable storage medium is provided in another embodiment of the invention.The computer readable storage medium can be with
For non-volatile computer readable storage medium.The computer-readable recording medium storage has computer program, wherein calculating
Machine program performs the steps of the acquisition one from file directory table corresponding to target partition and has deleted when being executed by processor
The file record item of file, obtains document base information from the file record item, and the document base information includes having deleted
Except the low cluster number of the starting of file;The default high cluster number of starting is obtained as high cluster number is temporarily originated, temporarily originates high cluster according to described
Number and the low cluster number of the starting construct the hypothesis starting cluster number of the deleted document;Whether judge the hypothesis starting cluster number
Cluster number is managed greater than target partition maximum;If the hypothesis starting cluster number manages cluster number no more than target partition maximum, according to institute
Document base information is stated, judges whether the file for assuming that starting cluster number is corresponding on disk is the deleted document;
If the file for assuming that starting cluster number is corresponding on disk is the deleted document, records the hypothesis starting cluster number and make
For the true cluster number of the deleted document, assume that the high cluster number of starting in starting cluster number has deleted text as next for described
The high cluster number of default starting of part is to realize the scanning of next deleted document.
In one embodiment, it is described judge the file for assuming that starting cluster number is corresponding on disk whether be it is described
After the step of deleting file further include: if having deleted text described in the file for assuming that starting cluster number is corresponding on disk is non-
Part, according to preset rules reset it is described temporarily originate high cluster number as the new high cluster number of temporarily starting, and return described according to institute
It states and temporarily originates high cluster number and the step of the low cluster number of the starting constructs the hypothesis starting cluster number of the deleted document.
In one embodiment, described reset according to preset rules described temporarily originates high cluster number as new interim starting height
The step of cluster number, comprising: judge whether the high cluster number of temporarily starting in the hypothesis starting cluster number is equal to target partition largest tube
Manage the high cluster number in cluster number;If the high cluster number of starting assumed in starting cluster number is not equal in target partition maximum management cluster number
High cluster number, by it is described temporarily originate high cluster number carry out plus one processing after as newly the high cluster number of temporarily starting;If the hypothesis
It originates the high cluster number of temporarily starting in cluster number and is equal to high cluster number in target partition maximum management cluster number, it is high according to the default starting
After cluster number updates the target partition maximum management cluster number, zero is set as newly interim by the default high cluster number of starting
Originate high cluster number.
In one embodiment, described reset according to preset rules described temporarily originates high cluster number as new interim starting height
The step of cluster number, further includes: judge whether the default high cluster number of starting is equal to zero;If the default high cluster number of starting is not equal to
Zero, execute whether the high cluster number of temporarily starting judged in the hypothesis starting cluster number is equal to target partition maximum management cluster number
The step of middle high cluster number;If the high cluster number of the default starting is equal to zero, by it is described temporarily originate high cluster number carry out plus a processing after
As the new high cluster number of temporarily starting.
In one embodiment, the text that a deleted document is obtained from file directory table corresponding to target partition
Part entry, the step of document base information is obtained from the file record item include: the file corresponding to the target partition
A file record item is obtained in catalogue listing;Judge in the file record item with the presence or absence of deleted marker;If the file note
It records in item there are deleted marker, determines that the file record item is the entry of deleted document, from the file record item
Obtain document base information.
In one embodiment, the step of whether there is deleted marker in the judgement file record item, comprising: judgement
Whether the first byte character in the file record item is preset characters;If the first byte character in the file record item is pre-
If character, determine that there are deleted markers in the file record item.
In one embodiment, it is described judge the file for assuming that starting cluster number is corresponding on disk whether be it is described
The step of deleting file, including;Judge the file for assuming that starting cluster number is corresponding on disk feature whether with it is described
File characteristic matches;If feature and the document base information of the file for assuming that starting cluster number is corresponding on disk
In file characteristic match, determine that the file for assuming that starting cluster number is corresponding on disk is the deleted document.
It is apparent to those skilled in the art that for convenience of description and succinctly, foregoing description is set
The specific work process of standby, device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
Those of ordinary skill in the art may be aware that unit described in conjunction with the examples disclosed in the embodiments of the present disclosure and algorithm
Step can be realized with electronic hardware, computer software, or a combination of the two, in order to clearly demonstrate hardware and software
Interchangeability generally describes each exemplary composition and step according to function in the above description.These functions are studied carefully
Unexpectedly the specific application and design constraint depending on technical solution are implemented in hardware or software.Professional technician
Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed
The scope of the present invention.
In several embodiments provided by the present invention, it should be understood that disclosed unit and method, it can be with
It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit
It divides, only logical function partition, there may be another division manner in actual implementation, can also will be with the same function
Unit set is at a unit, such as multiple units or components can be combined or can be integrated into another system or some
Feature can be ignored, or not execute.In addition, shown or discussed mutual coupling, direct-coupling or communication connection can
Be through some interfaces, the indirect coupling or communication connection of device or unit, be also possible to electricity, mechanical or other shapes
Formula connection.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.Some or all of unit therein can be selected to realize the embodiment of the present invention according to the actual needs
Purpose.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, is also possible to two or more units and is integrated in one unit.It is above-mentioned integrated
Unit both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product
When, it can store in a computer readable storage medium.Based on this understanding, technical solution of the present invention substantially or
Person says that all or part of the part that contributes to existing technology or the technical solution can body in the form of software products
Reveal and, which is stored in a computer readable storage medium, including some instructions are used so that one
Platform computer equipment (can be personal computer, server or the network equipment etc.) executes described in each embodiment of the present invention
The all or part of the steps of method.And computer readable storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory
The various media that can store program code such as (ROM, Read-Only Memory), magnetic or disk.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any
Those familiar with the art in the technical scope disclosed by the present invention, can readily occur in various equivalent modifications or replace
It changes, these modifications or substitutions should be covered by the protection scope of the present invention.Therefore, protection scope of the present invention should be with right
It is required that protection scope subject to.
Claims (10)
1. a kind of disk file scan method characterized by comprising
The file record item that a deleted document is obtained from file directory table corresponding to target partition, remembers from the file
Document base information is obtained in record item, the document base information includes the low cluster number of starting of deleted document;
The default high cluster number of starting is obtained as high cluster number is temporarily originated, temporarily originates high cluster number and the low cluster of the starting according to described
Number construct the hypothesis starting cluster number of the deleted document;
Judge whether the hypothesis starting cluster number is greater than target partition maximum management cluster number;
If the hypothesis starting cluster number judges institute according to the document base information no more than target partition maximum management cluster number
It states and assumes whether starting cluster number file corresponding on disk is the deleted document;
If the file for assuming that starting cluster number is corresponding on disk is the deleted document, the hypothesis starting cluster is recorded
True cluster number number as the deleted document assumes that the high cluster number of starting in starting cluster number has been deleted as next for described
The scanning of next deleted document is realized except the high cluster number of default starting of file.
2. method according to claim 1, which is characterized in that the judgement hypothesis originates cluster number institute on disk
After the step of whether corresponding file is the deleted document, the method also includes:
If the non-deleted document of file for assuming that starting cluster number is corresponding on disk, resets institute according to preset rules
It states and temporarily originates high cluster number as the new high cluster number of temporarily starting, and return described according to the high cluster number and described of temporarily originating
Originate the step of low cluster number constructs the hypothesis starting cluster number of the deleted document.
3. method according to claim 2, which is characterized in that described high according to the preset rules resetting interim starting
The step of cluster number high as new temporarily starting cluster number, comprising:
Judge the height for temporarily originating high cluster number and whether being equal in target partition maximum management cluster number assumed in starting cluster number
Cluster number;
If the high cluster number of starting assumed in starting cluster number is not equal to the high cluster number in target partition maximum management cluster number, by institute
State temporarily originate high cluster number carry out plus one processing after as newly the high cluster number of temporarily starting;
If the high cluster number of temporarily starting assumed in starting cluster number is equal to high cluster number in target partition maximum management cluster number, according to
After the default high cluster number of starting updates the target partition maximum management cluster number, set the default high cluster number of starting to
Zero as the new high cluster number of temporarily starting.
4. method according to claim 3, which is characterized in that described high according to the preset rules resetting interim starting
The step of cluster number high as new temporarily starting cluster number, further includes:
Judge whether the default high cluster number of starting is equal to zero;
If the default high cluster number of starting is not equal to zero, the judgement high cluster of temporarily starting assumed in starting cluster number is executed
Number whether be equal to target partition maximum management cluster number in high cluster number the step of;
If the high cluster number of the default starting is equal to zero, by it is described temporarily originate high cluster number carry out plus a processing after as newly interim
Originate high cluster number.
5. method according to claim 1, which is characterized in that described from file directory table corresponding to target partition
The file record item for obtaining a deleted document, from the file record item the step of acquisition document base information, comprising:
A file record item is obtained from file directory table corresponding to target partition;
Judge in the file record item with the presence or absence of deleted marker;
If determining that the file record item is the entry of deleted document there are deleted marker in the file record item, from
Document base information is obtained in the file record item.
6. method according to claim 5, which is characterized in that whether there is in the judgement file record item and delete
The step of except mark, comprising:
Judge whether the first byte character in the file record item is preset characters;
If the first byte character in the file record item is preset characters, determines to exist in the file record item and delete mark
Will.
7. method according to claim 1, which is characterized in that the document base information further includes file characteristic, institute
It states and judges whether the file for assuming that starting cluster number is corresponding on disk is described deleted according to the document base information
The step of except file, including;
Judge whether the feature of the file for assuming that starting cluster number is corresponding on disk matches with the file characteristic;
If the feature of the file for assuming that starting cluster number is corresponding on disk and the file spy in the document base information
Sign matches, and determines that the file for assuming that starting cluster number is corresponding on disk is the deleted document.
8. a kind of fixed disk file scanning means characterized by comprising
Acquiring unit, for obtaining the file record of a deleted document from file directory table corresponding to target partition
, document base information is obtained from the file record item, the document base information includes that the starting of deleted document is low
Cluster number;
Structural unit temporarily originates high cluster number according to described for obtaining the default high cluster number of starting as high cluster number is temporarily originated
The hypothesis that low cluster number constructs the deleted document with the starting originates cluster number;
First judging unit, for judging whether the hypothesis starting cluster number is greater than target partition maximum management cluster number;
Second judgment unit, if cluster number is managed no more than target partition maximum for hypothesis starting cluster number, according to the text
Part essential information judges whether the file for assuming that starting cluster number is corresponding on disk is the deleted document;
Recording unit, if being the deleted document, record for the file for assuming that starting cluster number is corresponding on disk
The true cluster number for assuming starting cluster number as the deleted document, by the high cluster number of starting assumed in starting cluster number
The scanning of next deleted document is realized as the high cluster number of default starting of next deleted document.
9. a kind of computer equipment, which is characterized in that the computer equipment includes memory and processor, on the memory
It is stored with computer program, the processor is realized as described in any one of claim 1-7 when executing the computer program
Method.
10. a kind of storage medium, which is characterized in that the storage medium is stored with computer program, the computer program packet
Including can realize when being executed by a processor such as method of any of claims 1-7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811435150.XA CN109614370B (en) | 2018-11-28 | 2018-11-28 | Disk file scanning method and device, computer equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811435150.XA CN109614370B (en) | 2018-11-28 | 2018-11-28 | Disk file scanning method and device, computer equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109614370A true CN109614370A (en) | 2019-04-12 |
CN109614370B CN109614370B (en) | 2021-11-09 |
Family
ID=66006458
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811435150.XA Active CN109614370B (en) | 2018-11-28 | 2018-11-28 | Disk file scanning method and device, computer equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109614370B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112835858A (en) * | 2021-03-15 | 2021-05-25 | 深圳软牛科技有限公司 | Method, device and equipment for recovering non-continuously stored files and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1773462A (en) * | 2005-10-17 | 2006-05-17 | 珠海金山软件股份有限公司 | Method for recovering deleted file of FAT32 partition |
JP2006318016A (en) * | 2005-05-10 | 2006-11-24 | Sony Corp | Information processor, information processing method, and program |
CN100407159C (en) * | 2006-08-01 | 2008-07-30 | 珠海金山软件股份有限公司 | Method for recovering files deleted from FAT32 document system |
CN104331348A (en) * | 2014-11-27 | 2015-02-04 | 四川效率源信息安全技术有限责任公司 | Method for recovering file by reducing initial cluster number of FAT32 directory entry |
-
2018
- 2018-11-28 CN CN201811435150.XA patent/CN109614370B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006318016A (en) * | 2005-05-10 | 2006-11-24 | Sony Corp | Information processor, information processing method, and program |
CN1773462A (en) * | 2005-10-17 | 2006-05-17 | 珠海金山软件股份有限公司 | Method for recovering deleted file of FAT32 partition |
CN100407159C (en) * | 2006-08-01 | 2008-07-30 | 珠海金山软件股份有限公司 | Method for recovering files deleted from FAT32 document system |
CN104331348A (en) * | 2014-11-27 | 2015-02-04 | 四川效率源信息安全技术有限责任公司 | Method for recovering file by reducing initial cluster number of FAT32 directory entry |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112835858A (en) * | 2021-03-15 | 2021-05-25 | 深圳软牛科技有限公司 | Method, device and equipment for recovering non-continuously stored files and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN109614370B (en) | 2021-11-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110413719A (en) | Information processing method and device, equipment, storage medium | |
CN110928498B (en) | Directory traversal method, device, equipment and storage medium | |
JP5375910B2 (en) | Map information sharing / updating system and terminal device | |
CN106294352A (en) | A kind of document handling method, device and file system | |
CN105183768B (en) | A kind of file management method, device and terminal device | |
CN111190962B (en) | File synchronization method and device and local terminal | |
CN106709341A (en) | Virus processing method and device capable of aiming at file package | |
CN109189859B (en) | Node initialization method and device in block chain network | |
CN110474977A (en) | Firmware upgrade method, firmware upgrade system and the intelligent door lock of intelligent door lock | |
CN110221960A (en) | Generate method and device, the computer equipment, storage medium of test case | |
CN106372080A (en) | File clearing method, apparatus and system | |
CN109614370A (en) | Disk file scan method, device, computer equipment and storage medium | |
CN104471894A (en) | Method and node device for upgrade | |
CN109582501A (en) | File access pattern method, apparatus, computer equipment and storage medium | |
CN107122805A (en) | A kind of user clustering method and apparatus | |
CN108604231A (en) | Mirror processing method and computing device | |
CN107678751A (en) | A kind of software virtual machine dispositions method and terminal | |
CN106375455B (en) | A kind of data transmission method and device | |
CN110769016A (en) | File uploading method and computer storage medium | |
US20220050811A1 (en) | Method and apparatus for synchronizing file | |
CN111104404B (en) | Data storage method and device based on distributed objects | |
CN109933479A (en) | Fault simulation and emulation mode and relevant device | |
CN112347046A (en) | Method for acquiring creation time of file in distributed system | |
CN114253905A (en) | File writing method, device and equipment based on directory quota | |
CN108681594A (en) | Document handling method and relevant apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |