CN107861843A - A kind of file backup system based on LAN computer - Google Patents

A kind of file backup system based on LAN computer Download PDF

Info

Publication number
CN107861843A
CN107861843A CN201711236865.8A CN201711236865A CN107861843A CN 107861843 A CN107861843 A CN 107861843A CN 201711236865 A CN201711236865 A CN 201711236865A CN 107861843 A CN107861843 A CN 107861843A
Authority
CN
China
Prior art keywords
module
computer
file
data block
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
Application number
CN201711236865.8A
Other languages
Chinese (zh)
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.)
UNIS CO Ltd
Original Assignee
UNIS 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 UNIS CO Ltd filed Critical UNIS CO Ltd
Priority to CN201711236865.8A priority Critical patent/CN107861843A/en
Publication of CN107861843A publication Critical patent/CN107861843A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1458Management of the backup or restore process
    • G06F11/1464Management of the backup or restore process for networked environments
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/18File system types
    • G06F16/182Distributed file systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2801Broadband local area networks

Abstract

The present invention relates to a kind of file backup system based on LAN computer, belongs to computer External memory equipment technical field.Physical system is made up of the subscriber computer in same LAN, and service module, monitoring module, backup module, sending module, memory module, receiving module and read module are mounted in subscriber computer.The present invention utilizes the vacant storage resource in network environment and computer good in LAN, can be by other computers in the file backup in subscriber computer to LAN, loss of data caused by user's operational error or hard disk failure can be prevented, greatly reduces the risk that user loses significant data.The present invention reduces the hardware cost of standby system without increasing the hardware such as extra server, the network equipment or storage device newly.

Description

