The method for self diagnose and self repair of composite materials using hollow optical fiber with injected adhesive is first put forward. The investigation and analysis of pass light mechanism of hollow optical fiber are made in detail. The measurement principle, method and experimental research on self diagnose of the rupture place in composite materials by using hollow optical fiber are also put forward. Experiments on composite materials with or without embedded optical fiber are performed according to Chinese test standards in order to find out the comparable characters. Based on the experimental results, it is found that there is only little difference on the mechanical behavior of composite materials with or without embedded hollow optical fibers. In other words, this method can be used in engineering practice, such as in smart structures and other fields. Finally the general scheme of the entire system is given.