Method for realizing ONU (Optical Network Unit) service automatic opening on OLT (Optical Line Terminal) equipment

The invention discloses a method for realizing ONU (Optical Network Unit) service automatic opening on OLT (Optical Line Terminal) equipment, relating to the field of communication equipment of a passive optical network. The method comprises the following steps: S1. pre-configuring an ONU data resource pond on the OLT equipment, and confirming various configuration data sets necessary for hanging a plurality of ONUs under the OLT equipment; S2. in the OLT equipment, generating respective required templates aiming at different types of ONUs, and confirming the requirement on configuration data for opening the service of various types of ONUs; and S3. when each ONU is accessed to the OLT equipment, obtaining the type of the ONU by the OLT equipment, obtaining the configuration data according to the content of the ONU corresponding to the requirement template, requesting the configuration data from the ONU data resource pond, transmitting the configuration data to the ONU so as to accomplish the service opening, and recoding the allocation relationship of the configuration data. The method needs no manual engagement into the opening process; the service can be opened automatically; the artificial mistakes are prevented; the accuracy in service opening is improved; and the opening efficiency is ensured.