A kind of file backup system based on LAN computer
Technical field
The present invention relates to a kind of distributed document standby system based on LAN computer, belong to computer external storage Equipment technical field.
Background technology
In computer systems, for loss of data caused by preventing operational error or hard disk failure, it is necessary to will be important or close Keyed file and data form computer copying are to disk array or other storage mediums.If original document or number on hard disk During according to being accidentally deleted or cover, or this document or data can not be accessed because of hard disk failure, can from disk array or its This document or data are reduced in the record copy of its storage medium.
Disk array is RAID RAID (Redundant Arrays of Independent Disks) Abbreviation, be a kind of redundant array (logic hard disk) being made up of polylith disk, by stick technology a big file point Into fritter storage to polylith hard disk, then using the fault tolerance of data check technology offer, the protection to data is realized, from And reach the purpose for improving memory reliability.Because the price of disk array is higher, information system server is generally only used for Data backup memory, it is difficult to file or the data backup of personal computer.
Typically there is the computer of tens even up to a hundred in one LAN.Generally, hard disc of computer is all In units of TB, the idle memory space of larger capacity is had.Follow-up investigation of the Microsoft to personal computer service condition Fruit shows that the storage resource that personal computer averagely only has 50% is utilized, and substantial amounts of computer memory space is in sky Not busy state.
The content of the invention
The purpose of the present invention is to propose to a kind of distributed document standby system based on LAN computer, by LAN Hard disc of computer slack resources be integrated into a cheap highly reliable distributed redundant storage standby system, user can be calculated In other computers in file backup to LAN in machine, while effectively hard disc of computer space is utilized, ensure meter The integrality of calculation machine user data, computer hard disk data is lost caused by preventing operational error or hard disk failure.
A kind of file backup system based on LAN computer proposed by the present invention, passes through LAN by multiple computers Netting twine is connected to become a distributed system, wherein be provided with every computer service module, monitoring module, backup module, Sending module, receiving module, memory module and read module;Wherein:
Described service module, the connection interface of man-machine interaction is carried out with file backup system for providing the user, is used Family need to file to be protected be arranged to backup file;For managing the letter of all on-line computers in LAN automatically Breath, the list of real-time update on-line computer and quantity, carry out providing available on-line computer IP address during file backup;
Described monitoring module, the backup file for being specified to user monitor, new when having in backup file When building file or file and being changed, backup module is called to back up this file;
Described backup module, the file for being backed up first to needs are encrypted, then provided according to service module On-line computer quantity, will encrypt file division into identical quantity data block, and using parity technique to every number Encoded according to block, finally call sending module that coded data block is respectively transmitted to other on-line computers;
Described sending module, for the on-line computer IP address provided according to service module, by coded data block point It is not sent on different on-line computers;For the user ID file access pattern instruction provided according to read module, to other On-line computer sends coded data block reading order;
Described receiving module, the coded data block sent for receiving other on-line computers, then call storage mould Block stores coded data block into this hard disc of computer;The read requests sent for receiving other on-line computers, then Memory module is called to read coded data block from hard disc of computer;
Described memory module, the coded data block for receiving module to be received are stored in this computer vacant capacity Under maximum disk directory, and coded data block is protected, prevent to carry out write operation to coded data block;For basis The on-line computer that receiving module receives reads instruction, reads the coded data block in this computer disk, recalls transmission Coded data block is returned to other on-line computers by module;
Described read module, for responding the file access pattern operational order of user, and notify sending module to it is other Computer on line sends read requests, and the coded data block then passed back to other on-line computers carries out even-odd check, will be all The coded data block passed back merges into an encryption file, and finally encryption file is decoded again, recovers backup file, and The backup file recovered is saved under the specified folder of this computer.
File backup system proposed by the present invention based on LAN computer, its advantage are:
File backup system proposed by the present invention based on LAN computer, multiple computers in LAN are idle Storage resource is integrated into a cheap distributed redundant storage standby system, can be by the file backup in subscriber computer to office In other computers in the net of domain, it is ensured that be restored after corrupted data, it is important to greatly reduce computer user's loss The risk of data.File backup system proposed by the present invention, without increasing extra hardware device, using distributed redundant storage Mode, system have higher reliability and a very low cost, therefore application easy to spread.
Brief description of the drawings
Fig. 1 is the file backup system structural representation proposed by the present invention based on LAN computer.
Fig. 2 is the structural representation of each module in file backup system shown in Fig. 1.
Fig. 3 is the flow chart that present system is used for file backup.
Fig. 4 is the flow chart that present system is used for file access pattern.
Embodiment
File backup system proposed by the present invention based on LAN computer, its structural representation is as shown in figure 1, by more Individual computer is connected to become a distributed system by LAN netting twine, the structural representation of distributed system as shown in Fig. 2 Be provided with wherein every computer service module, monitoring module, backup module, sending module, receiving module, memory module and Read module;Wherein:
Described service module, the connection interface of man-machine interaction is carried out with file backup system for providing the user, is used Family need to file to be protected be arranged to backup file;For managing the letter of all on-line computers in LAN automatically Breath, the list of real-time update on-line computer and quantity, carry out providing available on-line computer IP address during file backup;
Described monitoring module, the backup file for being specified to user monitor, new when having in backup file When building file or file and being changed, backup module is called to back up this file;
Described backup module, the file for being backed up first to needs are encrypted, then provided according to service module On-line computer quantity, will encrypt file division into identical quantity data block, and using parity technique to every number Encoded according to block, finally call sending module that coded data block is respectively transmitted to other on-line computers;
Described sending module, for the on-line computer IP address provided according to service module, by coded data block point It is not sent on different on-line computers;For the user ID file access pattern instruction provided according to read module, to other On-line computer sends coded data block reading order;
Described receiving module, the coded data block sent for receiving other on-line computers, then call storage mould Block stores coded data block into this hard disc of computer;The read requests sent for receiving other on-line computers, then Memory module is called to read coded data block from hard disc of computer;
Described memory module, the coded data block for receiving module to be received are stored in this computer vacant capacity Under maximum disk directory, and coded data block is protected, prevent to carry out write operation to coded data block;For basis The on-line computer that receiving module receives reads instruction, reads the coded data block in this computer disk, recalls transmission Coded data block is returned to other on-line computers by module;
Described read module, for responding the file access pattern operational order of user, and notify sending module to it is other Computer on line sends read requests, and the coded data block then passed back to other on-line computers carries out even-odd check, will be all The coded data block passed back merges into an encryption file, and finally encryption file is decoded again, recovers backup file, and The backup file recovered is saved under the specified folder of this computer.
In the file backup system based on LAN computer of the present invention, this computer is the computer of user, online Computer is that the computer of oneself is considered as this computer by every user, other people meter with respect to for subscriber computer Calculation machine is as other on-line computers.
In one embodiment of file backup system of the invention based on LAN computer, allocation of computer:In 2GB Deposit, 1TB hard disks, the operating systems of Widows 7;Network environment:Same broadcast domain;Developing instrument:Microsoft Visual Studio2010。
All computers are deployed in same LAN, form distributed document standby system.Every computer is all pacified Equipped with service module, monitoring module, backup module, sending module, receiving module, memory module and read module.Every calculating Machine can ask service to other computers or provide service.File between computer sends and received, directly using IP Location and Transmission Control Protocol carry out communication and file transmission.
Operation will be encrypted in backup file before sending, and AES uses the RC4 in WindowsAPI functions (Rivest Cipher 4, Vista AES 4) symmetric encipherment algorithm, the RC4 that 16 bytes are generated according to C disks sequence number are close Key.
The correctness transmitted using even-odd check (Parity Check) technology check code.If transmitting procedure includes Odd number data bit including check bit changes, then and parity check bit will malfunction, and an error has occurred for expression transmitting procedure, Read module resends read requests to opposite end computer.
The operation principle of the file backup system based on LAN computer of the invention is:
In all subscriber computers in LAN install service module, monitoring module, backup module, sending module, Receiving module, memory module and read module, every computer can ask service to other computers or provide service.
User under the prompting of service module display interface, first need to file to be protected be arranged to backup file. Monitoring module monitors backup file automatically, each file in traversal monitoring backup file, during according to the establishment of file Between and modification time, judge whether file is newly-built or is changed.
File backup flow is as shown in Figure 3.Monitoring module in subscriber computer find to have in backup file it is newly-built or During the file of modification, start backup module;Backup module is first by RC4 symmetric encipherment algorithms to newly-built or modification the file Encryption, the on-line computer quantity then provided according to service module, data block of the file division into identical quantity will be encrypted, and Each data block is encoded using parity technique, finally calls sending module that coded data block is respectively transmitted to it Its on-line computer.After receiving module in on-line computer receives coded data block, memory module is called by coded data Block is stored onto local hard drive.
File access pattern flow is as shown in Figure 4.User restore operation when, the reading mould in subscriber computer The file name that root tuber selects according to user, notice sending module send read requests to other on-line computers;On-line computer After receiving module receives read requests, memory module is called to read corresponding coded data block from hard disk, then by transmission mould Coded data block is returned to subscriber computer by block;Subscriber computer receiving module receives the coded number that on-line computer is passed back After block, read module carries out even-odd check to the coded data block passed back first, and data block then is merged into an encryption File, finally encryption file is decoded and stored under the catalogue that user specifies.
Because computer user is substantially carried out document process and writes, will not typically be placed in backup directory larger more Media file or executable file etc., whole system will not largely take the bandwidth in LAN always.
The present invention forms one inexpensively using the vacant storage resource in network environment and computer good in LAN Highly reliable distributed redundant storage standby system, the file data in subscriber computer can be backuped to other in LAN In on-line computer, loss of data caused by user's operational error or hard disk failure can be prevented, user is substantially reduced and loses weight Want the risk of data.The present invention considerably reduces without hardware such as newly-increased extra server, the network equipment or storage devices The cost of standby system.Because data disperse, are stored encrypted in different computers, the exception of particular computer does not interfere with The security of data, data reliability are greatly improved;The increase of number of computers not but not causes access bottleneck, instead And overall performance can be improved, there is good autgmentability;Because data are not centrally stored, do not influenceed by network bandwidth.

