The information flow scheme for relay protection fault recording in the new generation of smart substation is described.The application mode of fault visual analysis for relay protection is pointed out.The graphic expression method based on graphical description specifications of power system(G language)is analyzed.Based on the abstraction of relay protection logic diagram,a method is put forward by using G language to express relay protection logic diagram.A whole package of fault visual analysis for relay protection is further proposed,in which the protection logic diagram is self-described with G language,and the logic diagram document is resolved and replayed visually by the common G language analyzing tool on the backend server.The scheme has radically solved not only the compatibility and interoperability problems between different equipment manufacturers,but also the mismatch problem between logic diagram and protection program,demonstrating its advantage of simplicity,versatility,high reliability,and easy implementation.