Font Size: a A A

Restaurant Management System On The Basis Of Embedded Technology And Linux Operating System

Posted on:2012-06-02Degree:MasterType:Thesis
Country:ChinaCandidate:L B KongFull Text:PDF
GTID:2218330335487719Subject:Optics
Abstract/Summary:PDF Full Text Request
Linux server architecture technology and applications development on the basis of Linux server is hot, both on academic circles and business areas. Linux servers are used in many industries and play important roles. Linux architecture technology is confidential, especially in embedded filed which is just to raise and develop, and much technology are being explored, so there are litter related information and reference documents. In this context, Restaurant Management System has been developed, whose core is Linux server. This paper discussed in four parts of the system as follows:In the first chapter, historical background of Linux server and its application in embedded fields is introduced. Open source and free Linux system operation is stable, reliable and low cost, in which server-side and client applications are to circulate. It is reasonable that system uses SQLite3, which is an open source, free and suitable for embedded field database, C and C++ programming language, Qt4 development environment, whose graphical user interface is for interface design.In the second chapter, it is proved to be stable and efficient that two threads are created for each client. It is possible that flag and data queue are adopted to coordinate the work and data sharing of Command processing thread and Communication thread. Adoption of job control can control creating, canceling, suspending and execution order in special tasks, which is to ensure robust and stable server application. A further package of database SQLite3 interface is a better interface, which is the uniform string format and can access uncertain parameters. The new interface make inquiring, storage and updating faster, and make developing more efficient. After the semaphore mechanism is used, many threads can mutually exclusively, safely and efficient access the database.In the communication links, the application can send and receive network data through TCP/IP protocol, Linux socket technology and custom Q&A style communication protocol. Finally, the Restaurant Management System is implemented, which consist of attendant terminal, kitchen terminal and front terminal. Server is the core of the system.In the third chapter, when chat function among client terminals is designed, making each client as an UDP-based server of text chat and adding broadcast function is a good idea which reduces the system server stress and promotes the efficiency. When the front end is implemented, the dynamic interaction between interface and database, real-time display and real-time control are fulfilled through fully exploring and combination of the function of Qt4 GUI. In the fourth chapter, some improvement ideas and the conclusion are showed. With adding voice chat, statistical functions, wireless network, Database backup and confidentiality, the system will become more powerful and more complete. The conclusions are as follows:Restaurant Management System the on basis of embedded technology and Linux operating system is stable and reliable, which shift the restaurant resource to information and digital resource. The system can improve management efficiency and service quality. Meanwhile, because the system has perfect function and user-friendly operation, it can completely be used in industry practice. Besides, the server architecture, the model of data sharing and communication are reasonable, so they can be applied on other embedded environment.Innovations of this paper are as follows:Firstly, on the server side, data transfer thread and command processing thread is independent, collaborative in work, shared.Secondly, design approach of management system is that it backup on the server side and other client terminal download the data. In the design progress, interface of the SQLite3 database is further packaged to have the uniform string format and access uncertain parameters. Besides, custom Q&A style communication protocol is special.
Keywords/Search Tags:Multithread server, Linux, Management system, Socket, Data synchronization and sharing
PDF Full Text Request
Related items