In this paper, the present state of quality control and the requirement of system are analyzed; the total structure of system and the major functions of all the modules are given; the main mathematical models which are adopted in the system are explained in detail. Finally, the environment which the software and hard required in the system is shown.