CN1637726A - 一种Linux系统硬盘数据实时动态保护方法 - Google Patents
一种Linux系统硬盘数据实时动态保护方法 Download PDFInfo
- Publication number
- CN1637726A CN1637726A CN 03114491 CN03114491A CN1637726A CN 1637726 A CN1637726 A CN 1637726A CN 03114491 CN03114491 CN 03114491 CN 03114491 A CN03114491 A CN 03114491A CN 1637726 A CN1637726 A CN 1637726A
- Authority
- CN
- China
- Prior art keywords
- block
- piece
- type
- data
- write
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 12
- 238000013507 mapping Methods 0.000 claims description 9
- 239000012467 final product Substances 0.000 claims description 2
- 230000006378 damage Effects 0.000 abstract description 8
- 238000013506 data mapping Methods 0.000 abstract 1
- 238000012544 monitoring process Methods 0.000 abstract 1
- 238000011084 recovery Methods 0.000 description 6
- 206010033799 Paralysis Diseases 0.000 description 5
- 241000700605 Viruses Species 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 238000005192 partition Methods 0.000 description 2
- 238000004321 preservation Methods 0.000 description 2
- 238000011282 treatment Methods 0.000 description 2
- 101100226366 Arabidopsis thaliana EXT3 gene Proteins 0.000 description 1
- 102100029074 Exostosin-2 Human genes 0.000 description 1
- 101000918275 Homo sapiens Exostosin-2 Proteins 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 230000003211 malignant effect Effects 0.000 description 1
- 208000034420 multiple type III exostoses Diseases 0.000 description 1
- 239000002574 poison Substances 0.000 description 1
- 231100000614 poison Toxicity 0.000 description 1
- 230000002265 prevention Effects 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Images
Landscapes
- Storage Device Security (AREA)
Abstract
Description
逻辑扇区号 | (0,1,2,…,M-1) | (M,…2M-1) | (2M,…,3M-1) | 3M,…… | (N-1)*M,…,N*M-1 |
块号 | B0 | B1 | B2 | …… | BN-1 |
BLOCK_TYPE_TABLE | ||
类型1 | FREE_BLOCK | 空闲块,硬盘中该块对应的所有扇区都没有被写入有效数据。 |
类型2 | PROTECT_DATA_BLOCK(需保护数据块) | 有数据,且需要保护的块。 |
类型3 | NOT_PROTECT_DATA_BLOCK(非保护数据块) | 有数据,但不需要保护的块。 |
类型4 | SHADOW_BLOCK(映射块) | 当一个PROTECT_DATA_BLOCK类型的块A写操作时,为保护该数据块不被破坏,从而申请一个FREE_BLOCK类型的块B来存放原本要写入该数据块的数据,此FREE_BLOCK类型的块B将被修改为SHADOW_BLOCK类型,表示其为对应原PROTECT_DATA_BLOCK类型的块A的影射体(SHADOW)。 |
类型5 | 1SHADOWED_BLOCK(原始块) | 当一个PROTECT_DATA_BLOCK类型的块A写操作时,写入数据实际上被影射写到一个FREE_BLOCK类型的块B(B的类型将被修改为SHADOW_BLOCK),为了保持数据的一致性,则以后对块A的读写访问也相应将被影射到块B,因此将块A的类型修改为1SHADOWED_BLOCK。 |
类型6 | NSHADOWED_BLOCK(原映射块) | 当一个SHADOW_BLOCK类型的块A遇到写入操作时,由于其中原有数据为其他数据块的影射体,不能被破坏,所以需申请一个FREE_BLOCK类型的块B来存放原本要写入该数据块的数据,此FREE_BLOCK类型的块B将被修改为SHADOW_BLOCK类型,表示其为对应块A的影射体(SHADOW),而将块A的类型修改为NSHADOWED_BLOCK,表示其自身原为SHADOW_BLOCK类型,但又再次被影射到其他块。 |
块类型 | 指针表 | 读操作结果 | |
类型1 | FREE_BLOCK | - | 直接读 |
类型2 | PROTECT_DATA_BLOCK | - | 直接读 |
类型3 | NOT_PROTECT_DATA_BLOCK | - | 直接读 |
类型4 | SHADOW_BLOCK | - | 直接读 |
类型5 | 1SHADOWED_BLOCK | 如A→B | 读块A时转向读块B |
类型6 | NSHADOWED_BLOCK | 如A→B | 读块A时转向读块B |
块类型 | 指针表 | 类型表 | 写操作结果 | |
类型1 | FREE_BLOCK | - | - | 直接写 |
类型2 | PROTECT_DATA_BLOCK | - | 查找 | 1、写块A时申请一个FREE_BLOCK类型的块B;2、将A的类型改为1SHADOWED_BLOCK;3、将B的类型修改为SHADOW_BLOCK;4、将A的内容读到内存,修改其中相应扇区数据然后写入B |
类型3 | NOT_PROTECT_DATA_BLOCK | - | - | 直接写 |
类型4 | SHADOW_BLOCK | - | 查找 | 1、申请一个FREE_BLOCK类型的块B;2、将A的类型改为NSHADOWED_BLOCK;3、将B的类型修改为SHADOW_BLOCK;4、将A的内容读到内存,修改其中相应扇区数据,然后写入B |
类型5 | 1SHADOWED_BLOCK | 如A→B | - | 写块A时转向写块B |
类型6 | NSHADOWED_BLOCK | 如A→B | - | 写块A时转向写块B |
Claims (6)
- 一种Linux系统硬盘数据实时动态保护方法,其特征是采用实时动态保护算法按如下步骤来实现:1、将整个硬盘空间划分为N块并定义块的类型属性。
- 2、建立块的类型表并定义硬盘每个块所属的类型。
- 3、建立块的指针表,表示当前块被影射转移的块号:当其表项数值为0~N-1时,表示为有效值,指向影射转移的块号;当其表项数值为0FFFFFFH时,表示无效值。
- 4、取Linux系统读写硬盘的请求包,改变其参数以适应下述读写规则:读操作:属性为空闲块、需保护数据块、非保护数据块、映射块时,可直接读取;属性为原始块、原映射块则根据指针表的指向而读取。写操作:属性为空闲块、非保护数据块时,可直接写;属性为需保护数据块、映射块时,要申请一个空闲块并改为映射块后写入;属性为原始块、原映射块时,则根据指针表的指向进行写操作。
- 5、存档时,将所有类型初始为空闲块、需保护数据块、非保护数据块三种类型,并备份类型表。
- 6、当系统故障或丢失数据需要恢复时,将备份的类型表覆盖当前类型表即可。
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB031144918A CN100337220C (zh) | 2003-02-17 | 2003-02-17 | 一种Linux系统硬盘数据实时动态保护方法 |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB031144918A CN100337220C (zh) | 2003-02-17 | 2003-02-17 | 一种Linux系统硬盘数据实时动态保护方法 |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1637726A true CN1637726A (zh) | 2005-07-13 |
CN100337220C CN100337220C (zh) | 2007-09-12 |
Family
ID=34842665
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB031144918A Expired - Fee Related CN100337220C (zh) | 2003-02-17 | 2003-02-17 | 一种Linux系统硬盘数据实时动态保护方法 |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100337220C (zh) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100426247C (zh) * | 2006-01-12 | 2008-10-15 | 上海洲信信息技术有限公司 | 数据恢复方法 |
CN101187887B (zh) * | 2006-11-15 | 2012-05-16 | 鸿富锦精密工业(深圳)有限公司 | 具有数据临时保护功能的存储装置及方法 |
CN104133742A (zh) * | 2014-08-07 | 2014-11-05 | 浪潮(北京)电子信息产业有限公司 | 一种数据保护的方法及装置 |
CN105095300A (zh) * | 2014-05-16 | 2015-11-25 | 阿里巴巴集团控股有限公司 | 一种数据库备份方法及系统 |
CN105825877A (zh) * | 2016-03-30 | 2016-08-03 | 朱光波 | 一种数据存储、读取方法及其装置 |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105824879B (zh) * | 2015-12-17 | 2019-06-28 | 深圳市华讯方舟软件技术有限公司 | 一种基于PostgreSQL块存储设备的迁移方法 |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6192488B1 (en) * | 1998-07-13 | 2001-02-20 | Chung-Ping Li | Restoring method for hard disk |
CN1109979C (zh) * | 1999-01-12 | 2003-05-28 | 李增胜 | 计算机硬盘数据快速保护与恢复方法 |
US7539828B2 (en) * | 2000-08-08 | 2009-05-26 | Faronics Corporation | Method and system for automatically preserving persistent storage |
-
2003
- 2003-02-17 CN CNB031144918A patent/CN100337220C/zh not_active Expired - Fee Related
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100426247C (zh) * | 2006-01-12 | 2008-10-15 | 上海洲信信息技术有限公司 | 数据恢复方法 |
CN101187887B (zh) * | 2006-11-15 | 2012-05-16 | 鸿富锦精密工业(深圳)有限公司 | 具有数据临时保护功能的存储装置及方法 |
CN105095300A (zh) * | 2014-05-16 | 2015-11-25 | 阿里巴巴集团控股有限公司 | 一种数据库备份方法及系统 |
CN104133742A (zh) * | 2014-08-07 | 2014-11-05 | 浪潮(北京)电子信息产业有限公司 | 一种数据保护的方法及装置 |
CN105825877A (zh) * | 2016-03-30 | 2016-08-03 | 朱光波 | 一种数据存储、读取方法及其装置 |
Also Published As
Publication number | Publication date |
---|---|
CN100337220C (zh) | 2007-09-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11068455B2 (en) | Mapper tree with super leaf nodes | |
US10216757B1 (en) | Managing deletion of replicas of files | |
US9460102B1 (en) | Managing data deduplication in storage systems based on I/O activities | |
US10073656B2 (en) | Systems and methods for storage virtualization | |
JP6050262B2 (ja) | 仮想ディスクストレージ技術 | |
US8069317B2 (en) | Providing and utilizing high performance block storage metadata | |
US9400741B1 (en) | Reclaiming space from file system hosting many primary storage objects and their snapshots | |
US10809932B1 (en) | Managing data relocations in storage systems | |
US8620962B1 (en) | Systems and methods for hierarchical reference counting via sibling trees | |
US9779026B2 (en) | Cache bypass utilizing a binary tree | |
US20150347311A1 (en) | Storage hierarchical management system | |
US8732411B1 (en) | Data de-duplication for information storage systems | |
US10387066B1 (en) | Providing data deduplication in a data storage system with parallelized computation of crypto-digests for blocks of host I/O data | |
US20190146881A1 (en) | Data storage and retrieval mediation system and methods for using same | |
US8694563B1 (en) | Space recovery for thin-provisioned storage volumes | |
CN1417689A (zh) | 硬盘数据加密备份及还原方法 | |
CN1766845A (zh) | 一种实现系统高度安全和可恢复的文件系统的方法 | |
US11226774B2 (en) | Deep data-compression | |
US20070250664A1 (en) | Sorting large data sets | |
CN100337220C (zh) | 一种Linux系统硬盘数据实时动态保护方法 | |
CN1740981A (zh) | 一种计算机硬盘数据多时间点快速存储与恢复方法 | |
US20220342851A1 (en) | File system event monitoring using metadata snapshots | |
Wu et al. | Selfie: co-locating metadata and data to enable fast virtual block devices | |
WO2021066257A1 (ko) | 블룸 필터를 이용한 효율적인 랜섬웨어 탐지 방법 및 시스템 | |
US20230142948A1 (en) | Techniques for managing context information for a storage device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
ASS | Succession or assignment of patent right |
Owner name: XI'AN SANMING TECHNOLOGY CO., LTD. Free format text: FORMER OWNER: ZHANG YOUCHENG Effective date: 20070511 |
|
C41 | Transfer of patent application or patent right or utility model | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20070511 Address after: Two Xi'an Road, No. 77 Xi'an 710075 Shaanxi province science and Technology Park A311 photoelectric Applicant after: Xi'an Saming Technology Co., Ltd. Address before: 710068 No. 356 Youyi West Road, Shaanxi, Xi'an Applicant before: Zhang Youcheng |
|
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
PE01 | Entry into force of the registration of the contract for pledge of patent right |
Denomination of invention: Real-time dynamic data protecting method for Linux system hard disc Effective date of registration: 20110415 Granted publication date: 20070912 Pledgee: Pudong Development Bank of Shanghai, Limited by Share Ltd, Xi'an branch Pledgor: Li Zengsheng|Xi'an saming Technology Co Ltd Registration number: 2011990000065 |
|
PC01 | Cancellation of the registration of the contract for pledge of patent right |
Date of cancellation: 20120814 Granted publication date: 20070912 Pledgee: Pudong Development Bank of Shanghai, Limited by Share Ltd, Xi'an branch Pledgor: Li Zengsheng|Xi'an saming Technology Co Ltd Registration number: 2011990000065 |
|
PE01 | Entry into force of the registration of the contract for pledge of patent right |
Denomination of invention: Real-time dynamic data protecting method for Linux system hard disc Effective date of registration: 20120914 Granted publication date: 20070912 Pledgee: Pudong Development Bank of Shanghai, Limited by Share Ltd, Xi'an branch Pledgor: Xi'an saming Technology Co Ltd|Li Zengsheng Registration number: 2012990000528 |
|
PLDC | Enforcement, change and cancellation of contracts on pledge of patent right or utility model | ||
PC01 | Cancellation of the registration of the contract for pledge of patent right |
Date of cancellation: 20150528 Granted publication date: 20070912 Pledgee: Pudong Development Bank of Shanghai, Limited by Share Ltd, Xi'an branch Pledgor: Xi'an saming Technology Co Ltd|Li Zengsheng Registration number: 2012990000528 |
|
PLDC | Enforcement, change and cancellation of contracts on pledge of patent right or utility model | ||
CP03 | Change of name, title or address | ||
CP03 | Change of name, title or address |
Address after: 710075 floor 6, Fung Hui International D, 18 Fenghui South Road, Xi'an high tech Zone, Shaanxi Patentee after: Xi'an Sanming Polytron Technologies Inc Address before: 710075 Xi'an photoelectric Park, No. 77, science and technology two road, Xi'an, Shaanxi A-311 Patentee before: Xi'an Saming Technology Co., Ltd. |
|
CP03 | Change of name, title or address | ||
CP03 | Change of name, title or address |
Address after: 710075 Tang Feng International D block 18, Fenghui South Road, Xi'an High-tech Zone, Shaanxi, China 601, 602, 603, 604 Patentee after: Xi'an Sanming Polytron Technologies Inc Address before: 710075 Xi'an photoelectric Park, No. 77, science and technology two road, Xi'an, Shaanxi A-311 Patentee before: Xi'an Saming Technology Co., Ltd. |
|
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20070912 Termination date: 20200217 |