| With the continuous development of computer and network technology, the network system expand increasingly, and the structure of network is more complex, then the management of various device by network becoming a indispensable link in current information society. Traditional device monitoring system is a centralized structure which based on SNMP(Simple Network Management Protocol), it has a lot of shortcomings and deficiencies, such as the nonsupport of classification, the breakdown happened on single point easily, the pool support of configuration information storage for device once the power is cut off , etc.As for disadvantages arising from traditional device monitoring system, a multi-layer structure and a distributed design method based on the Ice middleware and C/S model are presented in this topic, they're improve the reliability and scalability effectively. The system consist of three parts, they are variable container, variable editor and gateway. Among them, the variable container used to store the current value and historical value of the control variables and the state variables. The control variable information of device is passed to variable container after being revised by variable editor, and then it is sent to device by gateway to achieve the purpose of controlling the device action, while the state variables is reported by device to variable container through the gateway, and then passed to the variable editor for users to view the status of device.In this paper, the efforts have to participate in the design of such distributed device monitoring system, but also designed and implemented the variable editor in the system. The editor uses C++ language for developing, the underlying communication is realized based on cross-platform distributed middleware Ice, and its graphical interface is based on cross-platform GUI library wxWidgets, the information description and data exchange using standardized XML format for implementation, uses XML format which has favorable commonality to achieve the design of information description document and the storage of variable value, which could resolve the issue of platform differences and reduce migration troubles. And then, the editor uses Plug-in technology to improve its adaptability and scalability. In addition, in order to achieve the particular variable of keys in security device, this paper designs a separate key generator to update the keys which need to be updated, and the key generator provides key histories so that the user could view or restore the keys. The variable editor and key generator achieved the management of the various device variables in whole device monitoring system by means of communications with the variable container, and it provides hierarchical solution for the enterprises and institutions or organizations to monitor the equipments, and then implements hierarchical, compartmental, efficient, reliable management for the devices. |