CN100530125C - Safety storage method for data - Google Patents

Safety storage method for data Download PDF

Info

Publication number
CN100530125C
CN100530125C CNB200710120749XA CN200710120749A CN100530125C CN 100530125 C CN100530125 C CN 100530125C CN B200710120749X A CNB200710120749X A CN B200710120749XA CN 200710120749 A CN200710120749 A CN 200710120749A CN 100530125 C CN100530125 C CN 100530125C
Authority
CN
China
Prior art keywords
data
hard disk
memory device
storage
source data
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.)
Active
Application number
CNB200710120749XA
Other languages
Chinese (zh)
Other versions
CN101118508A (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.)
Chengdu Sobey Digital Technology Co Ltd
Original Assignee
Chengdu Sobey Digital Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chengdu Sobey Digital Technology Co Ltd filed Critical Chengdu Sobey Digital Technology Co Ltd
Priority to CNB200710120749XA priority Critical patent/CN100530125C/en
Publication of CN101118508A publication Critical patent/CN101118508A/en
Application granted granted Critical
Publication of CN100530125C publication Critical patent/CN100530125C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The present invention discloses a safe data storing method. By connecting with a plurality of storage device, the computer system can store any one data into two separate storage devices simultaneously to form a relationship; when the data in one of the storage device is damaged, or the storage device is damaged, the present invention can take out the data from the other storage device which stores the corresponding data and stores the data into other storage device, to guarantee that any one of the data has usable data in two storage devices simultaneously. When reading data from the two storage devices, the present method can select one, and when one storage device storing the data is damaged, the method can read data from the other storage device. The present invention has low cost, strong data safety and strong expansibility, can increase or decrease the capacity of the storage device at will, and is applicable to the storage system formed by multi hard disks and multiserver, and has high data read rate. No recreating time is needed, when finding data damaged during the course of data reading, the present method can retrieve on line, without influence for the data reading and running.

Description