Claims (1)

1. a kind of file backup system based on LAN computer, one is connected to become by LAN netting twine by multiple computers Individual distributed system, wherein being provided with service module, monitoring module, backup module, sending module, reception mould in every computer Block, memory module and read module;Wherein:
Described service module, the connection interface of man-machine interaction is carried out for providing the user with file backup system, and user will File to be protected is needed to be arranged to backup file;It is real for managing the information of all on-line computers in LAN automatically The list of Shi Gengxin on-line computers and quantity, carry out providing available on-line computer IP address during file backup;
Described monitoring module, the backup file for being specified to user monitor, when there is newly-built text in backup file When part or file are changed, backup module is called to back up this file;
Described backup module, the file for being backed up first to needs are encrypted, and are then existed according to service module offer Computer on line quantity, data block of the file division into identical quantity will be encrypted, and using parity technique to each data block Encoded, finally call sending module that coded data block is respectively transmitted to other on-line computers;
Described sending module, for the on-line computer IP address provided according to service module, coded data block is sent out respectively It is sent on different on-line computers;For the user ID file access pattern instruction provided according to read module, to other online Computer sends coded data block reading order;
Described receiving module, the coded data block sent for receiving other on-line computers, then call memory module will Coded data block is stored into this hard disc of computer;The read requests sent for receiving other on-line computers, are then called Memory module reads coded data block from hard disc of computer;
Described memory module, the coded data block for receiving module to be received are stored in this computer vacant capacity maximum Disk directory under, and coded data block is protected, prevents to carry out write operation to coded data block;For according to reception The on-line computer that module receives reads instruction, reads the coded data block in this computer disk, recalls sending module Coded data block is returned into other on-line computers;
Described read module, for responding the file access pattern operational order of user, and notify sending module to other online meters Calculation machine sends read requests, and the coded data block then passed back to other on-line computers carries out even-odd check, is passed back all Coded data block merge into an encryption file, finally encryption file is decoded again, recovers backup file, and will be extensive The backup file appeared again is saved under the specified folder of this computer.
CN201711236865.8A 2017-11-30 2017-11-30 A kind of file backup system based on LAN computer Pending CN107861843A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711236865.8A CN107861843A (en) 2017-11-30 2017-11-30 A kind of file backup system based on LAN computer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711236865.8A CN107861843A (en) 2017-11-30 2017-11-30 A kind of file backup system based on LAN computer

