Research on Active Safety Methodologies for Intelligent Railway Systems