The video automatic optimization control method of ship lock based on configuration software, step 1: when the upstream is initialized, detect the command to open the upstream valve, the size of the water level difference, and optimize the display of different screens; step 2: after the upstream valve is fully opened, detect the command to open the upstream gate, optimize Display different screens; Step 3: After the ship enters the lock chamber area, detect the upstream valve closing command and optimize the display of different screens; Step 4 After the upstream gate is fully opened, the ship enters the lock chamber area, and detects the upstream gate closing command according to the situation of the no-stop area , to optimize the display of different screens; step 5 to step 8 perform downstream operation processes as steps 1 to 4. The product of the present invention performs logical analysis according to changes in the ship lock environment such as day and night alternation, gate valve status, water level difference, no-stop area, etc., and optimizes the selection of important monitoring areas. In order to achieve unmanned operation and a working environment with few people on duty, reduce the work intensity of personnel and improve safety.