The invention relates to a method of avoiding data message collision in a communication network within a
transformer substation. The method is characterized by 1) aiming at data service sources of
GOOSE, SV, MMS and IEEE1588, carrying out message
data source distinguishing; 2) according to a message
data source distinguishing result, carrying out data
message type identification; 3) starting a data message priority mechanism and defining
transformer substation services according to priorities of different data message types; 4) defining a data message
multicast management protocol of the
transformer substation; 5) defining a corresponding data message CSMA strategy for the different data message types; and 6) defining a corresponding data message conflict avoidance
algorithm for the different data message types. In the invention, congestion of the communication network in the transformer substation can be avoided, a
packet loss ratio and time
delay of a communication service are reduced, communication
network performance in the transformer substation is improved, and real-time performance, stability and reliability of work of the transformer substation are increased.