With the technical development of the electron and computer, the computer interlocking system has replaced the relay interlocking system in the railway signal field. The interlocking software is used to implement the interlocking logic. But the uncertainty of software brings hazard to the whole system. So it is important to improve safety of the interlocking software.After analyzing the software risk concept of safety-critical system and metrics definition of software risk, this paper discusses metrics definition of software risk based on black-box. We put forward black-box test method based on contrast-environment and design a test platform of the interlocking system. Besides, the paper discusses static data exchange strategy and simulation of railway signal. At last, it describes application of the test software. |