| Direct water dispensers are commonly utilized to purify tap water by companies and families in nowadays.However,when the direct water dispenser failed to purify tap water,users and manufacturers can not obtain water quality information real time,the users may drink a lot of unclean water.Thus,it is necessary to monitor the performance of direct water dispenser and feedback the quality information of water to users and equipment manufacturers timely.But the traditional water quality monitoring methods can not meet the users’ and manufacturers’ need of obtaining water quality information from the mobile side in time,which can be solved by using Mobile Internet technology to achieve the remote real-time transmission.Through in-depth research on Mobile Internet technology and We Chat hardware platform communication protocol,one general solution based on the We Chat platform for accessing hardware devices into the mobile Internet is proposed in this thesis.The solution mainly solves three problems:(1)remote data exchange between user and manufacturer server;(2)the communication interface matching between hardware device and manufacturer server;(3)the remote management of devices and users through background server.In addition,the Air Kiss distribution network protocol is successfully introduced in this thesis.The protocol can configure Wi-Fi networks for hardware devices through phones that have been connected to Wi-Fi networks without adding peripherals.The water quality monitoring system is successfully connected to the mobile Internet in this thesis using the above scheme.The communication protocol between hardware device and manufacturers server is designed by Socket programming.The communication between the user and manufacturers server is realized through the HTTP protocol to transport XML packets.The management of users and equipment is realized based on We Chat hardware platform.The detailed contents mainly include the following parts: the overall design of this system is completed first.The system realizes intercommunication among users,manufacturers,We Chat server and equipment.Then the modular design of the system background program is completed.Many functions are completed in the system,such as basic messaging,customize menus,generate device code,equipment authorization,equipment binding,distribution network,water quality information real-time query andsend alarm E-mail.The test results verify the feasibility of the system.Users and equipment manufacturers can timely obtain water quality information through We Chat hardware platform,and find out the performance of the direct water dispensers. |