With the rapid development of social economy and the overall advancement of technology, people are constantly in pursuit of quality of life. Computer industry and the rapid development of mobile Internet technology that making our lives become more intelligent, but people have been unsatisfied with the communication just between people and people, but people and things’ s "dialogue", things and objects’ s "communication", will become the new trends of grid network technology.This article relies sophisticated embedded development technology, combined with a very high market share Android system, equipped with choosing S5PC100 development platform which contain high-performance CPU names CORTEX-A8 for the control board, combined with efficient video encoding and decoding algorithms and software control technology, developed a camera module, LCD display module, ROBOT control module, M0 temperature and humidity monitoring module, as well as Android client module, designed the warehouse intelligent monitoring system a typical networking applications direction. The system implements real-time camera image capture, video format conversion, compression, storage, transmission, gathering real-time temperature and humidity, as well as the client is free to move to the master control platform. WIFI module use to establish communication between the server and the client to achieve the client to receive and process real-time information warehouse.On the MPU side, using I/O multiplexing technology on the design of the server, to make it can handle multiple client’s connection requests simultaneously, and use the multi-threading technology to improve the concurrency of each module, and the use of mutex and message queue which are provided by Linux kernel on the system to make sure that it can access to the shared resources synchronizily and exclusively to resolve the compete state brought by the execution of multiple threads; Using interfaces which provided by V4L2 and video compression library provided by FFMPEG and X264 kit to complete the real time video collection and the compression and storage of the sampled video data based on H.264 standard,and thus completed the design of camera video capture module; Using the frame buffer technology to achieve the LCD display module; Based on standard serial programming to achieve the Robot mobile control module and M0 temperature and humidity acquisition module; Finally, based on the hierarchical division of design ideas, and also in order to make the levels of the code clearer, and easier to maintain, designed the main program module to manage the other independent functional modulesOn the client side, using WiFi as the connect medium, and combine with Java socket interface under the Android system to develop the network programming, and finally achieve a wireless communication with the server in LAN. Realize the transmission of the real-time video data betwene this C/S architecture. Using the Handler technology of Android to display the video date and it also enables the client to control the Robot mobile platform and acquire the real-time what are temperature and humidity information from M0 module.Finally, assemble each hardware device and download each compiled application module which are individually designed. Debug each module enable designers to develop the basic realization of the function and made some suggestions in some areas for improvement.the system. |