[go: up one dir, main page]

CN101478702B - Terminal detection authentication method, apparatus and operation management system in passive optical network - Google Patents

Terminal detection authentication method, apparatus and operation management system in passive optical network Download PDF

Info

Publication number
CN101478702B
CN101478702B CN2008101896355A CN200810189635A CN101478702B CN 101478702 B CN101478702 B CN 101478702B CN 2008101896355 A CN2008101896355 A CN 2008101896355A CN 200810189635 A CN200810189635 A CN 200810189635A CN 101478702 B CN101478702 B CN 101478702B
Authority
CN
China
Prior art keywords
terminal
registration code
central office
onu
code
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN2008101896355A
Other languages
Chinese (zh)
Other versions
CN101478702A (en
Inventor
吴炜
高海
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN2008101896355A priority Critical patent/CN101478702B/en
Publication of CN101478702A publication Critical patent/CN101478702A/en
Application granted granted Critical
Publication of CN101478702B publication Critical patent/CN101478702B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Abstract

一种无源光网络中终端检测认证方法、装置及操作管理系统。所述方法包括:终端具有逻辑注册码;局端接收终端发送来的逻辑注册码,所述局端在确定出所述终端的逻辑注册码与局端存储的逻辑注册码匹配后,确定所述终端为合法终端;局端记录从所述合法终端处获取的终端序列码,并记录为所述合法终端分配的终端标识。本发明实施方式可以不需要在局端静态配置终端序列码,降低了局端、以及终端的维护成本,提高了终端检测和认证的灵活性、以及局端、终端的可维护性。

Figure 200810189635

A terminal detection and authentication method, device and operation management system in a passive optical network. The method includes: the terminal has a logical registration code; the central office receives the logical registration code sent by the terminal, and the central office determines that the logical registration code of the terminal matches the logical registration code stored in the central office after determining that the The terminal is a legal terminal; the central office records the terminal sequence code obtained from the legal terminal, and records the terminal identifier assigned to the legal terminal. The embodiment of the present invention does not need to statically configure the terminal sequence code at the central office, reduces the maintenance cost of the central office and the terminal, improves the flexibility of terminal detection and authentication, and the maintainability of the central office and the terminal.

Figure 200810189635

Description

无源光网络中的终端检测认证方法、装置及操作管理系统Terminal detection and authentication method, device and operation management system in passive optical network

技术领域 technical field

本发明涉及网络通讯技术领域,具体涉及一种无源光网络中的终端检测认证方法、装置及操作管理系统。  The invention relates to the technical field of network communication, in particular to a terminal detection and authentication method, device and operation management system in a passive optical network. the

背景技术 Background technique

PON(Passive Optical Network,无源光网络)技术是一种点到多点的光纤接入技术。PON一般由局侧的OLT(Optical Line Terminal,光线路终端)、用户侧的ONU/ONT(Optical Network Unit/Optical Network Terminal,光网络单元/光网络终端)、以及ODN(光分配网络)组成。OLT的一个PON端口可以接入多个ONU/ONT。  PON (Passive Optical Network) technology is a point-to-multipoint optical fiber access technology. PON is generally composed of OLT (Optical Line Terminal, Optical Line Terminal) on the office side, ONU/ONT (Optical Network Unit/Optical Network Terminal, Optical Network Unit/Optical Network Terminal) on the user side, and ODN (Optical Distribution Network). One PON port of the OLT can be connected to multiple ONUs/ONTs. the

目前,ONU/ONT的检测和认证方法是在ONU/ONT的注册过程中实现的,ONU/ONT的注册流程如附图1所示。  At present, the ONU/ONT detection and authentication method is implemented in the ONU/ONT registration process, and the ONU/ONT registration process is shown in Figure 1. the

图1中,步骤1、OLT向各ONU/ONT发送请求ONU/ONT上报SN(SerialNumber,序列码)的信息。  In FIG. 1 , in step 1, the OLT sends information requesting the ONU/ONT to report an SN (SerialNumber, serial number) to each ONU/ONT. the

步骤2、接收上述信息的ONU/ONT向OLT上报自己的SN。  Step 2. The ONU/ONT receiving the above information reports its own SN to the OLT. the

步骤3、OLT接收SN,并对SN进行检测即对ONU/ONT进行检测。检测过程为:OLT中预先配置有SN,OLT将接收到的SN与预先配置的SN进行匹配,如果匹配,则ONU/ONT检测成功;如果不匹配,则ONU/ONT检测失败。OLT根据预先配置的SN与ONU-ID的对应关系为检测成功的ONU/ONT分配ONU-ID,并将分配的ONU-ID发送至ONU/ONT。这里的ONU-ID在一个PON端口下具有唯一性。  Step 3. The OLT receives the SN and detects the SN, that is, detects the ONU/ONT. The detection process is: SN is pre-configured in the OLT, and the OLT matches the received SN with the pre-configured SN. If they match, the ONU/ONT detection is successful; if they do not match, the ONU/ONT detection fails. The OLT assigns an ONU-ID to the successfully detected ONU/ONT according to the pre-configured correspondence between the SN and the ONU-ID, and sends the assigned ONU-ID to the ONU/ONT. The ONU-ID here is unique under a PON port. the

步骤4、OLT完成分配了ONU-ID的ONU/ONT的测距。  Step 4. The OLT completes the ranging of the ONU/ONT assigned the ONU-ID. the

步骤5、OLT向完成测距的ONU/ONT发送请求ONU/ONT上报Password(密码)的信息。  Step 5. The OLT sends information requesting the ONU/ONT to report a Password to the ONU/ONT that has completed the ranging. the

步骤6、接收到请求上报Password的信息的ONU/ONT向OLT上报自己的Password。  Step 6. The ONU/ONT that has received the information requesting to report the Password reports its own Password to the OLT. the

步骤7、OLT根据接收到的Pas局端记录从所述合法终端处获取的终端序列码,并记录给所述合法终端分配的终端标识。  Step 7: The OLT records the terminal sequence code acquired from the legal terminal according to the received Pas central office, and records the terminal identifier assigned to the legal terminal. the

本发明实施方式还提供一种网络设备,位于无源光网络局端,该网络设备包括:第一存储模块,用于存储终端的逻辑注册码,其中,所述逻辑注册码,由所述局端动态生成,并且在用户申请业务的过程中由所述局端分配给光网络终端;  The embodiment of the present invention also provides a network device located at the central office of a passive optical network. The network equipment includes: a first storage module for storing a logical registration code of a terminal, wherein the logical registration code is determined by the central office dynamically generated by the central office, and assigned to the optical network terminal by the central office during the process of user application for services;

sword对ONU/ONT进行认证,在认证成功后,ONU/ONT注册成功。  The sword authenticates the ONU/ONT. After the authentication is successful, the ONU/ONT registers successfully. the

在实现本发明过程中,发明人发现现有技术中存在如下问题:  In the process of realizing the present invention, the inventor finds that there are following problems in the prior art:

在上述ONU/ONT的检测和认证过程中,需要预先在OLT中静态设置SN与ONU-ID的对应关系,因此,OLT不能够实现对ONU/ONT的自动检测和认证,使ONU/ONT的检测和认证的灵活性差。另外,OLT中的SN通常由操作管理系统进行管理。操作管理系统在向用户发放ONU/ONT时,记录发放的ONU/ONT的SN,并在OLT中进行SN的预配置;在由于设备故障等原因需要更换ONU/ONT时,操作管理系统更新其记录的SN,并更新OLT中的SN。也就是说,操作管理系统对其记录的SN、以及OLT中的SN采用静态管理方式。静态管理方式增加了操作管理系统、OLT、ONU/ONT的维护成本,从而降低了操作管理系统、OLT和ONU/ONT的可维护性。  In the above-mentioned ONU/ONT detection and authentication process, it is necessary to statically set the corresponding relationship between SN and ONU-ID in the OLT in advance. Therefore, the OLT cannot realize the automatic detection and authentication of the ONU/ONT, so that the ONU/ONT detection And authentication flexibility is poor. In addition, the SN in the OLT is usually managed by the operation management system. When the operation management system issues ONU/ONT to the user, it records the SN of the issued ONU/ONT, and pre-configures the SN in the OLT; when the ONU/ONT needs to be replaced due to equipment failure or other reasons, the operation management system updates its record SN and update the SN in the OLT. That is to say, the operation management system adopts a static management method for its recorded SN and the SN in the OLT. The static management method increases the maintenance cost of the operation management system, OLT, and ONU/ONT, thereby reducing the maintainability of the operation management system, OLT, and ONU/ONT. the

发明内容 Contents of the invention

本发明实施方式提供一种无源光网络中的终端检测认证方法、装置及操作管理系统,可实现终端的自动检测和认证,提高了终端检测和认证的灵活性、以及局端、终端的可维护性。  Embodiments of the present invention provide a terminal detection and authentication method, device, and operation management system in a passive optical network, which can realize automatic detection and authentication of terminals, improve the flexibility of terminal detection and authentication, and improve the flexibility of local terminals and terminals. maintainability. the

本发明实施方式提供的一种无源光网络中的终端检测认证方法,终端具有逻辑注册码,所述方法包括步骤:  A terminal detection and authentication method in a passive optical network provided by an embodiment of the present invention, the terminal has a logical registration code, and the method includes steps:

局端接收终端发送来的逻辑注册码,其中,所述逻辑注册码,由所述局端动态生成,并且在用户申请业务的过程中由所述局端分配给所述终端;  The central office receives the logical registration code sent by the terminal, wherein the logical registration code is dynamically generated by the central office, and is assigned to the terminal by the central office during the process of the user applying for a service;

所述局端在确定出所述终端的逻辑注册码与局端存储的逻辑注册码匹配后,确定所述终端为合法终端;  After the central office determines that the logical registration code of the terminal matches the logical registration code stored by the central office, it determines that the terminal is a legal terminal;

局端记录从所述合法终端处获取的终端序列码,并记录为所述合法终端分配的终端标识。  The central office records the terminal sequence code obtained from the legal terminal, and records the terminal identifier assigned to the legal terminal. the

本发明实施方式还提供一种网络设备,位于无源光网络局端,该网络设备包括:第一存储模块,用于存储终端的逻辑注册码,其中,所述逻辑注册码,由所述局端动态生成,并且在用户申请业务的过程中由所述局端分配给光网络终端;  The embodiment of the present invention also provides a network device located at the central office of a passive optical network. The network equipment includes: a first storage module for storing a logical registration code of a terminal, wherein the logical registration code is determined by the central office dynamically generated by the central office, and assigned to the optical network terminal by the central office during the process of user application for services;

接收模块,用于接收终端发送来的逻辑注册码、以及终端序列码;  The receiving module is used to receive the logical registration code and terminal serial code sent by the terminal;

判断模块,用于判断接收模块接收到的逻辑注册码与第一存储模块中存储的逻辑注册码是否匹配,并输出判断结果;  Judging module, used to judge whether the logical registration code received by the receiving module matches the logical registration code stored in the first storage module, and output the judgment result;

分配模块,用于为终端分配终端标识,并输出;  An assignment module, used to assign a terminal identifier to the terminal and output it;

第二存储模块,用于在判断模块输出匹配的判断结果信息后,存储接收模块接收到的终端序列码、以及分配模块输出的终端标识。  The second storage module is configured to store the terminal sequence code received by the receiving module and the terminal identifier output by the distribution module after the judging module outputs the matched judging result information. the

本发明实施方式还提供一种操作管理系统,位于无源光网络的局端,所述操作管理系统包括:逻辑注册码模块,用于存储逻辑注册码,为用户分配逻辑注册码,并将为用户分配的逻辑注册码传输至光线路终端,其中,所述逻辑注册码,由所述局端动态生成,并且在用户申请业务的过程中由所述局端分配给光网络终端;  The embodiment of the present invention also provides an operation management system, which is located at the central office of the passive optical network. The operation management system includes: a logical registration code module, used to store the logical registration code, assign the logical registration code to the user, and The logical registration code assigned by the user is transmitted to the optical line terminal, wherein the logical registration code is dynamically generated by the central office, and is assigned to the optical network terminal by the central office during the process of the user applying for a service;

序列码模块,用于接收光线路终端传输来的合法终端的序列码,并存储。  The sequence code module is used for receiving and storing the sequence code of the legal terminal transmitted by the optical line terminal. the

本发明实施方式还提供一种终端设备,位于无源光网络的用户侧,所述终端设备包括:  The embodiment of the present invention also provides a terminal device, which is located on the user side of the passive optical network, and the terminal device includes:

接收存储模块,用于接收并存储输入其所在终端设备的逻辑注册码,其中,所述逻辑注册码,由局端动态生成,并且在用户申请业务的过程中由所述局端分配给所述终端设备;  The receiving storage module is used to receive and store the logical registration code input to the terminal equipment where it is located, wherein the logical registration code is dynamically generated by the central office and assigned to the Terminal Equipment;

发送模块,用于根据其所在终端设备接收到的局端的请求,向局端发送所述接收存储模块中存储的逻辑注册码。  The sending module is configured to send the logical registration code stored in the receiving storage module to the central office according to the request received by the central office at the terminal device where it is located. the

通过上述技术方案的描述可知,本发明实施方式可以不需要在局端静态配置终端序列码,通过在检测认证过程中采用逻辑注册码,在认证通过后,记录从合法终端处获取的终端序列码、并记录为合法终端分配的终端标识,使局端可以实现对终端的自动检测和认证;局端通过记录从合法终端处获取的序列码、以及局端为合法终端分配的终端标识,使局端可以对终端序列码以及终端标识进行动态管理,降低了局端、以及终端的维护成本;从而通过本发明提供的技术方案提高了终端检测和认证的灵活性、以及局端、终端的可维护性。  From the description of the above technical solution, it can be seen that the embodiment of the present invention does not need to statically configure the terminal serial code at the central office. By using the logical registration code in the detection and authentication process, after the authentication is passed, the terminal serial code obtained from the legal terminal is recorded. , and record the terminal identification assigned to the legal terminal, so that the central office can realize the automatic detection and authentication of the terminal; The terminal can dynamically manage the terminal serial code and terminal identification, which reduces the maintenance cost of the central office and the terminal; thus, the technical solution provided by the present invention improves the flexibility of terminal detection and authentication, and the maintainability of the central office and the terminal sex. the

附图说明Description of drawings

图1是现有技术中的ONU/ONT的注册流程示意图;  Fig. 1 is the registration flow diagram of ONU/ONT in the prior art;

图2是本发明实施方式的终端检测认证方法流程示意图;  Fig. 2 is a schematic flow chart of a terminal detection and authentication method according to an embodiment of the present invention;

图3是本发明实施方式的终端检测认证方法时序图一;  Fig. 3 is a sequence diagram 1 of a terminal detection and authentication method according to an embodiment of the present invention;

图4是本发明实施方式的终端检测认证方法时序图二。  FIG. 4 is a second sequence diagram of a terminal detection and authentication method according to an embodiment of the present invention. the

具体实施方式 Detailed ways

本发明实施方式是利用终端的逻辑注册码来实现对终端的自动检测和认证的。下面对本发明实施方式提供的终端检测和认证方法进行详细说明。  The embodiment of the present invention uses the logic registration code of the terminal to realize the automatic detection and authentication of the terminal. The terminal detection and authentication method provided by the embodiments of the present invention will be described in detail below. the

在本发明实施方式中,终端如ONU/ONT对应有逻辑注册码。终端的逻辑注册码可以是在用户进行业务申请过程中,局端为终端分配的。局端在为终端分配逻辑注册码后,需要记录为终端分配的逻辑注册码,例如,局端的操作管理系统为终端分配逻辑注册码,并保存其分配的逻辑注册码,操作管理系统还可以将为终端分配的逻辑注册码传输至局端的OLT中,OLT存储其接收到的逻辑注册码。逻辑注册码可以由局端动态生成。而且,逻辑注册码在一定的区域内应具有唯一性,例如,在一个PON端口下,终端的逻辑注册码应具有唯一性。当然,终端的逻辑注册码也可以在全局范围内具有唯一性。本发明实施方式不限制终端的逻辑注册码具有唯一性的区域,也不限制逻辑注册码的具体表现形式,同样不限制由局端的哪个设备来生成逻辑注册码。  In the embodiment of the present invention, a terminal such as an ONU/ONT corresponds to a logical registration code. The logical registration code of the terminal may be assigned by the central office to the terminal during the service application process of the user. After the central office assigns a logical registration code to the terminal, it needs to record the logical registration code assigned to the terminal. For example, the operation management system of the central office assigns a logical registration code to the terminal and saves the logical registration code assigned by it. The logical registration code assigned to the terminal is transmitted to the OLT at the central office, and the OLT stores the received logical registration code. The logic registration code can be dynamically generated by the central office. Moreover, the logical registration code should be unique in a certain area, for example, under a PON port, the logical registration code of the terminal should be unique. Of course, the logical registration code of the terminal may also be unique globally. The embodiment of the present invention does not limit the area where the logic registration code of the terminal is unique, nor does it limit the specific expression form of the logic registration code, nor does it limit which device at the central office generates the logic registration code. the

在终端检测和认证过程中,终端应首先获取其逻辑注册码,并将获取到的逻辑注册码传输至局端。终端获取其逻辑注册码的方式可以为,终端接收外部输入的逻辑注册码。例如,终端可以提供本地命令行、Web页面、或者其它方式接收外部输入的逻辑注册码。终端也可以根据外部输入的信息依据某种预定 的规则生成逻辑注册码,此时终端生成的逻辑注册码应与局端保存的逻辑注册码相同。在终端检测和认证过程在终端注册过程中完成的情况下,终端可以在注册过程中,将其逻辑注册码传输至局端。本发明实施方式不排除终端检测和认证过程独立实现、以及终端检测和认证过程在其它过程中实现的可能性。  During the terminal detection and authentication process, the terminal should first obtain its logical registration code, and transmit the obtained logical registration code to the central office. A manner for the terminal to obtain its logical registration code may be that the terminal receives an externally input logical registration code. For example, the terminal may provide a local command line, a web page, or receive an externally input logic registration code in other ways. The terminal can also generate a logical registration code according to some predetermined rules based on externally input information. At this time, the logical registration code generated by the terminal should be the same as the logical registration code saved by the central office. In the case that the terminal detection and authentication process is completed during the terminal registration process, the terminal can transmit its logical registration code to the central office during the registration process. The embodiments of the present invention do not exclude the possibility that the terminal detection and authentication process is implemented independently, or that the terminal detection and authentication process is implemented in other processes. the

终端可以采用现有的消息将其逻辑注册码传输至局端,终端也可以采用专门为传输逻辑注册码而新定义的消息将其逻辑注册码传输至局端。而且,在逻辑注册码传输过程中,终端可以采用加密方式来传输逻辑注册码,也可以不采用加密方式来传输逻辑注册码。本发明实施方式不限制现有消息的具体表现形式,也不限制新定义的消息的具体结构。  The terminal can use the existing message to transmit its logical registration code to the central office, and the terminal can also use a message newly defined for the transmission of the logical registration code to transmit its logical registration code to the central office. Moreover, during the transmission of the logical registration code, the terminal may transmit the logical registration code in an encrypted manner, or may not transmit the logical registration code in an encrypted manner. The embodiment of the present invention does not limit the specific expression form of the existing message, nor does it limit the specific structure of the newly defined message. the

局端在接收到终端传输来的逻辑注册码后,利用其预先存储的逻辑注册码、以及终端传输来的逻辑注册码对终端进行认证,例如,局端将终端传输来的逻辑注册码与其预先存储的逻辑注册码进行匹配,如果确认匹配,则确认终端为合法终端,如果确认不匹配,则确认终端为非法终端。  After receiving the logical registration code transmitted by the terminal, the central office uses its pre-stored logical registration code and the logical registration code transmitted by the terminal to authenticate the terminal. The stored logic registration codes are matched. If the match is confirmed, the terminal is confirmed to be a legal terminal, and if it is confirmed not to match, the terminal is confirmed to be an illegal terminal. the

局端在确认终端为合法终端时,记录从合法终端处获取的终端序列码以及局端为合法终端分配的终端标识。在本发明实施方式中,局端记录的合法终端的终端序列码是从合法终端处获取的,由此可见,本发明实施方式不需要在局端预先配置终端序列码。虽然,本发明实施方式需要在局端预先配置终端的逻辑注册码,但是,在由于故障等原因需要更换终端时,更换后的终端仍然可以使用更换前终端使用的逻辑注册码,而局端是根据逻辑注册码来对终端进行认证的,因此,局端能够自动检测到合法终端、自动获得合法终端的终端序列码以及终端标识,从而避免了在用户更换终端过程中,局端需要静态配置更换后的终端序列号的过程。  When the central office confirms that the terminal is a legal terminal, it records the terminal sequence code obtained from the legal terminal and the terminal identifier assigned by the central office to the legal terminal. In the embodiment of the present invention, the terminal sequence code of the legal terminal recorded at the central office is obtained from the legal terminal, so it can be seen that the embodiment of the present invention does not need to pre-configure the terminal sequence code at the central office. Although the embodiment of the present invention needs to pre-configure the logical registration code of the terminal at the central office, when the terminal needs to be replaced due to failure or other reasons, the terminal after the replacement can still use the logical registration code used by the terminal before the replacement, while the central office is The terminal is authenticated according to the logical registration code. Therefore, the central office can automatically detect the legal terminal, and automatically obtain the terminal serial code and terminal identification of the legal terminal, thereby avoiding the need for static configuration replacement at the central office during the process of user replacement. process after the terminal serial number. the

局端记录终端的终端标识的实现过程可以有多种,例如,局端可以在确认终端为合法终端之前为终端分配终端标识,并在确认终端为合法终端之后,记录该合法终端的终端标识;再例如,局端可以在确认终端为合法终端之后为终 端分配终端标识,并记录该合法终端的终端标识;还有,局端可以在确认终端为合法终端之前为终端分配临时终端标识,在确认终端为合法终端之后为终端分配正式终端标识,并记录合法终端的正式终端标识。这里为终端分配的临时终端标识可以是为了满足终端在注册过程中的一些实现需要;例如,在终端将逻辑注册标识通过上报密码的消息传输时,可以首先为终端分配临时终端标识,以完成后续的测距过程,然后,终端将逻辑注册标识通过上报密码的消息传输至局端。  There are various implementation processes for the central office to record the terminal identification of the terminal. For example, the central office can assign a terminal identification to the terminal before confirming that the terminal is a legal terminal, and record the terminal identification of the legal terminal after confirming that the terminal is a legal terminal; For another example, the central office can assign a terminal identifier to the terminal after confirming that the terminal is a legitimate terminal, and record the terminal identifier of the legal terminal; also, the central office can assign a temporary terminal identifier to the terminal before confirming that the terminal is a legal terminal. After confirming that the terminal is a legitimate terminal, assign a formal terminal identifier to the terminal, and record the formal terminal identifier of the legal terminal. The temporary terminal ID assigned to the terminal here can be to meet some implementation needs of the terminal during the registration process; for example, when the terminal transmits the logical registration ID through the message of reporting the password, it can first assign a temporary terminal ID to the terminal to complete the subsequent The ranging process, and then, the terminal transmits the logical registration identifier to the central office through the message of reporting the password. the

局端记录合法终端的终端序列码的过程可以为:OLT记录合法终端的终端序列码;也可以为:OLT和局端的其它设备如操作管理系统均记录合法终端的终端序列码。OLT可以通过接收合法终端传输来的终端序列码,来获取并记录合法终端的终端序列码。OLT可以将其记录的合法终端的终端序列码传输至局端的其它网络设备处如操作管理系统,这样,操作管理系统可以通过接收OLT传输来的合法终端的终端序列码来获取并记录自动检测到的终端序列码。  The process of recording the terminal serial code of the legal terminal at the central office can be: the OLT records the terminal serial code of the legal terminal; it can also be: both the OLT and other equipment at the central office, such as the operation management system, record the terminal serial code of the legal terminal. The OLT can obtain and record the terminal serial code of the legal terminal by receiving the terminal serial code transmitted by the legal terminal. The OLT can transmit the terminal sequence code of the legal terminal recorded by it to other network devices at the central office, such as the operation management system, so that the operation management system can obtain and record the automatic detection by receiving the terminal sequence code of the legal terminal transmitted by the OLT. terminal serial number. the

操作管理系统可以对其记录的终端序列码、终端标识进行管理,操作管理系统可以根据其记录的终端序列码、终端标识对OLT、终端等进行维护管理。  The operation management system can manage the terminal serial code and terminal identification recorded by it, and the operation management system can maintain and manage OLT and terminals according to the terminal serial code and terminal identification recorded by it. the

下面结合附图对本发明实施方式提供的终端检测和认证方法进行说明。  The terminal detection and authentication method provided by the embodiments of the present invention will be described below with reference to the accompanying drawings. the

本发明实施方式提供的终端检测和认证方法的流程示意如附图2所示。  The flowchart of the terminal detection and authentication method provided by the embodiment of the present invention is shown in Fig. 2 . the

图2中,步骤1、操作管理系统为提出业务申请的用户所使用的ONU/ONT生成一个逻辑注册码,并存储生成的逻辑注册码,例如,操作管理系统将生成的逻辑注册码存储在逻辑注册码数据库中。操作管理系统可以根据某种具体的格式来生成逻辑注册码,生成逻辑注册码的具体格式可以由操作管理系统来确定。操作管理系统在生成逻辑注册码时,可以保证其生成的逻辑注册码在一个PON端口下具有唯一性。  In Fig. 2, step 1, the operation management system generates a logical registration code for the ONU/ONT used by the user who made the service application, and stores the generated logical registration code, for example, the operation management system stores the generated logical registration code in the logic registration code database. The operation management system can generate a logical registration code according to a specific format, and the specific format for generating the logical registration code can be determined by the operation management system. When the operation management system generates a logic registration code, it can ensure that the generated logic registration code is unique under a PON port. the

步骤2、操作管理系统根据用户申请的业务,生成需要为ONU/ONT配置的业务参数。操作管理系统将需要为ONU/ONT配置的业务参数、以及ONU/ONT 的逻辑注册码下发到OLT。  Step 2. The operation management system generates service parameters that need to be configured for the ONU/ONT according to the service applied by the user. The operation management system sends the business parameters that need to be configured for the ONU/ONT and the logical registration code of the ONU/ONT to the OLT. the

步骤3、操作管理系统将ONU/ONT的逻辑注册码信息传输至用户。  Step 3. The operation management system transmits the logical registration code information of the ONU/ONT to the user. the

步骤4、ONU/ONT上电后,ONU/ONT接收外部输入的逻辑注册码。例如,ONU/ONT利用其自身提供的本地命令行、Web页面或其他外部媒介等方式接收外部输入的逻辑注册码。  Step 4. After the ONU/ONT is powered on, the ONU/ONT receives the logical registration code input from the outside. For example, the ONU/ONT receives an externally input logic registration code by means of a local command line provided by itself, a web page or other external media. the

步骤5、ONU/ONT在注册过程中将逻辑注册码上报给OLT。OLT接收ONU/ONT上报的逻辑注册码,并将ONU/ONT上报的逻辑注册码与其存储的逻辑注册码进行匹配,在确认ONU/ONT上报的逻辑注册码与其存储的逻辑注册码匹配时,认证成功,OLT确认该ONU/ONT为合法终端,OLT记录从该合法终端处获得的SN、以及记录为该合法终端分配的ONU-ID(终端标识),OLT成功检测到合法终端;在确认ONU/ONT上报的逻辑注册码与其存储的逻辑注册码不匹配时,认证失败,OLT确认该ONU/ONT为非法终端,对该终端的注册过程结束。  Step 5. The ONU/ONT reports the logic registration code to the OLT during the registration process. The OLT receives the logical registration code reported by the ONU/ONT, and matches the logical registration code reported by the ONU/ONT with the stored logical registration code. When confirming that the logical registration code reported by the ONU/ONT matches the stored logical registration code, the authentication Success, the OLT confirms that the ONU/ONT is a legal terminal, the OLT records the SN obtained from the legal terminal, and records the ONU-ID (terminal identification) allocated for the legal terminal, and the OLT successfully detects the legal terminal; after confirming that the ONU/ONT When the logical registration code reported by the ONT does not match the stored logical registration code, the authentication fails, the OLT confirms that the ONU/ONT is an illegal terminal, and the registration process for the terminal ends. the

步骤6、在ONU/ONT注册成功后,OLT将检测到的合法终端传输来的终端SN上报至操作管理系统。OLT也可以将SN与终端标识的对应关系上报至操作管理系统。  Step 6. After the ONU/ONT registers successfully, the OLT reports the terminal SN transmitted by the detected legal terminal to the operation management system. The OLT may also report the corresponding relationship between the SN and the terminal identifier to the operation management system. the

步骤7、操作管理系统存储其接收到的终端SN,例如将终端SN存储在SN数据库中。操作管理系统可以根据其存储的终端SN对OLT、ONU/ONT等进行维护管理。  Step 7. The operation management system stores the received terminal SN, for example, stores the terminal SN in the SN database. The operation management system can maintain and manage OLT, ONU/ONT, etc. according to the stored terminal SN. the

在上述步骤5中,ONU/ONT可以通过注册过程中的上报Password消息来传输逻辑注册码,即ONU/ONT将逻辑注册码携带在上报Password消息的参数域中,并将上报Password消息上报至OLT。OLT和ONU/ONT之间也可以通过新增设置的请求逻辑注册码消息、上报逻辑注册码消息来传输逻辑注册码。新增的请求逻辑注册码消息、上报逻辑注册码消息可以均属于PLOAM(物理层操作维护)消息。上述新定义的两个PLOAM消息的具体结构可以如表1、表2所示。  In the above step 5, the ONU/ONT can transmit the logical registration code by reporting the Password message during the registration process, that is, the ONU/ONT carries the logical registration code in the parameter field of the reported Password message, and reports the reported Password message to the OLT . The logic registration code can also be transmitted between the OLT and the ONU/ONT by newly setting a request logic registration code message and reporting a logic registration code message. The newly added request logic registration code message and report logic registration code message may both belong to PLOAM (Physical Layer Operation and Maintenance) messages. The specific structures of the above two newly defined PLOAM messages may be shown in Table 1 and Table 2. the

表1、下行方向OLT请求逻辑注册码的PLOAM消息;  Table 1, the PLOAM message of the OLT requesting the logical registration code in the downlink direction;

Figure G2008101896355D00081
Figure G2008101896355D00081

表1中,第1字节ONU-ID用于携带局端为终端分配的ONU-ID;第2字节Message ID用于标识该消息为请求逻辑注册码的消息;第3字节至第12字节为保留字节。  In Table 1, the first byte ONU-ID is used to carry the ONU-ID allocated by the central office for the terminal; the second byte Message ID is used to identify the message as a message requesting a logical registration code; the third byte to the 12th byte Bytes are reserved. the

表2、上行方向ONU/ONT上报逻辑注册码的PLOAM消息;  Table 2, the PLOAM message of the logical registration code reported by the ONU/ONT in the upstream direction;

Figure G2008101896355D00082
Figure G2008101896355D00082

表2中,第1字节ONU-ID用于携带局端为终端分配的ONU-ID;第2字节Message ID用于标识该消息为上报逻辑注册码的消息;第3字节至第12字节用于携带终端的逻辑注册码。  In Table 2, the first byte ONU-ID is used to carry the ONU-ID allocated by the central office for the terminal; the second byte Message ID is used to identify the message as a message reporting the logic registration code; the third byte to the 12th byte Bytes are used to carry the terminal's logical registration code. the

上述表1、表2仅仅是一个请求逻辑注册码消息、上报逻辑注册码消息的具体例子。本发明实施方式中,传输逻辑注册码的消息不限于上述具体的例子。  The above Table 1 and Table 2 are only specific examples of requesting a logic registration code message and reporting a logic registration code message. In the embodiments of the present invention, the message for transmitting the logical registration code is not limited to the above specific examples. the

上述步骤5的具体实现过程可以有如下两种实现方式:  The specific implementation process of the above step 5 can be implemented in the following two ways:

方式一、先分配临时ONU-ID、再分配正式ONU-ID的终端自动检测和认证过程如附图3所示。  Method 1. The terminal automatic detection and authentication process of assigning a temporary ONU-ID first and then assigning a formal ONU-ID is shown in Figure 3. the

图3中,步骤1、OLT向所有的ONU/ONT发送上报SN的请求消息。  In Fig. 3, in step 1, the OLT sends a request message for reporting the SN to all ONUs/ONTs. the

步骤2、ONU/ONT接收到OLT发送的请求消息后,向OLT上报自己的SN。  Step 2. After receiving the request message sent by the OLT, the ONU/ONT reports its own SN to the OLT. the

步骤3、OLT接收到ONU/ONT上报的SN后,判断该SN是否记录过,即判 断接收到的SN是与其存储的SN匹配,如果OLT判断出其接收到的SN为记录过的SN,则到步骤9;如果OLT判断出其接收到的SN为未记录过的SN,则OLT为该ONU/ONT分配临时ONU-ID,然后,向ONU/ONT发送临时ONU-ID,再到步骤4。OLT在为ONU/ONT分配临时ONU-ID时,可以从未使用的ONU-ID中选择一个ONU-ID作为临时ONU-ID。  Step 3, after the OLT receives the SN reported by the ONU/ONT, it judges whether the SN has been recorded, that is, it judges that the received SN matches the stored SN, if the OLT judges that the received SN is a recorded SN, Then go to step 9; if the OLT judges that the received SN is an unrecorded SN, then the OLT allocates a temporary ONU-ID for the ONU/ONT, and then sends the temporary ONU-ID to the ONU/ONT, and then goes to step 4 . When the OLT allocates a temporary ONU-ID to an ONU/ONT, it can select an ONU-ID from unused ONU-IDs as a temporary ONU-ID. the

步骤4、OLT通过与分配了临时ONU-ID的ONU/ONT进行数据交互,完成分配了临时ONU-ID的ONU/ONT的测距。  Step 4. The OLT completes the ranging of the ONU/ONT assigned the temporary ONU-ID by performing data interaction with the ONU/ONT assigned the temporary ONU-ID. the

步骤5、OLT向ONU/ONT发送请求逻辑注册码消息,该请求逻辑注册码消息可以通过Password请求消息来实现,也可以通过新增定义的请求逻辑注册码消息来实现。  Step 5. The OLT sends a request logic registration code message to the ONU/ONT. The request logic registration code message can be realized through a Password request message, or through a newly defined request logic registration code message. the

步骤6、ONU/ONT接收到OLT发送来的请求逻辑注册码消息后,向OLT上报自己的逻辑注册码。ONU/ONT可以将逻辑注册码携带在上报Password消息中传输至OLT,也可以将逻辑注册码携带在新增定义的逻辑注册码上报消息中传输至OLT。  Step 6. After receiving the logic registration code request message sent by the OLT, the ONU/ONT reports its own logic registration code to the OLT. The ONU/ONT can carry the logical registration code in the reported Password message and transmit it to the OLT, or can carry the logical registration code in the newly defined logical registration code report message and transmit it to the OLT. the

步骤7、OLT从接收到的消息中获取ONU/ONT的逻辑注册码,并根据操作管理系统预配置的参数对获取到的逻辑注册码进行校验,即OLT判断获取到的逻辑注册码是否与其存储的逻辑注册码匹配,如果匹配,则确认该ONU/ONT为合法终端,并记录该ONU/ONT的SN,同时终止ONU/ONT的注册过程,到步骤8;如果不匹配,则确认该ONU/ONT为非法终端,直接终止注册过程,可以不再进行后续的步骤。  Step 7. The OLT obtains the logical registration code of the ONU/ONT from the received message, and checks the obtained logical registration code according to the pre-configured parameters of the operation management system, that is, the OLT judges whether the obtained logical registration code is consistent with the obtained logical registration code. The stored logic registration code matches, if it matches, confirm that the ONU/ONT is a legal terminal, and record the SN of the ONU/ONT, and terminate the registration process of the ONU/ONT at the same time, go to step 8; if it does not match, confirm the ONU /ONT is an illegal terminal, the registration process is terminated directly, and subsequent steps are not required. the

步骤8、ONU/ONT重新上线进行后续的注册过程,ONU/ONT向OLT上报自己的SN。OLT接收到ONU/ONT上报的SN后,查找该SN是否记录过,如果OLT判断出其接收到的SN为记录过的SN,则到步骤9;如果OLT判断出其接收到的SN为未记录过的SN,则OLT为该ONU/ONT分配临时ONU-ID,然后,向ONU/ONT发送临时ONU-ID,再到步骤4。  Step 8. The ONU/ONT goes online again to perform the subsequent registration process, and the ONU/ONT reports its own SN to the OLT. After the OLT receives the SN reported by the ONU/ONT, check whether the SN has been recorded. If the OLT judges that the received SN is a recorded SN, go to step 9; if the OLT judges that the received SN is unrecorded If the SN has passed, the OLT allocates a temporary ONU-ID for the ONU/ONT, and then sends the temporary ONU-ID to the ONU/ONT, and then goes to step 4. the

在步骤8中,由于OLT已经记录过该ONU/ONT的SN,因此,直接到步骤9。  In step 8, since the OLT has already recorded the SN of the ONU/ONT, go directly to step 9. the

步骤9、OLT查找对应的ONU-ID,并将查找到的ONU-ID作为正式ONU-ID。该正式ONU-ID可以为临时ONU-ID,即OLT将之前为ONU/ONT分配的临时ONU-ID作为该ONU/ONT的正式ONU-ID。OLT可以将该ONU/ONT的SN与该ONU/ONT的正式ONU-ID绑定。  Step 9. The OLT searches for the corresponding ONU-ID, and uses the found ONU-ID as the official ONU-ID. The official ONU-ID may be a temporary ONU-ID, that is, the OLT uses the temporary ONU-ID previously allocated to the ONU/ONT as the official ONU-ID of the ONU/ONT. The OLT can bind the SN of the ONU/ONT with the formal ONU-ID of the ONU/ONT. the

步骤10、OLT将所述查找到的正式ONU-ID分配给ONU/ONT。  Step 10, the OLT distributes the found official ONU-ID to the ONU/ONT. the

步骤11、OLT通过与分配了正式ONU-ID的ONU/ONT进行数据交互,完成分配了正式ONU-ID的ONU/ONT的测距。  Step 11, the OLT completes the ranging of the ONU/ONT assigned the official ONU-ID by performing data interaction with the ONU/ONT assigned the official ONU-ID. the

步骤12、OLT通过与分配了正式ONU-ID的ONU/ONT进行数据交互,来进行ONU/ONT的注册,在注册成功后,到步骤13。  In step 12, the OLT registers the ONU/ONT by exchanging data with the ONU/ONT assigned the official ONU-ID. After the registration is successful, go to step 13. the

步骤13、OLT通过与注册成功的ONU/ONT进行数据交互,来为注册成功的ONU/ONT配置业务参数。  Step 13, the OLT configures service parameters for the successfully registered ONU/ONT by exchanging data with the successfully registered ONU/ONT. the

在上述针对图3的描述中,ONU/ONT的逻辑注册码可以为ONU/ONT的ONU-ID,即在上述图3的步骤6中,ONU/ONT向OLT上报的逻辑注册码即为ONU/ONT的ONU-ID,也就是说,在上述图2的步骤1中操作管理系统为提出业务申请的用户所使用的ONU/ONT生成的逻辑注册码即为ONU-ID。  In the above description for Figure 3, the logical registration code of the ONU/ONT can be the ONU-ID of the ONU/ONT, that is, in step 6 of the above Figure 3, the logical registration code reported by the ONU/ONT to the OLT is the ONU/ONT The ONU-ID of the ONT, that is to say, the logical registration code generated by the operation management system for the ONU/ONT used by the user who submitted the service application in step 1 of the above-mentioned Figure 2 is the ONU-ID. the

当然,在上述针对图3的描述中,ONU/ONT的逻辑注册码也可以与ONU/ONT的ONU-ID不同。本发明实施方式不限制ONU/ONT的逻辑注册码的具体表现形式。  Of course, in the above description for FIG. 3 , the logical registration code of the ONU/ONT may also be different from the ONU-ID of the ONU/ONT. The embodiment of the present invention does not limit the specific expression form of the logical registration code of the ONU/ONT. the

另外,在上述图3的描述中,操作管理系统与OLT之间可以通过管理终端标识来标识终端;而OLT和ONU/ONT之间可以通过ONU-ID来标识终端,管理终端标识可以采用ONU-ID,也可以采用不同于ONU-ID的标识。当操作管理系统与OLT之间的管理终端标识采用ONU-ID时,操作管理系统、OLT、ONU/ONT均采用ONU-ID对ONU/ONT进行标识。  In addition, in the above description of FIG. 3, the management terminal identification can be used to identify the terminal between the operation management system and the OLT; the ONU-ID can be used to identify the terminal between the OLT and the ONU/ONT, and the management terminal identification can be ONU-ID. The ID may also use an identifier different from the ONU-ID. When the management terminal identification between the operation management system and the OLT uses the ONU-ID, the operation management system, the OLT, and the ONU/ONT all use the ONU-ID to identify the ONU/ONT. the

方式二、先分配ONU-ID、再进行终端自动检测和认证过程如附图4所示。  Method 2: Assign ONU-ID first, and then perform terminal automatic detection and authentication process, as shown in Fig. 4 . the

图4中,步骤1、OLT向所有的ONU/ONT发送上报SN的请求消息。  In Fig. 4, in step 1, the OLT sends a request message for reporting an SN to all ONUs/ONTs. the

步骤2、ONU/ONT接收到OLT发送的请求消息后,向OLT上报自己的SN。  Step 2. After receiving the request message sent by the OLT, the ONU/ONT reports its own SN to the OLT. the

步骤3、OLT接收到ONU/ONT上报的SN后,OLT从未使用的ONU-ID中选择一个ONU-ID,并将该选择的ONU-ID分配给ONU/ONT。  Step 3: After the OLT receives the SN reported by the ONU/ONT, the OLT selects an ONU-ID from unused ONU-IDs, and assigns the selected ONU-ID to the ONU/ONT. the

步骤4、OLT通过与分配了ONU-ID的ONU/ONT进行数据交互,完成分配了ONU-ID的ONU/ONT的测距。  Step 4. The OLT completes the ranging of the ONU/ONT assigned the ONU-ID by performing data interaction with the ONU/ONT assigned the ONU-ID. the

步骤5、OLT向ONU/ONT发送请求逻辑注册码消息,该请求逻辑注册码消息可以通过Password请求消息来实现,也可以通过新增定义的请求逻辑注册码消息来实现。  Step 5. The OLT sends a request logic registration code message to the ONU/ONT. The request logic registration code message can be realized through a Password request message, or through a newly defined request logic registration code message. the

步骤6、ONU/ONT接收到OLT发送来的请求逻辑注册码消息后,向OLT上报自己的逻辑注册码。ONU/ONT可以将逻辑注册码携带在上报Password消息中传输至OLT,也可以将逻辑注册码携带在新增定义的逻辑注册码上报消息中传输至OLT。  Step 6. After receiving the logic registration code request message sent by the OLT, the ONU/ONT reports its own logic registration code to the OLT. The ONU/ONT can carry the logical registration code in the reported Password message and transmit it to the OLT, or can carry the logical registration code in the newly defined logical registration code report message and transmit it to the OLT. the

步骤7、OLT从接收到的消息中获取ONU/ONT的逻辑注册码,并根据操作管理系统预配置的参数对获取到的逻辑注册码进行校验,即OLT判断获取到的逻辑注册码是否与其存储的逻辑注册码匹配,如果匹配,则确认该ONU/ONT为合法终端,并记录该ONU/ONT的SN,OLT可以将该ONU/ONT的SN与该ONU/ONT的ONU-ID绑定,到步骤8;如果不匹配,则确认该ONU/ONT为非法终端,直接终止注册过程,可以不再进行后续的步骤。  Step 7. The OLT obtains the logical registration code of the ONU/ONT from the received message, and checks the obtained logical registration code according to the pre-configured parameters of the operation management system, that is, the OLT judges whether the obtained logical registration code is consistent with the obtained logical registration code. The stored logical registration code matches, if it matches, confirm that the ONU/ONT is a legal terminal, and record the SN of the ONU/ONT, the OLT can bind the SN of the ONU/ONT with the ONU-ID of the ONU/ONT, Go to step 8; if they do not match, then confirm that the ONU/ONT is an illegal terminal, terminate the registration process directly, and do not proceed to the subsequent steps. the

步骤8、OLT通过与合法ONU/ONT进行数据交互,来进行ONU/ONT的注册,在注册成功后,到步骤9。  Step 8. The OLT registers the ONU/ONT by exchanging data with the legal ONU/ONT. After the registration is successful, go to step 9. the

步骤9、OLT通过与注册成功的ONU/ONT进行数据交互,来为注册成功的ONU/ONT配置业务参数。  Step 9. The OLT configures service parameters for the successfully registered ONU/ONT by exchanging data with the successfully registered ONU/ONT. the

步骤10、ONU/ONT在下线时,向OLT发送下线消息。  Step 10, when the ONU/ONT is offline, send an offline message to the OLT. the

步骤11、OLT接收到ONU/ONT发送来的下线消息后,释放ONU/ONT的SN 与ONU/ONT的ONU-ID的绑定关系。  After step 11, OLT receives the offline message that ONU/ONT sends, releases the binding relation of the SN of ONU/ONT and the ONU-ID of ONU/ONT. the

在上述针对图4的描述中,操作管理系统与OLT之间可以通过管理终端标识来标识终端;而OLT和ONU/ONT之间可以通过ONU-ID来标识终端,管理终端标识可以采用ONU-ID,也可以采用不同于ONU-ID的标识。当操作管理系统与OLT之间的管理终端标识不采用ONU-ID时,步骤7中的OLT可以将该ONU/ONT的SN、该ONU/ONT的ONU-ID、以及该ONU/ONT的管理终端标识绑定;则步骤11中,需要释放该ONU/ONT的SN、该ONU/ONT的ONU-ID、以及该ONU/ONT的管理终端标识绑定关系。  In the above description for Figure 4, the terminal can be identified by the management terminal ID between the operation management system and the OLT; the terminal can be identified by the ONU-ID between the OLT and the ONU/ONT, and the management terminal ID can use the ONU-ID , and an identifier different from the ONU-ID can also be used. When the management terminal identification between the operation management system and the OLT does not use the ONU-ID, the OLT in step 7 can use the SN of the ONU/ONT, the ONU-ID of the ONU/ONT, and the management terminal of the ONU/ONT Identification binding; then in step 11, the SN of the ONU/ONT, the ONU-ID of the ONU/ONT, and the management terminal identification binding relationship of the ONU/ONT need to be released. the

从上述方法实施方式的描述中可以看出,本发明实施方式可以不需要在局端如OLT和操作管理系统中静态配置终端序列码,通过在检测认证过程中采用逻辑注册码,在认证通过后,记录从合法终端处获取的终端序列码、并记录为合法终端分配的终端标识,使局端如OLT可以实现对终端的自动检测和认证;OLT通过将自动检测认证获取到的终端序列码和终端标识传输至操作管理系统,使操作管理系统可以动态获取到终端序列码及终端标识,避免了操作管理系统静态配置终端序列码及终端标识的过程;在由于故障等原因需要更换终端时,更换后的终端可以使用更换前的终端的逻辑注册码,因此,避免了更换终端而带来的操作管理系统更新静态配置的序列码的过程;从而使操作管理系统可以对终端序列码和终端标识进行动态管理,而且操作管理系统可以方便的利用动态获得的终端序列码和终端标识对OLT、终端进行维护;最终降低了操作管理系统、OLT、以及终端的维护成本,提高了终端检测和认证的灵活性、以及局端、终端的可维护性。  It can be seen from the description of the above method implementation that the implementation of the present invention does not need to statically configure the terminal serial code in the central office such as the OLT and the operation management system. By using the logical registration code in the detection and authentication process, after the authentication is passed , record the terminal serial code obtained from the legal terminal, and record the terminal identification assigned to the legal terminal, so that the central office such as the OLT can realize automatic detection and authentication of the terminal; the OLT obtains the terminal serial code and The terminal identification is transmitted to the operation management system, so that the operation management system can dynamically obtain the terminal serial code and terminal identification, avoiding the process of statically configuring the terminal serial code and terminal identification in the operation management system; when the terminal needs to be replaced due to failure or other reasons, the replacement The terminal after replacement can use the logical registration code of the terminal before replacement, thus avoiding the process of updating the serial code of the static configuration by the operation management system brought about by the replacement of the terminal; so that the operation management system can carry out the serial code and terminal identification of the terminal Dynamic management, and the operation management system can easily use the dynamically obtained terminal serial code and terminal identification to maintain OLT and terminals; ultimately reduce the maintenance costs of the operation management system, OLT, and terminals, and improve the flexibility of terminal detection and certification performance, as well as the maintainability of the central office and terminal. the

本发明实施方式还提供一种网络设备,该位于无源光网络局端,可以为局端的OLT,该网络设备包括第一存储模块、接收模块、判断模块、分配模块和第二存储模块。  The embodiment of the present invention also provides a network device, which is located at the central office of the passive optical network, and may be an OLT at the central office. The network equipment includes a first storage module, a receiving module, a judging module, a distribution module and a second storage module. the

第一存储模块用于存储终端的逻辑注册码。第一存储模块中存储的逻辑注 册码可以是局端的操作管理系统配置的。  The first storage module is used for storing the logical registration code of the terminal. The logical registration code stored in the first storage module can be configured by the operation management system of the central office. the

接收模块用于接收终端发送来的逻辑注册码、以及终端序列码。接收模块可以向终端请求终端序列码、以及逻辑注册码,然后,再接收终端根据其请求传输来的终端序列码以及逻辑注册码。  The receiving module is used for receiving the logical registration code and the terminal serial code sent by the terminal. The receiving module may request the terminal serial code and logical registration code from the terminal, and then receive the terminal serial code and logical registration code transmitted by the terminal according to the request. the

判断模块用于判断接收模块接收到的逻辑注册码与存储模块中存储的逻辑注册码是否匹配,以确定终端是否为合法终端。判断模块输出判断结果信息,例如判断模块输出匹配信息、或者输出不匹配信息。  The judging module is used to judge whether the logical registration code received by the receiving module matches the logical registration code stored in the storage module, so as to determine whether the terminal is a legal terminal. The judging module outputs judging result information, for example, the judging module outputs matching information, or outputs non-matching information. the

分配模块用于为终端分配终端标识,并输出。分配模块可以在判断模块进行判断之前为终端分配终端标识,也可以在判断模块进行判断之后为终端分配终端标识。  The assignment module is used to assign a terminal identifier to the terminal and output it. The assigning module may assign a terminal identifier to the terminal before the judging module makes a judgment, or assign a terminal identifier to the terminal after the judging module makes a judgment. the

第二存储模块用于在判断模块输出匹配的判断结果信息后,存储接收模块接收到的终端序列码、以及分配模块输出的终端标识。第二存储模块中存储的终端序列码、终端标识为自动检测到的合法终端的终端序列码和终端标识。  The second storage module is used for storing the terminal serial code received by the receiving module and the terminal identification output by the distribution module after the judging module outputs the matched judging result information. The terminal serial code and terminal identification stored in the second storage module are terminal serial codes and terminal identifications of legal terminals detected automatically. the

该网络设备还可以可选的包括上报模块。上报模块用于将第二存储模块存储的终端序列码上报至局端的操作管理系统。上报模块向操作管理系统上报的终端序列码为其所在网络设备自动检测到的合法终端的终端序列码。  The network device may also optionally include a reporting module. The reporting module is used to report the terminal serial code stored in the second storage module to the operation management system at the central office. The terminal sequence code reported by the reporting module to the operation management system is the terminal sequence code of the legal terminal automatically detected by the network equipment where it is located. the

根据自动检测认证的实现方式不同,上述分配模块、接收模块等的具体操作也不同。下面例举两种具体实现方式。  Depending on the implementation of automatic detection and authentication, the specific operations of the distribution module, the receiving module, etc. are also different. Two specific implementation manners are exemplified below. the

方式一、分配模块包括判断子模块、分配子模块,接收模块包括第一请求子模块、第二请求子模块和接收子模块。  Mode 1. The allocation module includes a judgment sub-module and an allocation sub-module, and the receiving module includes a first request sub-module, a second request sub-module, and a receiving sub-module. the

第一请求子模块向所有的ONU/ONT发送上报SN的请求消息。接收子模块接收ONU/ONT上报的SN。判断子模块在接收子模块接收到ONU/ONT上报的SN后,判断接收子模块接收到的该SN是否在第二存储模块中记录过,即判断接收到的SN是与第二存储模块中存储的SN匹配,如果判断子模块判断出接收子模块接收到的SN为第二存储模块记录过的SN,则通知分配子模块分配正式 ONU-ID;如果判断子模块判断出接收子模块接收到的SN为第二存储模块未记录过的SN,则通知分配子模块分配临时ONU-ID。  The first request submodule sends a request message for reporting an SN to all ONUs/ONTs. The receiving sub-module receives the SN reported by the ONU/ONT. After the receiving sub-module receives the SN reported by the ONU/ONT, the judging sub-module judges whether the SN received by the receiving sub-module has been recorded in the second storage module, that is, judges whether the received SN is stored in the second storage module. If the judging sub-module judges that the SN received by the receiving sub-module is the SN recorded by the second storage module, the distribution sub-module is notified to distribute the official ONU-ID; if the judging sub-module judges that the receiving sub-module receives the SN If the SN is an SN that has not been recorded by the second storage module, the allocation sub-module is notified to allocate a temporary ONU-ID. the

分配子模块在接收到判断子模块的分配临时ONU-ID的信息后,为该终端分配临时ONU-ID,并触发网络设备对该终端进行测距。该网络设备通过与分配了临时ONU-ID的ONU/ONT进行数据交互,完成分配了临时ONU-ID的ONU/ONT的测距。  After receiving the temporary ONU-ID allocation information from the judging sub-module, the allocation sub-module allocates a temporary ONU-ID to the terminal, and triggers the network device to perform ranging on the terminal. The network device completes the ranging of the ONU/ONT assigned the temporary ONU-ID by performing data interaction with the ONU/ONT assigned the temporary ONU-ID. the

第二请求子模块在网络设备完成测距后向ONU/ONT发送请求逻辑注册码消息,该请求逻辑注册码消息可以通过Password请求消息来实现,也可以通过新增定义的请求逻辑注册码消息来实现。接收子模块从接收到的消息中获取ONU/ONT上报的逻辑注册码。  The second request sub-module sends a request logic registration code message to the ONU/ONT after the network device completes the ranging. The request logic registration code message can be implemented through a Password request message, or through a newly defined request logic registration code message. accomplish. The receiving sub-module obtains the logical registration code reported by the ONU/ONT from the received message. the

判断模块在接收子模块接收到逻辑注册码后,根据第一存储子模块存储的逻辑注册码对接收子模块接收到的逻辑注册码进行校验,即判断模块判断接收子模块接收到的逻辑注册码是否与第一存储子模块存储的逻辑注册码匹配,如果匹配,则确认该ONU/ONT为合法终端,通知第二存储模块记录该ONU/ONT的SN;如果不匹配,则确认该ONU/ONT为非法终端,直接终止注册过程。  After the receiving sub-module receives the logical registration code, the judging module verifies the logical registration code received by the receiving sub-module according to the logical registration code stored in the first storage sub-module, that is, the judging module judges the logical registration code received by the receiving sub-module. Whether the code matches the logical registration code stored in the first storage submodule, if it matches, then confirm that the ONU/ONT is a legal terminal, and notify the second storage module to record the SN of the ONU/ONT; if it does not match, then confirm that the ONU/ONT ONT is an illegal terminal, and the registration process is terminated directly. the

ONU/ONT重新上线进行后续的注册过程,ONU/ONT向OLT上报自己的SN。接收子模块接收到ONU/ONT上报的SN后,判断子模块查找该SN是否在第二存储模块中记录过,如果判断子模块判断出接收子模块接收到的SN为第二存储模块中记录过的SN,通知分配子模块为该终端分配正式ONU-ID;如果判断子模块判断出接收子模块接收到的SN为第二存储模块中未记录过的SN,则通知分配子模块为该终端分配临时ONU-ID。  The ONU/ONT goes online again for the subsequent registration process, and the ONU/ONT reports its SN to the OLT. After the receiving sub-module receives the SN reported by the ONU/ONT, the judging sub-module searches whether the SN has been recorded in the second storage module, if the judging sub-module judges that the SN received by the receiving sub-module is recorded in the second storage module If the judgment submodule judges that the SN received by the receiving submodule is an unrecorded SN in the second storage module, it notifies the distribution submodule to distribute the ONU-ID for the terminal. Temporary ONU-ID. the

由于在终端重新上线过程中,第二存储模块已经记录过该ONU/ONT的SN,因此,分配子模块在接收子模块接收到的SN后,查找ONU-ID,并将查找到的ONU-ID作为正式ONU-ID分配给该终端,并触发网络设备对该终端进行测距。  Since the second storage module has recorded the SN of the ONU/ONT during the re-online process of the terminal, the distribution sub-module searches for the ONU-ID after receiving the SN received by the sub-module, and uses the found ONU-ID It is assigned to the terminal as a formal ONU-ID, and triggers the network device to perform ranging on the terminal. the

网络设备通过与分配了正式ONU-ID的ONU/ONT进行数据交互,完成分配 了正式ONU-ID的ONU/ONT的测距。网络设备通过与分配了正式ONU-ID的ONU/ONT进行数据交互,来进行ONU/ONT的注册,在注册成功后,OLT通过与注册成功的ONU/ONT进行数据交互,来为注册成功的ONU/ONT配置业务参数。另外,当操作管理系统与OLT之间的管理终端标识采用ONU-ID时,第二存储模块中可以存储SN与ONU-ID的绑定关系。  The network device completes the ranging of the ONU/ONT assigned the official ONU-ID through data interaction with the ONU/ONT assigned the official ONU-ID. The network device registers the ONU/ONT through data interaction with the ONU/ONT assigned the official ONU-ID. /ONT configures service parameters. In addition, when the management terminal identification between the operation management system and the OLT adopts the ONU-ID, the second storage module can store the binding relationship between the SN and the ONU-ID. the

方式二、接收模块包括第一请求子模块、第三请求子模块和接收子模块。  Mode 2, the receiving module includes a first request submodule, a third request submodule and a receiving submodule. the

第一请求子模块向所有的ONU/ONT发送上报SN的请求消息。接收子模块接收ONU/ONT上报的SN。分配模块在接收子模块接收到ONU/ONT上报的SN后,为终端分配ONU-ID,并触发网络设备对该终端进行测距。该网络设备通过与分配了ONU-ID的ONU/ONT进行数据交互,完成分配了ONU-ID的ONU/ONT的测距。  The first request submodule sends a request message for reporting an SN to all ONUs/ONTs. The receiving sub-module receives the SN reported by the ONU/ONT. After the receiving sub-module receives the SN reported by the ONU/ONT, the assigning module assigns the ONU-ID to the terminal, and triggers the network device to measure the distance of the terminal. The network device completes the ranging of the ONU/ONT assigned the ONU-ID by exchanging data with the ONU/ONT assigned the ONU-ID. the

第三请求子模块在网络设备完成测距后向ONU/ONT发送请求逻辑注册码消息,该请求逻辑注册码消息可以通过Password请求消息来实现,也可以通过新增定义的请求逻辑注册码消息来实现。接收子模块从接收到的消息中获取ONU/ONT上报的逻辑注册码。  The third request sub-module sends a request logic registration code message to the ONU/ONT after the network device completes the ranging. The request logic registration code message can be implemented through a Password request message, or through a newly defined request logic registration code message. accomplish. The receiving sub-module obtains the logical registration code reported by the ONU/ONT from the received message. the

判断模块在接收子模块接收到逻辑注册码后,根据第一存储子模块存储的逻辑注册码对接收子模块接收到的逻辑注册码进行校验,即判断模块判断接收子模块接收到的逻辑注册码是否与第一存储子模块存储的逻辑注册码匹配,如果匹配,则确认该ONU/ONT为合法终端,通知第二存储模块记录该ONU/ONT的SN;如果不匹配,则确认该ONU/ONT为非法终端,直接终止注册过程。  After the receiving sub-module receives the logical registration code, the judging module verifies the logical registration code received by the receiving sub-module according to the logical registration code stored in the first storage sub-module, that is, the judging module judges the logical registration code received by the receiving sub-module. Whether the code matches the logical registration code stored in the first storage submodule, if it matches, then confirm that the ONU/ONT is a legal terminal, and notify the second storage module to record the SN of the ONU/ONT; if it does not match, then confirm that the ONU/ONT ONT is an illegal terminal, and the registration process is terminated directly. the

网络设备通过与分配了正式ONU-ID的ONU/ONT进行数据交互,来进行ONU/ONT的注册,在注册成功后,OLT通过与注册成功的ONU/ONT进行数据交互,来为注册成功的ONU/ONT配置业务参数。  The network device registers the ONU/ONT through data interaction with the ONU/ONT assigned the official ONU-ID. /ONT configures service parameters. the

ONU/ONT在下线时,向OLT发送下线消息。OLT接收到ONU/ONT发送来的下线消息后,第二存储模块释放其存储的该ONU/ONT的信息。当操作管理 系统与OLT之间的管理终端标识没有采用ONU-ID时,第二存储模块中存储的该ONU/ONT的信息为:ONU/ONT的SN、ONU/ONT的管理终端标识与ONU/ONT的ONU-ID的绑定关系。  When the ONU/ONT goes offline, it sends an offline message to the OLT. After the OLT receives the offline message sent by the ONU/ONT, the second storage module releases the stored information of the ONU/ONT. When the management terminal identification between the operation management system and the OLT does not adopt the ONU-ID, the information of the ONU/ONT stored in the second storage module is: the SN of the ONU/ONT, the management terminal identification of the ONU/ONT and the ONU/ONT The binding relationship of the ONU-ID of the ONT. the

本发明实施方式还提供一种无源光网络局端中的操作管理系统,该操作管理系统包括:逻辑注册码模块和序列码模块。  The embodiment of the present invention also provides an operation management system in the central office of the passive optical network, and the operation management system includes: a logic registration code module and a sequence code module. the

逻辑注册码模块用于存储逻辑注册码,为用户分配逻辑注册码,并将为用户分配的逻辑注册码传输至光线路终端。逻辑注册码模块可以将逻辑注册码和业务参数以前传输知光线路终端。具体如上述方法实施方式中的描述。  The logical registration code module is used for storing the logical registration code, assigning the logical registration code to the user, and transmitting the logical registration code assigned to the user to the optical line terminal. The logical registration code module can transmit the logical registration code and service parameters to the optical line terminal. The details are as described in the above method implementation. the

序列码模块用于接收光线路终端传输来的合法终端的序列码,并存储。光线路终端传输来的序列码是光线路终端自动检测到的合法终端的序列码。序列码模块可以将接收到的序列码存储在SN数据库中。操作管理系统中还设置有对SN进行管理的模块。  The sequence code module is used for receiving and storing the sequence code of the legal terminal transmitted by the optical line terminal. The sequence code transmitted by the optical line terminal is the sequence code of the legal terminal automatically detected by the optical line terminal. The serial code module can store the received serial code in the SN database. The operation management system is also provided with a module for managing SN. the

本发明实施方式还提供一种无源光网络中的终端设备,该终端设备包括:接收存储模块和发送模块。  The embodiment of the present invention also provides a terminal device in a passive optical network, and the terminal device includes: a receiving storage module and a sending module. the

接收存储模块用于接收并存储输入其所在终端设备的逻辑注册码。接收存储模块可以利用终端设备提供的本地命令行、Web页面、或者其它方式接收外部输入的逻辑注册码。具体如上述方法实施方式中的描述。  The receiving storage module is used to receive and store the logical registration code input to the terminal equipment where it is located. The receiving storage module may utilize a local command line provided by the terminal device, a web page, or other methods to receive an externally input logic registration code. The details are as described in the above method implementation. the

发送模块用于根据其所在终端设备接收到的局端的请求,向局端发送所述接收存储模块中存储的逻辑注册码。例如,发送模块将逻辑注册码携带在上报密码的消息中发送至OLT;再例如,发送模块将逻辑注册码携带在新增定义的专用于传输逻辑注册码的消息中发送至OLT。具体如上述方法实施方式中的描述。  The sending module is used to send the logical registration code stored in the receiving storage module to the central office according to the request received by the terminal device where it is located. For example, the sending module sends the logical registration code to the OLT in a message for reporting the password; for another example, the sending module carries the logical registration code in a newly defined message dedicated to transmitting the logical registration code and sends it to the OLT. The details are as described in the above method implementation. the

虽然通过实施例描绘了本发明,本领域普通技术人员知道,本发明有许多变形和变化而不脱离本发明的精神,本发明的申请文件的权利要求包括这些变形和变化。  Although the present invention has been described by way of example, those of ordinary skill in the art know that there are many variations and changes in the present invention without departing from the spirit of the invention, and the claims of the application document of the present invention include these variations and changes. the

Claims (12)

1.一种无源光网络中终端检测认证方法,其特征在于,终端具有逻辑注册码,所述方法包括步骤:1. A method for terminal detection and authentication in a passive optical network, characterized in that the terminal has a logic registration code, and the method comprises steps: 局端接收终端发送来的逻辑注册码,其中,所述逻辑注册码,由所述局端动态生成,并且在用户申请业务的过程中由所述局端分配给所述终端;The central office receives the logical registration code sent by the terminal, wherein the logical registration code is dynamically generated by the central office and allocated to the terminal by the central office during the process of the user applying for a service; 所述局端在确定出所述终端的逻辑注册码与局端存储的逻辑注册码匹配后,确定所述终端为合法终端;After the central office determines that the logical registration code of the terminal matches the logical registration code stored by the central office, it determines that the terminal is a legal terminal; 局端记录从所述合法终端处获取的终端序列码,并记录给所述合法终端分配的终端标识。The central office records the terminal sequence code acquired from the legal terminal, and records the terminal identifier assigned to the legal terminal. 2.如权利要求1所述的方法,其特征在于,所述局端接收终端发送来的逻辑注册码的步骤包括:2. The method according to claim 1, wherein the step of receiving the logical registration code sent by the terminal at the central office comprises: 局端的光线路终端在接收到其未记录的终端序列码后,为该终端分配临时终端标识;The optical line terminal at the central office assigns a temporary terminal identifier to the terminal after receiving its unrecorded terminal sequence code; 所述光线路终端在完成所述分配有临时终端标识的终端的测距后,请求该终端的逻辑注册码。After the optical line terminal completes the ranging of the terminal allocated with the temporary terminal identifier, it requests the logical registration code of the terminal. 3.如权利要求2所述的方法,其特征在于,所述局端记录从所述合法终端处获取的终端序列码,并记录给所述合法终端分配的终端标识的步骤包括:3. The method according to claim 2, wherein the central office records the terminal sequence code acquired from the legal terminal, and records the terminal identification assigned to the legal terminal comprising: 所述光线路终端记录其接收到的所述合法终端的序列码;The optical line terminal records the serial code of the legal terminal it receives; 所述光线路终端在接收到所述合法终端重新上线而上报的序列码后,为所述合法终端分配正式终端标识,并记录所述合法终端的正式终端标识。After the optical line terminal receives the serial code reported by the legal terminal when it goes online again, it assigns a formal terminal identifier to the legal terminal, and records the formal terminal identifier of the legal terminal. 4.如权利要求1所述的方法,其特征在于,所述局端接收终端发送来的逻辑注册码的步骤包括:4. The method according to claim 1, wherein the step of receiving the logical registration code sent by the terminal at the central office comprises: 局端的光线路终端在接收到其请求的终端的序列码后,为所述终端分配终端标识,所述光线路终端在完成所述分配有终端标识的终端的测距后,请求该终端的逻辑注册码。After receiving the serial code of the requested terminal, the optical line terminal at the central office assigns a terminal identifier to the terminal, and after the optical line terminal completes the ranging of the terminal assigned the terminal identifier, it requests the logic of the terminal to registration code. 5.如权利要求1至4中任一权利要求所述的方法,其特征在于,所述局端存储的逻辑注册码包括:5. The method according to any one of claims 1 to 4, wherein the logical registration code stored at the central office comprises: 局端的操作管理系统存储的逻辑注册码;以及The logical registration code stored in the operation management system of the central office; and 所述操作管理系统将为用户分配的逻辑注册码传输至光线路终端,所述光线路终端接收并存储的逻辑注册码。The operation management system transmits the logical registration code assigned to the user to the optical line terminal, and the optical line terminal receives and stores the logical registration code. 6.如权利要求1至4中任一权利要求所述的方法,其特征在于,所述方法还包括:6. The method according to any one of claims 1 to 4, further comprising: 局端的光线路终端将所述记录的合法终端的终端序列码传输至局端的操作管理系统,所述操作管理系统记录并管理所述终端序列码。The optical line terminal at the central office transmits the recorded terminal sequence code of the legal terminal to the operation management system at the central office, and the operation management system records and manages the terminal sequence code. 7.一种网络设备,位于无源光网络局端,其特征在于,该网络设备包括:7. A network device located at the central office of a passive optical network, characterized in that the network device includes: 第一存储模块,用于存储终端的逻辑注册码,其中,所述逻辑注册码,由所述局端动态生成,并且在用户申请业务的过程中由所述局端分配给光网络终端;The first storage module is used to store the logical registration code of the terminal, wherein the logical registration code is dynamically generated by the central office, and is allocated to the optical network terminal by the central office during the process of the user applying for a service; 接收模块,用于接收终端发送来的逻辑注册码、以及终端序列码;The receiving module is used to receive the logical registration code and the terminal serial code sent by the terminal; 判断模块,用于判断接收模块接收到的逻辑注册码与第一存储模块中存储的逻辑注册码是否匹配,并输出判断结果;A judging module, configured to judge whether the logical registration code received by the receiving module matches the logical registration code stored in the first storage module, and output a judgment result; 分配模块,用于为终端分配终端标识,并输出;An assignment module, configured to assign a terminal identifier to the terminal and output it; 第二存储模块,用于在判断模块输出匹配的判断结果信息后,存储接收模块接收到的终端序列码、以及分配模块输出的终端标识。The second storage module is configured to store the terminal sequence code received by the receiving module and the terminal identifier output by the distribution module after the judging module outputs the matched judging result information. 8.如权利要求7所述的网络设备,其特征在于:8. The network device according to claim 7, characterized in that: 所述分配模块包括:The allocation module includes: 判断子模块,用于判断接收模块接收到的终端序列码是否记录在第二存储模块存储的终端序列码中,并输出判断结果;A judging sub-module, used to judge whether the terminal sequence code received by the receiving module is recorded in the terminal sequence code stored in the second storage module, and output the judgment result; 分配子模块,用于在判断子模块输出记录的判断结果后,为该终端分配正式终端标识,在判断子模块输出未记录的判断结果后,为该终端分配临时终端标识;以及触发网络设备的测距处理;The allocation sub-module is used to assign a formal terminal identifier to the terminal after the judging sub-module outputs a recorded judgment result, and assign a temporary terminal identifier to the terminal after the judging sub-module outputs an unrecorded judgment result; and trigger the network device Ranging processing; 所述接收模块包括:The receiving module includes: 第一请求子模块,用于请求终端的终端序列码;The first request submodule is used to request the terminal serial code of the terminal; 第二请求子模块,用于在其所在的网络设备完成所述分配有临时终端标识的终端的测距后,请求该终端的逻辑注册码;The second request submodule is used to request the logical registration code of the terminal after the network device where it is located completes the ranging of the terminal assigned the temporary terminal identifier; 接收子模块,用于接收所述终端的逻辑注册码、以及序列码。The receiving submodule is used to receive the logical registration code and serial code of the terminal. 9.如权利要求8所述的网络设备,其特征在于,所述接收模块包括:9. The network device according to claim 8, wherein the receiving module comprises: 第一请求子模块,用于请求终端的终端序列码;The first request submodule is used to request the terminal serial code of the terminal; 第三请求子模块,用于在接收子模块接收到终端的序列码、所述分配模块为终端分配终端标识、且其所在的网络设备完成所述分配有终端标识的终端的测距后,请求该终端的逻辑注册码;The third request submodule is used to request after the receiving submodule receives the serial code of the terminal, the assignment module assigns the terminal identifier to the terminal, and the network device where it is located completes the ranging of the terminal assigned the terminal identifier The logical registration code of the terminal; 接收子模块,用于接收所述终端的逻辑注册码、以及序列码。The receiving submodule is used to receive the logical registration code and serial code of the terminal. 10.如权利要求8所述的网络设备,其特征在于,所述网络设备还包括:10. The network device according to claim 8, further comprising: 上报模块,用于将所述第二存储模块存储的终端序列码上报至局端的操作管理系统。The reporting module is configured to report the terminal sequence code stored in the second storage module to the operation management system at the central office. 11.一种操作管理系统,位于无源光网络的局端,其特征在于,所述操作管理系统包括:11. An operation management system located at the central office of a passive optical network, characterized in that the operation management system includes: 逻辑注册码模块,用于存储逻辑注册码,为用户分配逻辑注册码,并将为用户分配的逻辑注册码传输至光线路终端,其中,所述逻辑注册码,由所述局端动态生成,并且在用户申请业务的过程中由所述局端分配给光网络终端;The logical registration code module is used to store the logical registration code, assign the logical registration code to the user, and transmit the logical registration code assigned to the user to the optical line terminal, wherein the logical registration code is dynamically generated by the central office, And in the process of the user applying for the service, the central office is assigned to the optical network terminal; 序列码模块,用于接收光线路终端传输来的合法终端的序列码,并存储。The sequence code module is used for receiving and storing the sequence code of the legal terminal transmitted by the optical line terminal. 12.一种终端设备,位于无源光网络的用户侧,其特征在于,所述终端设备包括:12. A terminal device located on the user side of a passive optical network, characterized in that the terminal device comprises: 接收存储模块,用于接收并存储输入其所在终端设备的逻辑注册码,其中,所述逻辑注册码,由局端动态生成,并且在用户申请业务的过程中由所述局端分配给所述终端设备;The receiving storage module is used to receive and store the logical registration code input to the terminal equipment where it is located, wherein the logical registration code is dynamically generated by the central office and assigned to the Terminal Equipment; 发送模块,用于根据其所在终端设备接收到的局端的请求,向局端发送所述接收存储模块中存储的逻辑注册码。The sending module is configured to send the logical registration code stored in the receiving storage module to the central office according to the request received by the central office at the terminal device where it is located.
CN2008101896355A 2007-07-13 2007-07-13 Terminal detection authentication method, apparatus and operation management system in passive optical network Active CN101478702B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008101896355A CN101478702B (en) 2007-07-13 2007-07-13 Terminal detection authentication method, apparatus and operation management system in passive optical network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008101896355A CN101478702B (en) 2007-07-13 2007-07-13 Terminal detection authentication method, apparatus and operation management system in passive optical network

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN200710119103XA Division CN101083589B (en) 2007-07-13 2007-07-13 Terminal detection authentication method, device and operation management system in passive optical network

Publications (2)

Publication Number Publication Date
CN101478702A CN101478702A (en) 2009-07-08
CN101478702B true CN101478702B (en) 2012-11-21

Family

ID=40839324

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008101896355A Active CN101478702B (en) 2007-07-13 2007-07-13 Terminal detection authentication method, apparatus and operation management system in passive optical network

Country Status (1)

Country Link
CN (1) CN101478702B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8406628B2 (en) 2007-07-13 2013-03-26 Huawei Technologies Co., Ltd. Method, equipment, and system for detecting and authenticating terminal in passive optical network

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101990134B (en) * 2009-07-30 2015-05-06 中兴通讯股份有限公司 Method and system of dynamically managing serial number, optical line terminal and optical network unit
CN101692672B (en) * 2009-10-19 2016-02-10 中兴通讯股份有限公司 The register method of optical network unit in passive optical network and device
CN103248417B (en) * 2012-02-06 2019-05-21 中兴通讯股份有限公司 Identity distribution method and device in a kind of passive optical network
EP3007384B1 (en) * 2013-08-22 2021-03-10 Huawei Technologies Co., Ltd. Method, apparatus and system for terminal authentication in passive optical network
CN103618751B (en) * 2013-12-12 2016-08-31 绵阳芯联芯网络科技有限公司 Passive optical network service protection method based on separate mapping mechanism
CN104902354A (en) * 2015-06-18 2015-09-09 深圳市新格林耐特通信技术有限公司 Flexible and safe ONT authentication method in GPON system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6546014B1 (en) * 2001-01-12 2003-04-08 Alloptic, Inc. Method and system for dynamic bandwidth allocation in an optical access network
CN1941009A (en) * 2005-09-29 2007-04-04 普天信息技术研究院 Method for realizing fee payment by mobile telecommunication terminal
CN1988552A (en) * 2005-12-20 2007-06-27 中国电信股份有限公司 Method for automatic identifying and configurating terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6546014B1 (en) * 2001-01-12 2003-04-08 Alloptic, Inc. Method and system for dynamic bandwidth allocation in an optical access network
CN1941009A (en) * 2005-09-29 2007-04-04 普天信息技术研究院 Method for realizing fee payment by mobile telecommunication terminal
CN1988552A (en) * 2005-12-20 2007-06-27 中国电信股份有限公司 Method for automatic identifying and configurating terminal

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8406628B2 (en) 2007-07-13 2013-03-26 Huawei Technologies Co., Ltd. Method, equipment, and system for detecting and authenticating terminal in passive optical network
US8774629B2 (en) 2007-07-13 2014-07-08 Huawei Technologies Co., Ltd. Method and apparatus for authentication in passive optical network
US9397777B2 (en) 2007-07-13 2016-07-19 Huawei Technologies Co., Ltd. Method and apparatus for authentication in passive optical network
US9674172B2 (en) 2007-07-13 2017-06-06 Huawei Technologies Co., Ltd. Method and apparatus for authentication in passive optical network
US9942634B2 (en) 2007-07-13 2018-04-10 Huawei Technologies Co., Ltd. Method and apparatus for authentication in passive optical network
US10455304B2 (en) 2007-07-13 2019-10-22 Huawei Technologies Co., Ltd. Method and apparatus for authentication in passive optical network
US10986427B2 (en) 2007-07-13 2021-04-20 Huawei Technologies Co., Ltd. Method, equipment, and system for detecting and authenticating terminal in passive optical network

Also Published As

Publication number Publication date
CN101478702A (en) 2009-07-08

Similar Documents

Publication Publication Date Title
CN101083589B (en) Terminal detection authentication method, device and operation management system in passive optical network
CN104584478B (en) Terminal authentication method, apparatus and system in passive optical network
CN101478702B (en) Terminal detection authentication method, apparatus and operation management system in passive optical network
CN101902447A (en) Authentication method and device in passive optical network and a passive optical network
CN101902662B (en) Optical network unit (ONU) registration activating method and system
EP2339813A1 (en) Method, system and device for realizing the user side terminal obtains a password
CN101286887A (en) Method, device and system for realizing terminal registry
CN102739623A (en) Authorization method and terminal device
CN113938771A (en) A kind of service distribution method of passive optical network
WO2018171124A1 (en) Resource allocation method, server, optical line terminal and system
CN103905301A (en) Method for configuring optical network unit in passive optical network
CN102571353A (en) Method for verifying legitimacy of home gateway in passive optical network
CN103229453A (en) Authentication method, device and system
CN117768810A (en) Registration method of optical network unit, optical line terminal, optical network unit and medium
CN102439899B (en) Authentication method of optical network system, optical network terminal and optical network system
CN107017946A (en) A method and system for automatic registration of ONU equipment
KR100670781B1 (en) Dynamic IP Allocation Method in Ethernet-based Passive Optical Subscriber Network
CN103222249B (en) Authentication method, device and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant