Patent ID: 8712240

Claim:
A method for measuring optical power, applied to a Gigabit Passive Optical Network (GPON) that comprises an Optical Line Terminal (OLT) and multiple Optical Network Units (ONUs), the method comprising: generating a Physical Layer Operation Administration Maintenance (PLOAM) message which is carried in a PLOAM field of a downstream PLOAM (PLOAMd) overhead area in a downstream frame of a GPON Transmission Convergence layer (GTC), wherein: the PLOAM message includes an identifier of at least one ONU that requires optical power measurement among the multiple ONUs and information about a time bucket for sending upstream optical signals that is allocated to the ONU that requires optical power measurement so that the ONU that requires optical power measurement sends the upstream optical signals to the OLT in the time bucket and other ONUs in the multiple ONUs do not send the upstream optical signals to the OLT in the time bucket; sending the PLOAM message to the multiple ONUs; receiving the upstream optical signals that are sent in the allocated time bucket by the ONU that requires optical power measurement, detecting the received upstream optical signals, and determining optical power of the upstream optical signals; and wherein receiving the upstream optical signals that are sent in the allocated time bucket by the ONU that requires optical power measurement comprises: determining, according to the information about the time bucket, a receiving interval for receiving the upstream optical signals sent by the ONU that requires optical power measurement, the determining comprising, detecting the ONU identifier carried in the received upstream optical signals, and if it is detected that the ONU identifier carried in the upstream optical signals matches the identifier of the ONU that requires optical power measurement, determining the start of the receiving interval, and using time length determined according to the information about the time bucket as length of the receiving interval, and receiving, in the receiving interval, the upstream optical signals sent by the ONU to be measured.