Design and Realization of File Bidirectional Updating Program
- Author
- WangXiaoSheng
- Advisor
- HuChengQuan
- School
- Jilin University
- Major
- Computer technology
- Classification
- TP311.1 Programming
- Degree
- Master's thesis
- Year
- 2004
- Downloads
- 284
- Citations
- 3
Abstract
The computer program of the programmers the preparation of the a, office staff use the the documentation that of the word processing software to establish and so on to the the of the stored in the form of of the file In the the commonly used on the the permanent storage medium of, such as disk, etc., the the existence of such a problem for the often but in practical work: At present, Sui forward to a variety of of can be removable storage media the the emergence of of the, (such as: as a diskette, USB disk, can be mobile hard disk and and so on on) and wide application of, to the user the edit the files or programs of making a clip bring a great convenience, allowing users to on the own file of the processing (such as : modify the, increase the file and so on) you can at anytime, anywhere hand free to carried out in the different regions of the PC machine on the, in the the the Office of the PC machine on the, for example: the preparation of and debugging the a program, after with the mobile disk copy to the the PC machine at home on the carried out modify the content, increase the file and so on processing. This usually makes your lead to exists in the the on the the different file storage medium of the the the the old and the new two versions of the and the new add any files that of the file with the same name, the user how to determine the in the which of li the medium of the two storage is new file What are the is old files thereby be able to correctly in order to the the \old \adopt the Copy command to achieve in \Obviously, the you want to in the the li the medium of the two storage to to maintain the consistency of of the file, the If the the same name already file or a new increase in Too many files is the of the time while the place the by is brings a long, case they are recognized up and consuming and laborious, even in the the on the the the confirmation of the the old and the new file The rare in carelessly, the such as will the old files coverage the a new documents were, will result in the results of of the even fruitless. Although the the the relevant disk file backup program is is currently has been appear, for example,: Backup for the MS-DOS and Backup for windows. But their the inadequacies of the to you and that is: That First of all, the they The purpose of is just is the In order to prevent due to the work disk appear the failure, virus, or accidental erasure files, and so on caused by the the backup job of the carried out by the the the destruction of of files and data while the, so that when the to the the work disk occurrence of failure or information lost available at the time backup disk to restore the the file; followed by they are only have the the the one-way backup feature, that is, need to the by the user specify the source and destination disks, each time can only be from the the the a copy of of the source disk to the target disk, there is no to bi-directional with copy with the updates that is, synchronization copy function . In this paper, from the actual need to the departure, gives the the Design and Implementation of of the a disk file mirroring backup program, to truly achieve the the a bi-directional copy of of the disk file with the update feature, that is, mirroring backup or synchronous copies \u0026 Renewals. Running the of this Cheng lt; WP = 61 gt; ordinal can be to let the computer to go identify the the the consistency of of all files on the in the two storage devices and automatically completion of the files are copied, subdirectories to establish and \convenient, rapid, and and reliable. In the the the on the the Design and Implementation of of of the the program's, in order to the current widespread use of Microsoft Windows operating system for the application platform, in order to the Windows file system as the background, with Visual C developed a disk file mirroring backup program. This article mainly expounds the the disk file Design and Implementation of of the mirrored backup program the the methodology and the process of of. First of all, introduced the the Design and Implementation of of the the program's operation interface; Secondly, the the focus expounded the Design and Implementation of of the the the main function of of the the program. The program is mainly to achieve a two functions: file mirror copy of the and file mirroring to be updated, The basic idea of ??of its to achieve is the use of to the the twice traversal disk file directory method, for the first once traversal: Bidirectional Traversal Table of Contents 1 and directories 2 whether the with each other there are are new to establish of the file, if it has, of then the carried out the two-way copy operation; traversal for the the second time: Bidirectional Traversal the Table of Contents 1 and directories 2 whether there is new file of the the same name as, if it has, then the carried out the bi-directional update, that is, in order to the new file the the old files of of an the same name is coverage to. After a after the to the operation of this twice, reached a in the specified in the the on the device of the two storage the the mirrored back up of of the file or subdirectory. Finally, the the function of other aspects of the the program's is introduced the, such as: set on the file / cancel hidden attribute, on the the subdirectory encryption and decryption, etc., it is for this program to more rich and practical. The successfully developed of the the program's, and its hope that the is that the: on the one hand, to fill the the the now use of the the the traditional the the lack of of the backup program, on the other hand has a the excellent the practical application of value of. Was adopted by the The procedures have been a debugging, in the the application has achieved very good results, can say it is a good \
Table of contents
Chapter 1 Introduction 9-13
1.1 of the purpose and significance 9-10
1.2 program functions 10-11
1.3 application development environment and development tools 11-12
1.4 application features 12-13
Chapter 2 summary of design 13-19
2.1 program functional design 13-16
2.1.1 functional Design the basic idea 13-15
2.1.2 main functional design program 15-16 <br / > 2.2 application's visual design 16-19
2.2.1 program's main window and its layout 16-18
2.2.2 display / directory selection tree list window 18-19
Chapter 3 detailed design 19-42
3.1 application's visual programming 19-24
3.1.1 build applications the basic framework 19-20
3.1.2 path input interface design and implementation 20-24
3.2 and updated features mirror copy of the design and implementation 24 -39
3.2.1 main program design and implementation 24-28
3.2.2 first traversal ( copy ) design and realization 28-33
3.2.3 The second pass ( updated ) functional Design and Implementation 33-37
3.2.4 file attributes get 37-39
3.3 application examples 39-42
3.3.1 example 1 39-40
3.3.2 example 2 40-42
Chapter 4 other Functions 42 - 46
4.1 the attribute as a hidden file processing 42-43
4.1.1 set for a file hidden 42
4.1.2 for the file to eliminate hidden 42-43
4.2 directory on the specified encryption and decryption 43-46
4.2.1 the directory encryption 43-45
4.2.2 decrypt the directory 45-46
Conclusion 46-47
References 47-48
Appendix 48-60
Appendix 1 : Using the Tree control to achieve \file 51-60
Chinese Abstract 60-61
Abstract 61-64
Related dissertations
- Research on System of Design and Calculation of Highway Bridge Pile Foundation
- Venture Capitals’ Background and Performance
- TV news program strategy research
- Design and Resrarch of the Film Laminating Machine Control System
- Planning and design of Zhengzhou Institute of Science and Technology student information management system
- Warehouse Management System Development
- Design and Implementation of Salary Management System Based on C/S Module
- Software Development of Communication Company Simulation Radio Station Training and Management System
- On the Copyright Infringement by Snapshot of Search Engines
- The Definition of Copy Behavior in Cloud Computing Age
- The creation of Chinese landscape painting
- Cognitive Study of English VC Compound Adjectives
- Mirror Images in a Dream of Red Mansions and Its Function of Literature
- Use the specular reflectance characteristics in the art creation
- The Effect of Vitamin C and Vitamin E on Red Blood Cell
- Research on the Joint Cytotoxicity of Nano Metallic-oxide&Vitamin C in Food Additives to Gastrointestinal Tract and Nervous System
- A Research Ponossiblesolutions to the Development of Alukeerqin Grassland Animal Husbandry
- The Magnetic Pole Structure Optimization and Engineering Design Software Development of Switched Reluctance Motor
- Design and Implementation of Document Management Platform of Construction Projects
- Digital Signal Processing System Research of Semi-active Laser Seeker