Publications (1)

Publication Number Publication Date
CN107861843A true CN107861843A (en) 2018-03-30

Family

ID=61704162

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711236865.8A Pending CN107861843A (en) 2017-11-30 2017-11-30 A kind of file backup system based on LAN computer

Country Status (1)

Country Link
CN (1) CN107861843A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109254956A (en) * 2018-07-27 2019-01-22 深圳市江波龙电子股份有限公司 Method, the method, apparatus and electronic equipment of data downloading of a kind of data storage
CN110351086A (en) * 2019-08-19 2019-10-18 吉林大学 Encryption information processing and transmission method and system in a kind of group, robot
CN112506703A (en) * 2020-12-05 2021-03-16 广州技象科技有限公司 Backup method and device for configuration information of terminal of Internet of things
CN112506704A (en) * 2020-12-05 2021-03-16 广州技象科技有限公司 Configuration information backup method and device for gateway of Internet of things

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1341240A (en) * 1999-12-20 2002-03-20 大日本印刷株式会社 Distributed data archive device and system
CN1352427A (en) * 2001-11-26 2002-06-05 北京实达铭泰计算机应用技术开发有限公司 Recovery method for computer system
CN101025702A (en) * 2006-02-17 2007-08-29 深圳奇峰创智科技有限公司 Method for automatic backup using computer network
CN102281321A (en) * 2011-04-25 2011-12-14 程旭 Data cloud storage partitioning and backup method and device
CN106250270A (en) * 2016-07-28 2016-12-21 四川新环佳科技发展有限公司 A kind of data back up method under cloud computing platform

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1341240A (en) * 1999-12-20 2002-03-20 大日本印刷株式会社 Distributed data archive device and system
CN1352427A (en) * 2001-11-26 2002-06-05 北京实达铭泰计算机应用技术开发有限公司 Recovery method for computer system
CN101025702A (en) * 2006-02-17 2007-08-29 深圳奇峰创智科技有限公司 Method for automatic backup using computer network
CN102281321A (en) * 2011-04-25 2011-12-14 程旭 Data cloud storage partitioning and backup method and device
CN106250270A (en) * 2016-07-28 2016-12-21 四川新环佳科技发展有限公司 A kind of data back up method under cloud computing platform

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109254956A (en) * 2018-07-27 2019-01-22 深圳市江波龙电子股份有限公司 Method, the method, apparatus and electronic equipment of data downloading of a kind of data storage
CN109254956B (en) * 2018-07-27 2022-09-02 深圳市江波龙电子股份有限公司 Data downloading method and device and electronic equipment
CN110351086A (en) * 2019-08-19 2019-10-18 吉林大学 Encryption information processing and transmission method and system in a kind of group, robot
CN110351086B (en) * 2019-08-19 2021-12-24 吉林省吉创科豹科技有限公司 Method and system for processing and transmitting encrypted information in robot group
CN112506703A (en) * 2020-12-05 2021-03-16 广州技象科技有限公司 Backup method and device for configuration information of terminal of Internet of things
CN112506704A (en) * 2020-12-05 2021-03-16 广州技象科技有限公司 Configuration information backup method and device for gateway of Internet of things
CN112506704B (en) * 2020-12-05 2022-01-18 广州技象科技有限公司 Configuration information backup method and device for gateway of Internet of things

