Abstract:The multi-threading technology and SuperSocket technology are used to design the remote management system software of the upper computer. The user commands are transmitted to the lower computer through the TCP/IP protocol. The wellhead device uses the STM32 microcontroller as the controller, and uses the GPRS module to receive the host computer command and transmit the real-time data of the water injection device.After testing, the host computer software can send control commands to the lower computer in real time, and the response time of the system is about 1 s. This research has reference significance for the research of intelligent control of water injection in other oil fields.