Abstract:With the development of China's economy, the area of office buildings and large-scale public buildings is increasingly growing, resulting in ever-increasing high energy consumption, such as electricity consumption, water consumption, and gas consumption. This system based on B/S structure and Webx frame technology can conduct statistical analysis of energy consumption. The collection program uses Go language technology to accquire data through network communication and serial device server which is then connected to the terminal device through the RS485 serial interface, and collects data by protocols such as modbus or opc. In addtion, data storage is deployed using MySQL cluster. Such modern information technologies help us to know the current energy consumption of the office building in real time. Refering the previous system design scheme, we then further upgrades and rebuilds technical selection, big data storage, acquisition system modularization, hardware performance, and other aspects to make the system easier to be maintained and extended, and meanwhile adds distributed deployment and so on in attempting to improve the load capacity. In terms of technical selection, the most popular and stable architecture scheme is selected. Moreover, an open-source and free MySQL cluster mode is used to replace the expensive Oracle database for database storage.