Similar Documents

Publication Publication Date Title
US10305988B2 (en) Adaptive resource utilization with request cancellation
CN107861843A (en) A kind of file backup system based on LAN computer
CN102088491B (en) Distributed storage oriented cloud storage security architecture and data access method thereof
US8621241B1 (en) Storage and recovery of cryptographic key identifiers
JP5210376B2 (en) Data confidentiality preservation method in fixed content distributed data storage system
US8386798B2 (en) Block-level data storage using an outstanding write list
US8347184B2 (en) Cloud storage data access method, apparatus and system
CN102457567B (en) Mirror image backup/recovery method and tool of web management mode
US20120136960A1 (en) Cloud Storage Data Access Method, Apparatus and System
CN101808127B (en) Data backup method, system and server
US7822827B2 (en) Continuous data protection and remote block-level storage for a data volume
US7487219B1 (en) Virtual storage device from multiple online accounts
US20090060195A1 (en) Storage apparatus and data managament method
US8312316B2 (en) Data storage system, method and data storage and backup system
CN109597717A (en) A kind of data backup, restoration methods, device, electronic equipment and storage medium
JP4685317B2 (en) Data distributed storage method, data distributed storage device, program, and backup site
AU2016203740A1 (en) Simultaneous state-based cryptographic splitting in a secure storage appliance
US20100162004A1 (en) Storage of cryptographically-split data blocks at geographically-separated locations
CN101808012A (en) Data backup method in the cloud atmosphere
US20100162003A1 (en) Retrieval of cryptographically-split data blocks from fastest-responding storage devices
US20100153740A1 (en) Data recovery using error strip identifiers
JP2006301849A (en) Electronic information storage system
US20100169662A1 (en) Simultaneous state-based cryptographic splitting in a secure storage appliance
CN106681865A (en) Business recovery method and device
JP5423118B2 (en) Data storage system and data storage method

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: 20180330