Research and Application of Network Block Device in Linux Environment
- Author
- LianZiFeng
- Advisor
- LiuYuZhen
- School
- Liaoning Technical University
- Major
- Communication and Information System
- Classification
- TP316.81
- Degree
- Master's thesis
- Year
- 2009
- Downloads
- 88
- Citations
- 0
Abstract
Universal Serial Bus (USB) has become the standard data interface of a variety of electronic devices, possesses an extremely broad range of applications. The most conventional method of data resource sharing is duplicating and transferring data through USB storage device. The biggest advantage of this method is its wide range of applications. But its shortcomings are that data replication will take a longtime, needing for large-capacity storage devices as data mediums.When transferring data through network, we do not need storage media to copy and transfer data. But the main drawback is that equipments which support network transmission are relatively few, this induced its narrow range of applications. Moreover, if cable network was used, the moving range and flexibility will be severely restricted.In order to integrate the advantages of the two methods above, while avoiding their shortcomings, this paper presents a new resource-sharing approach. That is to build a wireless network according to IEEE 802.11g standard, use Network Block Device protocol to obtain the resources of remote server, and then submit the data to user via USB interface. Such a scheme not only retained the USB removable storage devices’advantages of the wide range of application and the feature of plug and play, but also absorbed the features of network transmission, such as real-time access and be independent of storage media.This design takes full advantage of the widespread USB interface resources, achieves a convenient sharing of resources. The outcomes of actual tests also show that, such data sharing mechanism brings the network transmission capacity into full play, has a high value of practical uses.
Table of contents
Thank 4-5
Abstract 5-6
Abstract 6-10
1 Introduction 10-17
1.1 needs analysis 10-11
1.2 research program 11-14
1.2.1 major hardware 11-12
1.2.2 software architecture 12-14
contrast with the advantage of the 1.3 design and similar programs 14-15
1.4 In this paper, 15
1.5 paper structure arrangements 15-17
2 Linux device drivers under 17-27
2.1 the Linux device management 17-20
2.1.1 the Linux operating system on the device Category 17-18
2.1.2 device driver in the hardware and software systems 18-19
2.1.3 device driver part of 19 - 20
2.2 under Linux block device driver 20-23
2.2.1 block device initialization 20
2.2.2 buffer mechanism to read and write requests processing 20-23
2.3 network device driver 23-27
2.3.1 network driver structure 23-24
2.3.2 Driver Interface 24-27
3 802.119 Ad Hoc wireless networks of the formation of 27-45
3.1 wireless LAN structure 27-32
3.1 .1 The basic structure of the wireless LAN 28-29
3.1.2 Point-to-Point Ad Hoc Networks 29-30
3.1.3 the Ad Hoc network topology 30-32
3.2 802.119 Ad Hoc network frame type and frame format 32-35
3.2.1 Frame types 32
3.2.2 Frame structure 32-35
3.3 the Marvell The 88W8686 the WLAN chip 35-41
3.3.1 The 88W8686 features and benefits of 35-36
3.3.2 the Marvell The 88W8686's host interface 36-39
3.3.3 Host Driver and Firmware architecture 39-41
3.4 network configuration 41-45
3.4.1 networks is security settings 41-42
3.4.2 device-side wireless network setup process 42-45
4 USB storage devices function software simulation 45-56 < br /> 4.1 USB 2.0 data transmission bus architecture 45-47
4.1.1 USB bus data transmission 45-46
4.1.2 the USB device logic structure 46-47
4.2 USB interface for embedded devices 47-49
4.2.1 embedded devices in the USB interface mode 47 -48
4.2.2 embedded USB device's basic functions 48-49
4.3 block device to achieve the functionality of USB storage devices 49-56
4.3.1 USB device drivers under Linux hierarchy 49-50
4.3.2 Linux Gadget subsystem and USB Host interaction 50-51
4.3.3 high-capacity storage device data transmission 51-52
4.3.4 Linux Gadget system, program analysis and 52-55 the
4.3.5 USB File_Storage the Device driver is loaded and 55 -56
5 network block device analysis and 56-67
5.1 network block device is the basic framework 56-57
5.2 NBD server program designed 57-61
5.2.1 Network Block Device response file system read and write request process 57-58
5.2.2 This program structure of the NBD server-side design 58 -60
5.2.3 address space expansion 60-61
5.3 NBD customer-side programs designed 61
5.4 NBD-driven program design 61 -65
5.4.1 NBD driver data structures 62-63
5.4.2 driver processes 63-64
5.4. 3 processing of read and write requests 64-65
5.5 NBD driver registration and unload 65-67
measured performance 67-69
6.1 The test method 67
6.2 test steps and results 67-68
6.3 test data analysis 68-69
conclusions 69 - 71
References 71-73
the Appendix critical function 73-77
of resume 77-79
dissertation data sets 79-80
Related dissertations
- Design and Implementation of Four Channels High Speed Synchronous Sampling in Sound Source Localization System
- Usb Without Invasive Data Collection Technology Research
- Hardware Design for Circuit Fault Diagnosis System Based on JTAG Interface
- Study on FPGA Research and Implementation of Multi-Channel Image Acquistion System
- Grating Data Acquisition and Error Correction Technology
- CCD Data Acquisition System Implementation Based on FPGA
- Research of Data Acquistion System Based on FPGA
- Research and design of intelligent 3D pulse peak field strength tester
- Multi functional comprehensive test instrument based on Virtual Instrument Technology
- Embedded Fingerprint Identification System and Storage Technology
- Research on the Digital Broadband Electromagnetic Tomography System
- VxWorks Migration on VME Bus Embedded Controler
- Embedded Linux-based USB Encryption Driver Design
- Research and Implementation of Usbtmc Specification about Universal Test Instrument
- Research Communication Device and Communication Protocols Based on USB Interface
- Research and Implementation of Infrared Touch Screen Based on HID Class
- The Designand Realization of Embedded USB Mass Storage System
- Design and development of laser gyro and USB interface frequency test system
- Research and Implementation of Multicast Routing Protocol Based on Minimum Cost Connectivity
- Research of Shadow Network System Based on Wi-Fi Technology