摘要 |
A method and apparatus for measuring the length of an optical fiber, which are used for measuring the length of an optical fiber between a first device and a second device. The method comprises: a measurement device acquires timestamp parameters, wherein the timestamp parameters comprise a first sending timestamp Ta1, a first receiving timestamp Ta2, a second sending timestamp Tb1 and a second receiving timestamp Tb2 (101); and the measurement device determines the length L of the optical fiber according to the timestamp parameters (102), wherein when (Ta2-Tb1)+(Tb2-Ta1)≤T, L=2.5*[(Ta2-T b1)+(Tb2-Ta1)], and when (Ta2-Tb1)+(Tb2-Ta1)>T, L=2.5*[(Ta2-Tb1)+(Tb2-Ta1)-T]. The method and the apparatus do not depend on dedicated measurement instruments such as an OTDR, an OFDR and an OCDR, simplify the measurement process, and help to reduce measurement cost. |