Development of Memory File Management Module on Platform Software Based on VxWorks

Author
WangYing
Advisor
XuZhiJiang , ZhuJian
School
Zhejiang University of Technology
Major
Control Engineering
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2012
Downloads
26
Citations
0

Request the full text

Abstract

With the rapid development of social informationalization, embedded real-time operationsystem has been penetrated to all fields of our daily life, including telecommunications,transportation, industrial controls, aerospace, data communication networks and consumerelectronics and so on. The file system, functioning as data storage and management, is animportant component of embedded systems. In particular, embedded systems are mostly notequipped with external storage devices, so to design a reasonable and practical memory filesystem is imperative.Based on VxWorks operating system, to address the memory file storage andmanagement in the context of multi-task real-time software platform for exchange system board,this paper puts forward a design and actualization method of memory file management modulewherein this method is applicable to basic operation of memory files such as reading and writing,and with this method, it is also possible to download/upload files from remote servers for accessand modification of remote files.Firstly, basing on analyzing the basic features of the operating system VxWorks and theapplicability of the file system and the memory file system of VxWorks,we designed memoryfile management module, provide fast file access interface, realizing operation of opening,reading, displacing and closing files. At the same time add NFS and FTP clients as well as ICPupload/download client to the memory file module, allowing the application layer can access tothe remote files directly through the memory file modules, accordingly reducing the complexityof accessing to the remote files at application layer.The final test results suggest that the designed memory file management module canactualize accurate reading, writing, length and location perceiving, displacement, renaming,closing and deleting of local memory files or remote files downloaded through transmissionmodes of NFS, FTP, ICP etc.. As it reached the expected goals and features advantages of high pertinency and reliability, convenience in usage and so on, it is well applicable to memory filemanagement of switch boards.

Table of contents

Summary 5-6 ABSTRACT 6-8 directory 8-10 illustrations 10-12 form 12-13 Chapter 1 Introduction 13-17 1.1 research background and significance of 13-15 1.1.1 background 13-14 1.1.2 project Source 14-15 1.2 thesis and organization 15-17 1.2.1 dissertation research 15-16 1.2.2 papers organizational structure 16-17 Chapter 2 VxWorks operating system and file system 17-26 2.1 embedded VxWorks operating System Introduction 17-23 2.1.1 VxWorks basic features 17-18 2.1.2 VxWorks module analyzes 18-19 2.1.3 VxWorks task communication between 19-23 2.2 embedded VxWorks file system 23-24 2.3 memory file system analysis 24-25 <br / > 2.4 Chapter Summary 25-26 design and Implementation Chapter 3 nbsp memory file management module ; 26-61 3.1 development environment and design requirements 26 - 29 nbsp 3.1.1 development environment ; 26 3.1.2 memory file management module design requirements property 26-29 3.2 memory file 29 - 30 3.2.1 memory file attributes 29-30 3.2.2 location attribute memory file 30 3.3 memory file organization and implementation 30-34 3.3.1 key data structure 30-33 3.3.2 file BUF node Manager 33 3.3.3 file status 33-34 3.3.4 file elimination mechanism nbsp 34 3.4 file operations ; 34-37 3.4.1 memory file HASH table design 35 -36 3.4.2 file upload 36-37 3.4.3 Download 37 3.5 remote file upload and download channels 37-44 3.5.1 ICP transmission 37-40 3.5.2 NFS transfer 40-43 3.5.3 FTP transmission 43-44 <br / > 3.6 memory file management related API implementation 44-59 3.6.1 module initialization function cacheFileInit () 45 3.6.2 file create / open function open () 45-47 3.6.3 file Close function Close () 47-48 3.6.4 file read function read () and file read line function Gets () 48-52 3.6.5 file write function write () and file to replace the function Append () 52-57 3.6.6 file length to get the function Len () and position acquisition functions Tell () 57 3.6.7 files displacement function cacheFileSeek () 57-58 3.6.8 file deletion function Del () and rename the function rename () 58-59 3.6.9 Download write function DownWrite () and upload function UpDone () 59 3.7 Summary 59-61 Chapter 4 memory file management module test 61-75 4.1 test environment and methods 61-64 4.1.1 development test environment 61 4.1.2 test Method 61-64 4.2 functional Test 64-74 4.2.1 function Open () and Close () test 64-67 4.2.2 function Write () test 67-68 4.2.3 function Append () test 68-70 4.2.4 function Read () and Gets ( ) test 70-71 4.2.5 function Seek () test 71-72 4.2.6 function Len () and Tell () test 72 4.2.7 function Del () and Rename () test 72-73 4.2.8 functions DownWrite () and UpDone () test 73-74 4.3 summary 74-75 Chapter 5 conclusions and Outlook 75-76 5.1 summary 75 5.2 further research 75-76 References 76-78 Appendix 78-86 Thanks 86

Related dissertations

  1. Software Design of the Embedded System for Underwater Targets Recognition
    DuNaMei ·Harbin Engineering University ·2013 ·Master's thesis
  2. Study of Universal Bus Control Technoloy Based on Industrial Ethernet
  3. VxWorks simulation of the flight control system research and design based on
  4. Design of Sky-ground Electronic Mail System
  5. Research and Realization of Video Surveillance and Play Based on ARM9Hardware Platform
    PanZuoZuo ·Dalian Polytechnic University ·2010 ·Master's thesis
  6. The Study of Remote Video Monitor System Baced on ARM
    GuoZuo ·Hebei University of Technology ·2012 ·Master's thesis
  7. Design and Implementation of Intelligent Video Surveillance System Based on Embedded Linux
    JinPing ·Central South University ·2013 ·Master's thesis
  8. Video Surveillance System Based on Embedded Technology Research
  9. Design of Video Monitoring System Based on the Embedded
  10. The Design of Embedded Network Video Surveillance System Based on ARM9
  11. Research and implementation of remote monitor system of ship based on the technology of the Internet of things
  12. Design of Video Surveillance Software Based on Ti Dm6446Processor
    YuanWei ·Zhejiang University of Technology ·2013 ·Master's thesis
  13. Data Acquisition System of Cavern Based on Embedded Web Server
  14. Research and Realization of Embedded Data Acquisition and Recording System for Industrial Process Based on ARM
    LiuDaoLin ·Dalian Polytechnic University ·2008 ·Master's thesis
  15. Research on the Indoor Air Monitoring System Based on Embedded Linux
  16. Research and Realization on the Key Technology of Monitoring System about Granary Environment Based on ARM9
    SunZuoLi ·Hunan University ·2013 ·Master's thesis
  17. Automatic Switcher Based on Embedded System Design and Implementation of Test Platform
  18. Research on Meteorological Data Acquisition and Processing System
    ZhaoSheng ·Wuhan University of Technology ·2013 ·Master's thesis
  19. The Research of the Design and Application for Embedded Remote Terminal Unit
    XiaRui ·Northeastern University ·2013 ·Master's thesis
  20. Design and Implementation of Magnetic Card Detection System Based on Embedded System