1 Overview
1.1 Project Background
In industrial production, monitoring the production process is a very important link: on-site engineers need to monitor the control system, monitor important parameters of the industrial process in real time, browse historical records and trends of various parameters, and promptly process alarm information; Control engineers need to optimize the production process, monitor various important parameters of the control system, evaluate the performance of the control system, and record historical information as the basis for optimizing control algorithms; Product managers need to develop production strategies and obtain real-time and convenient updates on the progress and status of product production. How to adapt to diverse monitoring application scenarios, the solution of monitoring through smartphones and mobile devices has emerged.
1.2 Scheme Introduction
Smartphones have the advantages of easy portability, humanization, easy scalability, and open operating systems. They can be used to develop control system monitoring software based on the Android platform, enabling parameter collection, database development, and mobile UI human-machine interface development. This plan is aimed at the existing Siemens
The automation system of PLC+WinCC extends the mobile monitoring function on this basis, and the entire system hardware is composed of Siemens PLC and WinCC (with SQL)

The system consists of a server database terminal, a data upload terminal (data processing server), a web server (cloud based web server or intranet web server mapped through router port forwarding rules), and a mobile Android phone.
1.3 System Framework:

Figure 1 Topology diagram of cloud server solution
Alternatively, an intranet web server can be deployed on a single terminal with data processing software and WebService, using dynamic domain name resolution through peanut shells and port forwarding rules set by routers for mapping
Figure 2 Simplified (Intranet Web Server) Topology Diagram
2 Software Design
2.1 Requirement analysis
a. User target: on-site engineers, control engineers, product managers and other management personnel who have Android mobile terminals to monitor industrial production processes;
b. User expectations:
1. Monitor the control system: Real time monitoring of important parameters in industrial processes, browsing historical records and trends of various parameters, and timely processing of alarm information;
2. Optimize the production process: monitor and control various important parameters of the control system, evaluate the performance of the control system, and record historical information as the basis for optimizing control algorithms;
3. Real time and convenient access to the progress and status of product production, and formulation of production strategies.
2.2 Software Functions
a. Select each monitoring node and switch the monitoring interface;
b. Real time monitoring of process information at each node in the form of a curve or column chart, and viewing of equipment information;
c. View historical and statistical information, which can be viewed in the form of pie charts, bar charts, and trend charts, and perform multi data comparative analysis.
2.3 Overall Design Overview
a.
The control system monitoring software based on Android mobile terminals is a typical B/S structure application; Multiple Android mobile clients can simultaneously make requests to web servers through the Internet and obtain real-time data. Develop an Android mobile client app system, organize and define various functional interfaces according to customer needs, and provide a friendly interactive UI interface.
b. A web server builds a WebService to receive and respond to data requests from external systems (Android mobile clients and data processing servers).

c. Deploy data collection programs on the data processing server, resident processes, and complete the main logical processing. By calling database interfaces and network communication interfaces, communicate in real-time with the Wincc end (SQL Server), collect and upload valid Wincc data to the web server.

2.5 Overview of Android APP Functions
a. Functional module diagram:
b. UI Example: