CN101571825A - Method and device for saving and scanning disk modification record - Google Patents

Method and device for saving and scanning disk modification record Download PDF

Info

Publication number
CN101571825A
CN101571825A CNA2008101054893A CN200810105489A CN101571825A CN 101571825 A CN101571825 A CN 101571825A CN A2008101054893 A CNA2008101054893 A CN A2008101054893A CN 200810105489 A CN200810105489 A CN 200810105489A CN 101571825 A CN101571825 A CN 101571825A
Authority
CN
China
Prior art keywords
disk
information
file
zone
recording strip
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
Application number
CNA2008101054893A
Other languages
Chinese (zh)
Other versions
CN101571825B (en
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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN2008101054893A priority Critical patent/CN101571825B/en
Publication of CN101571825A publication Critical patent/CN101571825A/en
Application granted granted Critical
Publication of CN101571825B publication Critical patent/CN101571825B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

The invention provides a method and a device for saving and scanning disk modification record, wherein the saving method comprises the following steps: detecting whether a file is modified in a first disk area; when a first file is modified, generating file modification record corresponding to the first file; and storing the modification record of the file in a corresponding buffer in a disk; reading the modification record of the file from the corresponding buffer in the disk and storing the modification record in a first record tape. The scanning method comprises the following steps: acquiring first information; sorting out the first information to obtain second information; displacing the second information to obtain third information of a second record tape; reading the third information when a recording head passes through the second record tape, and determining disk content needing scanning in at least one disk area according to the third information; and scanning the disk content needing scanning. The proposal of the invention can improve the scanning speed and reduce the scanning time of the disk.

Description

The method and apparatus of a kind of preservation and scanning disk modification record
Technical field
The present invention relates to computer realm, the method and apparatus of especially a kind of preservation and scanning disk modification record.
Technical background
Along with computer software technology and development of internet technology, the various leaks of computer system more and more become the target of attack of virus and rogue program.For the safety of protection system, the user often installs antivirus applet, and the scanning of regularly killing virus.But along with the increase of computer disk capacity, the quantity of documents that the user can be stored in the computing machine is more and more, and this makes that the each overall file scan process of antivirus software is consuming time very long.And in fact, after each overall virus killing was finished, virus killing for the second time only need be checked at the disk zone that change is arranged and get final product, and in most of the cases, did not need All Files is checked.
Therefore, the problem to be solved in the present invention is when disk scans virus killing, how can reduce the sweep velocity of disk and the sweep time of disk.
Summary of the invention
The purpose of the embodiment of the invention provides the method and apparatus of a kind of preservation and scanning disk modification record, to improve the sweep velocity to disk, reduces the sweep time of disk.
For solving the problems of the technologies described above, provide a kind of method of preserving the data in magnetic disk amendment record on the one hand, comprising:
Detection includes whether the first disk zone has file to be modified in the disk at least one disk zone, corresponding memory buffer is arranged in the described disk, on described disk, be provided with and the first corresponding recording strip of described first disk zone according to current data recording mode of operation;
When having first file to be modified, generate and the corresponding file modification record of described first file;
Store described file modification and record memory buffer corresponding in the described disk;
Read and deposit in described first recording strip in the memory buffer with described file modification record correspondence from described disk.
Preferably, after reading and deposit in described first recording strip in the described memory buffer with described file modification record correspondence from described disk, also comprise: the described file modification record that will be stored in the memory buffer corresponding in the described disk is deleted.
Preferably, described mode of operation according to current data record comprises: radially disk mode of operation, hoop disk mode of operation, and radially with the combining of hoop disk mode of operation.
Preferably, under described hoop disk mode of operation, described first recording strip is placed on the outermost layer of described hoop disk, or innermost layer.
Preferably, described according to first recording strip that current data recording mode of operation is provided with and described first disk zone is corresponding, be specially:
Be in when disk under the situation of disk mode of operation radially, the quantity of described first recording strip that described first disk zone is corresponding is identical with the region quantity of described disk;
Be in when disk under the situation of hoop disk mode of operation, the quantity of described first recording strip that described first disk zone is corresponding is the twice of described disk region quantity.
Preferably, before described generation and the corresponding file modification record of described first file, judge whether the user has the file extent requirement to described file modification record, when described user records file extent when requiring to described file modification, then in the described file extent of described user's requirement, generate described file modification record.
Preferably, the described first recording strip width is specially: be a sector at least, the capacity of described at least one sector at least enough writes down the described file modification record in described at least one first disk zone.
Preferably, the described file modification record in described at least one first disk zone comprises: mark is modified position, the size of information.
For solving the problems of the technologies described above, a kind of device of preserving the data in magnetic disk amendment record also is provided simultaneously, comprising:
One disk comprises at least one disk zone, and a memory buffer is provided with and each corresponding recording strip in described disk zone according to current data recording mode of operation on described disk;
Detection module links to each other with a described disk, and whether be used for detecting described at least one disk zone has file to be modified;
Generation module links to each other with described detection module, when being used for having file to be modified in described at least one disk zone, generates and the corresponding file modification record of described file;
Processing module, link to each other with described generation module, be used for storing the memory buffer that described file modification records described disk, described file modification record is read and deposited in from described memory buffer in the recording strip corresponding with described file place disk zone.
Preferably, described device also comprises: removing module, link to each other with processing module, and be used for the described file modification record that is stored in described memory buffer is deleted.
Preferably, described device also comprises: judge module, link to each other with described generation module, be used for before described generation and the corresponding file modification record of described file, judge whether the user has the file extent requirement to described file modification record, when described user records file extent when requiring to described file modification, then in the described file extent of described user's requirement, generate described file modification record.
For solving the problems of the technologies described above, a kind of method of scanning disk modification record also is provided, comprising:
Obtain the first information, the described first information is stored in first recording strip, and described recording strip is included in the first disk zone, and described first disk zone is at least one disk zone at least one disk;
The described first information is put in order, obtained second information;
With the described second information via displacement, obtain the 3rd information of second recording strip;
When the magnetic head of described at least one disk during, read described the 3rd information, and determine the disc content of needs scanning in described at least one disk zone according to described the 3rd information through described second recording strip;
The described disc content of scanning that needs is scanned.
Preferably, the described first information is specially: the data modification information in described at least one disk zone.
Preferably, the data modification information in described at least one disk zone comprises: the side-play amount of a modifier area position, forms such as the length of modifier area.
Preferably, the described described disc content that need scan is scanned comprises: the data modification information in described at least one disk zone is killed virus handle or retrieval process.
Preferably, also comprise before obtaining the first information:, be divided into disk mode of operation radially, hoop disk mode of operation and the mode of operation that combines with the hoop disk of disk radially the mode of operation of described disk according to the current data record described.
Preferably, described the described first information is put in order, is obtained described second information and be specially:
Under described radially disk mode of operation, the described first information is moved on the intersection point of the described magnetic track in described at least one disk zone and described first recording strip, obtain described second information;
Under described hoop disk mode of operation, the hoop disk is divided at least two radially sector regions, according to each described at least two radially the pairing described first information of sector region be placed on described each described at least two radially on the intersection point of sector region and described first recording strip, obtain described second information.
Preferably, described with the described second information via displacement, the 3rd information that obtains second recording strip is specially:
Under described radially disk mode of operation,, obtain the 3rd information of described second recording strip with the scope of described second information according to identical described at least one the disk zone of direction displacement of described disk rotation;
Under described hoop disk mode of operation,, obtain the 3rd information of described second recording strip with the scope of described second information according to described at least one the disk zone of opposite direction displacement of the direction of scanning of described magnetic head.
For solving the problems of the technologies described above, simultaneously, provide a kind of device that is used for scanning disk modification record, comprising:
One disk comprises at least one disk zone, and each described at least one disk zone is provided with and the first corresponding recording strip of described first disk zone according to current data recording mode of operation; Store the first information in described first recording strip;
Acquisition module links to each other with a described disk, is used to obtain the first information;
Sorting module links to each other with described acquisition module, is used for the described first information is put in order, obtains described second information; With the described second information via displacement, obtain the 3rd information of second recording strip;
Scan module links to each other with described sorting module, is used for reading described the 3rd information, and determining the disc content of needs scanning in described at least one disk zone according to described the 3rd information when the magnetic head of a described disk during through described second recording strip; The described disc content of scanning that needs is scanned.
Preferably, the first information in the described sorting module is specially: the modification information of the data in the disk.
Preferably, the modification information of the data in the described disk in the described sorting module comprises: the side-play amount of a modifier area position, forms such as the length of modifier area.
Preferably, the described described disc content that need scan is scanned comprises: the data modification information in described at least one disk zone is killed virus handle or retrieval process.
The embodiment of the invention has following beneficial effect:
The method of the embodiment of the invention, device are by utilizing the mode of operation of disk, radially with on the disk of hoop opening up some tiny recording strips, in the time of these recording strips of disk process, can be in passing the amendment record in particular disk zone be recorded in these files, and when disk need carry out scan full hard disk, also be easy to, will read and scan through the data that are stored in recording strip of arrangement very fast, reduced the rotation time of magnetic head tracking holding time and disk like this.
Description of drawings
Fig. 1 is a synoptic diagram of preserving the method for disk modification record under the radially disk mode of operation of the embodiment of the invention;
Fig. 2 is a synoptic diagram of preserving the method for disk modification record under the hoop disk mode of operation of the embodiment of the invention;
Fig. 3 is the preservation disk modification record schematic representation of apparatus of the embodiment of the invention;
Fig. 4 is the synoptic diagram of the method for scanning disk modification record fast under the radially disk mode of operation of the embodiment of the invention;
Fig. 5 is the synoptic diagram of the method for scanning disk modification record fast under the hoop disk mode of operation of the embodiment of the invention;
Fig. 6 is the schematic representation of apparatus of the scanning disk modification record of the embodiment of the invention;
Embodiment
For making embodiments of the invention clearer, be described in detail below in conjunction with the accompanying drawings and the specific embodiments technical matters, technical scheme and the advantage that will solve.
The embodiment of the invention is in the virus killing process, the seek time of disk and the rotation time of disk scanning take long situation, according to the disk mode of operation recording strip is set and is used for the situation that recording disc is revised, and put in order by disk revised file information to recording strip, thereby solve in scanning virus killing process, reduce the seek time of disk and the rotation time of disk.
Below in conjunction with accompanying drawing the embodiment of the invention is described in detail.
As shown in Figure 1, comprise for the method for preserving disk modification record under the radially disk mode of operation of the embodiment of the invention:
Step 11, according to the characteristic of disk radially, utilize 4 recording strips, be yellow recording strip (1011), red recording strip (1021), green recording strip (1031) and blue recording strip (1041) are divided into 4 zones with a disk, are respectively yellow area (101), red area (102), green area (103), blue region (104).In 4 above-mentioned recording strips, it is a sector at least that each recording strip all requires its width, and the capacity of described sector is enough to write down each regional file modification information.The file modification information spinner that writes down in recording strip will comprise, is modified position, size of fileinfo etc.
Step 12, when magnetic head in yellow area 101 carry out data modification after, judge whether the user needs the file modification information in the whole yellow area is preserved, if the user only need preserve part modification information, then the user is recorded in the buffer area of Magnetic Disk Controller the partial document modification information of required preservation in the yellow area, if the user need preserve modification information all in the yellow area, then the modification information of the All Files in the yellow area is recorded the buffer area of Magnetic Disk Controller.
Step 13, under the mode of operation of disk radially, when magnetic head when yellow area 101 turns to blue region 104, can be through yellow recording strip 1011, at this moment, magnetic head will will be recorded in the revised file information of the buffer area of Magnetic Disk Controller by the way just now in yellow area, write in the yellow recording strip 1011.
Step 14 after the file modification information of yellow area 101 records yellow recording strip 1011, is deleted the revised file information that is stored in the buffer area.
More than be the method that log file in a zone of disk is radially revised information, other regional recording methods also are consistent.
As shown in Figure 2, comprise for the method for preserving disk modification record under the hoop disk mode of operation of the embodiment of the invention:
Step 21 is divided into 3 zones with a disk, and promptly red area 201, yellow area 202 and blue region 203.In these three zones, 2 recording strips are arranged in each zone, be placed on the innermost layer and the outermost layer of region respectively, promptly red 2 is respectively (201A and 201B), and yellow 2 is respectively (202A and 202B), and blue 2 is respectively (203A and 203B).In 6 above-mentioned recording strips, it is a sector at least that each recording strip all requires its width, and the capacity of described sector is enough to write down each regional file modification information.The file modification information spinner that writes down in recording strip will comprise, is modified position, size of fileinfo etc.
Step 22, when magnetic head carries out data modification in yellow area 202 after, judge whether the user needs the file modification information in the whole yellow area 202 is preserved, if the user only need preserve the part modification information of yellow area 202, then only the user is recorded in the buffer area of Magnetic Disk Controller the partial document modification information of required preservation in the yellow area 202, if the user need preserve all modification information in the yellow area 202, then the modification information of the All Files in the yellow area 202 is recorded the buffer area of Magnetic Disk Controller.
Step 23 judges that at first magnetic head is to move from inside to outside or the ecto-entad motion.Because the initial position of magnetic head is in yellow area, therefore, when magnetic head was the ecto-entad motion, then magnetic head can move to red area 201, then magnetic head will record in the yellow recording strip (202A) by the way at the record of the file modification in the yellow area 202 before shifting out yellow area 202.Equally, when magnetic head is to move from inside to outside, then magnetic head can move to blue region 203 from yellow area, and then magnetic head will record in the yellow recording strip (202B) by the way at the record of the file modification in the yellow area 202 before shifting out yellow area 202.
Step 24 after the file modification information of yellow area records yellow recording strip, is deleted the revised file information that is stored in the buffer area.
More than be the method for the log file modification information in a zone of hoop disk, other regional recording methods also are consistent.
As shown in Figure 3, the device for embodiment of the invention preservation disk modification record comprises:
One disk 31 comprises at least one disk zone, and each described disk zone includes memory buffer, is provided with and each corresponding recording strip in described disk zone according to current data recording mode of operation on described disk;
Detection module 32 links to each other with a described disk, and whether be used for detecting described at least one disk zone has file to be modified;
Generation module 33 links to each other with described detection module, when being used for having file to be modified in described at least one disk zone, generates and the corresponding file modification record of described file;
Processing module 34, link to each other with described generation module, be used for storing the memory buffer that described file modification records the correspondence in disk zone, described file place, read and deposit in the memory buffer with the correspondence of described file modification record from disk zone, described file place in the recording strip corresponding with described file place disk zone;
Removing module 35 links to each other with processing module, is used for the described file modification record that is stored in described memory buffer is deleted;
Judge module 36, link to each other with described generation module, be used for before described generation and the corresponding file modification record of described file, judge whether the user has the file extent requirement to described file modification record, when described user records file extent when requiring to described file modification, then in the described file extent of described user's requirement, generate described file modification record.
As shown in Figure 4, be the method for scanning disk modification record under the radially disk mode of operation of the embodiment of the invention;
Step 41 is divided into 4 zones with disk, is respectively yellow area, red area, blue region and green area, all has a record to bring the recorded information of the revised file in the storage corresponding region in each zone.Wherein, the modification information of data comprises: the side-play amount of a modifier area position, forms such as the length of modifier area.
Step 42 is put in order the file modification information that is placed on recording strip in each zone at random.Be specially: the first information (i.e. the file modification information of each magnetic track in the first yellow recording strip) that is placed in the first yellow recording strip at random is moved on the intersection point of each magnetic track and recording strip, obtain second information; The first information (i.e. the file modification information of each magnetic track in the first red recording strip) that is placed in the first red recording strip at random is moved on the intersection point of each magnetic track and recording strip, obtain second information; The first information (i.e. the file modification information of each magnetic track in the first blue recording strip) that is placed in the first blue recording strip at random is moved on the intersection point of each magnetic track and recording strip, obtain second information; The first information (i.e. the file modification information of each magnetic track in the first green recording strip) that is placed in the first green recording strip at random is moved on the intersection point of its each magnetic track and recording strip, obtain second information.
Step 43, magnetic head can scan from yellow area according to the zone of prior delimitation in scanning.First recording strip of yellow area is that to be placed on the yellow area of disk reverse in the least significant end of disk sense of rotation, therefore, second information copy that is placed on the first yellow recording strip herein is reverse in the starting end of disk sense of rotation to yellow disk zone, obtain the 3rd information of second recording strip.
Step 44, magnetic head can experience the second yellow recording strip at first when yellow area is scanned.Therefore, magnetic head can learn which is the file of revising in the yellow area by the modification information of the corresponding magnetic track that provides in the second yellow recording strip, and which is the file of unmodified mistake.
Step 45 by the file determining to revise in the yellow area and the file of unmodified mistake, to the file of revising kill virus processing or retrieval process, is left intact for unmodified file.
More than be the method that scanning document in a zone of disk is radially revised information, other regional recording methods also are consistent.
As shown in Figure 5, be the method for scanning disk modification record under the hoop disk mode of operation of the embodiment of the invention;
Step 51, disk is divided into 3 zones, be respectively yellow area, red area, blue region, outer shroud and innermost ring in each zone are placed a recording strip (being that each zone has 2 recording strips) respectively, store the recorded information of the revised file in the corresponding region.Wherein, the modification information of data comprises: the side-play amount of a modifier area position, forms such as the length of modifier area.
Step 52 is put in order the file modification information that is placed on recording strip in each zone at random.Be specially: in yellow area, be divided at least two radially sector regions, then with the place first information (being file modification information) that is placed on the first yellow recording strip at random in the sector region radially, move on the intersection point of radially sector region and yellow recording strip, obtain second information; In red area, be divided at least two radially sector regions, then with the place first information (being file modification information) that is placed on the first red recording strip at random in the sector region radially, move on the intersection point of radially sector region and red recording strip, obtain second information; In blue region, be divided at least two radially sector regions, then with the place first information (being file modification information) that is placed on the first blue recording strip at random in the sector region radially, move on the intersection point of radially sector region and blue recording strip, obtain second information.
Step 53, after the arrangement of the scattered data being in each recording strip is finished, the data of the recording strip of each circumferencial direction are merged according to the zone, the innermost ring and the outer shroud recording strip that are about to yellow area merge, the innermost ring and the outer shroud recording strip of blue region are merged, the innermost ring and the outer shroud recording strip of red area merged.
Step 54, under hoop disk mode of operation, magnetic head has only 2 kinds of scan patterns, promptly by interior hoop outer shroud with by the inside pattern of encircling of outer shroud.Therefore, the recording strip that merges being stored in magnetic head moves radially on the rightabout recording strip of direction.Scanning with yellow disk zone is example, supposes that magnetic head is to carry out scan full hard disk by interior hoop outer shroud, and then the outer shroud recording strip with yellow disk zone merges the endocyclic position that is placed on yellow disk zone, obtains second recording strip.Suppose that magnetic head is inwardly to be encircled by outer shroud to carry out scan full hard disk, then the interior ring recording strip with yellow disk zone merges the outer ring position that is placed on yellow disk zone, obtains second recording strip.Like this, no matter magnetic head is to adopt which kind of scan mode, all can experience the second yellow recording strip at first.
Step 55 is placed on beginning of disk scanning with the second yellow recording strip, and magnetic head can learn which is the file of revising in the yellow area by the modification information of the corresponding magnetic track that provides in the second yellow recording strip, and which is the file of unmodified mistake.
Step 56 by the file determining to revise in the yellow area and the file of unmodified mistake, to the file of revising kill virus processing or retrieval process, is left intact for unmodified file.
More than be the method for the scanning document modification information in a zone of hoop disk, other regional recording methods also are consistent.
As shown in Figure 6, the device for embodiment of the invention scanning disk modification record comprises:
One disk 61 comprises at least one disk zone, and each described at least one disk zone is provided with and the first corresponding recording strip of described first disk zone according to current data recording mode of operation; Store the first information in described first recording strip;
Acquisition module 62 links to each other with a described disk, is used to obtain the first information;
Sorting module 63 links to each other with described acquisition module, is used for the described first information is put in order, obtains described second information; With the described second information via displacement, obtain the 3rd information of second recording strip;
Scan module 64 links to each other with described sorting module, is used for reading described the 3rd information, and determining the disc content of needs scanning in described at least one disk zone according to described the 3rd information when the magnetic head of a described disk during through described second recording strip; The described disc content of scanning that needs is scanned.
The above only is a preferred implementation of the present invention; should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (22)

1, a kind of method of preserving the data in magnetic disk amendment record is characterized in that, described method comprises:
Detection includes whether the first disk zone has file to be modified in the disk at least one disk zone, corresponding memory buffer is arranged in the described disk, on described disk, be provided with and the first corresponding recording strip of described first disk zone according to current data recording mode of operation;
When having first file to be modified, generate and the corresponding file modification record of described first file;
Store described file modification and record memory buffer corresponding in the described disk;
Read and deposit in described first recording strip in the memory buffer with described file modification record correspondence from described disk.
2, method according to claim 1, it is characterized in that, after reading and deposit in described first recording strip in the described memory buffer with described file modification record correspondence from described disk, also comprise: the described file modification record that will be stored in the memory buffer corresponding in the described disk is deleted.
3, method according to claim 1 is characterized in that, described mode of operation according to current data record comprises: radially disk mode of operation, hoop disk mode of operation, and radially with the combining of hoop disk mode of operation.
4, method according to claim 3 is characterized in that, under described hoop disk mode of operation, described first recording strip is placed on the outermost layer of described hoop disk, or innermost layer.
5, method according to claim 3 is characterized in that, and is described according to first recording strip that current data recording mode of operation is provided with and described first disk zone is corresponding, is specially:
Be in when disk under the situation of disk mode of operation radially, the quantity of described first recording strip that described first disk zone is corresponding is identical with the region quantity of described disk;
Be in when disk under the situation of hoop disk mode of operation, the quantity of described first recording strip that described first disk zone is corresponding is the twice of described disk region quantity.
6, method according to claim 1, it is characterized in that, before described generation and the corresponding file modification record of described first file, judge whether the user has the file extent requirement to described file modification record, when described user records file extent when requiring to described file modification, then in the described file extent of described user's requirement, generate described file modification record.
7, method according to claim 1 is characterized in that, the described first recording strip width is specially: be a sector at least, the capacity of described at least one sector at least enough writes down the described file modification record in described at least one first disk zone.
8, method according to claim 7 is characterized in that, the described file modification record in described at least one first disk zone comprises: mark is modified position, the size of information.
9, a kind of device of preserving the data in magnetic disk amendment record is characterized in that, described device comprises:
One disk comprises at least one disk zone, and a memory buffer is provided with and each corresponding recording strip in described disk zone according to current data recording mode of operation on described disk;
Detection module links to each other with a described disk, and whether be used for detecting described at least one disk zone has file to be modified;
Generation module links to each other with described detection module, when being used for having file to be modified in described at least one disk zone, generates and the corresponding file modification record of described file;
Processing module, link to each other with described generation module, be used for storing the memory buffer that described file modification records described disk, described file modification record is read and deposited in from described memory buffer in the recording strip corresponding with described file place disk zone.
10, device according to claim 9 is characterized in that, described device also comprises:
Removing module links to each other with processing module, is used for the described file modification record that is stored in described memory buffer is deleted.
11, device according to claim 9 is characterized in that, described device also comprises:
Judge module, link to each other with described generation module, be used for before described generation and the corresponding file modification record of described file, judge whether the user has the file extent requirement to described file modification record, when described user records file extent when requiring to described file modification, then in the described file extent of described user's requirement, generate described file modification record.
12, a kind of method of scanning disk modification record is characterized in that, described method comprises:
Obtain the first information, the described first information is stored in first recording strip, and described recording strip is included in the first disk zone, and described first disk zone is at least one disk zone at least one disk;
The described first information is put in order, obtained second information;
With the described second information via displacement, obtain the 3rd information of second recording strip;
When the magnetic head of described at least one disk during, read described the 3rd information, and determine the disc content of needs scanning in described at least one disk zone according to described the 3rd information through described second recording strip;
The described disc content of scanning that needs is scanned.
13, method according to claim 12 is characterized in that, the described first information is specially: the data modification information in described at least one disk zone.
14, method according to claim 13 is characterized in that, the data modification information in described at least one disk zone comprises: the side-play amount of a modifier area position, forms such as the length of modifier area.
15, method according to claim 13 is characterized in that, the described described disc content that need scan is scanned comprises: the data modification information in described at least one disk zone is killed virus handle or retrieval process.
16, method according to claim 12, it is characterized in that, also comprise before obtaining the first information described:, be divided into disk mode of operation radially, hoop disk mode of operation and the mode of operation that combines with the hoop disk of disk radially the mode of operation of described disk according to the current data record.
17, method according to claim 16 is characterized in that, described the described first information is put in order, obtains described second information and is specially:
Under described radially disk mode of operation, the described first information is moved on the intersection point of the described magnetic track in described at least one disk zone and described first recording strip, obtain described second information;
Under described hoop disk mode of operation, the hoop disk is divided at least two radially sector regions, according to each described at least two radially the pairing described first information of sector region be placed on described each described at least two radially on the intersection point of sector region and described first recording strip, obtain described second information.
18, method according to claim 16 is characterized in that, described with the described second information via displacement, the 3rd information that obtains second recording strip is specially:
Under described radially disk mode of operation,, obtain the 3rd information of described second recording strip with the scope of described second information according to identical described at least one the disk zone of direction displacement of described disk rotation;
Under described hoop disk mode of operation,, obtain the 3rd information of described second recording strip with the scope of described second information according to described at least one the disk zone of opposite direction displacement of the direction of scanning of described magnetic head.
19, a kind of device that is used for scanning disk modification record is characterized in that, described device comprises:
One disk comprises at least one disk zone, and each described at least one disk zone is provided with and the first corresponding recording strip of described first disk zone according to current data recording mode of operation; Store the first information in described first recording strip;
Acquisition module links to each other with a described disk, is used to obtain the first information;
Sorting module links to each other with described acquisition module, is used for the described first information is put in order, obtains described second information; With the described second information via displacement, obtain the 3rd information of second recording strip;
Scan module links to each other with described sorting module, is used for reading described the 3rd information, and determining the disc content of needs scanning in described at least one disk zone according to described the 3rd information when the magnetic head of a described disk during through described second recording strip; The described disc content of scanning that needs is scanned.
20, device according to claim 19 is characterized in that, the first information in the described sorting module is specially: the modification information of the data in the disk.
21, device according to claim 20 is characterized in that, the modification information of the data in the described disk in the described sorting module comprises: the side-play amount of a modifier area position, forms such as the length of modifier area.
22, device according to claim 19 is characterized in that, the described described disc content that need scan is scanned comprises: the data modification information in described at least one disk zone is killed virus handle or retrieval process.
CN2008101054893A 2008-04-29 2008-04-29 Method and device for saving and scanning disk modification record Active CN101571825B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008101054893A CN101571825B (en) 2008-04-29 2008-04-29 Method and device for saving and scanning disk modification record

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008101054893A CN101571825B (en) 2008-04-29 2008-04-29 Method and device for saving and scanning disk modification record

Publications (2)

Publication Number Publication Date
CN101571825A true CN101571825A (en) 2009-11-04
CN101571825B CN101571825B (en) 2012-11-21

Family

ID=41231184

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008101054893A Active CN101571825B (en) 2008-04-29 2008-04-29 Method and device for saving and scanning disk modification record

Country Status (1)

Country Link
CN (1) CN101571825B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102760168A (en) * 2012-06-13 2012-10-31 腾讯科技(深圳)有限公司 Method and device for scanning fragmented files
CN107358096A (en) * 2017-07-10 2017-11-17 成都虫洞奇迹科技有限公司 File virus checking and killing method and system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7287133B2 (en) * 2004-08-24 2007-10-23 Symantec Operating Corporation Systems and methods for providing a modification history for a location within a data store
CN101154253B (en) * 2006-09-26 2011-08-10 北京软通科技有限责任公司 Computer security protection method and computer security protection instrument

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102760168A (en) * 2012-06-13 2012-10-31 腾讯科技(深圳)有限公司 Method and device for scanning fragmented files
CN107358096A (en) * 2017-07-10 2017-11-17 成都虫洞奇迹科技有限公司 File virus checking and killing method and system
CN107358096B (en) * 2017-07-10 2020-06-09 成都灵跃云创科技有限公司 File virus searching and killing method and system

Also Published As

Publication number Publication date
CN101571825B (en) 2012-11-21

Similar Documents

Publication Publication Date Title
US4525839A (en) Method of controlling storage device
KR910010414A (en) Method and apparatus for writing data to a magnetic recording medium
US20100312983A1 (en) Defragmentation of solid state memory
KR860000647A (en) Mass storage disk drive bad media handling method
JP2012503250A (en) Consolidating write traffic to the data store
KR950006750A (en) Disc drive unit and data reproducing unit
KR970002859A (en) Digital signal recording method and disc player
CN1264163C (en) Information processor, information processing methodm medium recording information processing method
CN101017673B (en) Optical disc
CN107145301B (en) Data access method and device based on hybrid disk
CN1784742A (en) Method for formatting an optical disc
CN101571825B (en) Method and device for saving and scanning disk modification record
EP1367584A3 (en) A method of recording realtime data and a realtime data recording apparatus
JP2002184113A5 (en)
CN105830067A (en) Document information processing method, apparatus, and document processing apparatus and system
CN101714143A (en) Manufacturing method of mapping files and sorting method of file systems
CN109508446B (en) Log processing method and device
CN106021565A (en) Method for continuing writing MXF files in Op1a format and Op1b format
JP2003323356A5 (en)
CN101346769A (en) Device for and method of retrieval of a data file
KR100195010B1 (en) Defect map fast search method of hard disk drive
CN100585718C (en) Apparatus for and method of recording digital audio/video signals
CN104298466B (en) Disc reading method and device
KR100688523B1 (en) Hard disk drive and method for reading data
CN101031970B (en) Method and device for storing data on a record medium and for transferring information

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant