Online measuring alarming method based on intelligent substation switch latency

The invention discloses a method for measuring switch latency of an intelligent substation by utilizing a network message analyzer to analyze message passing a switch. Online measuring of switch latency is achieved, and alarming can be sent when latency border crossing occurs. In addition, the original topological structure of the switch communication network is unaffected.