Research and Application of WebCam Control System Based on RTSJ
- Author
- WangXiaoFei
- Advisor
- SunXiaoLi
- School
- Dalian University of Technology
- Major
- Applied Computer Technology
- Classification
- TP391.41 Image recognition device
- Degree
- Master's thesis
- Year
- 2007
- Downloads
- 120
- Citations
- 3
Abstract
In recent years, embedded systems are widely used in the field of automation, transportation, electronics and consumer electronics, and rapid development. At the same time, the size and complexity of embedded software has also increased rapidly, while traditional embedded systems Ji Fat language c language or even assembly language has not a very good control this complexity and code reusability and development efficiency is not high. Therefore require new development methods and means. The Java language, its object-oriented features, rich API, reusable, rapid development, and security features to become the preferred solution. Most embedded systems for real-time systems, high uncertainty and deadline requirements for the program to run, and garbage collection mechanism in the Java language, dynamic class loading and local code compilation features become obstacles to its application in the development of real-time systems . Real-time Java Specification (RTSJ) It is proposed in order to solve the above problems. Studied RTSJ the various improvements mechanisms for traditional Java, including real-time threads, immortal memory areas of memory, asynchronous transfer control, and in the study using the the RTSJ and analysis of real-time Ravenscar-Java programming model based on the model remove some restrictions, especially on the field of memory usage restrictions require multiple threads at the same time in the same field of memory can only start to share in the field of memory and other circumstances do not allow multi-threaded shared areas of memory, in order to be able to be more flexible the field of use of memory, and better guide the development of the soft real-time systems. Starting from the actual business needs a USB camera control system was designed and implemented. Firstly, using Java to develop a common control system, do not use The RTSJ found to be unable to meet the real-time requirements to pass the test, after a detailed analysis of the real-time problems there. RTSJ-based USB camera control system developed under the guidance of a real-time model. The system under development in a Linux environment, access control to the camera through the V4L2 also used JNI and SDLJava running in of TimeSys the real-time virtual machine RI. The system features include capture video data from the camera to receive user operating instructions filming video, crawl picture, adjust the properties of the camera, such as contrast, brightness, the camera up and down, left and right angles. Finally the test, show that the control system based on the RTSJ able to meet real-time requirements.
Table of contents
Abstract 4-5
Abstract 5-9
1 Introduction 9-13
1.1 subject background 9-11 <br / > 1.2 Real-time Java Research 11
1.3 The main work the organization 11-12
1.4 thesis 12-13
2 systems development related technology 13-24
2.1 SDL 13
the 2.2 JNI technical 13-16
2.3 by the V4L2 16-17 <br / > 2.4 real-time system 17-21
2.4.1 the definition of real-time systems the 17-18
2.4.2 Real-time scheduling mechanism 18-21
2.5 The RTSJ 21-24
2.5.1 The RTSJ Introduction 21
2.5.2 The RTSJ main features
21-22 2.5.3 real-time virtual machine 22-24
Summary 3 control system design and process analysis 24-28
3.1 outline design 24-25
3.1.1 The overall objective 24
3.1.2 System development environment 24
3.1.3 System structure diagram 24-25
3.2 system processes 25-28
3.2.1 Initialization and video capture process 25-26
3.2.2 event handling process 26-28 <br / > 4 control system to achieve 28-58
4.1 system functions achieve 28-35
4.1.1 initialization part 28-30 <br / > the 4.1.2 video capture part of the realization of 30-33
4.1.3 Image capture and video saved part of the realization of 33-34
4.1.4 event handler achieve 34-35
4.2 non-real-time control system 35-38
4.3 the RTSJ to solve real-time problems in the system 38-46
4.3 .1 use of real-time threads instead of ordinary thread 38-40
4.3.2 use immortal memory and the memory in the field of memory management 40-44
4.3.3 using asynchronous transmission control terminated thread 44-46
4.4 real-time Java programming model 46-49
4.4.1 Ravenscar-Java real-time model 46-47
4.4.2 Ravenscar-Java modify 47-49
4.5 based the RTSJ control system 49-56
4.5.1 Real-time solutions 49-50 <br / > 4.5.2-based the RTSJ control system to achieve 50-56
4.6 test 56-58
conclusion 58-59
Reference 59-61
a master's degree during the academic situation 61-62
Acknowledgements 62-63
Related dissertations
- The Design of Small Coal Mine Remote Monitoring System Based on ARM
- Research and Development of Froth Flotation Video Surveillance Hardware Platform Based on DSP
- Research and Implementation of Intelligent Video Surveillance System Based on Android
- The Research and Design of Embedded Graphic Remote Monitor Terminal
- Research and Realization of Dynamic Simulation Circulating Water Device Control and Data Processing System Based on ARM
- The Design and Implementation of Integrated Data Acquisiton Instrument Hardware Platform for Gas Station
- The Research for the Engraving Machine Control System Based on ARM and FPGA
- Design and Implementation of Control System for Stabilized Platform Based on Embedded System
- Study on the Control System of Lower Limbs Rehabilitative and Fitness Robot
- Android-based Remote Control System for Mobile Robot
- The Research of Embedded Web Sensor Node
- The Research of Embedded Image Processing Technology Based on ARM
- The Research and Realization of Target Tracking Algorithms on Embedded Platform
- The Core Algorithm Research and System Implementation of Embedded Image Information Processing System
- Development of embedded network fingerprint attendance system
- A Drowning Features Recognition System Based on AIS
- Design and Implementation of Automated GUI Testing Framework Based on Android
- Android3D Game Engine Development
- Porting and Research on Android Based on CK810
- Research and design of secure data terminal based on Trusted Computing