A kind of method for secure storing of data
Technical field
The present invention relates to a kind of method for secure storing of data, especially a kind of data security storage means that realizes based on a plurality of memory devices can realize backing up in realtime and online recovery of data, guarantees to store the safety of data.
A kind of data security storage means that is used for storage system on TV station's video server particularly is provided.
Background technology
The safe storage of data is a very important job, especially for some special industries, to the security of data storages, reliability, stability even above for functional requirement, even require in the shortest time, to be recovered to the data of damaging, to realize in time reading of data, guarantee that the work that computer system is carried out is not interrupted.Such as the memory device that is used for TV station's video server, require to ensure that the program data of storage is safe and reliable, even corrupted data, also can instant recovery, especially in the playing programs process, if the corrupted data of broadcast program, requirement can be under the prerequisite of not interrupting broadcast program restore data, must not influence the normal play of program.This security and instant recovery to the data storage has proposed very high requirement.
At present, in order to realize the safe storage of data, employing comprises: ensure that by adopting high performance memory device data are not damaged, but this kind equipment cost is higher, and has impaired possibility; Adopt the data backup technology, can recover legacy data after the memory device that is implemented in data or storage data is damaged.
Known data backup technology mainly comprises:
Utilize data compression technique, the compression of needs backed up data is generated backup file store other storeies into, after corrupted data, recover legacy data by backup file.The advantage of this technology is to reduce the occupancy of backup file to memory device, help making full use of of storage space, but this mode all needs a large amount of time when setting up the recovery of backup and data, and in data recovery procedure, can't extract these data and use for system, can not realize not interrupting the data recovery that data are used.
(the abbreviation of Redundant Array of Inexpensive Disks of RAID technology, Chinese abbreviates Redundant Array of Inexpensive Disc as) a series of comparatively ripe data security memory technologies are provided, this technology is by special-purpose hardware device RAID controller, such as RAID card, the mainboard that has the RAID chip or scsi controller etc., a plurality of rotating speeds, capacity, the identical disk of specification are connected to computing machine form disk array, carry out the safe storage of data.Concrete technology comprises RAID 0 (Disk Striping, data striping technology), RAID 1 (Disk Mirroring, the hard disk mirror-image technology), RAID 3 to RAID 6 (data redundancy technology), the RAID technology has obtained howling success as data security assurance means, has been widely applied to each field of data storage.Wherein:
RAID 0 technology is divided into a plurality of data blocks to the file of intending storage, deposit the whole hard disks in the hard disk array in turn in, from each hard disk, read each data block during reading of data simultaneously, be combined into file, can't realize the safe storage of data, but it can improve the efficient of reading of data from memory device.
RAID controller of RAID 1 usefulness brings to and lacks two hard disks of mirror image each other.Data write the same position of two hard disks simultaneously, and the data on two hard disks are identical, therefore during a hard disk failure, another hard disk can provide data, and by replacing the hard disk that damages, system takes out all data from another hard disk automatically, store on the new hard disk, form new mirror image.This mode can ensure the safety of storage data well, even in data read process, the hard disk corruptions of described data can not interrupted reading of data immediately from another hard disk reading of data yet.
RAID 3 to RAID 6 technology are the data redundancy technology generation check informations that store different hard disks into by be divided into a plurality of file data blocks dispersions in the data with identical file, pass through the parity code pattern, store a hard disk of specially using into, perhaps disperse to be stored in whole hard disks of hard disk array and improve safety of data do parity checking.If a hard disk corruptions, more renew hard disk after, can not damage from other by Rebuild (reconstruction) and extract data the hard disk, carry out computing by the data check information of correspondence and realize that data recover.The advantage of this class RAID technology is that redundant information only is a check information, and redundant little, to the utilization factor height of memory device, security is stronger; And, higher reading efficiency is arranged because the pattern that has adopted data block to disperse storage can read each data block simultaneously when reading of data.
But also there is deficiency clearly in the RAID technology: one, needs increase expensive hardware RAID and use identical hard disk, and its controlled ability satisfies the read-write requirement substantially, need to increase extra cost; Two, RAID storage poor expandability, the hard disk binding use pattern of RAID, it is very difficult that the increase and decrease hard-disk capacity all becomes; If the hard disk corruptions three, in the hard disk array does not in time more renew disk, this moment, the data storage security can't be protected; Four, a plurality of hard disks can only be used for, and a plurality of servers can not be used for.
Though RAID 1 technology adopts hard disk mirror-image, can guarantee the instant recovery of data, owing to be mirror image, same data are corresponding fully in the memory location of two disks, as the magnetic track damage of disk, will be that mirror image loses meaning, data can't safe storage; And owing to be mirror image technology, need the even number disk could realize, and if the hard disk of the replacing damage in time of failing, safety of data is with influenced; When reading of data, often be in idle state by the disk of mirror image, have only a disk that data are provided, read-write efficiency is lower.
For RAID 3 to 6 Technology Needs data are disperseed storage and calculation check data, the operand of verification is very big, after the disk failures, the Rebuild of RAID rebuilds will use up usually and just can finish in tens, 20 hours, influence the normal operation of system, during this period, if disk failure takes place once more, will thoroughly cause loss of data.
Summary of the invention
For addressing the above problem, the invention provides a kind of various memory devices that are fit to all computer system accesses are realized, the better data security storage means of security, can back up in realtime to data, and after damaging at the memory device of corrupted data or storage data, need not data release times can direct reading of data and be used for the data security storage means of system works.
A kind of data security storage means with high read-write efficiency further is provided.
Especially for the data security storage means on TV station's video server stores equipment, realize that the broadcast of program is unaffected.
To achieve these goals, the present invention inserts a plurality of memory devices by known any way in computer system, the data of intending storage file are stored simultaneously into arbitrary available position of two different memory devices respectively, and it is set up related, corrupted data in a certain memory device, or after the memory device damage, take out data storage from other memory devices that store corresponding data and revise related information, all simultaneously in two memory devices, data available is arranged to guarantee arbitrary data to other memory devices.
It specifically comprises step:
(1) connects a plurality of independent storage devices and constitute set of memory device;
(2) same source data is stored into respectively in two memory devices, guarantee that each source data in each memory device all has storage in other memory devices;
(3) set up the same source data of storing on the different storage device related;
(4) when the source data of storing in a certain memory device is damaged, in described set of memory device, select a storage availability equipment of not storing this source data again, according to the described association of setting up, from another memory device, take out related described source data, store the memory device of described new selection into, and revise data association.
Described memory device is a hard disk, and the set of memory device that is constituted is a hard disk groups, and described hard disk comprises disk, electronic hard disc; Hard disk in the described hard disk groups adopts and comprises that one or more connected modes in IDE, SATA, SCSI, optical-fibre channel, the USB passage are connected with computing machine or server; Or
Described memory device is the server that has hard disk, and the set of memory device that is constituted is the server zone that has hard disk, and described hard disk comprises disk, electronic hard disc.
Described source data is complete file data.
Described source data is a data block;
Described step (2) also comprises before:
The file division of intending storage is become a plurality of data blocks;
A plurality of data blocks of the file of same plan storage are disperseed to be stored in the different memory devices.
Described step (3) further comprises: according to the described association that same source data is set up, select one and read described source data from described two memory devices.
Describedly select one to read be running status according to described two memory devices, from the high memory device of reading efficiency, read described source data.
Describedly select one and read described source data and also comprise, the memory device of the current described source data that reads or corrupted data, the described association according to setting up from the memory location of described source data on another memory device, continues to read.
Described step (4) further comprises: described source data of storing on the described a certain memory device or described memory device damage, and according to the described association of setting up, read described source data from another memory device.
Described step (4) comprises before:
In set of memory device, add new memory device;
In the described step (4), the described storage availability equipment of not storing this source data is the new described new memory device that adds.
Described foundation association is that the memory address of described data on two memory devices pointed in the addressing path of described data access simultaneously.
The invention has the advantages that:
1, hardware cost is cheap, connects memory device without specialized equipment, can use multiple mode to insert; Quantity and specification to memory device are not strict with, and can realize safe storage;
2, extendability is strong, can increase and decrease capacity of memory device arbitrarily;
3, owing to do not adopt mirror back-up, if the disk failures in the set of memory device is not in time changed immediately or is added new memory device, as long as the space of memory device is enough in the system, still can carry out the backup of data, the data storage security still can ensure; Even the part of storage medium is damaged in the memory device, can not influence security of storage data yet;
4, applied widely, both can be used for connecting common computer, the server that a plurality of hard disks constitute memory set, also can be used for the memory set that a plurality of servers constitute.
5, can guarantee the online recovery of data, need not reconstruction time, can guarantee can not influence reading and moving of data to the reading immediately of corrupt data;
6, data read efficient height, same data are stored into different storage device respectively, can select during reading of data from the high memory device of current reading efficiency, to read, and owing to adopt the dispersion storage mode of a plurality of data blocks, can be simultaneously each data block of file be read simultaneously.
7, data are recovered the efficient height, and dispersion storage and arbitrary data of data block are stored in two different memory devices simultaneously, and data also can walk abreast when recovering and read storage, improve data and recover efficient.
Description of drawings
Fig. 1 is with the hardware block diagram of hard disk as set of memory device embodiment;
Fig. 2 is with the hardware block diagram of server as set of memory device embodiment;
The Stored Procedure figure of Fig. 3 data;
Fig. 4 data read process flow diagram;
Fig. 5 online data is recovered process flow diagram;
Fig. 6 Backup Data is repaired process flow diagram.
Fig. 1 is identical with existing known technology with the hardware configuration that Fig. 2 provides.
Embodiment
Basic ideas of the present invention are to adopt the distributing storage of backing up in realtime, and change safety with the space.In computer system, insert a plurality of memory devices by known any way, arbitrary data are stored in two different memory devices simultaneously, corrupted data in a certain memory device, or memory device damages, take out data storage to other memory device from other memory device that stores corresponding data, all simultaneously in two memory devices, data available is arranged to guarantee arbitrary data.From two memory devices, select one during reading of data and read, if a certain memory device damage of storage data, directly reading of data from another memory device.
For ease of the understanding of the present invention, the present invention is described in further detail below in conjunction with drawings and Examples.
The hardware configuration that Fig. 1 and Fig. 2 provide is same as the prior art.Set of memory device among Fig. 1 is a hard disk groups 2, and it is made up of a plurality of hard disk 21~2N, and the set of memory device among Fig. 2 is a server zone 3, and it is made up of many server 31~3N that are connected with hard disk.
The embodiment that Fig. 1 provides directly connects the hard disk groups 2 that a plurality of hard disk 21~2N form by computing machine 1.Described computing machine 1 comprises that PC, server, large, medium and small machine and other have the equipment of data operation and information processing capability.Described hard disk groups 2 comprises two hard disks at least, what draw among the figure is situation greater than 3 hard disks, if adopting becomes a plurality of data blocks to store file division, at least need three hard disks, hard disk 21~2N adopts with being connected of computing machine 1 and comprises (the Integrated Drive Electronics by IDE, ide), SCSI (Small ComputerSystem Interface, small computer system interface), optical-fibre channel (Fibre Channe), in SATA (Serial ATA, serial ports) or the USB interface one or more connect.
Computing machine 1 connects the server zone 3 that a plurality of server 31~3N form by the network equipment (not drawing among the figure) in the embodiment that Fig. 2 provides, and is connected with hard disk on each server therein.Described server zone 3 comprises two-server at least, become the dispersion between a plurality of data blocks realization different servers to store file division if adopt, at least need three station servers, certainly utilize two-server also can realize, this moment, same data may be stored on two different hard disks of a station server, but not were stored on two different servers.Described computing machine 1 comprises that PC, server, large, medium and small machine and other have the equipment of data operation and information processing capability.
The present invention can be in the hardware system that Fig. 1, Fig. 2 provide one or both on realize.Below the hardware that mainly provides in conjunction with Fig. 1 specifically describe.
In the Stored Procedure figure of the data that Fig. 3 provides:
Step S101 selects storage availability equipment, (the same according to the hard disk concordance list in hard disk groups 2 with known technology, the operating position in recording disk space in the hard disk concordance list, the hard disk concordance list of each hard disk 21~2N in the hard disk groups 2 is stored at least and is used for operation in himself first sector) operating position of the disk space of record, select at least three available hard disks, selected hard disk 21,22,2N among Fig. 1 respectively.If the available hard disk in the hard disk groups 2 is abundant, can select to intend the hard disk of the twice number of the data block quantity that store file data is divided into, be divided into three data blocks as file, can select six hard disks to store, when reading and writing data, can obtain maximum access efficiency like this.Revise the hard disk concordance list, the hard-disc storage operating position that record increases.In the selection of hard disk, except record according to the hard disk concordance list, in order further to improve the efficient of data storage, the formation of executing the task to alternative hard disk detects, the few hard disk of read-write task in the preferential formation of selecting to execute the task because will carrying out in the executing the task formation of task is few even do not have, has the highest storage speed, also can select in conjunction with the I/O bandwidth of each hard disk simultaneously, promptly total selection principle is the hard disk of preferentially selecting read-write efficiency high.The concrete number of selecting to be used for the hard disk of current data storage can be by predefined concrete quantity, as 3,5, or according to setting, determine concrete quantity by system according to the parameter of setting, such as by comprising that the data block quantity of intending storage file, the read-write efficiency of hard disk etc. set, realize determining to the quantity of selecting hard disk.In fact, the selection course of hard disk be one dynamic, the selection of in data storage procedure, constantly storing hard disk.
If file storage adopts the complete file storage mode to carry out, in hard disk groups 2, select two hard disks promptly can realize, a described data block is that complete file data are stored, also promptly a file only has been divided into a data block, in this case, cutting apart relevant step with data block will not carry out, and all can adopt described method to realize in other following correlation step.According to shown in Figure 1, also promptly has only data block A.Equally, if file has been divided into two data blocks, also need three hard disks at least, i.e. the data block A that provides among Fig. 1, data block B.
Step S102 divided file is a data block, according to setting the file of intending storage according to the block size of setting, be divided into a plurality of data blocks, each block size can be set at hundreds of k to number M, perhaps other sizes that need, generally for data volume number M in addition on the program file of the G order of magnitude, preferably each block size size is between 1M~20M, like this, the efficient of read-write can be than higher, and be convenient to the management of hard disk and file.In practice, it is dynamic that file division becomes the process of data block, cut apart while storing, such as, it is the file of 1G that a size is arranged, the data block size of setting is 20M, takes out 20M in turn as a data block from file data, stores by following step, can take out a plurality of data blocks simultaneously stores simultaneously, storage finishes, and takes out 20M again in turn and stores as one or more data blocks, finishes up to storage.In Fig. 1, the file that we will intend storage has been divided into 4 data blocks, is respectively data block A, data block B, data block C, data block D.In the following description, describing for simplifying, if not otherwise specified, is that example describes with data block A, data block B, data block C only all.
S103 sets up data mapping tables, according to step S102, sets up each data block of intending the storage file title and being divided in data mapping tables.Data mapping tables is stored in the system for computer dish at least or carries out on the hard disk of procedure stores of the method for the invention or be stored at least on the index sector of a hard disk in the hard disk groups 2 of storage data.
The memory address of S104 recording data blocks, according to step S101 and step S102, to hard disk selected in hard disk groups 2, each data block is selected simultaneously and is stored two hard disks into each data block allocations, and each data block dispersion of identical file is stored on selected a plurality of hard disks and stored.Integrating step S103 is recorded in position corresponding in the data mapping tables with each data block memory address on two different hard disks in hard disk groups 2.Being implemented in the same data of storing on two different hard disks by this memory address realizes related.As shown in fig. 1, the memory address of data block A is respectively a certain specific address on the hard disk 21 and a certain particular location on the hard disk 22, two positions do not require it is corresponding, and the memory address of data block B, data block C, data block D also is determined to respectively on hard disk 21,22, the 2N.The minute book secondary data is stored in employed hard drive space on the selected hard disk in the hard disk concordance list simultaneously.
Step S105 stores data block simultaneously, according to S101, step S102 and step S104, stores data block according to the memory address of determining on the hard disk of hard disk groups 2.The memory location of each data block on different hard disks do not require correspondence, but must guarantee that the hard disk of each data block store is available hard disk, no magnetic track damages and hard disk corruptions, if find that in data storage procedure hard disk or magnetic track damage again, should return step S104 and reselect hard disk or memory address.
Above-mentioned steps S102, S103, S104, S105 can adopt circulation to carry out in concrete file implementation.
Step S106 finishes up to the total data storage of intending storage file.
According to the data read process flow diagram that Fig. 4 provides, carry out during reading of data:
The definite file that will read of step S201 according to selecting of computing machine 1, is determined the file that will read.
Step S202 takes out the corresponding informance in the data mapping tables, reads file according to selected plan, opens data mapping tables, takes out all data block information of described file correspondence.
Step S203 takes out the memory address of each data block, and the plan of determining according to step S202 reads the data block of file, takes out two memory addresss of its correspondence.Execution in step S204 judges the duty of corresponding hard disk then, according to all memory addresss of each data block hard disk pointed, determines the read-write efficiency that it is current by detecting execute the task task quantity, the I/O bandwidth of formation of described hard disk.What point to as data block A is a certain particular location of hard disk 21, hard disk 22, finds that after testing the task in the formation of executing the task of hard disk 22 is few, and reading efficiency is the highest.
Step S203 selects hard disk to read number, detection according to step S203, selection is also pointed to the higher hard disk of current data reading efficiency and is carried out reading of data, for example, to data block A, data block B, the hard disk 21 that the memory address of data block C is pointed, 22,2N detects, hard disk 22, the current reading efficiency of 2N is higher, to point to its correspondence position on hard disk 22 according to data block A in the data mapping tables in the memory address on the hard disk 22 to the task that reads of data block A and carry out reading of data, in order further to improve data read efficient, can read a plurality of data blocks simultaneously from different hard disks, simultaneously from hard disk 22 read block A, from hard disk 2N read block B, again from hard disk 22 read block C.
Finish up to step S206 data read.
Fig. 5 provides online data to recover process flow diagram, if discovery is wrong in the position data of current reading of data in data read process, carries out this flow process:
Step S301 corrupted data finds that in reading the current data process data have damage, and described corrupted data comprises that data storage is wrong, the magnetic track of storage data damages, current hard disk is unavailable suddenly.For example when read block B from hard disk 2N, find that the hard disk 2N of storage data block B damages at current magnetic track, can't normal read fetch data.If error in data is because hard disk hardware fault causes, comprise that magnetic track damages, hard disk damages suddenly, this address is made unavailable mark in the hard disk concordance list of correspondence, does not all point to this hard disk or hard track on a drum or a disk position afterwards during reading and writing data.
Step S302 takes out the corresponding informance in the data mapping tables, from its corresponding data mapping tables, take out corresponding informance according to the current data block that reads, the memory address of corrupt data is done mark, execution in step S303 takes out another memory address of current data block, and point to this address, execution in step S304 reads corresponding data, finishes up to step S305 data read.As, corrupted data during from hard disk 2N read block B is taken out another memory address of data block B and is pointed on the hard disk 22 according to data mapping tables, and according to the correspondence position on this address sensing hard disk 22, continues read block B.Like this can be in the reading of data process data when occurring damaging, do not influence normally reading of data, realize online restore funcitons.
In order to improve the efficient that reads, can when finding that current reading of data is damaged, write down current breakpoint mark, according to the data offset of this mark, then breakpoint reading of data from another hard disk, the repeating of minimizing data read.
The data repair flow process that provides of execution graph 6 simultaneously in this process stores these data on other hard disks again.
Fig. 6 provides Backup Data to repair process flow diagram, if a certain corrupted data, this damage may be that storage errors, hard disk storage medium damage (damaging as magnetic track), hard disk corruptions causes, at this moment its corresponding data have not possessed backup functionality, security reduces, must back up it and repair, its security is provided.
Step S401, system detect the hard disk or a certain corrupted data of storage data, and this detection can be to detect unavailablely in the reading of data process, perhaps obtains by the detection to the running status of each hard disk of hard disk groups 2.
Step S402 selects an available hard disk, in hard disk groups 2, reselect an available hard disk, and determine memory address on hard disk, if in hard disk groups 2, added new hard disk, can select this hard disk, also can select other the available hard disks in the hard disk groups,, then from hard disk groups 2 original hard disks, select if there is not new hard disk to add in the hard disk groups 2.The selection of hard disk is write down by the hard disk concordance list and is selected, and guarantees that selected hard disk can be used and storage space is enough, preferably guarantees to have higher read-write efficiency simultaneously.
Step S403 opens data mapping tables and takes out corresponding informance, pass through data mapping tables, take out the information of corrupt data correspondence, if just the one or more data blocks in the hard disk are damaged, data block or its memory address according to described damage obtain information from data mapping tables, if hard disk corruptions then obtains relevant information according to memory address, determine to back up the data block of reparation and obtain its relevant information.
Step S404 takes out another memory address of data block, and according to the information that step S403 determines, taking-up need be backed up another memory address of the data block of reparation.And the memory address of this data block of determining according to the selected hard disk of step S402, execution in step S406, the memory address of these data is deleted the memory address at corrupted data place in the modification data mapping tables, write down the memory address and the preservation of current new established data piece, form new association.
Step S405 reading of data, according to the memory address that step S404 determines, point to this address reading data, and the new memory address of this data block of determining according to the selected hard disk of step S402, execution in step S407 stores data on the new hard disk of selecting, finish up to step S408 data storage.And the operating position of record space in corresponding hard disk concordance list.
In order to guarantee safety of data better, preferably data mapping tables, the hard disk concordance list of each hard disk 21~2N storage data in the hard disk groups 2 are all stored on the index sector of each hard disk 21~2N.Simultaneously for improving serviceability, increase work efficiency, the relevant data mapping table of each hard disk 21~2N in the hard disk groups 2, the hard disk concordance list all reads in the internal memory, directly from internal memory, extract corresponding data, to reduce visit to hard disk, improve access efficiency, at related data mapping tables, when hard disk concordance list content is modified, can be earlier the data mapping tables of revising, the hard disk concordance list is stored at a hard disk earlier at least, then according to the ruuning situation of other hard disks, when it is idle relatively, store again, perhaps when shutdown, time interval or the time set store at other hard disks.
For the embodiment that provides based on Fig. 2, the concrete step of carrying out of the present invention is identical, and difference is that same data storage realizes the safe storage of data on the hard disk of different server.
Foregoing invention has realized the safe storage of data, and can online recovery when corrupted data, can not influence data read process, can extensively apply to every field, particularly for the data storage of the video server of TV station, under the prerequisite that guarantees the data storage security, be implemented in the playing programs process, continue reading of data by another memory address that forwards current data to when the program data damage occurring, realize that data uninterruptedly read, do not influence the broadcast of program.
Certainly; the present invention also can have other various embodiments, under the situation that does not deviate from spirit of the present invention and essence thereof, so long as by file being disperseed real-time storage arrive different memory devices; even the execution sequence to each step changes, all belong to protection scope of the present invention.Those of ordinary skill in the art can make various corresponding changes and distortion according to the present invention, but these corresponding changes and distortion all should belong to the protection domain of the appended claim of the present invention.

