How to network and remotely manage multiple UPS in LAN

2020-04-30  hits:3531

With the development of UPS technology, UPS not only needs to have high availability, but also needs to have the ability to automatically deal with various power problems under unattended conditions, to maximize the protection of user applications and data, and to minimize The negative impact of small power supply problems on users. Provide WWW service through LAN or equipment, real-time monitoring of remote UPS equipment can be realized on the Internet.


The meaning of intelligent network UPS system


The intelligent network UPS system emphasizes the protection of the entire network. It is a system engineering that considers the UPS management function of the network operating system, UPS monitoring software, UPS backup technology, UPS power supply scheme and UPS system integration. To design a truly intelligent network UPS system, the UPS management function of the network operating system should be fully considered first.


Smart UPS is a UPS with monitoring and management functions. The main difference between it and ordinary UPS is that the output of the smart UPS is added with DB9, RS232, R485, AS/400 communication interface or SNMP (Simple Network Management Protocol) card. Cables or modems are connected with servers, routers or gateways to complete certain monitoring and management functions; in addition, special UPS monitoring software must be equipped. In addition to providing basic functions such as automatic shutdown, the monitoring software also has many advanced management functions, such as: automatic discharge protection, remote shutdown of UPS, tracking of battery energy storage, automatic paging of administrators (BP function), sending emails to relevant personnel, etc. ; Finally, also consider UPS backup redundancy technology.


UPS power system integration scheme


The current system integration is mainly reflected in the integration of network equipment, and the integration of UPS power system is hardly mentioned. The author believes that now is the time to consider the integration of UPS with the application environment. Because the UPS using the latest technology is not only a power protection device, but also an intelligent power management system, which is essentially different from the traditional UPS.


Both the UPS hardware interface and the UPS monitoring and management software have the conditions for integration. Only by realizing the seamless connection between the UPS and the application environment, can the potential of the UPS be used to the limit; the equipment manager can also detect, control, and manage the use status of the UPS more conveniently and quickly, and according to the different needs of the application, provide the RS232 Interface, SNMP interface to Modem connection and other management solutions. Figure 1 shows the integrated scheme of the UPS system of an intelligent building. In the picture, UPS can provide various signal interfaces.


In power systems with a high degree of automation such as computer rooms and intelligent buildings, fire alarm signals, temperature detection signals, and security systems can all be connected with UPS contact signals. When a problem occurs, the alarm signal is activated and the UPS is turned off urgently. The UPS monitoring software installed on the computer in the monitoring room can not only detect the UPS network of the building, but also detect the status of the remote UPS to monitor the safety of the entire power supply system.


Design of UPS Remote Management System Based on Embedded Web Server


1. The composition of UPS remote management system


UPS remote management system is mainly composed of embedded Web server, device manager, device management information database, UPS control interface, and UPS. The embedded Web server is mainly responsible for HTTP service requests; the device manager is mainly responsible for reading the UPS status and setting device parameters, that is, operating the equipment; the management information database mainly records the status information of the UPS equipment; UPS is the equipment to be managed.


2. The communication process of UPS monitoring system


The communication process between the browser and the embedded Web server


First, the URL request from the Internet or LAN client browser is transmitted to the local area network and directly arrives at the Ethernet interface of the embedded Web server; secondly, the embedded Web server responds to the URL request, and after security authentication, the user page is called and Return to the request page; finally, after receiving the response, the browser can send a request to call the UPS to monitor, the device server responds and interprets this request, and sends the action control command set by this request and its related auxiliary commands to the device.


The communication process between embedded Web server and device server


The device server periodically reads the status information of the UPS through the Megatec protocol, and updates the management information database. When the web server responds to the client request, it reads the data in the management information database or sets the device status through the device manager. The equipment server regularly reads the status of the UPS to update the management information database, so that the status of the UPS is consistent with the data in the management information database, so as to achieve the purpose of managing the UPS.


Design of UPS monitoring software


On the embedded WEB server, one of the difficulties in programming the TCP protocol is the specific process of establishing and terminating the connection. The TCP protocol is a connection-oriented protocol. Regardless of whether the two parties of the connection send data to the other party, they must first pass the "three-way handshake", establish a connection between the two parties, and then pass the "four-way handshake" after completing the data transmission. Terminate the connection. After the connection is established, TCP can send data blocks, called data segments. After TCP sends a segment, it waits for the destination to confirm receipt of this segment; if it fails to receive an acknowledgment in time, it will resend this segment.


In addition, TCP will also check and check the data. When a UPS fails or an accident, the device server first initiates and sends an alarm. At this time, the browser side is specifically responsible for processing by a special event processing receiver. This process is initiated by the device side, and other monitoring and control requests are all Is initiated by the management staff by the management station


1. When the manager manages through the Web or a proprietary management station, it is initiated by the management station to establish a connection and interactive communication, and return to the client in the form of a web page to achieve the goal of monitoring and control;


2. The EID/WED Processor initiates an accident or event notification, which is initiated by the device server and is directly sent to SNMPTrapReceiver for receiving and processing.SNMP Trap Receiver and SNMPManager are independent, and SNMPTrap Receiver directly monitors event messages sent by the device server. , And deal with it accordingly, and finally can be displayed in the form of a Web page.


EmbeddedSNMPAgent is responsible for collecting UPS status information, and updating the MIB library through MIB Updater on a regular basis or at the request of the manager, ensuring that the WebServer can find the corresponding device status and return it to the Web browser in time. HTML Storage saves the page files that the administrator interacts with UPS. These are directly downloaded to Dataflash through a special client during the initial management of UPS, and this part of the file can be updated through the update program in the future.


The client browser first establishes an HTTP connection with the embedded Web server. The Web server reads the specified file and management information, returns the corresponding HTML file, and downloads the corresponding JavaApplets and other program files to the client through the embedded Web server in the browser's Java Running on the virtual machine, the client program establishes a network connection with the device server (via UDP datagram), and the client can send device monitoring and control commands to the Web server through the network connection. The device server interprets these commands, and the device server uses the Megatec protocol. Interact with UPS to complete the monitoring of UPS.


The device server completes the conversion of user instructions from the network into instructions that UPS can recognize and transmits them to UPS for execution. At the same time, the device server also converts the status of UPS into a format that can be recognized by the client, and returns to the client via UDP datagram to complete the client. The remote monitoring, diagnosis and management functions of the UPS.


prev:Introduction to Worl...