CN108845894A - Data check backup, write-in and read method between a kind of multiple groups storage device - Google Patents
Data check backup, write-in and read method between a kind of multiple groups storage device Download PDFInfo
- Publication number
- CN108845894A CN108845894A CN201810581610.3A CN201810581610A CN108845894A CN 108845894 A CN108845894 A CN 108845894A CN 201810581610 A CN201810581610 A CN 201810581610A CN 108845894 A CN108845894 A CN 108845894A
- Authority
- CN
- China
- Prior art keywords
- data
- hard disk
- solid state
- state hard
- backup
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1402—Saving, restoring, recovering or retrying
- G06F11/1446—Point-in-time backing up or restoration of persistent data
- G06F11/1458—Management of the backup or restore process
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/602—Providing cryptographic facilities or services
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0668—Interfaces specially adapted for storage systems adopting a particular infrastructure
- G06F3/0671—In-line storage system
- G06F3/0673—Single storage device
- G06F3/068—Hybrid storage device
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Quality & Reliability (AREA)
- Health & Medical Sciences (AREA)
- Bioethics (AREA)
- General Health & Medical Sciences (AREA)
- Computer Hardware Design (AREA)
- Computer Security & Cryptography (AREA)
- Software Systems (AREA)
- Storage Device Security (AREA)
- Techniques For Improving Reliability Of Storages (AREA)
Abstract
The invention discloses data check backup, write-in and the read method between a kind of multiple groups storage device, it is made of, includes the following steps magnetic random memory, solid state hard disk and flash card between the multiple groups storage device:S1:Read magnetic random memory data information, S2:Verify check value, S3:Data information is backed up in solid state hard disk and flash card, S4:Solid state hard disk, S5 is written into raw information:The information of write-in solid state hard disk is encrypted, S6:Flash card, S7 is written into raw information:Backup Data in flash memory card reading, S8:Read the backup information of solid state hard disk.Present invention is generally directed to data check backup, write-in and the read methods between multiple groups storage device, using magnetic random memory, improve the scalability of memory, the service life of battery can be extended, the accuracy of data backup is also improved simultaneously, time needed for reducing backup, improve the safety of data.
Description
Technical field
The present invention relates to a kind of storage device field, the backup of data check between specially a kind of multiple groups storage device,
Write-in and read method.
Background technique
Storage device is the pith of computer system, in these years be have developed rapidly, and Disk and tape is always to calculate
The primary storage of machine, disk are divided to hard disk and two kinds of floppy disk, and the access speed of hard disk is more much bigger than floppy disk;Existing multiple groups are deposited
Data check backup, write-in and read method between storage device is incomplete, does not use magnetic random memory, common deposits
Reservoir is a lot unable to carry out unlimited number of erasable, and the scalability of normal memory is very limited, and needing to be powered can keep
Data mode can reduce the service life of battery, and without using conveniently data verification method, increase needed for backup
Time, while also reducing the accuracy of data backup, not using the writing mode of encryption, safety is also not high enough.
Summary of the invention
The purpose of the present invention is to provide data check backup, write-in and the reading sides between a kind of multiple groups storage device
Method, to solve the problems mentioned in the above background technology.
To achieve the above object, the present invention provides the following technical solutions:A kind of data check between multiple groups storage device
Backup method is made of between the multiple groups storage device, the data check magnetic random memory, solid state hard disk and flash card
Backup method includes the following steps:
S1:The data information in magnetic random memory is read, starts to verify the information read;
S2:The data read and specified initial value exclusive or are primary, by corresponding second check value is calculated,
Again compared with the first check value in data streams read;
S3:If the first check value is identical as the second check value, verify success, by data information back up to solid state hard disk with
In flash card, if verification is unsuccessful, restore the data information in magnetic random memory;
S4:S2 is entered step, until the first check value is identical as the second check value, data information is backed up into solid state hard disk
In flash card.
Method for writing data between a kind of multiple groups storage device, by magnetic random storage between the multiple groups storage device
Device, solid state hard disk and flash card form, and the data write-in includes the following steps:
S1:When reading the free storage of solid state hard disk and flash card, a bad block table can be pre-created, by this bad block
Table store into normal data block, read the primary data information (pdi) of magnetic random memory, after the completion of verification, by original number it is believed that
Breath is first written in solid state hard disk in normal data block;
S2:The data segment of write-in is encrypted, master key and master key variable are obtained, can be obtained by master key variable
To secondary key, by master key and master key variable storage in the secure data block in Fixed disk;
S3:The primary data information (pdi) of magnetic random memory is written in flash card in normal data block, to write-in again
Data segment is encrypted, and master key and master key variable are identical as in solid state hard disk, and write-in work is completed.
Method for reading data between a kind of multiple groups storage device, by magnetic random storage between the multiple groups storage device
Device, solid state hard disk and flash card form, and the method for reading data includes the following steps:
S1:Master key is inputted, master key is proved to be successful, and the Backup Data in magnetic random memory meeting pre-read flash card is simultaneously
It is verified, after verifying successfully, just confirms the Backup Data of flash memory card reading;
S2:If master key verifies unsuccessful number arrival predetermined number of times, the data in flash card can not be accessed, it is defeated
Enter secondary key, after inputting successfully, the Backup Data in solid state hard disk can be read;
S3:If secondary key also authentication failed, can not read the backup information in solid state hard disk and flash card.
A kind of data check backup between multiple groups storage device is read and wiring method, the multiple groups storage device it
Between be made of magnetic random memory, solid state hard disk and flash card, data check backup is read and wiring method includes following
Step:
S1:Read the data information in magnetic random memory;
S2:Verify check value;
S3:After check value is proved to be successful, data information is backed up in solid state hard disk and flash card, completes verification backup work
Make;
S4:First raw information is written in solid state hard disk;
S5:The information of write-in solid state hard disk is encrypted, master key and secondary key are generated;
S6:Raw information is written in flash card again;
S7:After input master key is proved to be successful, the Backup Data in flash memory card reading;
S8:Master key verifying is unsuccessful, after input secondary key is proved to be successful, reads the backup information of solid state hard disk.
Preferably, the master key is verified unsuccessful number and is up to five times.
Compared with prior art, the beneficial effects of the invention are as follows:Present invention is generally directed to the numbers between multiple groups storage device
According to verification backup, write-in and read method, magnetic random memory is used, there is write-in number infinitely, improve memory
Scalability, the service life of battery can be extended, and use conveniently data verification method, when reducing needed for backup
Between, while the accuracy of data backup is also improved, also the safety of data is improved by the way of encryption in write-in
Property.
Detailed description of the invention
Fig. 1 is overall flow figure of the invention.
Specific embodiment
The technical scheme in the embodiments of the invention will be clearly and completely described below, it is clear that described implementation
Example is only a part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, this field is common
Technical staff's every other embodiment obtained without making creative work belongs to the model that the present invention protects
It encloses.
The present invention provides a kind of technical solution:A kind of data check backup method between multiple groups storage device, multiple groups are deposited
It is made of between storage device magnetic random memory, solid state hard disk and flash card, data check backup method includes the following steps:
S1:The data information in magnetic random memory is read, starts to verify the information read;
S2:The data read and specified initial value exclusive or are primary, by corresponding second check value is calculated,
Again compared with the first check value in data streams read;
S3:First check value is identical as the second check value, then verifies success, data information can be backed up to solid state hard disk with
In flash card.
Method for writing data between a kind of multiple groups storage device, by magnetic random memory, solid between multiple groups storage device
State hard disk and flash card form, and data write-in includes the following steps:
S1:When reading the free storage of solid state hard disk and flash card, a bad block table can be pre-created, by this bad block
Table store into normal data block, read the primary data information (pdi) of magnetic random memory, after the completion of verification, by original number it is believed that
Breath is first written in solid state hard disk in normal data block;
S2:The data segment of write-in is encrypted, master key and master key variable are obtained, can be obtained by master key variable
To secondary key, by master key and master key variable storage in the secure data block in Fixed disk;
S3:The primary data information (pdi) of magnetic random memory is written in flash card in normal data block, to write-in again
Data segment is encrypted, and master key and master key variable are identical as in solid state hard disk, and write-in work is completed.
Method for reading data between a kind of multiple groups storage device, by magnetic random memory, solid between multiple groups storage device
State hard disk and flash card form, and method for reading data includes the following steps:
S1:Master key is inputted, master key is proved to be successful, and the Backup Data in magnetic random memory meeting pre-read flash card is simultaneously
It is verified, after verifying successfully, just confirms the Backup Data of flash memory card reading;
S2:If master key verify unsuccessful number reach five times it is severals when, the data in flash card can not be accessed, input
Secondary key after inputting successfully, can read the Backup Data in solid state hard disk;
S3:If secondary key also authentication failed, can not read the backup information in solid state hard disk and flash card.
A kind of data check backup between multiple groups storage device is read and wiring method, between multiple groups storage device by
Magnetic random memory, solid state hard disk and flash card form, and data check backup, reading and wiring method include the following steps:
S1:Read the data information in magnetic random memory;
S2:Verify check value;
S3:After check value is proved to be successful, data information is backed up in solid state hard disk and flash card, completes verification backup work
Make;
S4:First raw information is written in solid state hard disk;
S5:The information of write-in solid state hard disk is encrypted, master key and secondary key are generated;
S6:Raw information is written in flash card again;
S7:After input master key is proved to be successful, the Backup Data in flash memory card reading;
S8:After unsuccessful five times of master key verifying, need to input secondary key verifying, after secondary key is proved to be successful, side
The backup information of solid state hard disk can be read.
Verification mode in above-mentioned steps S2 is exactly the data that needs are backed up and a specified initial value (usually 0)
Exclusive or is primary, and last result is exactly the first check value, then it is attached to, the data backed up is needed eventually to send,
Receive after memory receives data, calculate an exclusive or according to pre-set programs and obtain the second check value, and if receive first
Check value unanimously with regard to illustrate the data that receive be it is complete, this verification mode has the characteristics that simple and quick, and it is standby to improve data
The accuracy of part.
Present invention is generally directed to data check backup, write-in and the read methods between multiple groups storage device, use magnetic
Random access memory has write-in number infinitely, improves the scalability of memory, can extend the service life of battery, and use
Conveniently data verification method, the time needed for reducing backup, while also improving the accuracy of data backup, also
In write-in by the way of encryption, the safety of data is improved.
It although an embodiment of the present invention has been shown and described, for the ordinary skill in the art, can be with
A variety of variations, modification, replacement can be carried out to these embodiments without departing from the principles and spirit of the present invention by understanding
And modification, the scope of the present invention is defined by the appended.
Claims (5)
1. the data check backup method between a kind of multiple groups storage device, it is characterised in that:Between the multiple groups storage device
It is made of magnetic random memory, solid state hard disk and flash card, the data check backup method includes the following steps:
S1:The data information in magnetic random memory is read, starts to verify the information read;
S2:The data read and specified initial value exclusive or are primary, by being calculated corresponding second check value, then with
The first check value in data streams read compares;
S3:If the first check value is identical as the second check value, success is verified, data information is backed up into solid state hard disk and flash memory
In card, if verification is unsuccessful, restore the data information in magnetic random memory;
S4:S2 is entered step, until the first check value is identical as the second check value, data information is backed up into solid state hard disk and is dodged
It deposits in card.
2. the method for writing data between a kind of multiple groups storage device, it is characterised in that:By magnetic between the multiple groups storage device
Random access memory, solid state hard disk and flash card form, and the method for writing data includes the following steps:
S1:When reading the free storage of solid state hard disk and flash card, a bad block table can be pre-created, this bad block table is deposited
It stores up in normal data block, reads the primary data information (pdi) of magnetic random memory, after the completion of verification, by primary data information (pdi) elder generation
It is written in solid state hard disk in normal data block;
S2:The data segment of write-in is encrypted, master key and master key variable are obtained, passes through master key variable available two
Grade key, by master key and master key variable storage in the secure data block in Fixed disk;
S3:The primary data information (pdi) of magnetic random memory is written in flash card in normal data block, to the data of write-in again
Duan Jinhang encryption, master key and master key variable are identical as in solid state hard disk, and write-in work is completed.
3. the method for reading data between a kind of multiple groups storage device, it is characterised in that:By magnetic between the multiple groups storage device
Random access memory, solid state hard disk and flash card form, and the method for reading data includes the following steps:
S1:Master key is inputted, master key is proved to be successful, Backup Data and progress in magnetic random memory meeting pre-read flash card
Verification after verifying successfully, just confirms the Backup Data of flash memory card reading;
S2:If master key verifies unsuccessful number arrival predetermined number of times, the data in flash card, input two can not be accessed
Grade key, after inputting successfully, can read the Backup Data in solid state hard disk;
S3:If secondary key also authentication failed, can not read the backup information in solid state hard disk and flash card.
4. the data check between a kind of multiple groups storage device backs up, reads and wiring method, it is characterised in that:The multiple groups are deposited
It is made of between storage device magnetic random memory, solid state hard disk and flash card, the data check backup, reading and wiring method
Include the following steps:
S1:Read the data information in magnetic random memory;
S2:Verify check value;
S3:After check value is proved to be successful, data information is backed up in solid state hard disk and flash card, completes verification back-up job;
S4:First raw information is written in solid state hard disk;
S5:The information of write-in solid state hard disk is encrypted, master key and secondary key are generated;
S6:Raw information is written in flash card again;
S7:After input master key is proved to be successful, the Backup Data in flash memory card reading;
S8:Master key verifying is unsuccessful, after input secondary key is proved to be successful, reads the backup information of solid state hard disk.
5. the method for reading data between a kind of multiple groups storage device according to claim 3, it is characterised in that:The master
The unsuccessful number of key authentication is up to five times.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810581610.3A CN108845894A (en) | 2018-06-07 | 2018-06-07 | Data check backup, write-in and read method between a kind of multiple groups storage device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810581610.3A CN108845894A (en) | 2018-06-07 | 2018-06-07 | Data check backup, write-in and read method between a kind of multiple groups storage device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108845894A true CN108845894A (en) | 2018-11-20 |
Family
ID=64211362
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810581610.3A Pending CN108845894A (en) | 2018-06-07 | 2018-06-07 | Data check backup, write-in and read method between a kind of multiple groups storage device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108845894A (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101231622A (en) * | 2007-12-27 | 2008-07-30 | 深圳华为通信技术有限公司 | Data storage method and equipment base on flash memory, as well as data fetch method and apparatu |
CN102236766A (en) * | 2011-05-10 | 2011-11-09 | 桂林电子科技大学 | Security data item level database encryption system |
CN104571961A (en) * | 2014-12-31 | 2015-04-29 | 深圳市成为信息技术有限公司 | Data verification backup, writing and reading method for triangle type memory device |
-
2018
- 2018-06-07 CN CN201810581610.3A patent/CN108845894A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101231622A (en) * | 2007-12-27 | 2008-07-30 | 深圳华为通信技术有限公司 | Data storage method and equipment base on flash memory, as well as data fetch method and apparatu |
CN102236766A (en) * | 2011-05-10 | 2011-11-09 | 桂林电子科技大学 | Security data item level database encryption system |
CN104571961A (en) * | 2014-12-31 | 2015-04-29 | 深圳市成为信息技术有限公司 | Data verification backup, writing and reading method for triangle type memory device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106201338B (en) | Date storage method and device | |
EP3779760B1 (en) | Blockchain-based data processing method and apparatus, and electronic device | |
CN102891849B (en) | Service data synchronization method, data recovery method, data recovery device and network device | |
CN108170555A (en) | A kind of data reconstruction method and equipment | |
CN103164523A (en) | Inspection method, device and system of data consistency inspection | |
CN104166606A (en) | File backup method and main storage device | |
CN103198122B (en) | Restart the method and apparatus of memory database | |
US11940987B2 (en) | Preventing a transmission of an incorrect copy of a record of data to a distributed ledger system | |
CN107506266A (en) | A kind of data reconstruction method and system | |
CN110399247A (en) | A kind of data reconstruction method, device, equipment and computer readable storage medium | |
CN110941394A (en) | Data reading and writing method and device for automatic train control system | |
CN113064759A (en) | Block chain data rollback processing method and processing system thereof | |
CN116501259A (en) | Disk group dual-activity synchronization method and device, computer equipment and storage medium | |
WO2021151298A1 (en) | Data redundancy processing method and apparatus, device, and storage medium | |
CN108537520B (en) | Method and device for accessing third-party payment transaction | |
CN114546510A (en) | Verification method and device for suspend function, electronic equipment and storage medium | |
CN104391760B (en) | A kind of method of data backup, server and system | |
CN110222035A (en) | A kind of efficient fault-tolerance approach of database page based on exclusive or check and journal recovery | |
CN105892954A (en) | Data storage method and device based on multiple copies | |
CN101127013A (en) | Enciphered mobile storage apparatus and its data access method | |
CN110555682B (en) | Multi-channel implementation method based on alliance chain | |
CN108845894A (en) | Data check backup, write-in and read method between a kind of multiple groups storage device | |
CN102520880B (en) | System raid management module design method | |
CN106708445A (en) | Link selection method and device | |
CN107783725A (en) | The method, apparatus and nonvolatile memory of data storage |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20181120 |