Abstract:There are a large number of showcases in the museum, there are also various types of sensors and instruments for monitoring the micro-environment in the showcases. The use of electronic equipment to centralize monitoring micro-environment parameters is the trend. A wireless gateway was designed to unify the showcase external data exchange: It collect the communication data of each instrument and sensor in the showcase, and then it converts RS485 data to wireless data to send out. The priority queues based communication agent mechanism also play an important role to achieve communication dispatching function of the C/S architecture system. It realized centralizing management of communication messages, then using heapsort algorithm optimizes priority queues. Through using those methods, the dispute of incompatible communication problems caused by diversified demands in micro-environment protection system settled. And it replaced the original rely on manual inspection to verify the micro-environment protection data, improved efficiency and stability. Practice has proved that the system works well in many museums like the Imperial Palace, and the system communication mechanism is stable and reliable, which can better meet the needs of the museum micro-environment protecting demands.