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 supply problems under unattended conditions to maximize the protection of user applications and data security , To minimize the adverse impact of power supply problems on users. Provide services through the local area network or equipment, you can monitor the remote UPS equipment in real time on the Internet.
The meaning of the intelligent network UPS power system:
The intelligent network UPS system emphasizes the protection of the entire network. It is a network operating system considered from the aspects of UPS management function, UPS monitoring software, UPS backup technology, UPS power supply scheme and UPS system integration. To design a truly intelligent network UPS system, we must fully consider the UPS management function of the network operating system itself.
Smart UPS is a UPS with monitoring and management functions. The main difference between smart UPS and ordinary UPS is the addition of DB9, RS232, R485, AS/400 communication interface or SNMP (Simple Network Management Protocol) card to the output of the smart UPS. These interfaces are connected to servers, routers or gateways through cables or modems, which can complete certain monitoring and management functions. Special UPS monitoring software must also be provided. In addition to basic functions such as automatic shutdown, the monitoring software also has advanced management functions such as automatic discharge protection, UPS remote shutdown, battery energy storage tracking, automatic paging of administrators (BP function), and sending emails to relevant personnel; finally, UPS backup Redundancy techniques should be considered.
1. The communication process between the browser and the embedded web server
First, the URL request from the Internet or LAN client browser is Send to the local LAN and directly to the Ethernet interface of the embedded Web server; secondly, the embedded Web server responds to the URL request, passes the user page after the security authentication, and returns the requested page. Finally, when the browser receives a response, it can send a request to monitor the UPS. The device server responds and interprets the request, and sends the requested action control command and related auxiliary commands to the device.
Second, the communication process between the embedded web server and the device server
The device server periodically reads the status information of the UPS through the megatec protocol and updates the management information database , The web server reads the data in the management information database according to the client's request or sets the device status through the device manager. The device server periodically 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 UPS management.
3. Design of UPS monitoring software
On the embedded web server, the specific process of establishing and terminating the connection is programmed and realized by TCP protocol One of the difficulties. TCP is a connection-oriented protocol. No matter which party of the connection sends data to the other party, it must first establish a connection between the two parties through a three handshake, and then terminate the connection through a four handshake after the data is transmitted. After the connection is established, TCP can send data blocks, called data segments. When TCP sends a segment, it waits for the destination to confirm that it has received the segment; if it fails to receive the confirmation in time, it will resend the segment.
In addition, TCP will check and verify the data. When a UPS fails or an accident occurs, the device server first issues an alarm. At this time, the browser side is specifically responsible for handling event handling and receiving procedures. This process is initiated by the equipment side. Other monitoring requests are initiated by the management staff by the management station.