Claims (10)

1. the method for secure storing of data is characterized in that, comprises the steps:
(1) connects a plurality of independent storage devices and constitute set of memory device;
(2) same source data is stored into respectively in two memory devices, guarantee that each source data in each memory device all has storage in other memory devices;
(3) set up the same source data of storing on the different storage device related;
(4) when the source data of storing in a certain memory device is damaged, in described set of memory device, select a storage availability equipment of not storing this source data again, according to the described association of setting up, from another memory device, take out related described source data, store the memory device of described new selection into, and revise data association.
2. method according to claim 1 is characterized in that,
Described memory device is a hard disk, and the set of memory device that is constituted is a hard disk groups, and described hard disk comprises disk, electronic hard disc; Hard disk in the described hard disk groups adopts and comprises that one or more connected modes in IDE, SATA, SCSI, optical-fibre channel, the USB passage are connected with computing machine or server; Or
Described memory device is the server that has hard disk, and the set of memory device that is constituted is the server zone that has hard disk, and described hard disk comprises disk, electronic hard disc.
3. method according to claim 1 is characterized in that, described source data is complete file data.
4. method according to claim 1 is characterized in that,
Described source data is a data block;
Described step (2) also comprises before:
The file division of intending storage is become a plurality of data blocks;
A plurality of data blocks of the file of same plan storage are disperseed to be stored in the different memory devices.
5. method according to claim 1 is characterized in that,
Described step (3) further comprises: according to the described association that same source data is set up, select one and read described source data from described two memory devices.
6. method according to claim 5 is characterized in that, describedly selects one to read be running status according to described two memory devices, reads described source data from the high memory device of reading efficiency.
7. method according to claim 5 is characterized in that, describedly selects one and reads described source data and also comprise, the memory device of the current described source data that reads or corrupted data, described association according to setting up from the memory location of described source data on another memory device, continues to read.
8. method according to claim 1, it is characterized in that, described step (4) further comprises: described source data of storing on the described a certain memory device or described memory device damage, and according to the described association of setting up, read described source data from another memory device.
9. method according to claim 1 is characterized in that, described step (4) comprises before:
In set of memory device, add new memory device;
In the described step (4), the described storage availability equipment of not storing this source data is the new described new memory device that adds.
10. according to each the described method in the claim 1~9, it is characterized in that described foundation association is that the memory address of described data on two memory devices pointed in the addressing path of described data access simultaneously.
CNB200710120749XA 2007-08-24 2007-08-24 Safety storage method for data Active CN100530125C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB200710120749XA CN100530125C (en) 2007-08-24 2007-08-24 Safety storage method for data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB200710120749XA CN100530125C (en) 2007-08-24 2007-08-24 Safety storage method for data

