Embodiment
Following embodiment is during in order to the data of explanation in host accessing one memory storage, and the difference of the action of how data being carried out according to main frame is made relative response, to reach the purpose of data protection.Wherein, main frame can be computer, mobile phone, multimedia player, sound equipment, hand-held mobile device, satellite positioning device (Global Positioning System; Referred to as: GPS) or the various main frames that possess music, image or other guide (such as e-book, electronic chart etc.) ability to play such as e-book, and memory storage is built in the memory storage of main frame inside in can being, or is external in the external storage device of main frame.
Fig. 1 is the calcspar of the data protection system that provides of one embodiment of the invention.As shown in Figure 1, data protection system 1000 comprises host computer system 1100 and external storage device 1200.For convenience of description, host computer system 1100 is take computer system as example in the present embodiment, comprises host computer 1110 and input and output (In put/Out put; Referred to as: I/O) device 1150, yet in other embodiments, host computer system 1100 included main frames also can be the various main frames that possess music, image or other guide (such as e-book, electronic chart etc.) ability to play such as mobile phone, multimedia player, sound equipment, hand-held mobile device, satellite positioning device (GPS) or e-book.In addition, though be to explain with external storage device 1200 in the present embodiment, yet in other embodiment, in be built in host computer system 1100 memory storage also belong to the category that the present invention protects.
Fig. 2 is the schematic diagram of one embodiment of the invention host computer, input-output unit and the external storage device that provide.In the present embodiment, host computer 1110 comprises CPU (central processing unit) (CentralProcessing Unit; Referred to as: CPU) 1112, storer 1114, system bus 1116 and data transmission interface 1118.Wherein, for instance, input-output unit 1150 can be mouse 1202, keyboard 1204, display 1206 and printer 1208 etc. shown in Figure 2, is not limited at this.
External storage device 1200 comprises connector 1210, storage controller 1220 and storage unit 1230.For instance, external storage device 1200 can be Portable disk 1212, memory card 1214 or solid state hard disc (Solid State Drive shown in Figure 2; Referred to as: SSD) 1216, external storage device 1200 also comprises the Portable disk of energy analog rom driver (CD ROM) and any memory storages that link to each other with host computer 1110 by external mode such as Portable disk of energy analog digital video disk driver (DVD ROM).
External storage device 1200 joins with host computer 1110 by connector 1210 and data transmission interface 1118.By this, but just data in the access memory cell 1230 of host computer 1110, or with data write storage unit 1230.In the present embodiment, connector 1210 is universal serial bus (Universal Serial Bus with the transmission interface kind of supporting of data transmission interface 1118; Referred to as: USB) interface.And in other embodiments, connector 1210 also can be advanced annex (the Serial Advanced TechnologyAttachment of sequence with the transmission interface kind of data transmission interface 1118; Referred to as: SATA) interface, Institute of Electrical and Electric Engineers (Institute ofElectrical and Electronic Engineers; Referred to as: IEEE) 1394 interfaces, high-speed peripheral component connecting interface (Peripheral Component Interconnect Express; Referred to as: PCI Express) interface, or save numeral (secure digital from damage; Referred to as: SD) any applicable interface such as interface, do not limited at this.
Storage unit 1230 for example can be short-access storage (NAND flash memory), in order to store such as file configuration table (File Allocation Table; Referred to as: the system data such as FAT), and storage is such as general data such as audio/video file, literal shelves.
Storage controller 1220 is connected to respectively connector 1210 and storage unit 1230.In the present embodiment, storage controller 1220 comprises host interface unit 1222, microprocessor unit 1224, data protection unit 1226 and medium interface unit 1228.Storage controller 1220, receives according to this host computer 1110 and transmits and next instruction and data, and data are back to host computer 1110 to be connected to host computer 1110 via connector 1210 by host interface unit 1222.In the present embodiment, host interface unit 1222 has USB interface, and in other embodiments, host interface unit 1222 also can be to meet SATA interface, IEEE 1394 interfaces, PCI Express interface, save the interface unit of numeral (SD) interface, other rapid memory card interfaces or other interface standards from damage.Yet what must specify is that host interface unit 1222, connector 1210 must adopt identical interface standard with data transmission interface 1118, just can carry out data transfer to each other.
In addition, storage controller 1220 is to connect storage unit 1230 by medium interface unit 1228, according to this storage unit 1230 is controlled.In the present embodiment, medium interface unit 1228 is the short-access storage interface unit.
As shown in Figure 1; host interface unit 1222, data protection unit 1226 and medium interface unit 1228 all are connected to microprocessor unit 1224; and microprocessor unit 1224 is main control units of storage controller 1220; in order to the element cooperative cooperatings such as host interface unit 1222, medium interface unit 1228 and data protection unit 1226, to carry out the various runnings of external storage device 1200.
In the present embodiment; when external storage device 1200 is connected to host computer 1110; and transmit the main frame reading command come and when the data in the storage unit 1230 are processed according to host computer 1110; what data protection unit 1226 will differentiate that host computer 1110 wishs carry out data is playback action or replication actions, and then makes corresponding response.In detail; only have when data protection unit 1226 judge that host computers 1110 carry out be playback action the time; host computer 1110 is just continued normally access data; otherwise in the situation that data protection unit 1226 judges that host computer 1110 is just carrying out replication actions; 1200 of external storage devices are not sent data; or with speed slowly data are sent to host computer 1110, protect accordingly the data in the storage unit 1230 can not copied to easily and rapidly host computer 1110.
In another embodiment of the present invention, the storage controller in the external storage device also comprises other functional module group.Fig. 3 is the calcspar of the storage controller that provides of another embodiment of the present invention, sees also Fig. 3.In storage controller 1220 '; except comprise host interface unit 1222, microprocessor unit 1224, data protection unit 1226 and medium interface unit 1228; also comprise in addition memory buffer 3002, error correction unit 3004, and Power Management Unit 3006.
In detail, memory buffer 3002 is connected to microprocessor unit 1224, in order to the temporary data that come from host computer 1110, or the temporary data that come from storage unit 1230.
Error correction unit 3004 is connected to microprocessor unit 1224, in order to carry out an error-correcting routine to guarantee the correctness of data.Specifically, when storage controller 1220 ' received main frame from host computer 1110 and writes instruction, error correction unit 3004 can produce corresponding error-correcting code (Error Correcting Code for the data writing that corresponding this main frame writes instruction; Referred to as; And this data writing will be write to storage unit 1230 in the lump with corresponding error-correcting code ECC).And when storage controller 1220 ' receives main frame reading command from host computer 1110, then can from storage unit 1230, read data and the error-correcting code thereof of corresponding this main frame reading command.At this moment, error correction unit 3004 can be proofreaied and correct the data execution error of reading according to this error-correcting code.
Power Management Unit 3006 is connected to microprocessor unit 1224, in order to the power supply of external storage device to be provided.
Get back to Fig. 1; in order further to illustrate after external storage device 1200 is connected to host computer 1110; the operation workflow of data protection system 1000 when the data of host computer 1110 access external storage devices 1200 below comes especially exemplified by another embodiment that the present invention will be described in more detail.Fig. 4 is the process flow diagram of the data guard method that provides of one embodiment of the invention, please consults simultaneously Fig. 1 and Fig. 4.
At external storage device 1200 with after host computer 1110 is connected, at first shown in step 410, host computer 1110 can be by assigning the mode of main frame reading command, to play or to copy the data in the storage unit 1230 that is stored in external storage device 1200 to external storage device 1200.
Then shown in step 420, what the data that the 1110 pairs of external storage devices 1200 of data protection unit 1226 meeting differentiation host computers in the storage controller 1220 are stored were carried out is playback action or replication actions.Wherein, what deserves to be explained is, after described playback action refers to that data that host computer 1110 is stored external storage device 1200 read to host computer 1110 herein, only these data are play, separately these data are not write to another Nonvolatile memory devices of non-this external storage device 1200, for example be stored in its hard disk (Hard Disk as an example of host computer example; Referred to as: HD) or among the flash memory, memory disk, after described replication actions refers to that then data that host computer 1110 is stored external storage device 1200 read to host computer 1110 herein, separately these data are write to another Nonvolatile memory devices of non-this external storage device 1200, wherein, another nonvolatile memory can be installed in this host computer 1110 or be external in this host computer 1110.In general, be controlled by host computer 1110 and when being in different use states, speed of its output data also has sizable gap when external storage device 1200.According to statistics, when the user utilizes host computer 1110 to play data in the external storage devices 1200, if what play is the data of MP3 compression standard file layout, the data rate of outflow of external storage device 1200 approximately is 24Kbyte/s so, and when playing the data of MP4 compression standard file layout, the data rate of outflow of external storage device 1200 then is about 125Kbyte/s.Yet with the data Replica in the external storage device 1200 during to host computer 1110, the data rate of outflow of external storage device 1200 can reach 8Mbyte/s easily the user.In other words, during the data of host computer 1110 in playing external storage device 1200, the flow velocity of external storage device 1200 output data will be much smaller than the user with the data Replica in the external storage device 1200 flow velocity during to host computer 1110.Therefore in the present embodiment, data protection unit 1226 is that what to judge that host computer 1110 carries out data at present according to the data stream output of external storage device 1200 is playback action or replication actions.
Fig. 5 is differentiation host computer that one embodiment of the invention provide carries out playback action or replication actions to data process flow diagram, that is, Fig. 5 is the further specifying of step 420 of Fig. 4.In this embodiment, the data stream output refers to data traffic mean value measured in a specified time interval.At first shown in step 510, data protection unit 1226 at first defines a flow velocity threshold value.Flow rate threshold can be a general preset value, or relevant with interface or the purposes of external storage device 1200.Suppose that external storage device 1200 special uses accord with the data of default file form with storage, data protection unit 1226 just can define flow rate threshold according to the kind of default file form so.For instance, if the data that meet MP3 compression standard file layout are deposited in external storage device 1200 special uses, flow rate threshold for example may be defined as 50Kbyte/s so, and in external storage device 1200 special uses when depositing the data that meet MP4 compression standard file layout, flow rate threshold then may be defined as 150Kbyte/s.If for example the transmission interface of external storage device 1200 is high-speed peripheral component connecting interface (PeripheralComponent Interconnect Express again; Referred to as: PCI Express) interface, or save numeral (Secure Digital from damage; Referred to as: SD) or small-sized fast (Compact Flash; Referred to as: CF) interface, then because the peak transfer rate of its standard is different, therefore the current difference distance also can be because the interface peak transfer rate has difference, therefore therefore the setting of flow velocity threshold also can change when data are carried out playback action or replication actions.But must it should be noted that, above-mentioned flow rate threshold only is the example of enumerating in order to illustrate, it can be 1Mbyte/s, also can be 300Kbyte/s etc., not in order to limit the scope of the invention.
After the definition flow rate threshold, then in step 520, data protection unit 1226 in specified time interval, when a sampling apart from the data stream output of measuring an external storage device 1200, distance when wherein specified time interval is greater than sampling.And shown in step 530, utilize all measured in specified time interval data stream outputs, calculate interior during this period of time mean flow rate.For instance, suppose specified time interval be when sampling in 2 seconds apart from being 0.1 second, data protection unit 1226 will calculate the mean value of 20 measured in these 2 seconds data discharges so.Specifically, in the present embodiment, host computer 1110 is after upper one host command that is sent to external storage device 1200 is finished, just can transmit again the host command that next wish is carried out, and should by the host command (or the corresponding command information of host command) of external storage device 1200 execution, then can be temporary in the memory element in the external storage device 1200 (such as memory buffer 3002).Wherein, but the data length that the kind (such as read or write) of the command information include instruction that has in this temporary host command or wish are processed.External storage device 1200 also can only be kept in the reading out data amount in the schedule time.And data protection unit 1226 every when sampling apart from the command information that will record according to this memory buffer 3002, calculate the data volume that exports during this period of time host computer 1110 to, thus when learning this sampling apart from interior data stream output.
Next shown in step 540, data protection unit 1226 judges that whether the mean flow rate that calculates is more than or equal to flow rate threshold in this section specified time interval.If mean flow rate is less than flow rate threshold, shown in step 550, what 1110 pairs of data of data protection unit 1226 judgement host computers were carried out is playback action so.If yet mean flow rate more than or equal to flow rate threshold, shown in step 560, what data protection unit 1226 judged that 1110 pairs of data of host computers carry out is replication actions.
It is worth mentioning that, mainly be to judge according to the speed of data output and the continuity of output in the present embodiment, and be not when finding that the data stream output is excessive, to judge that immediately data are replicated.Accordingly, even if just begun access data and when a large amount of reading out datas are used as play buffering once, also can get rid of the situation that it is regarded as copy data by each step shown in Figure 5 at host computer 1110.
In another embodiment; data protection unit 1226 is when judging that according to the data stream output of external storage device 1,200 1110 pairs of data of host computer are carried out playback action or replication actions, and the data stream output of institute's foundation also can refer at the measured data stream value of a specific time period.When data stream value during more than or equal to a preset value, what data protection unit 1226 judged just that 1110 pairs of data of host computer carry out is replication actions.For example, data protection unit carries out traffic statistics 1226 each second, and when data stream value during more than or equal to a preset value, what data protection unit 1226 judged just that 1110 pairs of data of host computer carry out is replication actions.
Get back to Fig. 4; when the result of determination of data protection unit 1226 is playback action; the action case of expression host computer 1110 usage datas is in this way in played data; therefore shown in step 430; external storage device 1200 continues to carry out this action, unceasingly the data in the storage unit 1230 is carried out access to allow host computer 1110.Next, the flow process of this data guard method will be got back to step 420, judge again that by data protection unit 1226 data are played or copy.
Yet when the result of determination of data protection unit 1226 was replication actions, shown in step 440, external storage device 1200 was namely carried out an interference program, was copied to host computer 1110 to prevent or to slow down data.In this embodiment, external storage device 1200 performed interference programs can comprise a message feedback to host computer 1110.Wherein, the message of feeding back can be (media alternative) message during medium is changed, datacycle redundancy check code (Cyclic RedundancyCheck; Referred to as: CRC) error message, error-correcting code (Error-Correcting Code; Referred to as: ECC) error message, read failed message or medium and do not have message etc.And host computer 1110 just can't be proceeded the action of data Replica after obtaining above-mentioned message feedback.
In another embodiment, external storage device 1200 performed interference programs for example can be to carry out an infinite loop and then make external storage device 1200 enter hook state.Under these circumstances, unless the user reconnects external storage device 1200 to host computer 1110, otherwise external storage device 1200 will no longer be accepted any data read-write operation.
In another embodiment, external storage device 1200 performed interference programs can be according to a very slow pre-set velocity data to be sent to host computer 1110.Thus, also can reach prevent data by quick copy to the purpose of host computer 1110.
In other embodiments; in order to prevent that the user from utilizing the low speed transmissions interface to come copy data; in case the data protection unit 1226 in the storage controller 1220 judges that the transmission interface kind of the connector 1210 of external storage device 1200 is USB interface; and meet the lower USB1.1 standard of transmission speed, external storage device 1200 just is not back to data host computer 1110.
Although above-described embodiment is just to distinguish data with the speed that data flow out merely to be read or be copied, yet such discriminant approach is not in order to limit the scope of the invention.In other words, other can differentiate that data read and the method for data Replica also is applicable to data protection system 1000.Fig. 6 is differentiation host computer that another embodiment of the present invention provides carries out playback action or replication actions to data process flow diagram; in this embodiment; when data protection unit 1226 to differentiate that 1110 pairs of data of host computer carry out be playback action or replication actions the time; at first shown in step 610; data protection unit 1226 according to the transmission interface kind between host computer 1110 and the external storage device 1200 (namely; connector 1210 and data transmission interface 1118 corresponding transmission interface kinds); define one first data volume and one second data volume, wherein the second data volume is greater than the first data volume.For example, when connector 1210 and data transmission interface 1118 corresponding transmission interface kinds were USB interface, the first data volume may be defined as 4KB, and the second data volume may be defined as 64KB.
Then in step 620, data protection unit 1226 judges that the data amount of reading of host computer 1110 requirements is near the first data volume or the second data volume.In detail; the data that host computer 1110 can come requirement external storage device 1200 to return in the storage unit 1230 by assigning the main frame reading command; because the data volume that simple playback action and replication actions once require also has sizable gap, so data protection unit 1226 just can be differentiated according to the desired data of the main frame reading command amount of reading.And should be noted that, can be that single reading command requires the data volume that reads as the data amount of reading of the basis for estimation of data protection unit 1226, also can be the mean value of the data volume that reads of a plurality of reading command decibel requirement.
If the difference between the data amount of reading and the first data volume is less than the difference between the data amount of reading and the second data volume; the expression data amount of reading is near the first data volume; therefore shown in step 630, what data protection unit 1226 judgement host computers 1110 carried out is playback action.
Otherwise; if the difference between the data amount of reading and the first data volume is greater than the difference between the data amount of reading and the second data volume; the expression data amount of reading is near the second data volume, therefore shown in step 640, what data protection unit 1226 judgement host computers 1110 carried out is replication actions.
What must again illustrate is, above-mentioned several embodiment is respectively the height that flows out speed according to the continuous data of external storage device 1200, and how much to differentiate data according to the data amount of reading that host computer 1110 once requires be to be read or to copy, yet these two kinds of discriminant approaches only are enforcement examples of the present invention, not in order to limit the scope of the invention.
It is worth mentioning that, because during the system data (for example file configuration table) of host computer 1110 in reading cells 1230, the flow velocity that the data rate that external storage device 1200 is back to host computer 1110 with data also can be higher than video-audio data when playing.For fear of erroneous judgement; as shown in Figure 7; when external storage device 1200 be connected with host computer 1110 and host computer 1110 access memory cells 1230 in data the time (step 710), data protection unit 1226 must judge at first whether the data of 1110 accesses of host computer belong to system data (step 720).If the data of at present access are system data; then do not carry out any judgement action; and allow unceasingly access data (step 730) of host computer 1110; and repeating step 720 is until the data of judging the access of present institute during the nonsystematic data, and what then data protection unit 1226 differentiated just that 1110 pairs of data of host computer carry out is playback action or replication actions (step 740).And because the step 740 of Fig. 7 is same or similar to step 440 with the step 420 of Fig. 4 to step 760, therefore do not repeat them here.Specifically, be stored in a predetermined logical address zone because system data can be preseted by the deviser, or learn the logical address zone that this system data stores by storage controller 1220 detectings.Therefore, whether be system data to the data protection unit 1226 in the storage controller 1220 if can differentiate it according to the logical address that data are accessed.In addition; because host computer 1110 is when being connected to external storage device 1200; usually can go ahead of the rest system information in the reading cells 1230; therefore in another embodiment; data protection unit 1226 can define first a surge time; the time that is connected to external storage device 1200 when host computer 1110 not yet surpasses above-mentioned surge time; then do not carry out first traffic monitoring; and in through after surge time, what data protection unit 1226 differentiated just that 1110 pairs of data of host computer carry out is playback action or replication actions.
Fig. 8 is the calcspar of the data protection system that provides of another embodiment of the present invention.The data protection system 8000 of Fig. 8 is roughly similar to the data protection system 1000 of Fig. 1; difference is that the storage unit 1230 in the external storage device 1200 is at least part of and is divided into a plurality of parking spaces, and each parking space corresponding flow velocity standard respectively.Do not limit the quantity of parking space at this, and in the present embodiment storage unit 1230 such as can being to be divided into parking space 1231, parking space 1232, parking space 1235 etc.
Thereby; when data protection unit 1226 is when being read or copying at the speed height that flows out continuously data according to external storage device 1200 to differentiate data, then can adopt according to the parking space at data place the flow rate threshold of corresponding flow velocity standard when judging.
In addition, because storage unit 1230 is divided into several parking spaces, thereby data protection system 8000 can be protected whole storage unit 1230 in one embodiment.And data protection system 8000 only can be protected specific parking space in another embodiment; the differentiation that has at least a parking space not do broadcast and replication actions is namely arranged in data protection system 8000; all reading requirement from host side all allow its reading out data; in data protection system 8000, have at least simultaneously another parking space to differentiate broadcast and replication actions according to above-mentioned method, and according to differentiating the result relative response is arranged.
Fig. 9 is the process flow diagram of the data guard method that provides of another embodiment of the present invention; at first shown in step 910; be connected to host computer 1110 at external storage device 1200; and after the data in host computer 1110 access memory cells 1230; then in step 920, data protection unit 1226 must judge first whether the data of 1110 accesses of host computer are positioned at the specific parking space of storage unit 1230.If the data of at present access are not positioned at specific parking space, just data protection unit 1226 can not carry out any judgement action so, and shown in step 930, host computer 1110 is allowed to unceasingly access data.Next; the flow process of this data guard method with repeated execution of steps 920 until what judge present access is when being positioned at the data of specific parking space; then just shown in step 940, what data protection unit 1226 differentiated that 1110 pairs of data of host computers carry out is playback action or replication actions.Because the step 940 of Fig. 9 is same or similar to step 440 with the step 420 of Fig. 4 to step 960, therefore do not repeat them here.
As shown in Figure 9, only have when the user is left data in the specific parking space of storage unit 1230 in by host computer 1110 accesses, the data protection unit 1226 in the storage controller 1220 just can be monitored the action with data protection.In other words, the user can select significant data is left in the specific parking space of storage unit 1230, to prevent other people random copy data.
Further; work as in one embodiment storage unit 1230 and be divided at least the first parking space (for example parking space 1231) and the second parking space (for example parking space 1232); and when the first parking space and the second parking space store data respectively; if host computer 1110 is connected to external storage device 1200 to read the data in the first parking space by connector 1210; data protection unit 1226 in the storage controller 1220 can be differentiated action, so differentiate 1110 pairs of the first parking spaces of host computer data read purpose.Yet; when host computer 1110 connect external storage device 1200 rear read be data in the second parking space the time; 1226 of data protection units in the storage controller 1220 can directly allow reading of host computer 1110, and can not differentiate the purpose that reads of the data of 1110 pairs of the second parking spaces of host computer.
That is to say, in the above-described embodiments, data protection system 8000 has at least one parking space that need not read the judgement of purpose, and the reading requirement of 1110 pairs of these parking spaces of host computer all will directly be allowed.Simultaneously; data protection system 8000 has at least one and need differentiate and read the purpose parking space; when host computer 1110 requires to read wherein data; what 1200 of external storage devices can carry out according to above-mentioned method judgement host computer 1110 is to play or replication actions, and makes corresponding response according to judged result.
In another embodiment; after data protection unit 1226 judges that 1110 pairs of data of host computer are carried out replication actions; external storage device 1200 performed interference programs can implement to stop (for example 5 seconds) after the predetermined interference time, thereby so that external storage device 1200 returns back to the state of being judged by data protection unit 1226.
In another embodiment; because being all, the broadcast of video-audio data reads continuously a tentation data length (such as 8Kbyte/s); the data length (such as 128Kbyte/s) that its data volume reads during less than copy data; therefore data protection unit 1226 can be detected the instruction that host computer 1110 is assigned; when the instruction of a continuous predetermined quantity is all reading command and each reading command is distinguished corresponding reading out data length all greater than a predetermined length; or the quantity of working as continuous reading command is distinguished corresponding reading out data length all greater than a predetermined length greater than predetermined quantity and each reading command; therefore data protection unit 1226 can judge that host computer 1110 is to carry out a replication actions, external storage device 1200 and then execution interference program.
In another embodiment, because the data volume that each reading command of video-audio data transmits is less, therefore the time of carrying out is shorter, so the number of times that reading command is assigned can be more within the unit interval.Therefore data protection unit 1226 can be detected the sum that host computer 1110 is assigned reading command; if the sum of the reading command within the unit interval (for example 0.1 second) is more than or equal to a predetermined value; then can judge the general playback action that is that host computer 1110 carries out; otherwise, then be replication actions.In another embodiment, data protection unit 1226 can be detected reading command sum that host computer 1110 assigns and the data amount of reading simultaneously to judge the action behavior of host computer 1110.In another embodiment; data protection unit 1226 can be within a schedule time (such as 1 second); judgement parameter in average each sub-schedule time (for example reading command sum, the data amount of reading etc.) decides the action behavior of host computer 1110.
What must again emphasize is that although above-mentioned several embodiment is that the present invention will be described with host computer and external storage device, the present invention is not limited thereto.In other embodiment, the various main frames that possess music, image or other guide (such as e-book, electronic chart etc.) ability to play such as mobile phone, multimedia player, sound equipment, hand-held mobile device, satellite positioning device (GPS) or e-book also belong to the category of main frame of the present invention, and memory storage is connected to the external storage device of main frame except comprising in external mode, build any memory storage in the main frame in also can being in.As long as main frame carries out access to the data in the memory storage, main frame the purpose that reads that data are carried out just can be differentiated out in advance so, and wherein discriminant approach for example can be to carry out according to the data stream output of memory storage.Then, according to the difference of differentiating the result and to main frame read employing at least two or more read response.For example, memory storage can be carried out an interference program according to differentiating the result, and then prevents from or slow down data being copied to main frame.
In sum, during the data of the present invention in the host accessing memory storage, what distinguish initiatively that main frame carries out data is general playback action or replication actions.If judge that data are replicated, just memory storage no longer is sent to main frame to data or the speed of the passback data that slow down, thus, guarantees that the data in the memory storage can't be copied to main frame easily and rapidly, and then reach the purpose of data protection.
It should be noted that at last: above embodiment is only in order to technical scheme of the present invention to be described but not limit it, although with reference to preferred embodiment the present invention is had been described in detail, those of ordinary skill in the art is to be understood that: it still can be made amendment or be equal to replacement technical scheme of the present invention, and these modifications or be equal to replacement and also can not make amended technical scheme break away from the spirit and scope of technical solution of the present invention.