WO2011120308A1 - Registration method of optical network unit in gigabit passive optical network system - Google Patents

Registration method of optical network unit in gigabit passive optical network system Download PDF

Info

Publication number
WO2011120308A1
WO2011120308A1 PCT/CN2010/079053 CN2010079053W WO2011120308A1 WO 2011120308 A1 WO2011120308 A1 WO 2011120308A1 CN 2010079053 W CN2010079053 W CN 2010079053W WO 2011120308 A1 WO2011120308 A1 WO 2011120308A1
Authority
WO
WIPO (PCT)
Prior art keywords
onu
mode
olt
serial number
registration
Prior art date
Application number
PCT/CN2010/079053
Other languages
French (fr)
Chinese (zh)
Inventor
吴军平
向东
安俊峰
李庆
Original Assignee
烽火通信科技股份有限公司
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 烽火通信科技股份有限公司 filed Critical 烽火通信科技股份有限公司
Publication of WO2011120308A1 publication Critical patent/WO2011120308A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q11/0067Provisions for optical access or distribution networks, e.g. Gigabit Ethernet Passive Optical Network (GE-PON), ATM-based Passive Optical Network (A-PON), PON-Ring
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q2011/0079Operation or maintenance aspects

Definitions

  • the invention relates to a registration strategy of an ONU (Optical Network Unit) in a GPON (Gigabit Passive Optical Network) system, and in particular to a registration method of an ONU in a GPON system.
  • ONU Optical Network Unit
  • GPON Gigabit Passive Optical Network
  • the system As an access device, the system is directly connected to the client, and plays an important role in registering the ONU in the GPON system.
  • the existing registration technologies cannot implement the control of the ONU, that is, the legal and illegal users cannot be identified, and all connected ONUs are authorized, which may lead to illegal users. The emergence of this is not conducive to the operator's management of the user.
  • an object of the present invention is to provide a method for registering an ONU in a GPON system, which solves the existing method.
  • the control of the ONU cannot be implemented, and all connected ONUs are authorized, and the problem of legitimate and illegal users cannot be identified.
  • a method for registering an ONU in a GPON system comprising the steps of:
  • the GPON system first determines the access mode of the system configuration, when the access mode When Quiet_mode is used, the registration operation of the ONU is manually performed by the administrator: the administrator needs to know the serial number of the new ONU to be operated in advance, and then inform the PON chip in the OLT of the serial number of the new ONU, and let the OLT use the ONU. Perform the corresponding operation, and the underlying operation is implemented by the PON chip;
  • the OLT When access mode When the Polling_mode is used, the OLT periodically registers the ONU. In one cycle, the ONU registration process includes the following two steps:
  • the OLT automatically discovers the new ONU, and writes the serial number of the newly discovered ONU into the serial number discovery table;
  • the second step is the registration mode of the OLT according to the system configuration.
  • the serial number discovery table is filtered by using the corresponding control table.
  • the OLT does not perform the registration operation for the ONU that fails to be filtered.
  • the ONU that filters the filtering first performs ranging to obtain the equalization delay required to activate the ONU. After the success, and the ONU receives the Ranging_Time message sent by the OLT, the ONU is activated by the OLT, and establishes a communication channel between the activated ONU and the OLT. At this time, a round of ONU registration operation is completed.
  • the OLT waits for a period of time according to the value of the configured parameter interval, and then starts the next round of operation, and the number of rounds of the ONU registration process is determined by the configured parameter cycle.
  • the value of the parameter cycle is zero, it means an infinite loop; when the value of the parameter cycle is a positive integer and is not equal to one, the OLT first performs a round of ONU registration operation, and then the value of the parameter cycle is decremented by one, when the value of the parameter cycle is Equal to one hour, the number of rounds running on behalf of the registration process has been exhausted, and the GPON system automatically enters Quiet_mode.
  • the registration mode described in the second step includes:
  • NA_mode No authentication mode NA_mode.
  • the ONU can be activated without being authenticated.
  • the ONU can be activated.
  • the online ONU indicates all ONUs currently attached to the ODN.
  • the ONU indicates that the ONU is enabled. When the ONU is disabled, the ONU's laser is turned off and turned on when enabled.
  • serial number + password mode SP_mode in this mode, the OLT verifies the legality of the ONU according to the serial number of the ONU and the password PAS;
  • the control table in the second step includes a whitelist, a blacklist, and an error password table.
  • the NA_mode uses only the blacklist to filter the ONUs;
  • the SN_mode uses the blacklist and the whitelist to filter the ONUs.
  • the SP_mode uses the whitelist, the blacklist, and the incorrect password table to filter the ONUs, and the three registration modes share a blacklist to filter the ONUs.
  • the OLT determines, according to the configuration of the parameters visi_mode and auth_mode, which access mode and registration mode are currently used.
  • the blacklist is used to store the serial number of the illegal ONU.
  • the ONU whose serial number is in this table will be disabled.
  • the whitelist is used to store the serial number of the legal ONU, and the ONU whose serial number is in this table will be allowed to be ranged;
  • the error password table is automatically generated during the SP_mode password verification process.
  • the serial number of the ONU is placed in the error password table.
  • the OLT When the OLT detects a single ONU disconnection, the OLT automatically deletes the serial number of the ONU from the activation table and the serial number discovery table.
  • the OLT When the OLT detects all link breaks, the OLT automatically clears the entire serial number discovery table and activation table.
  • the method for the administrator to operate the ONU is:
  • the access mode is Quiet_mode
  • the ONU when the ONU is activated, The administrator informs the OLT of the ONU serial number, and causes the OLT to activate the ONU.
  • the OLT automatically measures the ONU to complete the activation of the ONU.
  • the OLT When the ONU is deactivated, The administrator informs the OLT of the ONU serial number, and causes the OLT to deactivate the ONU.
  • the OLT automatically sends a Deactive_ONU-ID message to deactivate the ONU.
  • the ONU When the ONU is disabled, The administrator informs the OLT of the ONU serial number, and causes the OLT to disable the ONU, OLT.
  • Disable_serial_number message with the 'Disable' option to turn off the laser of the ONU; when the ONU is enabled, The administrator informs the OLT of the ONU serial number and enables the OLT to enable the ONU. The OLT automatically sends a Disable_serial_number message with the 'Enable' option to turn on the laser of the ONU;
  • the access mode is Polling_mode
  • the administrator controls the state of the ONU by editing the control table; for the ONU When activated, the serial number of the ONU is added to the whitelist, and the OLT automatically activates the ONU through the above process; When deactivated, the serial number of the ONU is deleted from the whitelist.
  • the OLT automatically sends a Deactive_ONU-ID message to deactivate the ONU.
  • the ONU is disabled, the serial number of the ONU is added to the blacklist.
  • the Disable_serial_number message with the 'Disable' option is used to turn off the laser of the ONU.
  • the OLT automatically sends a Disable_serial_number message with the 'Enable' option to turn on the laser of the ONU. .
  • Max_discover 10, the max_discover is used to define the depth of the serial number discovery table.
  • the ONU registration method in the GPON system of the present invention provides a complete GPON system ONU registration policy.
  • the present invention provides two access modes, Quiet_mode and Polling_mode.
  • Quiet_mode the registration operation of the ONU is performed by the administrator. Manually, it is applicable to the case where the number of ONUs is small and the members are stable. In other cases, the Polling_mode is used.
  • the Polling_mode the OLT periodically registers the ONUs.
  • this access mode (Polling_mode) three registration modes, namely, no authentication mode (NA_mode), pure sequence number mode (SN_mode), and serial number + password mode (SP_mode) are provided, which respectively provide registration modes of different security levels. Managers can select different access modes and registration modes according to actual needs, which improves the flexibility of the ONU registration function of the GPON system.
  • Figure 2 shows the table update flow chart
  • the ONU registration method in the GPON system of the present invention provides two access modes: Quiet mode (Quiet_mode) and Polling mode (Polling_mode), and no authentication mode (NA_mode) under Polling_mode.
  • Three registration modes pure serial number mode (SN_mode) and serial number + password mode (SP_mode).
  • the registration function of the ONU in the GPON system of the present invention includes two sub-functions: a registration admission function and a registration removal function.
  • the registration admission function activates the ONU and establishes a communication channel with the OLT for it, and the registration removal function is interrupted. The communication channel between the ONU and the OLT.
  • the GPON system first determines the access mode of the system configuration:
  • the registration of the ONU is done manually by the administrator.
  • the administrator needs to know the new ONU serial number in advance, and then inform the PON chip (hereinafter referred to as OLT) in the OLT of the ONU serial number to be operated, and let the OLT perform corresponding operations on the ONU.
  • the underlying operation is implemented by the PON chip.
  • OLT PON chip
  • the administrator informs the OLT of the ONU serial number and causes the OLT to activate or deactivate the ONU.
  • the ONU serial number is also notified to the OLT. Let the OLT enable or disable the ONU.
  • the OLT When the access mode is Polling_mode, the OLT periodically registers the ONU. In one cycle, the ONU registration process includes the following two steps:
  • the OLT automatically discovers the new ONU and writes the newly discovered ONU into the serial number discovery table
  • the OLT uses the corresponding control table to filter the serial number discovery table according to the registration mode configured by the system. For the ONU that fails to be filtered, the OLT does not perform the registration operation; Requesting to activate the equalization delay required by the ONU.
  • the ONU is activated by the OLT, and a communication channel between the activated ONU and the OLT is established, and a round is completed.
  • ONU registration operation There are three registration modes under Polling_mode, namely NA_mode, SN_mode and SP_mode.
  • different registration modes are used to filter the serial number discovery table. See the follow-up instructions for details.
  • the administrator can control the state of the ONU by editing the control table.
  • the serial number of the ONU is added to the whitelist.
  • the serial number of the ONU is deleted from the whitelist.
  • the serial number of the ONU is added to the blacklist.
  • the serial number of the ONU is deleted from the blacklist.
  • the GPON protocol is based on the serial number of the ONU to identify and configure the ONU.
  • the serial number of the ONU is known in advance, the method of directly activating the ONU is usually employed.
  • the serial number of the ONU cannot be known in advance, so the OLT needs to automatically discover the serial number of the ONU.
  • the present invention defines two access modes as needed:
  • Quiet mode used for manual registration, the management personnel directly register the ONU, the method is simple and intuitive, it is a static operation of the ONU, suitable for the number of ONUs, and the members are stable, generally not correct
  • the end user is open; the manager needs to know the serial number of the ONU to be operated in advance, and then inform the OLT of the serial number, and let the OLT perform corresponding operations on the ONU, and the underlying operation is implemented by the PON chip;
  • Second_mode used for automatic registration, which can periodically acquire the serial number of the new ONU (which can be processed according to the GPON standard) and add them to the serial number discovery table, and then The OLT compares the sequence number in the serial number discovery table with the serial number recorded in the control table to determine the validity of the ONU and activate the legal ONU. At this point, the registration process has been completed and wait for a while before starting the next round of operations. The above operations are all done automatically by the OLT.
  • Cycle indicates the number of rounds in the system running registration process.
  • initial value When the initial value is defined as zero, it indicates an infinite loop. Defined as other positive integers and not equal to one time, run according to the actual count, first perform a registration process, determine whether the cycle value is one, not to reduce the cycle value for one time, then perform a registration process again, and determine whether the cycle value is For one, do not reduce the cycle value for one time, and then execute the next registration process, and then cycle until the cycle value is one.
  • the cycle value is one, it will not be decremented by one.
  • the registration process is performed first, so the number of executions is equal to the initial cycle value; interval represents the time interval between the start of the round and the start of the next round; max_discover defines the depth of the serial number discovery table. The specific settings of max_discover are detailed in the following instructions.
  • the program proposes three registration modes:
  • NA_mode No authentication mode
  • the ONU can be activated without the ONU.
  • the online ONU indicates all the ONUs currently attached to the ODN.
  • the visible ONU indicates that the ONU is enabled.
  • the ONU when the ONU is disabled, the ONU's laser is turned off, enabled when enabled, and enabled or disabled by the blacklist;
  • SP_mode Serial number + password mode
  • the administrator configures the access mode and registration mode of the ONU in the OLT. Define the parameters visi_mode and auth_mode, configure the access mode and registration mode to be essentially for visi_mode and auth_mode Assignment.
  • auth_mode 0
  • control tables used to implement the ONU registration function: blacklist, whitelist, and error password table.
  • blacklist blacklist
  • whitelist whitelist
  • error password table error password table
  • Blacklist The serial number used to store the illegal ONU. The ONU whose serial number is in this table will be disabled. When the ONU is de-enabled, the ONU's laser is turned off. When the ONU is enabled, the laser is turned on. The blacklist is used in all three registration modes, and the three registration modes share a blacklist to filter the ONU.
  • the ONU When a member is added to the blacklist, the ONU is directly enabled, even if the ONU is activated. If the member is deleted in the blacklist, the ONU is directly enabled.
  • Error password table It is automatically generated during the SP_mode password verification process. When the password verification of the ONU is incorrect, the serial number of the ONU is placed in the password password table, and the activation is unsuccessful. It is only used for SP_mode.
  • NA_mode uses only blacklists
  • SN_mode uses blacklists and whitelists
  • SP_mode uses whitelists, blacklists, and incorrect password tables.
  • the registration process of the present invention is as follows:
  • the OLT first acquires a new ONU serial number.
  • the access mode is Quiet_mode
  • the new ONU serial number is notified to the OLT by the administrator; when the access mode is Polling_mode,
  • the OLT automatically obtains the new ONU serial number, and the OLT broadcasts the serial number request message to all ONUs.
  • the ONU in the serial number state sends a serial number response message to the OLT, so that the OLT obtains the serial number of the new ONU.
  • the OLT measures the equalization delay, or ranging, for each newly discovered ONU.
  • the OLT transmits the measured equalization delay to the ONU. After the ONU obtains its own equalization delay, the uplink and downlink communication channels are established.
  • the registration of the ONU is done manually by the administrator.
  • the administrator needs to know the new ONU serial number in advance, and then inform the OLT of the ONU serial number to be operated, and let the OLT perform corresponding operations on the ONU.
  • the underlying operation is implemented by the PON chip.
  • the OLT When the access mode is Polling_mode, the OLT automatically discovers the new ONU and writes the newly discovered ONU into the serial number discovery table. Then the OLT filters the serial number discovery table according to the registration mode configured by the system, and uses the corresponding control table. Activate the filtered ONU. At this point, the registration process has been completed. Next, the value of the parameter cycle is judged. If the cycle is equal to zero, it means an infinite loop, and after waiting for a period of time, the next round of operations is started. If the cycle is not equal to zero, it is judged whether the cycle is greater than one. At this time, the cycle runs according to the actual count.
  • the cycle When the cycle is greater than one, it indicates that the number of rounds of the registration process has not been used up, the cycle value is reduced by one, and then wait for the next round of operation; If the cycle is not greater than one, it indicates that the number of rounds of the registration process has run out, and the GPON system automatically enters Quiet_mode.
  • the system When the system is configured as Quiet_mode, in this mode, all registration operations are done manually.
  • the administrator informs the OLT of the ONU serial number, and causes the OLT to activate the ONU.
  • the OLT automatically measures the ONU to complete the activation of the ONU.
  • the ONU When the ONU is deactivated, the administrator sets the ONU serial number.
  • the OLT is informed and the OLT is deactivated to the ONU.
  • the OLT automatically sends a Deactive_ONU-ID message to deactivate the ONU.
  • the administrator informs the OLT of the ONU serial number and causes the OLT to disable the ONU.
  • the OLT automatically sends a Disable_serial_number message with the "Disable” option to turn off the ONU's laser;
  • the administrator informs the OLT of the ONU serial number and enables the OLT to enable the ONU.
  • the OLT automatically sends a Disable_serial_number message with the "Enable” option to turn on the laser of the ONU.
  • disc_num indicates the number of members currently added to the serial number discovery table. Each member is inserted into the serial number discovery table, and disc_num is incremented by one. When disc_num reaches the serial number, it is found. At the table depth (max_discover), the OLT no longer receives the serial number response message. The OLT receives the serial number response message of the ONU. If the receiving timeout indicates that no ONU serial number response message is available, it is not necessary to continue adding members to the serial number discovery table. Add the aging time of all members in the serial number discovery table to one, and eliminate the ONU serial number that has reached the aging time. The update sequence number discovery table process ends.
  • the OLT receives the serial number response message of the ONU, extract the serial number in the message.
  • serial number already in the serial number discovery table clear the aging time in the serial number discovery table, and then Determine whether the serial number of the ONU is in the activation table. If the serial number of the ONU is not in the discovery table, it is directly determined whether it is already in the activation table. If the serial number is in the activation table, it indicates that the ONU has been activated and does not need to be activated again, and continues to receive the next serial number response message. Finally, the serial number that is not in the activation table can be written to the serial number discovery table and the disc_num is incremented by one.
  • the serial number discovery table After updating the serial number discovery table, use the corresponding control table to filter the ONUs in the serial number discovery table. Then, the ONU that passes the filtering is measured. After the ONU is successfully measured, the ONU serial number is added to the ONU activation table. Each time an ONU is activated, it is added to the ONU activation table and the active_num is incremented by one. Active_num indicates the number of members in the current activation table. Since the number of ONUs that can be activated by the OLT is limited, when the active_num reaches the activation table depth (max_onu), the activation process ends, even if there are still members in the serial number discovery table that are not processed.
  • This patent proposes three registration modes, each of which is described in detail separately.
  • NA_mode After updating the serial number discovery table, it enters the ONU activation process.
  • the implementation process is shown in Figure 3.
  • the initial value of configuration n is zero (n indicates the number of serial number discovery table members that have been accessed in this round. Each time a member is accessed, n is incremented by one. When n is greater than disc_num, the member in the serial number discovery table has been accessed. .), access the serial number to find the first member in the table, and add n to one. Determine whether n is greater than disc_num. If n is greater than disc_num, it indicates that the serial number discovery table has been accessed, and the activation process is ended.
  • n is not greater than disc_num, it is determined whether active_num (the current number of active table members) is less than the activation table depth (max_onu). If it is less than max_onu, the activation process is ended; if it is less than, the ONU is measured. After the ranging is successful, the serial number of the ONU is added to the activation table, and the active_num is incremented by one, and the serial number of the ONU is deleted from the serial number discovery table. Then start accessing the next member of the serial number discovery table.
  • SN_mode The implementation process is shown in Figure 4. Its implementation process is very similar to NA_mode.
  • the initial value of configuration n is zero, and n indicates the number of serial number discovery table members that have been accessed in this round. Each time a member is accessed, n is incremented by one. When n is greater than disc_num, the member in the serial number discovery table has been accessed. . Access the first member of the serial number discovery table and increment n by 1. Determine whether n is greater than disc_num. If n is greater than disc_num, it indicates that the serial number discovery table has been accessed, and the activation process is ended.
  • n is not greater than disc_num, it is determined whether active_num (the current number of active table members) is less than the activation table depth (max_onu). If it is less than max_onu, the activation process is ended; if it is less than, it is determined whether the ONU serial number is in the white list. If it is not in the white list, the serial number is deleted from the discovery table, and the next member in the serial number discovery table is selected. If it is in the white list, the ONU is measured. After the ranging is successful, the serial number of the ONU is added to the activation table, and the active_num is incremented by one, and the serial number of the ONU is deleted from the serial number discovery table. Then start accessing the next member of the serial number discovery table.
  • SP_mode This mode uses the serial number and password to authenticate the ONU. After the OLT measures the ONU, the OLT sends a password request message to the ONU to verify the validity of the ONU.
  • the OLT has a local table that records all the ONU passwords connected to it. The OLT compares the passwords in the received ONU password response messages with the records in the local table. If the matching is passed, the password is verified. The ONU is legal and sends Ranging_Time to the ONU. Message.
  • the password verification fails, the serial number of the ONU is added to the error password table, and the activation operation is allowed to be performed again after the ONU serial number is aged in the error password table.
  • the implementation process is shown in Figure 5.
  • the initial value of configuration n is zero, and n indicates the number of serial number discovery table members that have been accessed in this round. Each time a member is accessed, n is incremented by one. When n is greater than disc_num (number of serial number discovery table members), it indicates the serial number. The members in the discovery table have been accessed.
  • First update the error password table select the first member in the wrong password table, and add i to one, and then judge whether i is greater than badpas_num. If it is greater, it indicates that the error password table is updated and the ONU sequence in the discovery table is started. If the number is not greater than, the aging time of the member is increased by one, and then it is determined whether the member has reached the aging time. If it is reached, the ONU serial number is removed from the error password table, and then the error password table is accessed. One member. After the error password table update is completed, the ONU in the serial number discovery table is filtered.
  • n is greater than disc_num. If n is greater than disc_num, it indicates that the serial number discovery table has been accessed, and the activation process is ended. If n is not greater than disc_num, then active_num is determined. (Currently, the number of active table members) is less than the activation table depth (max_onu). If it is not less than max_onu, the activation process is ended; if it is less, the following operations are performed.
  • the ONU serial number is in the white list, if not in the white list, deleting the serial number from the discovery table, and selecting the next member in the serial number discovery table; if in the white list, then determining the next Whether the serial number is in the error password table, if it is in the error password table, the serial number is deleted from the discovery table, and the next member in the serial number discovery table is selected; otherwise, the serial number is filtered and the ONU is measured. distance. After ranging, password verification is performed, and a Ranging_Time message is sent to the ONU that passes the verification. After the ONU receives the ranging message, the activation succeeds.
  • serial number of the ONU is added to the activation table, and active_num is incremented by one and deleted from the serial number discovery table.
  • the failed ONU is added to the error password table and deleted from the serial number discovery table, and then the next ONU in the serial number discovery table is started.
  • managers can control the status of the ONU by editing the control table.
  • the serial number of the ONU is added to the whitelist.
  • the OLT automatically activates the ONU through the above process.
  • the ONU is deactivated, the serial number of the ONU is deleted from the whitelist, and the OLT automatically sends a Deactive_ONU-ID message pair.
  • the ONU is deactivated.
  • the ONU is disabled, the serial number of the ONU is added to the blacklist.
  • the OLT automatically sends the Disable_serial_number message with the "Disable” option to turn off the laser of the ONU.
  • the serial number of the ONU is black.
  • the OLT automatically sends a Disable_serial_number message with the "Enable” option to turn on the laser of the ONU.
  • the OLT When the OLT detects a single ONU broken link, the OLT automatically deletes the serial number of the ONU from the activation table and the serial number discovery table.
  • the OLT When the OLT detects all link breaks, the OLT automatically clears the entire serial number discovery table and activation table.

