您好,欢迎访问三七文档
当前位置:首页 > 行业资料 > 其它行业文档 > 基于广域网的虚拟磁盘技术研究
华中科技大学硕士学位论文基于广域网的虚拟磁盘技术研究姓名:梅小玲申请学位级别:硕士专业:软件工程指导教师:刘云生2010-01-14IWindowsTDI(TransportDriverInterface)WindowsiSCSISANIIAbstractInrecentyears,withtheupsurgeoftheglobalnetwork,networktechnologyforpersonaluseisalsosoared.Comparedwithotherfilestoragetechnology.,researchofvirtualdisktechnologybasedonwideareanetwork,canachieveavirtualdisk,whichmadeitmoresimple,faster,highersecurityandhadcapacitybenefitsofscalable..Itskeyissueinclude:remotevirtualdiskdriver,safeandreliablenetworkcommunicationsinkernellevelandselectingtheappropriateserver-sidestoragemodel.Networkvirtualdiskdriversimulateafileonthenetworkintoavirtualdiskofclient,whichusercanoperateasalocaldisk.Designingthedriverandtheestablishmentofalocaldriveletternameandtheremoteimagefilecorrespondencethroughthedriver'sdeviceobjectiskeyofresearchofvirtualdisktechnologybasedonwideareanetwork.Thistechnologymodeledontheuser'shabitstomeettherequirementsofuser-friendlyinterface.Achievethenetworkcommunicationsfunctionofthistechinology,bycallingTDI(TransportDriverInterface)interface.CommunicationisestablisheddirectlyintheWindowskernel-modelevel,soitprivideshigherefficiencyofnetworktransmission,whichmeettherequirements.Relativelyindependentblock-baseddataaccessservicesanddatastoragemodelisusedintheserver.Block-baseddataaccessserviceconvertsdiskreadingandwrittingintheclienttotheimagefilereadingandwrittingintheserver;Afteranalysisingintheevolutionofthevariousstoragemodel,advantagesanddisadvantagesofvariousstoragetechinology,thecomparisonofcurrentpopularstoringmethod,iSCSISANstoragemodelbecamethefinalchoiceforaremotevirtualdisksystem.Rremotevirtualdisktechnologycanbeusedtoachievefastelectronicinformationnetworkshareingtothecaseoflargenumberofelectricinformationwithafriendlyuserinterface.KeywordsVirtualdiskTDIInformationSecurityVirtualStorage11WindowsNT1.1——[1]FTPWEBWindowsNT21.2iSCSICake[2]iSCSI[3,4]iSCSIiSCSI[5.6]iSCSI[7,8]1WEB2WindowsApplicationC/S3GoogleIP31.31231.4123456421212345562.1C/S2.1Internet/Intranet2.162.22.2TDIIRP2.27“”12UI1UI283342.32.49123iSCSISANiSCSISANiSCSISAN4UI5UI52.51IRPIRP2103TDI4iSCSISAN1133.1WindowsNT3.1.1[9]WindowsKernelModeUserModeCPURing0Win32APIWin32OS/2POSIXAPIReadFileWin32(KERNEL32.DLL)API12ReadFileDLL(NTDLL.DLL)NtReadFileNtReadFileNtReadFileI/OI/O“I/O(IRP)”ReadFileNtReadFileIRP_MJ_READ(DDK)IRPNtReadFileIRPIRPI/OIRPIRP3.1I/OWin32Win32APIIRPHAL3.1133.1.2WindowsNT[10]PnPFATNTFSCDFS3.23.2(FSD)FAT32NTFSCDFS(intermediatedirver)(classdriver)3.21(functiondriver)I/O(filterdriver)2(softwarebusdriver)143.1.31Windows“”“”CC++WindowsC[11]I/ODeviceObjectDeviceObjectDeviceObjectDriverUnloadMajorFunctionMajorFunctionIRP2[12]“”“”DEVICE_OBJECTDriverObject15NextDevicenNextDeviceAttachedDeviceAattacheBBAttachedDeviceACurrentIrpStartIOIRPDeviceExtensionAttachToDeviceAttachedDeviceDeviceTypeFILE_DEVICE_DIKSStackSizeStackSize3I/O“”IDIRP4IRPMajorFunctionMinorFunctionIRPMajorFunctionIRP“”IRPMinorFunctionIRP16DriverEntryIRPIO_STACK_LOCATIONI/OIRPIRPCurrentLocation3.2[13]“”[14]3.2.1WindowsIRPIRP,3.3I/OIRPIRPIRPIRP3.3173.3IRPI/O3.33.2.212IRPI/Ol/O318l/O4“”3.4UI3.43.2.3UI19UIa.b.I/OUIIRPDeviceIoControl3.5UI3.5UIDeviceIoControlDeviceIoControlI/OCTL_CODEIOCTLIOCTLIOCTL1IOCTL_NET_DISK_OPEN_FILE2IOCTL_NET_DISK_CLOSE_FILE3IOCTL_NET_DISK_QUERY_FILE3.2.4UIUIUI1IDUI20DefineDosDevice3.6IDimgYNYNIO3.62ID321DeviceIoControl3.73.73.2.5IRPIRPIRP,22I/OParameters1n_devices2PDRIVEROBJECTn_devices3IDIRP4IRPIRPIRPIRPIRPIRPListEntryIRPlRP5FileDiskThreadIRPIRP6lRPIRPIRP_MJ_CREATEIRP_MJ_CLOSEIRP_MJ_READIRP_MJ_WRITEl/OIRP_MJ_DEVICE_CONTROLIRP5IRP5IRPIRPIRPIRPIRP23IRPIRPIRP1WIN32APIReadFileIRP123042WIN32APIWriteFileIRP3I/ODeviceIoControlIRP123I/O4I/OIOCTL_NET_DISK_OPEN_FILEIOCTL_NET_DISK_CLOSE_FILEIRPIRP5I/O244IRPIRPIRPIRPIRP1LOW_REALTIME_PRIORITY.234ID567IRP3.2.6l/Ol/O[15,16][17,18]IRPAES25AES128192256128(16)KeyKeyKey128KeyKeyUIKeyUIKeyI/O264PKIAESSHARSA[19,20]4.14.1.1RSA[21,22]RSA[23]274.1.21SHA-1[24-26]2AES3AES4AES5AESAES6AES78SHA-1RSAAES284.1.31ID2IDIDAES3AESIDAESAESRSAAESIDID4.2294.2.14.14.24.14.21AES2AESAESID30ID3IDAES44.2.24.34.44.34.4IDIDIDID311IDID234.2.34.54.64.54.6IDIDIDID321IDID2ID3IRP4.2.44.74.7IDID334.84.81IDID2.ID3IRPIRPIRP4.2.54.9IDID344.94.104.101IDID234.2.64.11IDIDIDID354.114.124.121IDID2,3AES4AESIDIDIDID364.3Windwos2000TDITDITCPUDP4.13TDITDI4.13TDI(TransferProviders)TDITDI(TDIClients)TDIZwXxxFileIOCall-DriverI/OI/OClientEventXxxClient-PnPXxxSocketsNetBIOS…SocketsSocketsNetBIOSNetBIOSAppleTalkNetBTNbfTCP/IPNWlinkTDINICNIC(s)TDIClientsTransferProviders374.14TDITDITDITDI4.14TDITCPC/STDI1IPTCPTCPTCPIRPTCP2NDIS[27,28]IoCallDrivFunctionCallFunctioncallIocompleteRequestIoCallDriverIRPIocompleteRequestIRPTDITDIZwCreateFileZwClose383TCPWinsock4TCP3955.1iSCSISAN5.15.15.2iSCSISAN40iSCSISANiSCSISAN5.3IDIDIDID41APIzwReadFile,zwWriteFile5.35.3.1FCiSCSI1FC[29]SCSIPIATM2iSCSIiSCSI2003211IETFiSCSISCSITCP/IP[30-32]iSCSIiSCSISANTCP/IP[33,34]iSCSISCSISCSITCP/IPTCP/IPSCSISCSITCP/IP42SCSI[35]3FCiSCSIFCiSCSITCP/IPiSCSIFC1iSCSIFC2iSCSI3TCP/IP4TCP/IPiSCSIFCFC5.3.25.25.2ES(DAS)DASFSNASSAN43NASSAN1NASApp
本文标题:基于广域网的虚拟磁盘技术研究
链接地址:https://www.777doc.com/doc-28714 .html