Gui Design and Application Oriented to Embedded Ultrasonic Detecting System
|School||Harbin Institute of Technology|
|Course||Control Science and Engineering|
|Keywords||color ultrasonic imaging system GUI(Graphical User Interface) embedded system object oriented|
This thesis describes a new GUI (Graphical User Interface) for a color ultrasonic imaging system. With the development of SOC technology and embedded system, digital ultrasonic detecting systems are smaller and more intelligent. The history and implement method of some existing GUIs for embedded system is studied, and several defects are discussed. After interaction with the users, software requirements of color ultrasonic imaging system is analyzed, the structure of the software is divided into eight subsystems, and the sequence diagram of the doctor, the imaging system and the patient is given.A multi-process GUI architecture based on the client/server model is proposed. The server manages user input device such as mouse and keyboard, and translates the input events to formatted messages, while the client handles the messages and updates the window display. D-Bus is a system for low-latency, low-overhead, easy to use interprocess communication (IPC), and is designed to integrate Linux desktop applications. Object-oriented technology and design patterns are applied along the developing circle. MVP pattern, which has some improvements comparing with MVC pattern, is specified as the application foudation. Window system is a very important part of GUI system, windows and controls are organized in the tree structure, Z-order and clip region are introduced to choose correct displaying regions. In message subsystem, event-driven model is build using observer pattern and chain of responsibility pattern.The software is implemented based on the new GUI toolkit, the main window and some settting dialogs are realized. Front-end control subsystem is designed using strategy pattern, while measurement-calculation subsystem is designed using state pattern and command pattern in detail.The new GUI system achieves high stability, extensibility and flexibility, and reduces the product research cycle.