Abstract

A registration method of an Optical Network Unit(ONU) in a Gigabit Passive Optical Network(GPON) system is provided by this invention. The method comprises the following steps: the GPON system firstly judges the access mode of system configuration, when the access mode is quiet mode, the registration operation of the ONU is completed manually by a manager; and when the access mode is polling mode, an OLT performs registration operation to ONU periodically, wherein the operation comprises the following steps: 1. the OLT automatically discovers a new ONU and writes the serial number of the newly discovered ONU in a serial number discovery table; and 2. the OLT filters the serial number discovery table, measures the distances of the residual ONUs, activates the ONUs and establishes a communication channel between each activated ONU and OLT. The registration method of the ONU in the GPON system of the invention provides two access modes and three registration modes; the quiet mode is applicable to the condition that the number of ONUs is small and the ONUs are stable, the polling mode is applicable to the other conditions; and the three registration modes are applicable to different security levels, thus increasing the flexibility of the registration function of the ONU of the GPON system.

Description

一种 GPON 系统中ONU的注册方法  Method for registering ONU in GPON system 技术领域Technical field
本发明涉及GPON(吉比特无源光网络)系统中ONU(光网络单元)的注册策略,具体的说是一种GPON系统中ONU的注册方法。 The invention relates to a registration strategy of an ONU (Optical Network Unit) in a GPON (Gigabit Passive Optical Network) system, and in particular to a registration method of an ONU in a GPON system.
背景技术Background technique
随着互联网的不断发展,各个运营商都在加强其宽带网络的建设,用户数量也迅速增长。对运营商而言,选择简单、方便的用户注册方式是实施用户管理和计费管理的必要过程;用户也希望认证简单快捷、计费策略灵活多样。 With the continuous development of the Internet, various operators are strengthening the construction of their broadband networks, and the number of users is also growing rapidly. For the operator, selecting a simple and convenient user registration method is a necessary process for implementing user management and billing management; the user also wants the authentication to be simple and fast, and the charging strategy is flexible and diverse.
GPON 系统作为接入设备,直接和用户端相连,在GPON系统中实现对ONU的注册功能有着重要的作用。而目前在GPON系统中尚未有统一的注册技术,并且现有的这些注册技术都无法实现对ONU的控制,即无法识别合法和非法用户,对所有连接的ONU都进行授权,这样可能导致非法用户的产生,不利于运营商对用户的管理。 GPON As an access device, the system is directly connected to the client, and plays an important role in registering the ONU in the GPON system. At present, there is no unified registration technology in the GPON system, and the existing registration technologies cannot implement the control of the ONU, that is, the legal and illegal users cannot be identified, and all connected ONUs are authorized, which may lead to illegal users. The emergence of this is not conducive to the operator's management of the user.
发明内容 Summary of the invention
针对现有技术中存在的问题,本发明的目的在于提供一种GPON系统中ONU的注册方法, 解决现有 在GPON系统中ONU注册时无法实现对ONU的控制,对所有连接的ONU都进行授权,无法识别合法和非法用户的问题 。 In view of the problems existing in the prior art, an object of the present invention is to provide a method for registering an ONU in a GPON system, which solves the existing method. When the ONU is registered in the GPON system, the control of the ONU cannot be implemented, and all connected ONUs are authorized, and the problem of legitimate and illegal users cannot be identified.
为达到以上目的,本发明采取的技术方案是: In order to achieve the above objectives, the technical solution adopted by the present invention is:
一种GPON系统中ONU的注册方法,其特征在于包括以下步骤: A method for registering an ONU in a GPON system, comprising the steps of:
GPON 系统 首先判断系统配置的访问模式, 当 访问模式 为Quiet_mode时,对ONU的注册操作均由管理人员手工完成:管理人员需预先获知待操作的新ONU的序列号,然后将新ONU的序列号告知OLT中的PON芯片,并令OLT对该ONU进行相应操作,其底层操作由PON芯片实现; The GPON system first determines the access mode of the system configuration, when the access mode When Quiet_mode is used, the registration operation of the ONU is manually performed by the administrator: the administrator needs to know the serial number of the new ONU to be operated in advance, and then inform the PON chip in the OLT of the serial number of the new ONU, and let the OLT use the ONU. Perform the corresponding operation, and the underlying operation is implemented by the PON chip;
当 访问模式 为Polling_mode时,OLT周期性的对ONU进行注册操作,在一个周期内,所述ONU注册过程包括以下两步: When access mode When the Polling_mode is used, the OLT periodically registers the ONU. In one cycle, the ONU registration process includes the following two steps:
第一步,OLT自动发现新ONU,并将新发现的ONU的序列号写入序列号发现表; In the first step, the OLT automatically discovers the new ONU, and writes the serial number of the newly discovered ONU into the serial number discovery table;
第二步,OLT根据 系统配置的 注册模式 使用相应的控制表对序列号发现表进行过滤,对未能过滤通过的ONU,OLT不进行注册操作;对过滤通过的ONU先进行测距,以获得请求激活ONU需要的均衡时延,当测距成功,且ONU收到OLT发送的Ranging_Time消息后,ONU被OLT激活,并建立被激活ONU与OLT之间的通信通道,此时即完成了一轮ONU的注册操作。 The second step is the registration mode of the OLT according to the system configuration. The serial number discovery table is filtered by using the corresponding control table. The OLT does not perform the registration operation for the ONU that fails to be filtered. The ONU that filters the filtering first performs ranging to obtain the equalization delay required to activate the ONU. After the success, and the ONU receives the Ranging_Time message sent by the OLT, the ONU is activated by the OLT, and establishes a communication channel between the activated ONU and the OLT. At this time, a round of ONU registration operation is completed.
在上述技术方案的基础上,当完成一轮注册操作后,OLT根据配置的参数interval的值等待一段时间后,再开始下一轮的操作,ONU注册过程运行的轮数由配置的参数cycle决定,当参数cycle的值为零时,表示无限循环;当参数cycle的值为正整数且不等于一时,OLT先执行一轮ONU的注册操作,然后参数cycle的值减一,当参数cycle的值等于一时,代表注册过程运行的轮数已用完,GPON系统自动进入Quiet_mode。 On the basis of the above technical solution, after completing one round of registration operation, the OLT waits for a period of time according to the value of the configured parameter interval, and then starts the next round of operation, and the number of rounds of the ONU registration process is determined by the configured parameter cycle. When the value of the parameter cycle is zero, it means an infinite loop; when the value of the parameter cycle is a positive integer and is not equal to one, the OLT first performs a round of ONU registration operation, and then the value of the parameter cycle is decremented by one, when the value of the parameter cycle is Equal to one hour, the number of rounds running on behalf of the registration process has been exhausted, and the GPON system automatically enters Quiet_mode.
在上述技术方案的基础上,第二步中所述 注册模式包括 : Based on the above technical solution, the registration mode described in the second step includes:
(1)无认证模式NA_mode,在此模式中,不用对ONU进行验证,当前在线、可见的ONU均可被激活;在线ONU表示当前挂在ODN上的所有ONU;可见ONU表示已使能的ONU,当ONU被去使能时,该ONU的激光器关闭,使能时打开; (1) No authentication mode NA_mode. In this mode, the ONU can be activated without being authenticated. The ONU can be activated. The online ONU indicates all ONUs currently attached to the ODN. The ONU indicates that the ONU is enabled. When the ONU is disabled, the ONU's laser is turned off and turned on when enabled.
(2)纯序列号模式SN_mode,在此模式下,OLT根据ONU的序列号来验证ONU的合法性; (2) pure serial number mode SN_mode, in this mode, the OLT verifies the validity of the ONU according to the serial number of the ONU;
(3)序列号+密码模式SP_mode,在此模式下,OLT根据ONU的序列号和密码PAS来验证ONU的合法性; (3) serial number + password mode SP_mode, in this mode, the OLT verifies the legality of the ONU according to the serial number of the ONU and the password PAS;
第二步中所述控制表包括白名单、黑名单、错误密码表,在Polling_mode下的三种注册模式中,NA_mode只使用黑名单对ONU进行过滤;SN_mode使用黑名单和白名单对ONU进行过滤;SP_mode使用白名单、黑名单和错误密码表对ONU进行过滤,且三种注册模式共用一张黑名单对ONU进行过滤。 The control table in the second step includes a whitelist, a blacklist, and an error password table. In the three registration modes in the Polling_mode, the NA_mode uses only the blacklist to filter the ONUs; the SN_mode uses the blacklist and the whitelist to filter the ONUs. The SP_mode uses the whitelist, the blacklist, and the incorrect password table to filter the ONUs, and the three registration modes share a blacklist to filter the ONUs.
在上述技术方案的基础上,OLT根据参数visi_mode和auth_mode的配置判断当前为何种访问模式和注册模式,当visi_mode=0时,配置访问模式为安静模式;当visi_mode=1时,配置为轮询模式;当auth_mode=0时,配置注册模式为NA_mode;当auth_mode=1时,配置为SN_mode;当auth_mode=2时,配置为SP_mode。 Based on the foregoing technical solutions, the OLT determines, according to the configuration of the parameters visi_mode and auth_mode, which access mode and registration mode are currently used. When visi_mode=0, the access mode is configured to be quiet mode; when visi_mode=1, it is configured as polling mode. When auth_mode=0, the configuration registration mode is NA_mode; when auth_mode=1, it is configured as SN_mode; when auth_mode=2, it is configured as SP_mode.
在上述技术方案的基础上,OLT实现ONU注册接纳功能和注册去除功能时,使用的控制表有三种,分别为: On the basis of the above technical solutions, when the OLT implements the ONU registration admission function and the registration removal function, there are three control tables used, namely:
黑名单,用于存放非法ONU的序列号,序列号在此表中的ONU将被去使能; The blacklist is used to store the serial number of the illegal ONU. The ONU whose serial number is in this table will be disabled.
白名单,白名单用于存放合法ONU的序列号,序列号在此表中的ONU将被允许测距; Whitelist, the whitelist is used to store the serial number of the legal ONU, and the ONU whose serial number is in this table will be allowed to be ranged;
错误密码表,错误密码表在SP_mode密码验证过程中自动生成,当ONU的密码验证错误激活不成功时,将该ONU的序列号放入错误密码表中。 The error password table is automatically generated during the SP_mode password verification process. When the ONU password verification error is not activated, the serial number of the ONU is placed in the error password table.
在上述技术方案的基础上,当ONU被激活后,其序列号被存储进一 激活表中,避免该ONU被重复激活, On the basis of the above technical solution, when the ONU is activated, its serial number is stored into one In the activation table, avoid the ONU being repeatedly activated.
当OLT检测到单个ONU断链时,OLT 自动将该ONU的序列号从激活表和序列号发现表中删除, When the OLT detects a single ONU disconnection, the OLT automatically deletes the serial number of the ONU from the activation table and the serial number discovery table.
当OLT检测到所有链路断链时,OLT自动清除整个序列号发现表和激活表 。 When the OLT detects all link breaks, the OLT automatically clears the entire serial number discovery table and activation table.
在上述技术方案的基础上,管理人员操作ONU 的方法为: Based on the above technical solutions, the method for the administrator to operate the ONU is:
当访问模式为 Quiet_mode 时,对ONU 激活时, 管理人员将ONU序列号告知OLT,并令OLT对该ONU进行激活操作,OLT自动对该ONU测距,完成该ONU的激活;对ONU去 激活时, 管理人员将ONU序列号告知OLT,并令OLT对该ONU进行去激活操作, OLT 自动发送Deactive_ONU-ID消息对该ONU去激活;对ONU去使能时, 管理人员将ONU序列号告知OLT,并令OLT对该ONU进行去使能操作, OLT 自动发送带有'Disable'选项的Disable_serial_number消息来关闭该ONU的激光器;对ONU使能时, 管理人员将ONU序列号告知OLT,并令OLT对该ONU进行使能操作 ,OLT自动发送带有'Enable'选项的Disable_serial_number消息来打开该ONU的激光器; When the access mode is Quiet_mode, when the ONU is activated, The administrator informs the OLT of the ONU serial number, and causes the OLT to activate the ONU. The OLT automatically measures the ONU to complete the activation of the ONU. When the ONU is deactivated, The administrator informs the OLT of the ONU serial number, and causes the OLT to deactivate the ONU. The OLT automatically sends a Deactive_ONU-ID message to deactivate the ONU. When the ONU is disabled, The administrator informs the OLT of the ONU serial number, and causes the OLT to disable the ONU, OLT. Automatically send the Disable_serial_number message with the 'Disable' option to turn off the laser of the ONU; when the ONU is enabled, The administrator informs the OLT of the ONU serial number and enables the OLT to enable the ONU. The OLT automatically sends a Disable_serial_number message with the 'Enable' option to turn on the laser of the ONU;
当访问模式为Polling_mode时,管理人员通过编辑控制表来控制ONU的状态;对ONU 激活时,将ONU的序列号添加到白名单中,OLT通过上述流程自动激活该ONU; 对ONU 去激活时,将ONU的序列号从白名单中删除,OLT自动发送Deactive_ONU-ID消息对该ONU去激活;对ONU去使能时,将ONU的序列号添加进黑名单中,OLT自动发送带有'Disable'选项的Disable_serial_number消息来关闭该ONU的激光器;对ONU使能时,将ONU的序列号从黑名单中删除,OLT自动发送带有'Enable'选项的Disable_serial_number消息来打开该ONU的激光器。 When the access mode is Polling_mode, the administrator controls the state of the ONU by editing the control table; for the ONU When activated, the serial number of the ONU is added to the whitelist, and the OLT automatically activates the ONU through the above process; When deactivated, the serial number of the ONU is deleted from the whitelist. The OLT automatically sends a Deactive_ONU-ID message to deactivate the ONU. When the ONU is disabled, the serial number of the ONU is added to the blacklist. The Disable_serial_number message with the 'Disable' option is used to turn off the laser of the ONU. When the ONU is enabled, the serial number of the ONU is deleted from the blacklist. The OLT automatically sends a Disable_serial_number message with the 'Enable' option to turn on the laser of the ONU. .
在上述技术方案的基础上,以下参数默认配置为 Based on the above technical solutions, the following parameters are configured by default as
visi_mode=1 , Visi_mode=1 ,
auth_mode=1 , Auth_mode=1
cycle=0 , Cycle=0
max_discover=10,所述max_discover用于限定序列号发现表的深度。Max_discover=10, the max_discover is used to define the depth of the serial number discovery table.
本发明所述的GPON系统中ONU的注册方法,提供了一套完整的GPON系统ONU注册策略,本发明提供了Quiet_mode和Polling_mode这两种访问模式,在Quiet_mode下,对ONU的注册操作由管理人员手工完成,它适用于ONU数量少,且成员稳定的情况;在其他情况下,采用Polling_mode,在Polling_mode下,OLT周期性的对ONU进行注册操作。在此访问模式(Polling_mode)下,又提供了无认证模式(NA_mode)、纯序列号模式(SN_mode)和序列号+密码模式(SP_mode)三种注册模式,分别可提供不同安全级别的注册模式。管理人员可根据实际需要选择不同的访问模式和注册模式,提高了GPON系统ONU注册功能的灵活性。The ONU registration method in the GPON system of the present invention provides a complete GPON system ONU registration policy. The present invention provides two access modes, Quiet_mode and Polling_mode. In the Quiet_mode, the registration operation of the ONU is performed by the administrator. Manually, it is applicable to the case where the number of ONUs is small and the members are stable. In other cases, the Polling_mode is used. In the Polling_mode, the OLT periodically registers the ONUs. In this access mode (Polling_mode), three registration modes, namely, no authentication mode (NA_mode), pure sequence number mode (SN_mode), and serial number + password mode (SP_mode) are provided, which respectively provide registration modes of different security levels. Managers can select different access modes and registration modes according to actual needs, which improves the flexibility of the ONU registration function of the GPON system.
附图说明DRAWINGS
本发明有如下附图: The invention has the following figures:
图1 ONU注册总体流程图, Figure 1 Overall flow chart of ONU registration,
图2 发现表更新流程图, Figure 2 shows the table update flow chart,
图3 NA_mode & Polling_mode ONU的激活流程图, Figure 3 NA_mode & Polling_mode ONU activation flow chart,
图4 SN_mode & Polling_mode ONU的激活流程图, Figure 4 SN_mode & Polling_mode ONU activation flow chart,
图5 SP_mode & Polling_mode ONU的激活流程图。 Figure 5 SP_mode & Polling_mode ONU activation flow chart.
具体实施方式 detailed description
以下结合附图对本发明作进一步详细说明。The invention will be further described in detail below with reference to the accompanying drawings.
为满足用户不同的需求,本发明所述的GPON系统中ONU的注册方法,提供了安静模式(Quiet_mode)和轮询模式(Polling_mode)两种访问模式,以及在Polling_mode下的无认证模式(NA_mode)、纯序列号模式(SN_mode)和序列号+密码模式(SP_mode)三种注册模式。In order to meet the different needs of users, the ONU registration method in the GPON system of the present invention provides two access modes: Quiet mode (Quiet_mode) and Polling mode (Polling_mode), and no authentication mode (NA_mode) under Polling_mode. Three registration modes: pure serial number mode (SN_mode) and serial number + password mode (SP_mode).
本发明所说的GPON系统中ONU的注册功能包括包括两个子功能:注册接纳功能和注册去除功能,注册接纳功能即激活ONU,并为其建立与OLT之间的通信通道,注册去除功能即中断ONU与OLT之间的通信通道。The registration function of the ONU in the GPON system of the present invention includes two sub-functions: a registration admission function and a registration removal function. The registration admission function activates the ONU and establishes a communication channel with the OLT for it, and the registration removal function is interrupted. The communication channel between the ONU and the OLT.
本发明所说的GPON系统中ONU的注册过程可简述如下:The registration process of the ONU in the GPON system of the present invention can be briefly described as follows:
GPON系统首先判断系统配置的访问模式:The GPON system first determines the access mode of the system configuration:
当访问模式为Quiet_mode时,对ONU的注册操作均由管理人员手工完成。管理人员需预先获知新ONU序列号,然后将待操作ONU序列号告知OLT中的PON芯片(下文中简称为OLT),并令OLT对该ONU进行相应操作,其底层操作由PON芯片实现。对ONU激活或去激活时,管理人员将ONU序列号告知OLT,并令OLT对该ONU进行激活或去激活操作;对ONU使能或去使能时同样只需将ONU序列号告知OLT,并令OLT对该ONU进行使能或去使能操作。When the access mode is Quiet_mode, the registration of the ONU is done manually by the administrator. The administrator needs to know the new ONU serial number in advance, and then inform the PON chip (hereinafter referred to as OLT) in the OLT of the ONU serial number to be operated, and let the OLT perform corresponding operations on the ONU. The underlying operation is implemented by the PON chip. When the ONU is activated or deactivated, the administrator informs the OLT of the ONU serial number and causes the OLT to activate or deactivate the ONU. When the ONU is enabled or disabled, the ONU serial number is also notified to the OLT. Let the OLT enable or disable the ONU.
当访问模式为Polling_mode时,OLT周期性的对ONU进行注册操作,在一个周期内,所述ONU注册过程包括以下两步:When the access mode is Polling_mode, the OLT periodically registers the ONU. In one cycle, the ONU registration process includes the following two steps:
第一步,OLT自动发现新ONU,并将新发现的ONU写入序列号发现表;In the first step, the OLT automatically discovers the new ONU and writes the newly discovered ONU into the serial number discovery table;
第二步,OLT根据系统配置的注册模式使用相应的控制表对序列号发现表进行过滤,对未能过滤通过的ONU,OLT不进行注册操作;对过滤通过的ONU先进行测距,以获得请求激活ONU需要的均衡时延,当测距成功,且ONU收到OLT发送的Ranging_Time消息后,ONU被OLT激活,并建立被激活ONU与OLT之间的通信通道,此时即完成了一轮ONU的注册操作。在Polling_mode下有三种注册模式,分别为NA_mode、SN_mode和SP_mode,在第二步中,不同的注册模式下,使用不同的控制表对序列号发现表进行过滤。详见后续说明。In the second step, the OLT uses the corresponding control table to filter the serial number discovery table according to the registration mode configured by the system. For the ONU that fails to be filtered, the OLT does not perform the registration operation; Requesting to activate the equalization delay required by the ONU. When the ranging is successful and the ONU receives the Ranging_Time message sent by the OLT, the ONU is activated by the OLT, and a communication channel between the activated ONU and the OLT is established, and a round is completed. ONU registration operation. There are three registration modes under Polling_mode, namely NA_mode, SN_mode and SP_mode. In the second step, different registration modes are used to filter the serial number discovery table. See the follow-up instructions for details.
在上述技术方案的基础上,当完成第一步、第二步这两步后,至此,一轮注册操作过程已完成,当完成一轮注册操作后,等待一段时间后,开始下一轮的操作,这段等待时间由配置的参数interval决定,注册过程运行的轮数由配置的参数cycle决定,当注册过程运行的轮数用完后,GPON系统自动进入Quiet_mode。各参数的具体设定及其含义详见后续说明。On the basis of the above technical solutions, after completing the first step and the second step, at this point, a round of registration operation has been completed. After completing one round of registration operation, after waiting for a period of time, start the next round. Operation, this waiting time is determined by the configured parameter interval. The number of rounds of the registration process is determined by the configured parameter cycle. When the number of rounds of the registration process runs out, the GPON system automatically enters Quiet_mode. The specific settings of each parameter and its meaning are detailed in the following instructions.
在上述技术方案的基础上,管理人员可通过编辑控制表来控制ONU的状态。对ONU激活时,将ONU的序列号添加到白名单中;对ONU去激活时,将ONU的序列号从白名单中删除。对ONU去使能时,将ONU的序列号添加进黑名单中;对ONU使能时,将ONU的序列号从黑名单中删除。Based on the above technical solution, the administrator can control the state of the ONU by editing the control table. When the ONU is activated, the serial number of the ONU is added to the whitelist. When the ONU is deactivated, the serial number of the ONU is deleted from the whitelist. When the ONU is disabled, the serial number of the ONU is added to the blacklist. When the ONU is enabled, the serial number of the ONU is deleted from the blacklist.
GPON协议是基于ONU的序列号来识别和配置ONU的。在预先知道ONU的序列号的情况下,通常采用直接激活ONU的方式。而在其它情况下,ONU的序列号是不能提前获知的,因此OLT需要自动发现ONU的序列号。本发明根据需求定义了两种访问模式:The GPON protocol is based on the serial number of the ONU to identify and configure the ONU. In the case where the serial number of the ONU is known in advance, the method of directly activating the ONU is usually employed. In other cases, the serial number of the ONU cannot be known in advance, so the OLT needs to automatically discover the serial number of the ONU. The present invention defines two access modes as needed:
(一)安静模式(Quiet_mode),用于手动注册,管理人员直接对ONU进行注册操作,方式简单、直观,它是对ONU的静态操作,适用于ONU数量少,且成员稳定的情况,一般不对最终用户开放;管理人员需预先获知待操作ONU的序列号,然后将序列号告知OLT,并令OLT对该ONU进行相应操作,其底层操作由PON芯片实现;(1) Quiet mode (Quiet_mode), used for manual registration, the management personnel directly register the ONU, the method is simple and intuitive, it is a static operation of the ONU, suitable for the number of ONUs, and the members are stable, generally not correct The end user is open; the manager needs to know the serial number of the ONU to be operated in advance, and then inform the OLT of the serial number, and let the OLT perform corresponding operations on the ONU, and the underlying operation is implemented by the PON chip;
(二)轮询模式(Polling_mode),用于自动注册,它可以周期性的获取新上线ONU的序列号(可按GPON标准写明的方法处理),并将它们加入序列号发现表中,然后OLT通过将序列号发现表中的序列号与控制表中记录的序列号进行比较,来判断ONU的合法性并激活合法的ONU。至此,本轮注册过程已完成,等待一段时间后,开始下一轮的操作。以上操作均为OLT自动完成的。(2) Polling mode (Polling_mode), used for automatic registration, which can periodically acquire the serial number of the new ONU (which can be processed according to the GPON standard) and add them to the serial number discovery table, and then The OLT compares the sequence number in the serial number discovery table with the serial number recorded in the control table to determine the validity of the ONU and activate the legal ONU. At this point, the registration process has been completed and wait for a while before starting the next round of operations. The above operations are all done automatically by the OLT.
在轮询模式下有三个重要参数,cycle表示系统运行注册过程的轮数,当初始值定义为零时,表示无限循环。定义为其它正整数且不等于一时,按实际计数运行,先执行一次注册过程,判断cycle值是否为一,不为一时对cycle值进行减一操作,再执行一次注册过程,再次判断cycle值是否为一,不为一时再对cycle值进行减一操作,再执行下一次注册过程,如此循环,直至cycle值为一,当cycle值为一时,不再对其进行减一操作,而此时已经先执行了注册过程,故执行次数与最开始的cycle值相等;interval表示这一轮开始到下一轮开始之间的时间间隔;max_discover限定了序列号发现表的深度。max_discover的具体设定详见后续说明。There are three important parameters in the polling mode. Cycle indicates the number of rounds in the system running registration process. When the initial value is defined as zero, it indicates an infinite loop. Defined as other positive integers and not equal to one time, run according to the actual count, first perform a registration process, determine whether the cycle value is one, not to reduce the cycle value for one time, then perform a registration process again, and determine whether the cycle value is For one, do not reduce the cycle value for one time, and then execute the next registration process, and then cycle until the cycle value is one. When the cycle value is one, it will not be decremented by one. The registration process is performed first, so the number of executions is equal to the initial cycle value; interval represents the time interval between the start of the round and the start of the next round; max_discover defines the depth of the serial number discovery table. The specific settings of max_discover are detailed in the following instructions.
在轮询模式下,本方案提出了三种注册模式:In the polling mode, the program proposes three registration modes:
(1)无认证模式(NA_mode),在此模式中,不用对ONU进行验证,当前在线、可见的ONU均可被激活;在线ONU表示当前挂在ODN上的所有ONU;可见ONU表示已使能的ONU,当ONU被去使能时,该ONU的激光器关闭,使能时打开,ONU的使能与否由黑名单控制;(1) No authentication mode (NA_mode). In this mode, the ONU can be activated without the ONU. The online ONU indicates all the ONUs currently attached to the ODN. The visible ONU indicates that the ONU is enabled. The ONU, when the ONU is disabled, the ONU's laser is turned off, enabled when enabled, and enabled or disabled by the blacklist;
(2)纯序列号模式(SN_mode),在此模式下,OLT根据ONU的序列号来验证当前在线、可见的ONU的合法性;(2) Pure serial number mode (SN_mode). In this mode, the OLT verifies the validity of the current online and visible ONU according to the serial number of the ONU.
(3)序列号+密码模式(SP_mode),在此模式下,OLT根据ONU的序列号和密码(PAS)来验证当前在线、可见的ONU的合法性。(3) Serial number + password mode (SP_mode). In this mode, the OLT verifies the validity of the currently online and visible ONU according to the serial number and password (PAS) of the ONU.
管理员在OLT中配置ONU的访问模式和注册模式。定义参数visi_mode和auth_mode,配置访问模式和注册模式实质上是对visi_mode和auth_mode 的赋值。The administrator configures the access mode and registration mode of the ONU in the OLT. Define the parameters visi_mode and auth_mode, configure the access mode and registration mode to be essentially for visi_mode and auth_mode Assignment.
当visi_mode=0时,配置访问模式为安静模式;当visi_mode=1时,配置为轮询模式。When visi_mode=0, the access mode is configured to be quiet mode; when visi_mode=1, it is configured as polling mode.
当auth_mode =0时,配置注册模式为NA_mode;当auth_mode =1时,配置为SN_mode;当auth_mode =2时,配置为SP_mode。When auth_mode =0, the registration mode is configured as NA_mode; when auth_mode When =1, it is configured as SN_mode; when auth_mode = 2, it is configured as SP_mode.
实现ONU注册功能所使用到的控制表有三种:黑名单、白名单、错误密码表。也可采用现有技术将这三种表合并为一种。There are three types of control tables used to implement the ONU registration function: blacklist, whitelist, and error password table. The three tables can also be combined into one using the prior art.
(1)黑名单:用于存放非法ONU的序列号,序列号在此表中的ONU将被去使能。当ONU被去使能时,ONU的激光器被关闭。当ONU被使能时,激光器打开。黑名单在三种注册模式中都用到,且三种注册模式共用一张黑名单对ONU进行过滤。(1) Blacklist: The serial number used to store the illegal ONU. The ONU whose serial number is in this table will be disabled. When the ONU is de-enabled, the ONU's laser is turned off. When the ONU is enabled, the laser is turned on. The blacklist is used in all three registration modes, and the three registration modes share a blacklist to filter the ONU.
当在黑名单中添加了成员时,直接对该ONU去使能,即使该ONU已激活;如果在黑名单中删除成员时,则直接将该ONU使能。When a member is added to the blacklist, the ONU is directly enabled, even if the ONU is activated. If the member is deleted in the blacklist, the ONU is directly enabled.
(2)白名单:用于存放合法ONU的序列号。它用于SN_mode和SP_mode,序列号在此表中的ONU将被允许测距。(2) Whitelist: The serial number used to store the legal ONU. It is used for SN_mode and SP_mode, and the ONU whose serial number is in this table will be allowed to be ranging.
(3)错误密码表:在SP_mode密码验证过程中自动生成,当ONU的密码验证错误时,将该ONU的序列号放入密码密码表中,激活不成功。它仅用于SP_mode。(3) Error password table: It is automatically generated during the SP_mode password verification process. When the password verification of the ONU is incorrect, the serial number of the ONU is placed in the password password table, and the activation is unsuccessful. It is only used for SP_mode.
在轮询模式下的三种注册模式中,NA_mode只使用黑名单;SN_mode使用黑名单和白名单;SP_mode使用白名单、黑名单和错误密码表。这三种注册模式共用一张黑名单。In the three registration modes in polling mode, NA_mode uses only blacklists; SN_mode uses blacklists and whitelists; SP_mode uses whitelists, blacklists, and incorrect password tables. These three registration modes share a blacklist.
本发明所述注册过程如下:The registration process of the present invention is as follows:
注册过程开始时,OLT首先获取新ONU序列号,当访问模式为Quiet_mode时,新ONU序列号由管理人员告知OLT;当访问模式为Polling_mode时, OLT自动获取新ONU序列号,OLT向所有ONU广播序列号请求消息,处于序列号状态的ONU接收到序列号请求后,向OLT发送序列号响应消息,从而OLT获得新ONU的序列号。然后OLT为每个新发现的ONU测量均衡时延,即测距。最后OLT将测量的均衡时延传送给ONU,ONU获得自己的均衡时延后,即建立了上下行通信通道。At the beginning of the registration process, the OLT first acquires a new ONU serial number. When the access mode is Quiet_mode, the new ONU serial number is notified to the OLT by the administrator; when the access mode is Polling_mode, The OLT automatically obtains the new ONU serial number, and the OLT broadcasts the serial number request message to all ONUs. After receiving the serial number request, the ONU in the serial number state sends a serial number response message to the OLT, so that the OLT obtains the serial number of the new ONU. The OLT then measures the equalization delay, or ranging, for each newly discovered ONU. Finally, the OLT transmits the measured equalization delay to the ONU. After the ONU obtains its own equalization delay, the uplink and downlink communication channels are established.
ONU注册总体流程如图1所示,系统开始运行前,需要配置系统的访问模式、注册模式以及重要参数等,若未配置,可使用默认值。默认值可配置为visi_mode=1,auth_mode =1,cycle=0,interval=5s,max_discover=10。The overall process of ONU registration is shown in Figure 1. Before the system starts running, you need to configure the system's access mode, registration mode, and important parameters. If not configured, you can use the default value. The default value can be configured as visi_mode=1, auth_mode =1, cycle=0, interval=5s, max_discover=10.
当访问模式为Quiet_mode时,对ONU的注册操作均由管理人员手工完成。管理人员需预先获知新ONU序列号,然后将待操作ONU序列号告知OLT,并令OLT对该ONU进行相应操作,其底层操作由PON芯片实现。When the access mode is Quiet_mode, the registration of the ONU is done manually by the administrator. The administrator needs to know the new ONU serial number in advance, and then inform the OLT of the ONU serial number to be operated, and let the OLT perform corresponding operations on the ONU. The underlying operation is implemented by the PON chip.
当访问模式为Polling_mode时,首先OLT自动发现新的ONU,并将新发现的ONU写入序列号发现表;然后OLT根据系统配置的注册模式使用相应的控制表对序列号发现表进行过滤,并激活过滤通过的ONU。至此,一轮注册操作过程已完成。接下来判断参数cycle的值,若cycle等于零,表示无限循环,等待一段时间后,开始下一轮的操作。若cycle不等于零,则判断cycle是否大于一,此时cycle按照实际计数运行,当cycle大于一时,表示注册过程运行的轮数尚未用完,将cycle值减一,再等待进行下一轮操作;若cycle非大于一,表示注册过程运行的轮数已用完,GPON系统自动进入Quiet_mode。When the access mode is Polling_mode, the OLT automatically discovers the new ONU and writes the newly discovered ONU into the serial number discovery table. Then the OLT filters the serial number discovery table according to the registration mode configured by the system, and uses the corresponding control table. Activate the filtered ONU. At this point, the registration process has been completed. Next, the value of the parameter cycle is judged. If the cycle is equal to zero, it means an infinite loop, and after waiting for a period of time, the next round of operations is started. If the cycle is not equal to zero, it is judged whether the cycle is greater than one. At this time, the cycle runs according to the actual count. When the cycle is greater than one, it indicates that the number of rounds of the registration process has not been used up, the cycle value is reduced by one, and then wait for the next round of operation; If the cycle is not greater than one, it indicates that the number of rounds of the registration process has run out, and the GPON system automatically enters Quiet_mode.
(一)Quiet_mode注册过程(1) Quiet_mode registration process
当系统配置为Quiet_mode,在该模式下,一切注册操作均由手工完成。对ONU激活时,管理人员将ONU序列号告知OLT,并令OLT对该ONU进行激活操作,OLT自动对该ONU测距,完成该ONU的激活;对ONU去激活时,管理人员将ONU序列号告知OLT,并令OLT对该ONU进行去激活操作,OLT自动发送Deactive_ONU-ID消息对该ONU去激活。对ONU去使能时,管理人员将ONU序列号告知OLT,并令OLT对该ONU进行去使能操作,OLT自动发送带有“Disable”选项的Disable_serial_number消息来关闭该ONU的激光器;对ONU使能时,管理人员将ONU序列号告知OLT,并令OLT对该ONU进行使能操作,OLT自动发送带有“Enable”选项的Disable_serial_number消息来打开该ONU的激光器。When the system is configured as Quiet_mode, in this mode, all registration operations are done manually. When the ONU is activated, the administrator informs the OLT of the ONU serial number, and causes the OLT to activate the ONU. The OLT automatically measures the ONU to complete the activation of the ONU. When the ONU is deactivated, the administrator sets the ONU serial number. The OLT is informed and the OLT is deactivated to the ONU. The OLT automatically sends a Deactive_ONU-ID message to deactivate the ONU. When the ONU is disabled, the administrator informs the OLT of the ONU serial number and causes the OLT to disable the ONU. The OLT automatically sends a Disable_serial_number message with the "Disable" option to turn off the ONU's laser; When enabled, the administrator informs the OLT of the ONU serial number and enables the OLT to enable the ONU. The OLT automatically sends a Disable_serial_number message with the "Enable" option to turn on the laser of the ONU.
(二)Polling_mode注册过程:(2) Polling_mode registration process:
在Polling_mode下,ONU注册过程由两步完成。In Polling_mode, the ONU registration process is completed in two steps.
(1)更新序列号发现表:(1) Update the serial number discovery table:
如图2所示,配置disc_num的初始值为零,disc_num表示当前已添加进序列号发现表的成员数,每往序列号发现表中插入一个成员,disc_num就加一,当disc_num达到序列号发现表深度(max_discover)时,OLT便不再接收序列号响应消息。OLT接收ONU的序列号响应消息,若接收超时,表示已无ONU序列号响应消息可接收,不必继续往序列号发现表中添加成员。将序列号发现表中所有成员的老化时间加一,并剔除已经达到老化时间的ONU序列号,更新序列号发现表过程结束;若OLT接收到ONU的序列号响应消息,提取消息中的序列号,检查本轮已添加进序列号发现表的成员数是否小于max_discover,若非小于,则不能再继续往序列号发现表中添加成员。将序列号发现表中所有成员的老化时间加一,并剔除已经达到老化时间的ONU序列号,更新序列号发现表过程结束;若小于,则进行后续的操作。接下来判断该序列号是否在黑名单中,如果在黑名单中,则对该ONU去使能,并接收下一条序列号响应消息。如果序列号不在黑名单中,再检查该序列号是否已经存在于序列号发现表中,对于已在序列号发现表中的序列号,将其在序列号发现表中的老化时间清零,再判断该ONU的序列号是否在激活表中。若该ONU的序列号不在发现表中,则直接判断它是否已在激活表中。如果该序列号在激活表中,表示该ONU已被激活,不需要再激活,继续接收下一条序列号响应消息。最终,不在激活表中的序列号才能被写入序列号发现表中,并且将disc_num加一。至此,一个新ONU序列号已被成功写入序列号发现表中,继续接收下一条序列号响应消息,开始下一个循环过程,直到OLT接收不到序列号响应消息或disc_num等于max_discover时才跳出循环。As shown in Figure 2, the initial value of the configuration disc_num is zero. disc_num indicates the number of members currently added to the serial number discovery table. Each member is inserted into the serial number discovery table, and disc_num is incremented by one. When disc_num reaches the serial number, it is found. At the table depth (max_discover), the OLT no longer receives the serial number response message. The OLT receives the serial number response message of the ONU. If the receiving timeout indicates that no ONU serial number response message is available, it is not necessary to continue adding members to the serial number discovery table. Add the aging time of all members in the serial number discovery table to one, and eliminate the ONU serial number that has reached the aging time. The update sequence number discovery table process ends. If the OLT receives the serial number response message of the ONU, extract the serial number in the message. Check whether the number of members added to the serial number discovery table in this round is less than max_discover. If it is not smaller, you cannot continue adding members to the serial number discovery table. Add the aging time of all members in the serial number discovery table to one, and eliminate the ONU serial number that has reached the aging time. The process of updating the serial number discovery table ends; if it is less, the subsequent operations are performed. Next, it is determined whether the serial number is in the blacklist. If it is in the blacklist, the ONU is disabled and receives the next serial number response message. If the serial number is not in the blacklist, check whether the serial number already exists in the serial number discovery table. For the serial number already in the serial number discovery table, clear the aging time in the serial number discovery table, and then Determine whether the serial number of the ONU is in the activation table. If the serial number of the ONU is not in the discovery table, it is directly determined whether it is already in the activation table. If the serial number is in the activation table, it indicates that the ONU has been activated and does not need to be activated again, and continues to receive the next serial number response message. Finally, the serial number that is not in the activation table can be written to the serial number discovery table and the disc_num is incremented by one. At this point, a new ONU serial number has been successfully written into the serial number discovery table, and continues to receive the next serial number response message, and begins the next loop process until the OLT does not receive the serial number response message or disc_num equals max_discover. .
(2)激活过程:(2) Activation process:
更新序列号发现表后,使用相应的控制表对序列号发现表中的ONU进行过滤。然后对过滤通过的ONU进行测距,ONU测距成功后,将该ONU序列号加入ONU激活表中。每激活一个ONU,则将其加入ONU激活表中,并将active_num加一。active_num表示当前激活表中的成员数,由于OLT所能激活的ONU数量有限,当active_num达到激活表深度(max_onu)时,结束激活过程,即使序列号发现表中还有成员未处理。After updating the serial number discovery table, use the corresponding control table to filter the ONUs in the serial number discovery table. Then, the ONU that passes the filtering is measured. After the ONU is successfully measured, the ONU serial number is added to the ONU activation table. Each time an ONU is activated, it is added to the ONU activation table and the active_num is incremented by one. Active_num indicates the number of members in the current activation table. Since the number of ONUs that can be activated by the OLT is limited, when the active_num reaches the activation table depth (max_onu), the activation process ends, even if there are still members in the serial number discovery table that are not processed.
本专利提出了三种注册模式,现分别详细描述它们的实现过程。This patent proposes three registration modes, each of which is described in detail separately.
NA_mode:更新序列号发现表后,进入ONU激活过程,实现流程如图3所示。统计当前序列号发现表中的成员数disc_num。配置n的初始值为零(n表示本轮已访问的序列号发现表成员数,每访问一个成员,就将n加一,当n大于disc_num时,表示序列号发现表中的成员已访问完。),访问序列号发现表中的第一个成员,并将n加一。判断n是否大于disc_num,若n大于disc_num,表示序列号发现表已访问完,结束激活过程;若n非大于disc_num,则判断active_num(当前激活表成员数)是否小于激活表深度(max_onu),若非小于max_onu,则结束激活过程;若小于,则对该ONU进行测距。测距成功后,将该ONU的序列号添加到激活表中,并将active_num加一,并从序列号发现表中删除该ONU的序列号。然后开始访问序列号发现表中的下一个成员。NA_mode: After updating the serial number discovery table, it enters the ONU activation process. The implementation process is shown in Figure 3. Count the number of members disc_num in the current serial number discovery table. The initial value of configuration n is zero (n indicates the number of serial number discovery table members that have been accessed in this round. Each time a member is accessed, n is incremented by one. When n is greater than disc_num, the member in the serial number discovery table has been accessed. .), access the serial number to find the first member in the table, and add n to one. Determine whether n is greater than disc_num. If n is greater than disc_num, it indicates that the serial number discovery table has been accessed, and the activation process is ended. If n is not greater than disc_num, it is determined whether active_num (the current number of active table members) is less than the activation table depth (max_onu). If it is less than max_onu, the activation process is ended; if it is less than, the ONU is measured. After the ranging is successful, the serial number of the ONU is added to the activation table, and the active_num is incremented by one, and the serial number of the ONU is deleted from the serial number discovery table. Then start accessing the next member of the serial number discovery table.
SN_mode:实现流程如图4所示。它的实现过程与NA_mode非常相似。配置n的初始值为零,n表示本轮已访问的序列号发现表成员数,每访问一个成员,就将n加一,当n大于disc_num时,表示序列号发现表中的成员已访问完。访问序列号发现表中的第一个成员,并将n加1。判断n是否大于disc_num,若n大于disc_num,表示序列号发现表已访问完,结束激活过程;若n非大于disc_num,则判断active_num(当前激活表成员数)是否小于激活表深度(max_onu),若非小于max_onu,则结束激活过程;若小于,则判断该ONU序列号是否在白名单中,若不在白名单中,则将该序列号从发现表中删除,并选择序列号发现表中下一个成员;若在白名单中,则对该ONU进行测距。测距成功后,将该ONU的序列号添加到激活表中,并将active_num加一,并从序列号发现表中删除该ONU的序列号。然后开始访问序列号发现表中的下一个成员。SN_mode: The implementation process is shown in Figure 4. Its implementation process is very similar to NA_mode. The initial value of configuration n is zero, and n indicates the number of serial number discovery table members that have been accessed in this round. Each time a member is accessed, n is incremented by one. When n is greater than disc_num, the member in the serial number discovery table has been accessed. . Access the first member of the serial number discovery table and increment n by 1. Determine whether n is greater than disc_num. If n is greater than disc_num, it indicates that the serial number discovery table has been accessed, and the activation process is ended. If n is not greater than disc_num, it is determined whether active_num (the current number of active table members) is less than the activation table depth (max_onu). If it is less than max_onu, the activation process is ended; if it is less than, it is determined whether the ONU serial number is in the white list. If it is not in the white list, the serial number is deleted from the discovery table, and the next member in the serial number discovery table is selected. If it is in the white list, the ONU is measured. After the ranging is successful, the serial number of the ONU is added to the activation table, and the active_num is incremented by one, and the serial number of the ONU is deleted from the serial number discovery table. Then start accessing the next member of the serial number discovery table.
SP_mode:该模式使用序列号和密码对ONU进行验证。OLT对ONU测距后,OLT向该ONU发送密码请求消息,以证实该ONU的合法性。OLT有一个记录所有与它相连ONU密码的本地表,OLT将收到的ONU密码应答消息中的密码与本地表中的记录进行比较,匹配则密码验证通过,该ONU合法,向该ONU发送Ranging_Time消息。当密码验证未通过时,将该ONU的序列号加入错误密码表中,当该ONU序列号在错误密码表中被老化后,才允许再次进行激活操作。SP_mode: This mode uses the serial number and password to authenticate the ONU. After the OLT measures the ONU, the OLT sends a password request message to the ONU to verify the validity of the ONU. The OLT has a local table that records all the ONU passwords connected to it. The OLT compares the passwords in the received ONU password response messages with the records in the local table. If the matching is passed, the password is verified. The ONU is legal and sends Ranging_Time to the ONU. Message. When the password verification fails, the serial number of the ONU is added to the error password table, and the activation operation is allowed to be performed again after the ONU serial number is aged in the error password table.
实现流程如图5所示。在SP_mode的实现过程中,首先配置i的初始值为零,i表示本轮已访问的错误密码表成员数,每访问一个成员,就将i加一,当i大于badpas_num(错误密码表成员数)时,表示错误密码表中的成员已访问完。配置n的初始值为零,n表示本轮已访问的序列号发现表成员数,每访问一个成员,就将n加一,当n大于disc_num(序列号发现表成员数)时,表示序列号发现表中的成员已访问完。先对错误密码表进行更新,选择错误密码表中的第一个成员,并将i加一,然后判断i是否大于badpas_num,若大于,则表示错误密码表更新完成,开始对发现表中ONU序列号进行过滤;若非大于,则将该成员的老化时间加一,再判断该成员是否已达到老化时间,若达到,则从错误密码表中剔除该ONU序列号,再访问错误密码表中的下一个成员。错误密码表更新完成后,则开始对序列号发现表中ONU进行过滤。The implementation process is shown in Figure 5. In the implementation process of SP_mode, first configure the initial value of i to be zero, i indicates the number of incorrect password table members that have been accessed in this round. Each time a member is accessed, i is incremented by one. When i is greater than badpas_num (the number of incorrect password table members) ), indicating that the member in the error password table has been accessed. The initial value of configuration n is zero, and n indicates the number of serial number discovery table members that have been accessed in this round. Each time a member is accessed, n is incremented by one. When n is greater than disc_num (number of serial number discovery table members), it indicates the serial number. The members in the discovery table have been accessed. First update the error password table, select the first member in the wrong password table, and add i to one, and then judge whether i is greater than badpas_num. If it is greater, it indicates that the error password table is updated and the ONU sequence in the discovery table is started. If the number is not greater than, the aging time of the member is increased by one, and then it is determined whether the member has reached the aging time. If it is reached, the ONU serial number is removed from the error password table, and then the error password table is accessed. One member. After the error password table update is completed, the ONU in the serial number discovery table is filtered.
选择序列号发现表中第一个成员,并将n加一,判断n是否大于disc_num,若n大于disc_num,表示序列号发现表已访问完,结束激活过程;若n非大于disc_num,则判断active_num(当前激活表成员数)是否小于激活表深度(max_onu),若非小于max_onu,则结束激活过程;若小于,则进行下面的操作。判断该ONU序列号是否在白名单中,若不在白名单中,则将该序列号从发现表中删除,并选择序列号发现表中下一个成员;若在白名单中,则接下来判断该序列号是否在错误密码表中,若在错误密码表中,则将该序列号从发现表中删除,并选择序列号发现表中下一个成员;否则该序列号过滤通过,对该ONU进行测距。测距后,进行密码验证,向验证通过的ONU发送Ranging_Time消息, ONU收到测距消息后,激活成功,将ONU的序列号加入激活表中,active_num加一,并从序列号发现表中删除。验证失败的ONU加入错误密码表中,并从序列号发现表中删除,接着开始对序列号发现表中下一个ONU进行操作。Select the first member of the serial number discovery table, and add n to one to determine whether n is greater than disc_num. If n is greater than disc_num, it indicates that the serial number discovery table has been accessed, and the activation process is ended. If n is not greater than disc_num, then active_num is determined. (Currently, the number of active table members) is less than the activation table depth (max_onu). If it is not less than max_onu, the activation process is ended; if it is less, the following operations are performed. Determining whether the ONU serial number is in the white list, if not in the white list, deleting the serial number from the discovery table, and selecting the next member in the serial number discovery table; if in the white list, then determining the next Whether the serial number is in the error password table, if it is in the error password table, the serial number is deleted from the discovery table, and the next member in the serial number discovery table is selected; otherwise, the serial number is filtered and the ONU is measured. distance. After ranging, password verification is performed, and a Ranging_Time message is sent to the ONU that passes the verification. After the ONU receives the ranging message, the activation succeeds. The serial number of the ONU is added to the activation table, and active_num is incremented by one and deleted from the serial number discovery table. The failed ONU is added to the error password table and deleted from the serial number discovery table, and then the next ONU in the serial number discovery table is started.
在Polling_mode下,管理人员可通过编辑控制表来控制ONU的状态。对ONU激活时,将ONU的序列号添加到白名单中,OLT通过上述流程自动激活该ONU;对ONU去激活时,将ONU的序列号从白名单中删除,OLT自动发送Deactive_ONU-ID消息对该ONU去激活。对ONU去使能时,将ONU的序列号添加进黑名单中,OLT自动发送带有“Disable”选项的Disable_serial_number消息来关闭该ONU的激光器;对ONU使能时,将ONU的序列号从黑名单中删除,OLT自动发送带有“Enable”选项的Disable_serial_number消息来打开该ONU的激光器。Under Polling_mode, managers can control the status of the ONU by editing the control table. When the ONU is activated, the serial number of the ONU is added to the whitelist. The OLT automatically activates the ONU through the above process. When the ONU is deactivated, the serial number of the ONU is deleted from the whitelist, and the OLT automatically sends a Deactive_ONU-ID message pair. The ONU is deactivated. When the ONU is disabled, the serial number of the ONU is added to the blacklist. The OLT automatically sends the Disable_serial_number message with the "Disable" option to turn off the laser of the ONU. When the ONU is enabled, the serial number of the ONU is black. When the list is deleted, the OLT automatically sends a Disable_serial_number message with the "Enable" option to turn on the laser of the ONU.
当OLT检测到单个ONU断链时,OLT自动将该ONU的序列号从激活表和序列号发现表中删除。When the OLT detects a single ONU broken link, the OLT automatically deletes the serial number of the ONU from the activation table and the serial number discovery table.
当OLT检测到所有链路断链时,OLT自动清除整个序列号发现表和激活表。When the OLT detects all link breaks, the OLT automatically clears the entire serial number discovery table and activation table.
以上所述仅为本发明的较佳描述,并不用于限制本发明,凡在本发明精神和原则之内所做的任何修改、等同替换和改进等,均含于本发明的保护范围之内。The above description is only a preferred description of the present invention, and is not intended to limit the present invention. Any modifications, equivalents, and improvements made within the spirit and scope of the present invention are included in the scope of the present invention. .

