Starting from the composition of the visual earthing system of OCS, the paper illustrates the operation scenarios and equipment numbering principles of the power supply segments of mainline, analyzes the locking logic relation of the earthing knife switches under various operation scenarios, puts forward proposals on the logical locking method and locking design under over-zone power supply. The design of the visual earthing system is summarized, providing reference for the design of the visual earthing systems of the new lines.