1. A line diagnosis method, comprising: acquiring a test result reported by a test device, wherein, the test result is a test result acquired after the test device tests a line that needs line diagnosis; and invoking a dynamic language file to analyze the test result and obtaining a line diagnosis result, wherein, the dynamic language file comprises known line fault types described in a dynamic language and judging conditions corresponding to the known line fault types.