Claims (8)

1、 一种GPON系统中ONU的注册方法,其特征在于包括以下步骤:A method for registering an ONU in a GPON system, comprising the steps of:
GPON 系统 首先判断系统配置的访问模式, 当 访问模式 为Quiet_mode时,对ONU的注册操作均由管理人员手工完成:管理人员需预先获知待操作的新ONU的序列号,然后将新ONU的序列号告知OLT中的PON芯片,并令OLT对该ONU进行相应操作,其底层操作由PON芯片实现;The GPON system first determines the access mode of the system configuration, when the access mode When Quiet_mode is used, the registration operation of the ONU is manually performed by the administrator: the administrator needs to know the serial number of the new ONU to be operated in advance, and then inform the PON chip in the OLT of the serial number of the new ONU, and let the OLT use the ONU. Perform the corresponding operation, and the underlying operation is implemented by the PON chip;
当 访问模式 为Polling_mode时,OLT周期性的对ONU进行注册操作,在一个周期内,所述ONU注册过程包括以下两步:When access mode When the Polling_mode is used, the OLT periodically registers the ONU. In one cycle, the ONU registration process includes the following two steps:
第一步,OLT自动发现新ONU,并将新发现的ONU的序列号写入序列号发现表;In the first step, the OLT automatically discovers the new ONU, and writes the serial number of the newly discovered ONU into the serial number discovery table;
第二步,OLT根据系统配置的注册模式使用相应的控制表对序列号发现表进行过滤,对未能过滤通过的ONU,OLT不进行注册操作;对过滤通过的ONU先进行测距,以获得请求激活ONU需要的均衡时延,当测距成功,且ONU收到OLT发送的Ranging_Time消息后,ONU被OLT激活,并建立被激活ONU与OLT之间的通信通道,此时即完成了一轮ONU的注册操作。 In the second step, the OLT uses the corresponding control table to filter the serial number discovery table according to the registration mode configured by the system. For the ONU that fails to be filtered, the OLT does not perform the registration operation; Requesting to activate the equalization delay required by the ONU. When the ranging is successful and the ONU receives the Ranging_Time message sent by the OLT, the ONU is activated by the OLT, and a communication channel between the activated ONU and the OLT is established, and a round is completed. ONU registration operation.
2、如权利要求1所述的GPON系统中ONU的注册方法,其特征在于:当完成一轮注册操作后,OLT根据配置的参数interval的值等待一段时间后,再开始下一轮的操作,ONU注册过程运行的轮数由配置的参数cycle决定,当参数cycle的值为零时,表示无限循环;当参数cycle的值为正整数且不等于一时,OLT先执行一轮ONU的注册操作,然后参数cycle的值减一,当参数cycle的值等于一时,代表注册过程运行的轮数已用完,GPON系统自动进入Quiet_mode。2. The method for registering an ONU in a GPON system according to claim 1, wherein after completing a round of registration operation, the OLT waits for a period of time according to the value of the configured parameter interval, and then starts the next round of operations. The number of rounds in the ONU registration process is determined by the configured parameter cycle. When the value of the parameter cycle is zero, it indicates an infinite loop. When the value of the parameter cycle is a positive integer and is not equal to one, the OLT first performs a round of ONU registration operations. Then the value of the parameter cycle is decremented by one. When the value of the parameter cycle is equal to one, the number of rounds representing the running of the registration process has been used up, and the GPON system automatically enters the Quiet_mode.
3、 如权利要求1或2所述的GPON系统中ONU的注册方法,其特征在于第二步中所述注册模式包括:3. The method for registering an ONU in a GPON system according to claim 1 or 2, wherein the registration mode in the second step comprises:
(1)无认证模式NA_mode,在此模式中,不用对ONU进行验证,当前在线、可见的ONU均可被激活;在线ONU表示当前挂在ODN上的所有ONU;可见ONU表示已使能的ONU,当ONU被去使能时,该ONU的激光器关闭,使能时打开;(1) No authentication mode NA_mode. In this mode, the ONU can be activated without being authenticated. The ONU can be activated. The online ONU indicates all ONUs currently attached to the ODN. The ONU indicates that the ONU is enabled. When the ONU is disabled, the ONU's laser is turned off and turned on when enabled.
(2)纯序列号模式SN_mode,在此模式下,OLT根据ONU的序列号来验证ONU的合法性;(2) pure serial number mode SN_mode, in this mode, the OLT verifies the validity of the ONU according to the serial number of the ONU;
(3)序列号+密码模式SP_mode,在此模式下,OLT根据ONU的序列号和密码PAS来验证ONU的合法性;(3) serial number + password mode SP_mode, in this mode, the OLT verifies the legality of the ONU according to the serial number of the ONU and the password PAS;
第二步中所述控制表包括白名单、黑名单、错误密码表,在Polling_mode下的三种注册模式中,NA_mode只使用黑名单对ONU进行过滤;SN_mode使用黑名单和白名单对ONU进行过滤;SP_mode使用白名单、黑名单和错误密码表对ONU进行过滤,且三种注册模式共用一张黑名单对ONU进行过滤。The control table in the second step includes a whitelist, a blacklist, and an error password table. In the three registration modes in the Polling_mode, the NA_mode uses only the blacklist to filter the ONUs; the SN_mode uses the blacklist and the whitelist to filter the ONUs. The SP_mode uses the whitelist, the blacklist, and the incorrect password table to filter the ONUs, and the three registration modes share a blacklist to filter the ONUs.
4、 如权利要求3所述的GPON系统中ONU的注册方法,其特征在于:OLT根据参数visi_mode和auth_mode的配置判断当前为何种访问模式和注册模式,当visi_mode=0时,配置访问模式为安静模式;当visi_mode=1时,配置为轮询模式;当auth_mode=0时,配置注册模式为NA_mode;当auth_mode=1时,配置为SN_mode;当auth_mode=2时,配置为SP_mode。4, The method for registering an ONU in a GPON system according to claim 3, wherein the OLT determines the current access mode and the registration mode according to the configuration of the parameters visi_mode and auth_mode, and configures the access mode to be quiet mode when visi_mode=0; When visi_mode=1, it is configured as polling mode; when auth_mode=0, the configuration registration mode is NA_mode; when auth_mode=1, it is configured as SN_mode; when auth_mode=2, it is configured as SP_mode.
5 、如权利要求3所述的GPON系统中ONU的注册方法,其特征在于:OLT实现ONU注册接纳功能和注册去除功能时,使用的控制表有三种,分别为:5 The method for registering an ONU in a GPON system according to claim 3, wherein when the OLT implements the ONU registration admission function and the registration removal function, the control table used is three types:
黑名单,用于存放非法ONU的序列号,序列号在此表中的ONU将被去使能;The blacklist is used to store the serial number of the illegal ONU. The ONU whose serial number is in this table will be disabled.
白名单,白名单用于存放合法ONU的序列号,序列号在此表中的ONU将被允许测距;Whitelist, the whitelist is used to store the serial number of the legal ONU, and the ONU whose serial number is in this table will be allowed to be ranged;
错误密码表,错误密码表在SP_mode密码验证过程中自动生成,当ONU的密码验证错误激活不成功时,将该ONU的序列号放入错误密码表中。The error password table is automatically generated during the SP_mode password verification process. When the ONU password verification error is not activated, the serial number of the ONU is placed in the error password table.
6 、如权利要求3所述的GPON系统中ONU的注册方法,其特征在于:当ONU被激活后,其序列号被存储进一 激活表中,避免该ONU被重复激活,6. The method of registering an ONU in a GPON system according to claim 3, wherein when the ONU is activated, the serial number thereof is stored in a In the activation table, avoid the ONU being repeatedly activated.
当OLT检测到单个ONU断链时,OLT 自动将该ONU的序列号从激活表和序列号发现表中删除,When the OLT detects a single ONU disconnection, the OLT automatically deletes the serial number of the ONU from the activation table and the serial number discovery table.
当OLT检测到所有链路断链时,OLT自动清除整个序列号发现表和激活表 。When the OLT detects all link breaks, the OLT automatically clears the entire serial number discovery table and activation table.
7、如权利要求3所述的GPON系统中ONU的注册方法,其特征在于,管理人员操作ONU的方法为:The method for registering an ONU in a GPON system according to claim 3, wherein the method for the administrator to operate the ONU is:
当访问模式为Quiet_mode时,对ONU激活时,管理人员将ONU序列号告知OLT,并令OLT对该ONU进行激活操作,OLT自动对该ONU测距,完成该ONU的激活;对ONU去激活时,管理人员将ONU序列号告知OLT,并令OLT对该ONU进行去激活操作,OLT自动发送Deactive_ONU-ID消息对该ONU去激活;对ONU去使能时,管理人员将ONU序列号告知OLT,并令OLT对该ONU进行去使能操作,OLT自动发送带有“Disable”选项的Disable_serial_number消息来关闭该ONU的激光器;对ONU使能时,管理人员将ONU序列号告知OLT,并令OLT对该ONU进行使能操作,OLT自动发送带有“Enable”选项的Disable_serial_number消息来打开该ONU的激光器;When the access mode is Quiet_mode, when the ONU is activated, the administrator informs the OLT of the ONU serial number, and causes the OLT to activate the ONU. The OLT automatically measures the ONU to complete the activation of the ONU; when the ONU is deactivated The administrator informs the OLT of the ONU serial number, and causes the OLT to deactivate the ONU. The OLT automatically sends a Deactive_ONU-ID message to deactivate the ONU. When the ONU is disabled, the administrator informs the OLT of the ONU serial number. And the OLT performs the de-enable operation on the ONU. The OLT automatically sends the Disable_serial_number message with the "Disable" option to turn off the laser of the ONU. When the ONU is enabled, the administrator informs the OLT of the ONU serial number and makes the OLT pair The ONU performs an enabling operation, and the OLT automatically sends a Disable_serial_number message with an "Enable" option to turn on the laser of the ONU;
当访问模式为Polling_mode时,管理人员通过编辑控制表来控制ONU的状态;对ONU激活时,将ONU的序列号添加到白名单中,OLT通过上述流程自动激活该ONU;对ONU去激活时,将ONU的序列号从白名单中删除,OLT自动发送Deactive_ONU-ID消息对该ONU去激活;对ONU去使能时,将ONU的序列号添加进黑名单中,OLT自动发送带有“Disable”选项的Disable_serial_number消息来关闭该ONU的激光器;对ONU使能时,将ONU的序列号从黑名单中删除,OLT自动发送带有“Enable”选项的Disable_serial_number消息来打开该ONU的激光器。When the access mode is Polling_mode, the administrator controls the state of the ONU by editing the control table; when the ONU is activated, the serial number of the ONU is added to the whitelist, and the OLT automatically activates the ONU through the above process; when the ONU is deactivated, The serial number of the ONU is deleted from the whitelist. The OLT automatically sends a Deactive_ONU-ID message to deactivate the ONU. When the ONU is disabled, the serial number of the ONU is added to the blacklist. The OLT automatically sends a "Disable". The disable_serial_number message of the option is used to turn off the laser of the ONU; when the ONU is enabled, the serial number of the ONU is deleted from the blacklist, and the OLT automatically sends a Disable_serial_number message with the "Enable" option to turn on the laser of the ONU.
8、如权利要求3所述的GPON系统中ONU的注册方法,其特征在于,以下参数默认配置为:The method for registering an ONU in a GPON system according to claim 3, wherein the following parameters are configured by default:
visi_mode=1,Visi_mode=1,
auth_mode=1,Auth_mode=1,
cycle=0,Cycle=0,
interval=5s,Interval=5s,
max_discover=10,所述max_discover用于限定序列号发现表的深度。Max_discover=10, the max_discover is used to define the depth of the serial number discovery table.
PCT/CN2010/079053 2010-03-31 2010-11-24 Registration method of optical network unit in gigabit passive optical network system WO2011120308A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201010136031.1A CN101783808B (en) 2010-03-31 2010-03-31 Registration method of ONU in GPON system
CN201010136031.1 2010-03-31

