The invention relates to a ONT authentication method and system based on a mask, including: obtaining information reported from the ONT; performing the bit operation of the information reported on the ONT to obtain the authenticated information; the configured authentication information is performed with the mask to obtain the authentication target information; and the information to be authenticated is judged and described. If the authentication target information is equal, if the authentication information is equal to the authentication target information, the authentication is successful, otherwise the authentication fails. The ONT authentication method based on the mask is used to obtain the authentication information and the authentication target information by using the information reported in the ONT and the configured authentication information respectively with the mask, and the mask is processed in bit respectively. The target fields that are not concerned can be shielded, and the multiple ONT authentication only needs to configure one of the authentication rules, Therefore, it is suitable for authentication of mass ONT, and can simplify configuration tasks, reduce configuration files and reduce operating costs.
【技术实现步骤摘要】
基于掩码的ONT认证方法及基于掩码的ONT认证系统
本专利技术涉及ONT认证领域,特别是涉及一种基于掩码的ONT认证方法及基于掩码的ONT认证系统。
技术介绍
GPON(Gigabit-CapablePassiveOpticalNetwork)技术是基于ITU-TG.984.x标准的最新一代宽带无源光综合接入标准,具有高带宽,高效率,大覆盖范围,用户接口丰富等众多优点,被大多数运营商视为实现接入网业务宽带化,综合化改造的理想技术。GPON最早由FSAN组织于2002年9月提出,ITU-T在此基础上于2003年3月完成了ITU-TG.984.1和G.984.2的制定,2004年2月和6月完成了G.984.3的标准化。从而最终形成了GPON的标准族。GPON系统结构主要由光线路终端(OLT:OpticalLineTerminal)、包含无源光器件的光分配网(ODN:OpticalDistributionNetwork)、用户端的光网络单元/光网络终端(ONU/ONTOpticalNetworkUnit/OpticalNetworkTerminal)组成。OLT为接入网提供网络侧与核心网之间的接口,通过ODN与各ONT连接。作为GPON系统的核心功能设备,OLT具有集中带宽分配、控制各ONT、实时监控、运行维护管理GPON系统的功能。ONT为接入网提供用户侧的接口,提供话音、数据、视频等多业务流与ODN的接入,受OLT集中控制。GPON系统在开启自动发现ONT功能后,系统会上报自动发现的ONT的SN(序列号)、密码、LOID、CHECKCODE,根据上报的这些信 ...
【技术保护点】
一种基于掩码的ONT认证方法,其特征在于,包括:获取ONT上报的信息;将所述ONT上报的信息与掩码进行位运算得到待认证信息;将配置的认证信息与所述掩码进行所述位运算得到认证目标信息;判断所述待认证信息与所述认证目标信息是否相等,若所述待认证信息与所述认证目标信息相等,则认证成功,否则认证失败。
【技术特征摘要】
1.一种基于掩码的ONT认证方法,其特征在于,包括:获取ONT上报的信息;将所述ONT上报的信息与掩码进行位运算得到待认证信息;将配置的认证信息与所述掩码进行所述位运算得到认证目标信息;判断所述待认证信息与所述认证目标信息是否相等,若所述待认证信息与所述认证目标信息相等,则认证成功,否则认证失败。2.根据权利要求1所述的基于掩码的ONT认证方法,其特征在于,所述判断所述待认证信息与所述认证目标信息是否相等,若所述待认证信息与所述认证目标信息相等的步骤之后还包括:判断是否有可用的ID分配给所述ONT,若有可用ID,则认证成功,否则认证失败。3.根据权利要求2所述的基于掩码的ONT认证方法,其特征在于,所述判断是否有可用的ID分配给所述ONT的步骤具体为:判断绑定的ID池中是否有可用ID分配给所述ONT。4.根据权利要求3所述的基于掩码的ONT认证方法,其特征在于,所述判断绑定的ID池中是否有可用ID分配给所述ONT的步骤,若有可用ID,所述方法还包括:将绑定的ID池中的最小的可用ID分配给所述ONT。5.根据权利要求1所述的基于掩码的ONT认证方法,其特征在于,所述位运算包括位与运算。6.根据权利要求1所述的基于掩码的O...
【专利技术属性】
技术研发人员:肖建锋,
申请(专利权)人:深圳市新格林耐特通信技术有限公司,
类型:发明
国别省市:广东,44
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。