In embedded systems, there is time-limit in the operation of database. It is required that running reliable, so that one embedded system can continual run a long time without manual intervention. At the same time, in order to insure the performance of system, the operation of database must be foreseeable, and the scale and performance should be foreseeable too. Considering the needs above, embedded database is adopted by most of embedded developer because of the superiority of embedded database which is smaller, faster, easy to use and stable.Using the development board TQ2440 made by embedsky as the Hardware development background, the Qt program is designed and debugged by a virtual Linux operating system on windows platform with C language to implement the function of the home monitoring system.In the field of intelligent monitoring, there is a large amounts of real-time data to collection and it will need the least time consumption to storage these data; the storage of monitoring data become a big problem when considering the limited hardware resources of embedded device. Embedded database provides a very good solution. This design uses the solution of “SQLite database + embedded linux + Qtâ€,which devotes embedded database to home monitoring system and achieves the function of storage, query, and delete collected data. |