Publications (1)

Publication Number Publication Date
WO2011120308A1 true WO2011120308A1 (en) 2011-10-06

Family

ID=42523625

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2010/079053 WO2011120308A1 (en) 2010-03-31 2010-11-24 Registration method of optical network unit in gigabit passive optical network system

Country Status (3)

Country Link
CN (1) CN101783808B (en)
MY (1) MY173842A (en)
WO (1) WO2011120308A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103763020A (en) * 2014-02-12 2014-04-30 烽火通信科技股份有限公司 ONU real-time detection management method and optical line terminal equipment in WDM-PON system
CN112188324A (en) * 2019-07-05 2021-01-05 中兴通讯股份有限公司 Activation method, device, control device, network equipment and optical network system

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101783808B (en) * 2010-03-31 2013-02-13 烽火通信科技股份有限公司 Registration method of ONU in GPON system
WO2012167577A1 (en) * 2011-11-29 2012-12-13 华为技术有限公司 Method and system for discovering optical network unit
CN102594585B (en) * 2011-12-15 2014-06-25 江苏亿通高科技股份有限公司 Automatic clearing method for terminal registry
CN102740174B (en) * 2012-06-06 2014-12-03 烽火通信科技股份有限公司 Method for managing ONU (optical network unit) access in GPON (gigabit passive optical network) system
CN103763148B (en) * 2014-02-25 2019-12-20 上海斐讯数据通信技术有限公司 ONU automatic authorization configuration recovery method
CN104219089A (en) * 2014-08-25 2014-12-17 深圳键桥通讯技术股份有限公司 Method for automatically finding ONUs (optical network units) and automatically generating topology in PON (passive optical network) manager
CN104284259A (en) * 2014-11-11 2015-01-14 武汉长光科技有限公司 Method for automatically removing invalid ONU (optical network unit) by OLT (optical line terminal) of EPON (Ethernet passive optical network) system and OLT
CN106162383B (en) * 2015-03-26 2019-12-03 中兴通讯股份有限公司 A kind of distribution method, device and the optical line terminal of optical network unit business information
CN107295428B (en) * 2016-03-31 2020-07-31 南京中兴软件有限责任公司 Optical network unit registration method and device and optical line terminal
CN113824506B (en) * 2020-06-20 2023-01-06 华为技术有限公司 Optical signal processing method, optical transceiver, controller and optical line terminal
CN112260852A (en) * 2020-09-17 2021-01-22 中国电信股份有限公司成都分公司 Method for realizing automatic service opening by inserting EPON ONU fiber

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100336342C (en) * 2004-07-29 2007-09-05 中兴通讯股份有限公司 Intelligent optical network system and user group management method
CN101159620A (en) * 2007-11-26 2008-04-09 中国电信股份有限公司 Login method of optical network unit
CN100426741C (en) * 2005-07-22 2008-10-15 中兴通讯股份有限公司 Automatic configurating method for EPON net element device
US20080304834A1 (en) * 2007-06-06 2008-12-11 At&T Knowledge Ventures, L.P. System and method for registration of network units
CN101674501A (en) * 2009-09-22 2010-03-17 中兴通讯股份有限公司 Realization method and system of gigabit passive optical network registration process
CN101783808A (en) * 2010-03-31 2010-07-21 烽火通信科技股份有限公司 Registration method of ONU in GPON system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101662705B (en) * 2009-10-19 2013-03-06 国家电网公司 Equipment authentication method of Ethernet passive optical network (EPON) and system thereof

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100336342C (en) * 2004-07-29 2007-09-05 中兴通讯股份有限公司 Intelligent optical network system and user group management method
CN100426741C (en) * 2005-07-22 2008-10-15 中兴通讯股份有限公司 Automatic configurating method for EPON net element device
US20080304834A1 (en) * 2007-06-06 2008-12-11 At&T Knowledge Ventures, L.P. System and method for registration of network units
CN101159620A (en) * 2007-11-26 2008-04-09 中国电信股份有限公司 Login method of optical network unit
CN101674501A (en) * 2009-09-22 2010-03-17 中兴通讯股份有限公司 Realization method and system of gigabit passive optical network registration process
CN101783808A (en) * 2010-03-31 2010-07-21 烽火通信科技股份有限公司 Registration method of ONU in GPON system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103763020A (en) * 2014-02-12 2014-04-30 烽火通信科技股份有限公司 ONU real-time detection management method and optical line terminal equipment in WDM-PON system
CN103763020B (en) * 2014-02-12 2016-04-13 烽火通信科技股份有限公司 ONU real-time detection management method and optical line terminal equipment in WDM-PON system
CN112188324A (en) * 2019-07-05 2021-01-05 中兴通讯股份有限公司 Activation method, device, control device, network equipment and optical network system
CN112188324B (en) * 2019-07-05 2022-10-14 中兴通讯股份有限公司 Activation method, device, control device, network equipment and optical network system