Publications (2)

Publication Number Publication Date
CN101118508A CN101118508A (en) 2008-02-06
CN100530125C true CN100530125C (en) 2009-08-19

Family

ID=39054636

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB200710120749XA Active CN100530125C (en) 2007-08-24 2007-08-24 Safety storage method for data

Country Status (1)

Country Link
CN (1) CN100530125C (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI620116B (en) * 2016-12-22 2018-04-01 財團法人工業技術研究院 Redundant array of independent disks and re-build method thereof

Families Citing this family (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2202921B1 (en) * 2007-11-22 2013-03-27 China Mobile Communications Corporation A data storage method, a management server, a storage equipment and system
CN102035865B (en) * 2009-09-30 2013-04-17 阿里巴巴集团控股有限公司 Data storing and addressing methods, systems and equipment
CN102402468B (en) * 2010-09-16 2016-01-20 北京中星微电子有限公司 A kind of data backup loading method of embedded device and data backup charger
CN101986276B (en) * 2010-10-21 2013-07-10 华为数字技术(成都)有限公司 Methods and systems for storing and recovering files and server
CN102226892B (en) * 2011-05-20 2013-10-23 杭州华三通信技术有限公司 Disk fault tolerance processing method and device thereof
CN102937956A (en) * 2012-04-25 2013-02-20 广东电网公司电力科学研究院 Method and device for storing real-time messages in intelligent substation
EP3199879B1 (en) * 2014-09-26 2019-03-20 Mitsubishi Electric Corporation Air conditioning system
CN106919474A (en) * 2015-12-28 2017-07-04 中移(苏州)软件技术有限公司 A kind of data cached guard method and device
CN106326034A (en) * 2016-08-12 2017-01-11 浪潮(北京)电子信息产业有限公司 Method and device for storage of data backup
CN106569751A (en) * 2016-11-10 2017-04-19 郑州云海信息技术有限公司 Multi-controller cache mirroring method and system
CN108614746A (en) * 2016-12-09 2018-10-02 中国移动通信有限公司研究院 A kind of data processing method and its system, server
CN106708662A (en) * 2016-12-13 2017-05-24 上海上讯信息技术股份有限公司 Method for restoring database and equipment
CN108229214A (en) * 2016-12-22 2018-06-29 北京兆易创新科技股份有限公司 A kind of method and apparatus for improving Information Security
CN109213429B (en) * 2017-06-30 2021-07-23 伊姆西Ip控股有限责任公司 Storage management method and device
CN108287662A (en) * 2017-12-08 2018-07-17 五八有限公司 Obtain method, equipment and the computer readable storage medium of equipment unique mark
CN109683807A (en) * 2018-10-18 2019-04-26 张德辉 Cold data safe storage system and its storage method with backup
CN111385345A (en) * 2018-12-29 2020-07-07 北京航迹科技有限公司 System and method for data transmission and storage
CN111435286B (en) * 2019-01-14 2023-12-05 深圳市茁壮网络股份有限公司 Data storage method, device and system
CN112667150A (en) * 2020-12-07 2021-04-16 沈阳飞机设计研究所扬州协同创新研究院有限公司 Avionics system data remote storage method
CN115994236B (en) * 2023-03-23 2023-08-04 杭州派迩信息技术有限公司 Collaborative processing method and system for aviation data

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI620116B (en) * 2016-12-22 2018-04-01 財團法人工業技術研究院 Redundant array of independent disks and re-build method thereof

Also Published As

Publication number Publication date
CN101118508A (en) 2008-02-06

Similar Documents

Publication Publication Date Title
CN100530125C (en) Safety storage method for data
CN101436151B (en) Data real time backup method and system based on file system
US7587631B2 (en) RAID controller, RAID system and control method for RAID controller
US7640452B2 (en) Method for reconstructing data in case of two disk drives of RAID failure and system therefor
CN104484251B (en) A kind of processing method and processing device of hard disk failure
CN102508733B (en) A kind of data processing method based on disk array and disk array manager
US10025666B2 (en) RAID surveyor
US20130024723A1 (en) Disk storage system with two disks per slot and method of operation thereof
US20040064641A1 (en) Storage device with I/O counter for partial data reallocation
CN103246478B (en) A kind of based on the disc array system of software PLC support without packet type overall situation HotSpare disk
US20130103902A1 (en) Method and apparatus for implementing protection of redundant array of independent disks in file system
CN102708019A (en) Method, device and system for hard disk data recovery
US7958432B2 (en) Verification of non volatile storage storing preserved unneeded data
CN101887351A (en) Fault-tolerance method and system for redundant array of independent disk
CN104407821A (en) Method and device for achieving RAID reconstitution
US20060215456A1 (en) Disk array data protective system and method
CN101751231A (en) Method and device for writing in and reading out data and virtual tape library device
CN108170375B (en) Overrun protection method and device in distributed storage system
US7529776B2 (en) Multiple copy track stage recovery in a data storage system
US7600151B2 (en) RAID capacity expansion interruption recovery handling method and system
US9087019B2 (en) Disk storage system with rebuild sequence and method of operation thereof
JP6957845B2 (en) Storage control device and storage device
CN107122261B (en) Data reading and writing method and device of storage equipment
US7096157B2 (en) Method and structure for diagnostically testing files in a computer
CN101359299A (en) Write operation method for mapping cheap magnetic disc redundant array equipment

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