Also Published As

Publication number Publication date
CN101783808B (en) 2013-02-13
CN101783808A (en) 2010-07-21
MY173842A (en) 2020-02-24

Similar Documents

Publication Publication Date Title
WO2011120308A1 (en) Registration method of optical network unit in gigabit passive optical network system
JP4786423B2 (en) Communication system and intra-station device
WO2014007516A1 (en) Single certificate service system and operational method thereof
EP2007063A1 (en) A user authentication method, apparatus and system for passive optical network
WO2009009999A1 (en) Terminal detection authentication method, device and operational management system in passive optical network
WO2010135936A1 (en) Method and apparatus for authentication in passive optical network and passive optical network thereof
WO2017054443A1 (en) Remote control method, server and network attached storage
CN102571353B (en) The method of verifying legitimacy of home gateway in passive optical network
WO2010031269A1 (en) Method, system and device for realizing the user side terminal obtains a password
US20110302283A1 (en) Methods And Arrangements In A Passive Optical Network
JP2008028922A (en) Authentication method in network system, authentication apparatus, and apparatus to be authenticated
WO2017071348A1 (en) Network access method, server, terminal and system
US20090313476A1 (en) Method and apparatus for restricting user access to fiber to an optic network terminal
WO2007033553A1 (en) A multicast managing method and the device thereof in pon system
WO2020015338A1 (en) Method and system for negotiating encryption algorithm in passive optical network system
JP2013175989A (en) Radio master equipment, communication system, communication method and communication program
WO2014101084A1 (en) Authentication method, device and system
CN109120334B (en) Optical fiber position determining method and device, network element, storage medium and processor
CN104980432A (en) Method for dual-PON port ONU to register and manage protocol stack at OLT
CN102082977B (en) Authentication method and system of optical network unit
KR100606095B1 (en) Transmission method and apparatus of a secure key after user authentication in a ethernet passive optical network system
JP7247848B2 (en) PON system, management server, management method, and installation method
JP2017175484A (en) Line termination device, connection device, communication aggregation apparatus, circuit switch, and transmission system
JP2016086222A (en) Network system, firmware update method, station-side termination device and subscriber-side termination device
JP4615609B2 (en) PON system, subscriber side device connection method, station side device, and subscriber side device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 10848766

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 1264/DELNP/2012

Country of ref document: IN

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 10848766

Country of ref document: EP

Kind code of ref document: A1