WO2024055782A1 - Registration method for optical network unit, and optical line terminal, optical network unit and medium - Google Patents

Registration method for optical network unit, and optical line terminal, optical network unit and medium Download PDF

Info

Publication number
WO2024055782A1
WO2024055782A1 PCT/CN2023/111966 CN2023111966W WO2024055782A1 WO 2024055782 A1 WO2024055782 A1 WO 2024055782A1 CN 2023111966 W CN2023111966 W CN 2023111966W WO 2024055782 A1 WO2024055782 A1 WO 2024055782A1
Authority
WO
WIPO (PCT)
Prior art keywords
onu
line terminal
optical line
volt
registration
Prior art date
Application number
PCT/CN2023/111966
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 WO2024055782A1 publication Critical patent/WO2024055782A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/25Arrangements specific to fibre transmission
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems

Definitions

  • the present disclosure relates to the field of optical communication technology, and in particular to a registration method of an optical network unit, an optical line terminal, an optical network unit, and a computer-readable storage medium.
  • optical line terminal In Gigabit-capable Passive Optical Network (GPON, Gigabit-capable Passive Optical Network), optical line terminal (OLT, Optical Line Terminal) serves as central office equipment, and an OLT downstream passive optical network (PON, Passive Optical Network) port can Connect and manage multiple optical network units (ONU, Optical Network Unit) to provide end users with services such as Internet access, interactive Internet TV (IPTV), and voice transmission based on Internet Protocol (VoIP, Voice over Internet Protocol).
  • IPTV interactive Internet TV
  • VoIP Voice over Internet Protocol
  • One physical OLT can be virtualized into multiple virtual optical line terminals (vOLT, virtual Optical Line Terminal), so that the physical OLT can be used as an open hardware platform. Multiple vOLTs share the hardware resources of the same physical OLT and can realize dynamic resources Allocation can help simplify the network structure, shorten service deployment time, realize resource sharing between departments or operators, and can also save physical hardware resource costs.
  • embodiments of the present disclosure provide a registration method for an optical network unit ONU, which is applied to an optical line terminal OLT configured with at least one virtual optical line terminal vOLT, including: when any of the virtual optical line terminal vOLT obtains When sending the registration message of the optical network unit ONU, the content of the virtual optical line terminal label carried in the registration message is verified.
  • the virtual optical line terminal label is used to mark the virtual optical line terminal vOLT to which the optical network unit ONU belongs.
  • the identification and when the content of the virtual optical line terminal tag is consistent with the identification of the current virtual optical line terminal vOLT, register the optical network unit ONU to the current virtual optical line terminal vOLT. .
  • embodiments of the present disclosure provide a registration method for an optical network unit ONU, which is applied to an optical network unit ONU and includes: generating a registration message, the registration message carrying a virtual optical line terminal label, and the virtual optical line terminal label used to mark the identifier of the virtual optical line terminal vOLT to which the optical network unit ONU belongs; and send the registration message.
  • an optical line terminal including:
  • a memory with at least one computer program stored thereon.
  • the at least one processor implements the optical network unit described in the first aspect of the embodiment of the present disclosure (ONU) registration method.
  • an optical network unit including:
  • a memory with at least one computer program stored thereon.
  • the at least one processor implements the optical network unit described in the second aspect of the embodiment of the present disclosure (ONU) registration method.
  • an embodiment of the present disclosure provides a computer-readable storage medium on which a computer program is stored.
  • the computer program is executed by a processor, the registration of the optical network unit ONU described in the first aspect of the embodiment of the present disclosure is implemented.
  • Figure 1 is a flow chart of a registration method for an optical network unit in an embodiment of the present disclosure
  • Figure 2 is a schematic diagram of a network architecture in an embodiment of the present disclosure
  • Figure 3 is a flow chart of some steps in a registration method for an optical network unit in an embodiment of the present disclosure
  • Figure 4 is a flow chart of some steps in a registration method for an optical network unit in an embodiment of the present disclosure
  • Figure 5 is a flow chart of a registration method for an optical network unit in an embodiment of the present disclosure
  • Figure 6 is a flow chart of some steps in a registration method for an optical network unit in an embodiment of the present disclosure
  • Figure 7 is a block diagram of an optical line terminal in an embodiment of the present disclosure.
  • Figure 8 is a block diagram of an optical network unit in an embodiment of the present disclosure.
  • the ONU discovery and registration mechanism includes: an unregistered ONU sends its serial number (SN, Serial Number) to the OLT, and the OLT receives the serial number of the unregistered ONU and adds it to its unregistered ONU list.
  • OLT operation and maintenance personnel can issue ONU registration commands to unregistered ONUs based on the unregistered ONU list to complete ONU registration management.
  • a physical OLT is virtualized into multiple vOLTs and multiple vOLTs share the same physical PON port, when a new ONU is connected to the physical PON port, it is impossible to automatically determine which vOLT the new ONU should belong to.
  • one solution is to plan in advance which vOLT each newly connected ONU belongs to from the perspective of the ONU.
  • the specific implementation is to manually configure the ONU with a certain serial number.
  • a certain vOLT was discovered.
  • this solution relies on manual configuration by operation and maintenance personnel, and needs to know the serial number of each ONU or the number segment of the ONU serial number in advance.
  • the number of ONU serial numbers is large, especially when the ONU serial number does not exist.
  • manual configuration operations are difficult, seriously affecting the efficiency of ONU registration management; in addition, during the ONU registration process, operation and maintenance personnel may still operate terminals that do not belong to themselves, such as registering ONUs that do not belong to themselves to their own vOLT. It is easy to cause information leakage between different vOLTs.
  • an embodiment of the present disclosure provides an ONU registration method, which is applied to an optical line terminal OLT configured with at least one vOLT.
  • the registration method includes S11 and S12.
  • any of the vOLTs obtains the registration message of the ONU, verify the content of the virtual optical line terminal label carried in the registration message.
  • the virtual optical line terminal label is used to mark the vOLT to which the ONU belongs. logo.
  • a physical OLT can be virtualized into one or more vOLTs, and different vOLTs have different identities.
  • the OLT may include a shared physical port shared by multiple vOLTs, may also include a non-shared physical port, or may include both a shared physical port and a non-shared physical port.
  • the physical port is a PON port.
  • the registration message can be obtained by the vOLT from a shared physical port, or it can be obtained by the vOLT from a non-shared physical port. The embodiment of the present disclosure does not impose any special limitations on this.
  • the ONU sends a registration message to the OLT.
  • the registration message carries a virtual optical line terminal label (vOLT label) marked with the identity of the vOLT to which the ONU belongs.
  • vOLT label virtual optical line terminal label
  • Each vOLT configured in the OLT obtains
  • the content of the virtual optical line terminal label is verified, and the ownership of the ONU is determined by judging whether the content of the virtual optical line terminal label is consistent with the identity of the vOLT. Only the vOLT whose identity is consistent with the content of the virtual optical line terminal label can be Process registration messages.
  • vOLT can directly identify the ONU it belongs to, which improves the convenience of ONU registration management; vOLT only registers the ONU it belongs to, avoiding information leakage between different vOLTs and improving information security; in addition, Since the number of vOLTs configured in the OLT is limited, and the identification of vOLTs is usually regular, it is easier to determine the ownership of an ONU based on the identification of vOLTs than based on the serial number of the ONU, further improving the convenience of ONU registration and management. It improves the efficiency of ONU registration management.
  • FIG 2 there is a shared physical port in the OLT that is shared by multiple vOLTs.
  • the ONU can access the OLT through a shared physical port, or it can access the OLT through a non-shared physical port.
  • the embodiments of the present disclosure do not impose special limitations on this.
  • Figure 2 only shows the scenario where an ONU is connected to multiple vOLTs through a shared physical port.
  • the registration message may be received through a shared physical port shared by multiple vOLTs, or may be received through a non-shared physical port.
  • the vOLT can only verify the content of the virtual optical line terminal label of the registration message received from the shared physical port, and does not verify the registration message received from the non-shared physical port.
  • one vOLT may correspond to multiple physical ports, and the multiple physical ports may include shared physical ports and For non-shared physical ports, vOLT can also verify the contents of the virtual optical line terminal tag of the registration message received from the shared physical port and the registration message received from the non-shared physical port.
  • the embodiments of the present disclosure do not impose special limitations on this.
  • the verification of the content of the virtual optical line terminal label carried in the registration message includes S111 and S112.
  • S111 Determine whether the registration message is received from a shared physical port, and multiple virtual optical line terminals share the shared physical port.
  • the registration message received from the shared physical port is verified, and the registration message received from the non-shared physical port is not verified. , which can ensure that the vOLT only registers the ONU to which it belongs, avoiding information leakage between different vOLTs and improving information security; at the same time, registration messages received from non-shared physical ports are not verified, which is beneficial to saving vOLT Computing resources can also improve the registration efficiency of ONUs connected through non-shared physical ports.
  • the registration messages received from the shared physical port and the non-shared physical port are verified, which can ensure that the vOLT only registers the Registering the ONU avoids information leakage between different vOLTs and improves information security. It also avoids registering the ONU to the wrong vOLT due to connecting the ONU through the wrong non-shared physical port, which is helpful to further improve information security.
  • the embodiment of the present disclosure does not place special restrictions on how to process the registration message when the content of the virtual optical line terminal tag is inconsistent with the identification of the current vOLT. For example, when the content of the optical line terminal tag is inconsistent with the identification of the current vOLT, the registration message can be discarded.
  • the ONU registration method further includes S13.
  • the OLT opens a common upstream quiet window through the BWMap field of the downstream GTC frame. All unregistered ONUs can send the ONU's serial number to the OLT in this blank window.
  • the newly online ONU puts its serial number in the Serial_Number_ONU PLOAM message and sends it to the OLT.
  • the OLT adds the serial number of the newly online ONU to the OLT's unregistered ONU list, and then issues the ONU registration command according to the unregistered ONU list to complete ONU registration management.
  • the registration message is used by the ONU to send its serial number to the vOLT, so that the vOLT can register and manage the ONU according to the ONU discovery and registration mechanism defined in the current standard.
  • the registration message is a Serial_Number_ONU PLOAM message.
  • the virtual optical line terminal label is defined in the Serial_Number_ONU PLOAM message, and in the virtual optical line terminal label Mark the identity of the vOLT to which the ONU belongs.
  • the embodiment of this disclosure does not make any special limitations on how to define the virtual optical line terminal label in the Serial_Number_ONU PLOAM message.
  • the second byte of the Serial_Number_ONU PLOAM message represents the Message ID field, and the first three bits of the Message ID field are not clearly defined.
  • the virtual optical line terminal label is defined in the first three bits of the Message ID field.
  • the Serial_Number_ONU PLOAM message includes a Message ID field, and at least one of the first three bits of the Message ID field is defined as the virtual optical line terminal label.
  • any one of the first bit, second bit, and third bit of the Message ID field can be defined as the virtual optical line terminal label, or the first bit, second bit, and second bit of the Message ID field can be defined as the virtual optical line terminal label. Any two of the bit and the third bit are defined as the virtual optical line terminal label, and the first three bits of the Message ID field can also be defined as the virtual optical line terminal label.
  • defining at least one of the first three bits of the Message ID field as a virtual optical line terminal label can be compatible with current standards, reduce the difficulty of upgrading OLT and vOLT, and improve compatibility.
  • the ONU registration method further includes S14.
  • an OLT is virtualized into 8 vOLTs, numbered from 0 to 7, and each vOLT is assigned a number as an identifier.
  • the embodiment of the present disclosure does not place special limitations on the registration process of registering the optical network unit to the current virtual optical line terminal.
  • the registration message is a Serial_Number_ONU PLOAM message
  • the vOLT that identifies the content consistent with the virtual optical line terminal label performs the ONU registration process in accordance with current standards.
  • the registration message is a new PLOAM message
  • the new PLOAM message carries the virtual optical line terminal label
  • a new PLOAM message is defined as a registration message, and the new PLOAM message is different from the PLOAM message interacted between the OLT and ONU in the ONU discovery and registration process defined by current standards.
  • the new PLOAM message carries the vOLT label, which is used to mark the identification (vOLT ID) of the vOLT to which the ONU belongs.
  • the ONU registration method further includes: when any vOLT obtains the serial number of the ONU, adding the serial number of the ONU to the unregistered ONU list of the current vOLT; and in the virtual optical line If the content of the terminal label is inconsistent with the identification of the current vOLT, the ONU serial number is deleted from the unregistered ONU list of the current vOLT.
  • the ONU puts its serial number in the Serial_Number_ONU PLOAM message, and sends the Serial_Number_ONU PLOAM message to the OLT configured with at least one vOLT.
  • Each vOLT in the OLT receives the Serial_Number_ONU PLOAM message to obtain the serial number of the ONU.
  • the ONU When the content of the virtual optical line terminal label is consistent with the identity of the current vOLT, the ONU is registered according to the ONU discovery and registration process defined by the current standard; when the content of the virtual optical line terminal label is inconsistent with the identity of the current vOLT In this case, delete the ONU's serial number from the current vOLT's unregistered ONU list, making the ONU invisible to operation and maintenance personnel. This prevents the ONU from registering to the wrong vOLT.
  • an embodiment of the present disclosure provides a registration method for an optical network unit, which is applied to the optical network unit and includes S21 and S22.
  • the ONU sends a registration message to the OLT.
  • the registration message carries a virtual optical line terminal label (vOLT label) marked with the identity of the vOLT to which the ONU belongs.
  • vOLT label virtual optical line terminal label
  • Each vOLT configured in the OLT obtains
  • the content of the virtual optical line terminal label is verified, and the ownership of the ONU is determined by judging whether the content of the virtual optical line terminal label is consistent with the identity of the vOLT. Only the vOLT whose identity is consistent with the content of the virtual optical line terminal label can be Process registration messages.
  • vOLT can directly identify the ONU it belongs to, which improves the convenience of ONU registration management; vOLT only registers the ONU it belongs to, avoiding information leakage between different vOLTs and improving information security; in addition, Since the number of vOLTs configured in the OLT is limited, and the identification of vOLTs is usually regular, it is easier to determine the ownership of an ONU based on the identification of vOLTs than based on the serial number of the ONU, further improving the convenience of ONU registration and management. It improves the efficiency of ONU registration management.
  • the OLT opens a common upstream quiet window through the BWMap field of the downstream GTC frame. All unregistered ONUs can send the ONU's serial number to the OLT in this blank window.
  • the newly online ONU puts its serial number in the Serial_Number_ONU PLOAM message and sends it to the OLT.
  • the OLT adds the serial number of the newly online ONU to the OLT's unregistered ONU list, and then issues the ONU registration command according to the unregistered ONU list to complete ONU registration management.
  • the embodiment of this disclosure does not place any special restrictions on how the ONU determines the identity of the belonging vOLT.
  • the identity of the vOLT to which the ONU belongs can be determined based on a version customized by the operator; a configuration port can also be provided in the ONU, and the identity of the vOLT to which the ONU belongs can be configured through the configuration port.
  • the ONU registration method before generating the registration message (S21), the ONU registration method further includes S23.
  • the registration message is a new PLOAM message
  • the new PLOAM message carries the virtual optical line terminal label
  • the ONU puts its serial number in the Serial_Number_ONU PLOAM message and sends the Serial_Number_ONU PLOAM message to the OLT.
  • an embodiment of the present disclosure provides an optical line terminal (OLT), including: at least one processor 101; a memory 102 on which at least one computer program is stored.
  • OLT optical line terminal
  • processor 101 executes, at least one processor 101 implements the registration method of the optical network unit described in the first aspect of the embodiment of the present disclosure; at least one I/O interface 103 is connected between the processor 101 and the memory 102, configured In order to realize information interaction between the processor 101 and the memory 102.
  • the processor 101 is a device with data processing capabilities, including but not limited to a central processing unit (CPU), etc.; the memory 102 is a device with data storage capabilities, including but not limited to random access memory (RAM, more specifically such as SDRAM, DDR etc.), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory (FLASH); the I/O interface (read-write interface) 103 is connected between the processor 101 and the memory 102, and can realize processing
  • the information exchange between the device 101 and the memory 102 includes but is not limited to a data bus (Bus), etc.
  • processor 101 memory 102, and I/O interface 103 are connected to each other and, in turn, to other components of the computing device via bus 104.
  • an embodiment of the present disclosure provides an optical network unit ONU, including: at least one processor 201; a memory 202 with at least one computer program stored thereon.
  • at least one computer program is processed by at least one processor
  • at least one processor 201 implements the registration method of the optical network unit described in the second aspect of the embodiment of the present disclosure
  • at least one I/O interface 203 is connected between the processor 201 and the memory. 202, configured to realize information interaction between the processor 201 and the memory 202.
  • the processor 201 is a device with data processing capabilities, including but not limited to a central processing unit (CPU), etc.; the memory 202 is a device with data storage capabilities, including but not limited to random access memory (RAM, more specifically such as SDRAM, DDR etc.), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory (FLASH); the I/O interface (read-write interface) 203 is connected between the processor 201 and the memory 202, and can realize processing
  • the information exchange between the device 201 and the memory 202 includes but is not limited to a data bus (Bus), etc.
  • processor 201 memory 202, and I/O interface 203 are connected to each other and, in turn, to other components of the computing device via bus 204.
  • an embodiment of the present disclosure provides a computer-readable storage medium on which a computer program is stored.
  • the computer program is executed by a processor, the registration method of an optical network unit described in the first aspect of the embodiment of the present disclosure is implemented or At least one of the registration methods for optical network units described in the second aspect of the embodiments of this disclosure.
  • one OLT is virtualized into 8 vOLTs, numbered from 0 to 7, and each vOLT is assigned a number as an identifier.
  • the format of the PLOAM message exchanged between OLT and ONU contains 13 bytes (byte), and the second byte represents the Message ID field.
  • the first three bits of the Message ID field are defined as vOLT tags, which are used to mark the identification (vOLT ID) of the vOLT to which the ONU belongs.
  • an ONU When an ONU sends a PLOAM message, it marks the vOLT ID of the vOLT to which the ONU belongs in the vOLT tag of the PLOAM message, so that only the vOLT to which the ONU belongs can identify and process the PLOAM message, preventing the ONU from being discovered and registered by other vOLTs.
  • any vOLT in the OLT receives the PLOAM message from the shared PON port and verifies the content of the vOLT tag represented by the first three bits of the Message ID field; when the content of the vOLT tag matches Current vOLT When the IDs are consistent, the registration message is processed; when the content of the vOLT tag is inconsistent with the current vOLT ID, the registration message is discarded.
  • vOLT When vOLT receives a PLOAM message from a non-shared PON port, it can verify the first three bits of the Message ID field or not.
  • the ONU discovery and registration process includes steps 1 to 18.
  • the OLT sends a downlink GTC frame every 125 microseconds (us).
  • the ONU clears the local LOS/LOF and enters the O2 state from the O1 state.
  • the OLT sends the downstream Upstream_Overhead PLOAM message, which defines the preamble, delimiter, ONU equalization delay and other parameters of the upstream frame.
  • the ONU After receiving the Upstream_Overhead PLOAM message, the ONU sets the preamble, delimiter, equalization delay and other parameters of the upstream frame according to the content of the message, and enters the O3 state from the O2 state.
  • the OLT sends the downlink Extended_Burst_Length PLOAM message, which defines the uplink frame preamble length during ranging and the uplink frame preamble length during normal operation. A longer preamble is generally used during the ranging process, which is beneficial for the OLT to capture the uplink frame signal of the ONU.
  • the ONU After receiving the Extended_Burst_Length PLOAM message, the ONU sets the uplink frame preamble length during ranging and the uplink frame preamble length during normal operation according to the content in the message.
  • the OLT opens a common upstream quiet window through the BWMap field of the downstream GTC frame. All unregistered ONUs can send their serial numbers to the OLT in this blank window.
  • ONU puts its serial number in the Serial_Number_ONU PLOAM message.
  • the Message ID field of the Serial_Number_ONU PLOAM message is defined with a vOLT tag.
  • the vOLT tag is marked with the vOLT ID, and the Serial_Number_ONU PLOAM message is sent to the OLT.
  • any vOLT in the OLT receives the serial number of the ONU, it determines whether the serial number is received from the shared PON port. If so, it defines in the Message ID field Verify the vOLT tag to determine whether the vOLT ID field is consistent with the current vOLT; if consistent, assign an ONU ID to the ONU and send it to the ONU through the Assign_ONU_ID PLOAM message.
  • ONU receives the Assign_ONU_ID PLOAM message and enters the O4 state from the O3 state.
  • the OLT opens an upstream quiet window for a certain ONU ID through the BWMap field of the downstream GTC frame.
  • the ONU sends its own serial number to the OLT in this blank window for ranging.
  • the OLT After receiving the ONU's serial number, the OLT calculates the ONU's distance and equalization delay parameters. The equalization delay parameters are sent to the ONU through the Ranging_Time PLOAM message.
  • ONU receives the Ranging_Time PLOAM message, sets its own equilibrium delay value, and enters the O5 state from the O4 state.
  • the OLT needs to perform password verification on the ONU, it will send a Request_password PLOAM message, requiring the ONU to report its password.
  • ONU sends its password to the OLT through the Password PLOAM message.
  • the ONU password verification passes, and the OLT issues the Configure Port-ID PLOAM message to configure the ONU's OMCI management channel.
  • ONU sets the OMCI management channel. Through this management channel, the OLT can configure and manage the ONU's services.
  • the ONU registration process ends.
  • one OLT is virtualized into 8 vOLTs, numbered from 0 to 7, and each vOLT is assigned a number as the identification of the vOLT.
  • the new PLOAM message carries the vOLT label, which is used to mark the identification (vOLT ID) of the vOLT to which the ONU belongs.
  • the ONU puts its serial number in the Serial_Number_ONU PLOAM message and Send the Serial_Number_ONU PLOAM message to the OLT.
  • the ONU also sends the new PLOAM message carrying the vOLT label to the OLT.
  • vOLT After vOLT receives the Serial_Number_ONU PLOAM message, it adds the ONU to its own unregistered ONU list.
  • the vOLT After the vOLT receives the new PLOAM message carrying the vOLT label, it verifies the vOLT label to determine whether the vOLT ID field is consistent with the current vOLT. If they are consistent, the ONU will be registered to the current vOLT; if they are inconsistent, the serial number of the ONU will be deleted from the unregistered ONU list of the current vOLT, making the ONU invisible to operation and maintenance personnel, thereby avoiding ONU registration errors. vOLT.
  • Such software may be distributed on computer-readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media).
  • computer storage media includes volatile and nonvolatile media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data. removable, removable and non-removable media.
  • Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, Digital Versatile Disk (DVD) or other optical disk storage, magnetic cassettes, tapes, disk storage or other magnetic storage devices, or may Any other medium used to store desired information and that can be accessed by a computer.
  • communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media .

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)

Abstract

Provided in the present disclosure is a registration method for an optical network unit (ONU). The method is applied to an optical line terminal (OLT), which is configured with at least one virtual optical line terminal (vOLT), and the method comprises: when any one vOLT acquires a registration message of an ONU, verifying content of a vOLT label, which is carried in the registration message, wherein the vOLT tag is used for tagging an identifier of a vOLT to which the ONU belongs; and when the content of the vOLT tag is consistent with an identifier of the current vOLT, registering the ONU to the current vOLT. Further provided in the present disclosure are an ONU registration method for an ONU, and an OLT, an ONU and a computer-readable storage medium

Description

光网络单元的注册方法、光线路终端、光网络单元、介质Registration method of optical network unit, optical line terminal, optical network unit, medium
相关申请的交叉引用Cross-references to related applications
本申请要求于2022年9月16日提交的中国专利申请NO.202211127750.6的优先权,该中国专利申请的内容通过引用的方式整体合并于此。This application claims priority from Chinese patent application No. 202211127750.6 submitted on September 16, 2022. The content of this Chinese patent application is incorporated herein by reference in its entirety.
技术领域Technical field
本公开涉及光通信技术领域,特别涉及光网络单元的注册方法、光线路终端、光网络单元、计算机可读存储介质。The present disclosure relates to the field of optical communication technology, and in particular to a registration method of an optical network unit, an optical line terminal, an optical network unit, and a computer-readable storage medium.
背景技术Background technique
在吉比特无源光网络(GPON,Gigabit-capable Passive Optical Network)中,光线路终端(OLT,Optical Line Terminal)作为局端设备,一个OLT下行无源光网络(PON,Passive Optical Network)端口可以下挂和管理多个光网络单元(ONU,Optical Network Unit),为终端用户提供上网、交互式网络电视(IPTV)、基于网际协议的语音传输(VoIP,Voice over Internet Protocol)等服务。可以将一个物理OLT虚拟成多个虚拟光线路终端(vOLT,virtual Optical Line Terminal),使得物理OLT可以作为开放的硬件平台,多个vOLT共享同一个物理OLT的硬件资源,并能实现动态的资源分配,有利于简化网络结构、缩短服务部署的时间,并实现部门之间或者运营商之间的资源共享,还能够节省物理硬件资源成本。In Gigabit-capable Passive Optical Network (GPON, Gigabit-capable Passive Optical Network), optical line terminal (OLT, Optical Line Terminal) serves as central office equipment, and an OLT downstream passive optical network (PON, Passive Optical Network) port can Connect and manage multiple optical network units (ONU, Optical Network Unit) to provide end users with services such as Internet access, interactive Internet TV (IPTV), and voice transmission based on Internet Protocol (VoIP, Voice over Internet Protocol). One physical OLT can be virtualized into multiple virtual optical line terminals (vOLT, virtual Optical Line Terminal), so that the physical OLT can be used as an open hardware platform. Multiple vOLTs share the hardware resources of the same physical OLT and can realize dynamic resources Allocation can help simplify the network structure, shorten service deployment time, realize resource sharing between departments or operators, and can also save physical hardware resource costs.
但是,ONU注册到vOLT的过程较为复杂,运维难度较大,注册管理效率也较低。However, the process of ONU registration to vOLT is relatively complicated, operation and maintenance is difficult, and registration management efficiency is low.
公开内容 public content
第一方面,本公开实施例提供一种光网络单元ONU的注册方法,应用于配置有至少一个虚拟光线路终端vOLT的光线路终端OLT,包括:当任意一个所述虚拟光线路终端vOLT获取到光网络单元ONU的注册消息时,对所述注册消息携带的虚拟光线路终端标签的内容进行校验,所述虚拟光线路终端标签用于标注所述光网络单元ONU归属的虚拟光线路终端vOLT的标识;以及在所述虚拟光线路终端标签的内容与当前的所述虚拟光线路终端vOLT的标识一致的情况下,将所述光网络单元ONU注册到当前的所述虚拟光线路终端vOLT上。In a first aspect, embodiments of the present disclosure provide a registration method for an optical network unit ONU, which is applied to an optical line terminal OLT configured with at least one virtual optical line terminal vOLT, including: when any of the virtual optical line terminal vOLT obtains When sending the registration message of the optical network unit ONU, the content of the virtual optical line terminal label carried in the registration message is verified. The virtual optical line terminal label is used to mark the virtual optical line terminal vOLT to which the optical network unit ONU belongs. The identification; and when the content of the virtual optical line terminal tag is consistent with the identification of the current virtual optical line terminal vOLT, register the optical network unit ONU to the current virtual optical line terminal vOLT. .
第二方面,本公开实施例提供一种光网络单元ONU的注册方法,应用于光网络单元ONU,包括:生成注册消息,所述注册消息携带虚拟光线路终端标签,所述虚拟光线路终端标签用于标注所述光网络单元ONU归属的虚拟光线路终端vOLT的标识;以及发送所述注册消息。In a second aspect, embodiments of the present disclosure provide a registration method for an optical network unit ONU, which is applied to an optical network unit ONU and includes: generating a registration message, the registration message carrying a virtual optical line terminal label, and the virtual optical line terminal label used to mark the identifier of the virtual optical line terminal vOLT to which the optical network unit ONU belongs; and send the registration message.
第三方面,本公开实施例提供一种光线路终端(OLT),包括:In a third aspect, embodiments of the present disclosure provide an optical line terminal (OLT), including:
至少一个处理器;以及at least one processor; and
存储器,其上存储有至少一个计算机程序,当所述至少一个计算机程序被所述至少一个处理器执行时,使得所述至少一个处理器实现本公开实施例第一方面所述的光网络单元(ONU)的注册方法。A memory with at least one computer program stored thereon. When the at least one computer program is executed by the at least one processor, the at least one processor implements the optical network unit described in the first aspect of the embodiment of the present disclosure ( ONU) registration method.
第四方面,本公开实施例提供一种光网络单元(ONU),包括:In a fourth aspect, embodiments of the present disclosure provide an optical network unit (ONU), including:
至少一个处理器;以及at least one processor; and
存储器,其上存储有至少一个计算机程序,当所述至少一个计算机程序被所述至少一个处理器执行时,使得所述至少一个处理器实现本公开实施例第二方面所述的光网络单元(ONU)的注册方法。A memory with at least one computer program stored thereon. When the at least one computer program is executed by the at least one processor, the at least one processor implements the optical network unit described in the second aspect of the embodiment of the present disclosure ( ONU) registration method.
第五方面,本公开实施例提供一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现本公开实施例第一方面所述的光网络单元ONU的注册方法或本公开实施例第二方面所述的光网络单元ONU的注册方法中的至少一者。In a fifth aspect, an embodiment of the present disclosure provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the registration of the optical network unit ONU described in the first aspect of the embodiment of the present disclosure is implemented. At least one of the method or the registration method of the optical network unit ONU described in the second aspect of the embodiment of the present disclosure.
附图说明Description of drawings
图1是本公开实施例中一种光网络单元的注册方法的流程图;Figure 1 is a flow chart of a registration method for an optical network unit in an embodiment of the present disclosure;
图2是本公开实施例中一种网络架构示意图; Figure 2 is a schematic diagram of a network architecture in an embodiment of the present disclosure;
图3是本公开实施例中一种光网络单元的注册方法中部分步骤的流程图;Figure 3 is a flow chart of some steps in a registration method for an optical network unit in an embodiment of the present disclosure;
图4是本公开实施例中一种光网络单元的注册方法中部分步骤的流程图;Figure 4 is a flow chart of some steps in a registration method for an optical network unit in an embodiment of the present disclosure;
图5是本公开实施例中一种光网络单元的注册方法的流程图;Figure 5 is a flow chart of a registration method for an optical network unit in an embodiment of the present disclosure;
图6是本公开实施例中一种光网络单元的注册方法中部分步骤的流程图;Figure 6 is a flow chart of some steps in a registration method for an optical network unit in an embodiment of the present disclosure;
图7是本公开实施例中一种光线路终端的组成框图;以及Figure 7 is a block diagram of an optical line terminal in an embodiment of the present disclosure; and
图8是本公开实施例中一种光网络单元的组成框图。Figure 8 is a block diagram of an optical network unit in an embodiment of the present disclosure.
具体实施方式Detailed ways
为使本领域的技术人员更好地理解本公开的技术方案,下面结合附图对本公开提供的光网络单元的注册方法、光线路终端、光网络单元、计算机可读存储介质进行详细描述。In order to enable those skilled in the art to better understand the technical solutions of the present disclosure, the registration method of the optical network unit, the optical line terminal, the optical network unit, and the computer-readable storage medium provided by the present disclosure are described in detail below in conjunction with the accompanying drawings.
在下文中将参考附图更充分地描述示例实施例,但是所述示例实施例可以以不同形式来体现,且本公开不应当被解释为限于本文阐述的实施例。提供这些实施例的目的在于使本公开更加透彻和完整,并使本领域技术人员充分理解本公开的范围。Example embodiments will be described more fully below with reference to the accompanying drawings, although they may be embodied in different forms and the disclosure should not be construed as limited to the embodiments set forth herein. These embodiments are provided so that this disclosure will be thorough and complete, and will fully understand the scope of the disclosure to those skilled in the art.
在不冲突的情况下,本公开各实施例及实施例中的各特征可相互组合。The embodiments of the present disclosure and the features in the embodiments may be combined with each other without conflict.
如本文所使用的,术语“和/或”包括一个或多个相关列举条目的任何和所有组合。As used herein, the term "and/or" includes any and all combinations of one or more of the associated listed items.
本文所使用的术语仅用于描述特定实施例,且不限制本公开。如本文所使用的,单数形式“一个”和“该”也包括复数形式,除非上下文另外清楚指出。还将理解的是,当本说明书中使用术语“包括”和/或“由……制成”时,指定存在特定特征、整体、步骤、操作、元件和/或组件,但不排除存在或可添加一个或多个其它特征、整体、步骤、操作、元件、组件和/或其群组。The terminology used herein is used to describe particular embodiments only and does not limit the disclosure. As used herein, the singular forms "a," "an" and "the" also include the plural forms unless the context clearly dictates otherwise. It will also be understood that when the terms "comprising" and/or "made of" are used in this specification, it is specified that particular features, integers, steps, operations, elements and/or components are present but not excluded. Add one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
除非另外限定,否则本文所用的所有术语(包括技术术语和科学术语)的含义与本领域普通技术人员通常理解的含义相同。还将理解, 诸如在常用字典中限定的那些术语应当被解释为具有与其在相关技术以及本公开的背景下的含义一致的含义,且不解释为具有理想化或过度形式上的含义,除非本文明确如此限定。Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art. will also understand, Terms such as those defined in commonly used dictionaries should be construed to have meanings consistent with their meanings in the context of the relevant art and the present disclosure, and not to have idealized or excessive formal meanings unless expressly so defined herein.
在一些相关技术中,ONU的发现注册机制包括:未注册的ONU将自己的序列号(SN,Serial Number)发送给OLT,OLT接收未注册的ONU的序列号并加入到其未注册ONU列表,OLT运维人员可以根据未注册ONU列表向未注册的ONU下发ONU注册命令,完成ONU注册管理。在一个物理OLT虚拟成多个vOLT、并且多个vOLT共享同一个物理PON口的场景中,当一个新的ONU连接到该物理PON口时,无法自动判断这个新的ONU应该归属到哪个vOLT来注册管理,共享该物理PON口的所有vOLT都可以发现到这个新的ONU,并可以将这个新的ONU的序列号加入自己的未注册ONU列表,从而导致运维人员可能将不属于自己的ONU注册到自己管理的vOLT上,引发运维异常。In some related technologies, the ONU discovery and registration mechanism includes: an unregistered ONU sends its serial number (SN, Serial Number) to the OLT, and the OLT receives the serial number of the unregistered ONU and adds it to its unregistered ONU list. OLT operation and maintenance personnel can issue ONU registration commands to unregistered ONUs based on the unregistered ONU list to complete ONU registration management. In a scenario where a physical OLT is virtualized into multiple vOLTs and multiple vOLTs share the same physical PON port, when a new ONU is connected to the physical PON port, it is impossible to automatically determine which vOLT the new ONU should belong to. Registration management, all vOLTs sharing the physical PON port can discover this new ONU, and can add the serial number of this new ONU to their own unregistered ONU list, which may cause operation and maintenance personnel to use ONUs that do not belong to them. Registered to the vOLT managed by oneself, causing operation and maintenance exception.
为了规避上述问题,一个解决方案是从ONU的角度,事先规划好每一个新接入的ONU归属于哪一个vOLT,具体实现是以手工配置的方式,人工指定某个序列号的ONU只能被某一个vOLT发现。但是,该解决方案依赖于运维人员进行人工配置,且需要事先知晓每个ONU的序列号或ONU的序列号的号段,但是ONU的序列号数量较大,特别是当ONU的序列号无规律时,人工配置操作困难,严重影响ONU注册管理效率;此外,在ONU注册过程中,运维人员还是可能操作非归属于自己的终端,例如将非归属于自己的ONU注册到自己的vOLT,容易导致不同vOLT之间信息泄露。In order to avoid the above problems, one solution is to plan in advance which vOLT each newly connected ONU belongs to from the perspective of the ONU. The specific implementation is to manually configure the ONU with a certain serial number. A certain vOLT was discovered. However, this solution relies on manual configuration by operation and maintenance personnel, and needs to know the serial number of each ONU or the number segment of the ONU serial number in advance. However, the number of ONU serial numbers is large, especially when the ONU serial number does not exist. In regular conditions, manual configuration operations are difficult, seriously affecting the efficiency of ONU registration management; in addition, during the ONU registration process, operation and maintenance personnel may still operate terminals that do not belong to themselves, such as registering ONUs that do not belong to themselves to their own vOLT. It is easy to cause information leakage between different vOLTs.
第一方面,参照图1,本公开实施例提供一种ONU的注册方法,应用于配置有至少一个vOLT的光线路终端OLT,所述注册方法包括S11和S12。In the first aspect, referring to FIG. 1 , an embodiment of the present disclosure provides an ONU registration method, which is applied to an optical line terminal OLT configured with at least one vOLT. The registration method includes S11 and S12.
S11、当任意一个所述vOLT获取到ONU的注册消息时,对所述注册消息携带的虚拟光线路终端标签的内容进行校验,所述虚拟光线路终端标签用于标注所述ONU归属的vOLT的标识。S11. When any of the vOLTs obtains the registration message of the ONU, verify the content of the virtual optical line terminal label carried in the registration message. The virtual optical line terminal label is used to mark the vOLT to which the ONU belongs. logo.
S12、在所述虚拟光线路终端标签的内容与当前的所述vOLT的标识一致的情况下,将所述ONU注册到当前的所述vOLT上。 S12. If the content of the virtual optical line terminal tag is consistent with the identification of the current vOLT, register the ONU to the current vOLT.
在本公开实施例中,一个物理的OLT可以虚拟成一个或多个vOLT,不同vOLT的标识不同。In this embodiment of the present disclosure, a physical OLT can be virtualized into one or more vOLTs, and different vOLTs have different identities.
在本公开实施例提供的ONU的注册方法中,OLT可以包括由多个vOLT共享的共享物理端口,也可以包括非共享物理端口,还可以同时包括共享物理端口和非共享物理端口。本公开实施例对此不做特殊限定。在一些实施方式中,物理端口为PON端口。相应地,注册消息可以是vOLT从共享物理端口获取的,也可以是vOLT从非共享物理端口获取的。本公开实施例对此也不做特殊限定。In the ONU registration method provided by the embodiment of the present disclosure, the OLT may include a shared physical port shared by multiple vOLTs, may also include a non-shared physical port, or may include both a shared physical port and a non-shared physical port. The embodiments of the present disclosure do not impose special limitations on this. In some implementations, the physical port is a PON port. Correspondingly, the registration message can be obtained by the vOLT from a shared physical port, or it can be obtained by the vOLT from a non-shared physical port. The embodiment of the present disclosure does not impose any special limitations on this.
本公开实施例提供的ONU的注册方法中,ONU向OLT发送注册消息,在注册消息中携带标注了ONU归属的vOLT的标识的虚拟光线路终端标签(vOLT标签),OLT中配置的各个vOLT获取到注册消息后对虚拟光线路终端标签的内容进行校验,通过判断虚拟光线路终端标签的内容与vOLT的标识是否一致确定ONU的归属,只有标识与虚拟光线路终端标签的内容一致的vOLT才对注册消息进行处理。在ONU注册过程中,vOLT能够直接识别所属的ONU,提高了ONU注册管理的便捷性;vOLT只对所属的ONU进行注册,避免了不同vOLT之间的信息泄露,提升了信息安全性;此外,由于OLT中配置的vOLT数量有限,且vOLT的标识通常是具有规律的,根据vOLT的标识确定ONU的归属,比起根据ONU的序列号确定ONU的归属更加容易,进一步提高了ONU注册管理的便捷性,提升了ONU注册管理效率。In the ONU registration method provided by the embodiment of the present disclosure, the ONU sends a registration message to the OLT. The registration message carries a virtual optical line terminal label (vOLT label) marked with the identity of the vOLT to which the ONU belongs. Each vOLT configured in the OLT obtains After receiving the registration message, the content of the virtual optical line terminal label is verified, and the ownership of the ONU is determined by judging whether the content of the virtual optical line terminal label is consistent with the identity of the vOLT. Only the vOLT whose identity is consistent with the content of the virtual optical line terminal label can be Process registration messages. During the ONU registration process, vOLT can directly identify the ONU it belongs to, which improves the convenience of ONU registration management; vOLT only registers the ONU it belongs to, avoiding information leakage between different vOLTs and improving information security; in addition, Since the number of vOLTs configured in the OLT is limited, and the identification of vOLTs is usually regular, it is easier to determine the ownership of an ONU based on the identification of vOLTs than based on the serial number of the ONU, further improving the convenience of ONU registration and management. It improves the efficiency of ONU registration management.
在一些实施方式中,如图2所示,OLT中存在由多个vOLT共享的共享物理端口。ONU可以通过共享物理端口接入OLT,也可以通过非共享的物理端口接入OLT。本公开实施例对此不做特殊限定。图2中仅示出了ONU通过一个共享物理端口与多个vOLT连接的场景。相应地,在本公开实施例中,注册消息可以是由多个vOLT共享的共享物理端口接收的,也可以是通过非共享的物理端口接收的。也就是说,在本公开实施例中,vOLT可以只对从共享物理端口接收的注册消息的虚拟光线路终端标签的内容进行校验,对于从非共享物理端口接收的注册消息,则不进行校验;此外,在一些实施方式中,可以是一个vOLT对应有多个物理端口,多个物理端口可以包含共享物理端口和 非共享物理端口,vOLT也可以对从共享物理端口接收的注册消息和从非共享物理端口接收的注册消息的虚拟光线路终端标签的内容都进行校验。本公开实施例对此不做特殊限定。In some implementations, as shown in Figure 2, there is a shared physical port in the OLT that is shared by multiple vOLTs. The ONU can access the OLT through a shared physical port, or it can access the OLT through a non-shared physical port. The embodiments of the present disclosure do not impose special limitations on this. Figure 2 only shows the scenario where an ONU is connected to multiple vOLTs through a shared physical port. Correspondingly, in the embodiment of the present disclosure, the registration message may be received through a shared physical port shared by multiple vOLTs, or may be received through a non-shared physical port. That is to say, in the embodiment of the present disclosure, the vOLT can only verify the content of the virtual optical line terminal label of the registration message received from the shared physical port, and does not verify the registration message received from the non-shared physical port. In addition, in some implementations, one vOLT may correspond to multiple physical ports, and the multiple physical ports may include shared physical ports and For non-shared physical ports, vOLT can also verify the contents of the virtual optical line terminal tag of the registration message received from the shared physical port and the registration message received from the non-shared physical port. The embodiments of the present disclosure do not impose special limitations on this.
相应地,在一些实施方式中,参照图3,所述对所述注册消息携带的虚拟光线路终端标签的内容进行校验包括S111和S112。Accordingly, in some implementations, referring to FIG. 3 , the verification of the content of the virtual optical line terminal label carried in the registration message includes S111 and S112.
S111、判断所述注册消息是否接收自共享物理端口,多个所述虚拟光线路终端共享所述共享物理端口。S111. Determine whether the registration message is received from a shared physical port, and multiple virtual optical line terminals share the shared physical port.
S112、在所述注册消息接收自所述共享物理端口的情况下,对所述虚拟光线路终端标签的内容进行校验。S112. When the registration message is received from the shared physical port, verify the content of the virtual optical line terminal label.
需要说明的是,在本公开实施例提供的ONU的注册方法的一些实施方式中,对从共享物理端口接收的注册消息进行校验,对从非共享物理端口接收的注册消息则不进行校验,即可确保vOLT只对所属的ONU进行注册,避免不同vOLT之间的信息泄露,提升信息安全性;同时,对从非共享物理端口接收的注册报文则不进行校验,有利于节约vOLT的计算资源,还能提升通过非共享物理端口接入的ONU的注册效率。It should be noted that in some implementations of the ONU registration method provided by the embodiments of the present disclosure, the registration message received from the shared physical port is verified, and the registration message received from the non-shared physical port is not verified. , which can ensure that the vOLT only registers the ONU to which it belongs, avoiding information leakage between different vOLTs and improving information security; at the same time, registration messages received from non-shared physical ports are not verified, which is beneficial to saving vOLT Computing resources can also improve the registration efficiency of ONUs connected through non-shared physical ports.
需要说明的是,在本公开实施例提供的ONU的注册方法的一些实施方式中,对从共享物理端口和非共享物理端口接收的注册报文都进行校验,既可以确保vOLT只对所属的ONU进行注册,避免不同vOLT之间的信息泄露,提升信息安全性,也可以避免由于将ONU通过错误的非共享物理端口接入而注册到错误的vOLT,有利于进一步提升信息安全性。It should be noted that in some implementations of the ONU registration method provided by the embodiments of the present disclosure, the registration messages received from the shared physical port and the non-shared physical port are verified, which can ensure that the vOLT only registers the Registering the ONU avoids information leakage between different vOLTs and improves information security. It also avoids registering the ONU to the wrong vOLT due to connecting the ONU through the wrong non-shared physical port, which is helpful to further improve information security.
本公开实施例对于虚拟光线路终端标签的内容与当前的vOLT的标识不一致时如何处理注册消息不做特殊限定。例如,当光线路终端标签的内容与当前的vOLT的标识不一致时,可以对注册消息做丢弃处理。The embodiment of the present disclosure does not place special restrictions on how to process the registration message when the content of the virtual optical line terminal tag is inconsistent with the identification of the current vOLT. For example, when the content of the optical line terminal tag is inconsistent with the identification of the current vOLT, the registration message can be discarded.
相应地,在一些实施方式中,参照图4,所述ONU的注册方法还包括S13。Correspondingly, in some embodiments, referring to Figure 4, the ONU registration method further includes S13.
S13、在所述虚拟光线路终端标签的内容与当前的所述虚拟光线路终端的标识不一致的情况下,丢弃所述注册消息。 S13. If the content of the virtual optical line terminal label is inconsistent with the current identification of the virtual optical line terminal, discard the registration message.
现行标准定义的ONU的发现注册机制中,OLT通过下行GTC帧的BWMap字段,开一个公共的上行空白窗(quiet window)。所有未注册的ONU都可以在这个空白窗中向OLT发送该ONU的序列号。新上线的ONU将其序列号放在Serial_Number_ONU PLOAM消息中,发送给OLT。OLT收到上行的Serial_Number_ONU PLOAM消息后,在该OLT的未注册ONU列表中加入该新上线的ONU的序列号,然后根据未注册ONU列表下发ONU注册命令,完成ONU注册管理。In the ONU discovery and registration mechanism defined by the current standard, the OLT opens a common upstream quiet window through the BWMap field of the downstream GTC frame. All unregistered ONUs can send the ONU's serial number to the OLT in this blank window. The newly online ONU puts its serial number in the Serial_Number_ONU PLOAM message and sends it to the OLT. After receiving the upstream Serial_Number_ONU PLOAM message, the OLT adds the serial number of the newly online ONU to the OLT's unregistered ONU list, and then issues the ONU registration command according to the unregistered ONU list to complete ONU registration management.
在一些实施方式中,注册消息用于ONU将其序列号发送给vOLT,使得vOLT能够按照现行标准中定义的ONU的发现注册机制对ONU进行注册管理。In some implementations, the registration message is used by the ONU to send its serial number to the vOLT, so that the vOLT can register and manage the ONU according to the ONU discovery and registration mechanism defined in the current standard.
相应地,在一些实施方式中,所述注册消息为Serial_Number_ONU PLOAM消息。Correspondingly, in some implementations, the registration message is a Serial_Number_ONU PLOAM message.
需要说明的是,在本公开实施例中,是在不改变现行标准中定义的Serial_Number_ONU PLOAM消息的格式的基础上,在Serial_Number_ONU PLOAM消息中定义虚拟光线路终端标签,并在虚拟光线路终端标签中标注ONU归属的vOLT的标识。It should be noted that in the embodiment of the present disclosure, on the basis of not changing the format of the Serial_Number_ONU PLOAM message defined in the current standard, the virtual optical line terminal label is defined in the Serial_Number_ONU PLOAM message, and in the virtual optical line terminal label Mark the identity of the vOLT to which the ONU belongs.
本公开实施例对于如何在Serial_Number_ONU PLOAM消息中定义虚拟光线路终端标签不做特殊限定。The embodiment of this disclosure does not make any special limitations on how to define the virtual optical line terminal label in the Serial_Number_ONU PLOAM message.
根据现行标准,Serial_Number_ONU PLOAM消息的第二个字节表示Message ID字段,而Message ID字段的前三个比特(bit)未做明确定义。在一些实施方式中,在Message ID字段的前三个bit中定义虚拟光线路终端标签。According to the current standard, the second byte of the Serial_Number_ONU PLOAM message represents the Message ID field, and the first three bits of the Message ID field are not clearly defined. In some implementations, the virtual optical line terminal label is defined in the first three bits of the Message ID field.
相应地,在一些实施方式中,所述Serial_Number_ONU PLOAM消息包括Message ID字段,所述Message ID字段的前三个比特中的至少一者定义为所述虚拟光线路终端标签。Correspondingly, in some implementations, the Serial_Number_ONU PLOAM message includes a Message ID field, and at least one of the first three bits of the Message ID field is defined as the virtual optical line terminal label.
例如,可以将Message ID字段的第一个bit、第二个bit、第三个bit中的任意一者定义为虚拟光线路终端标签,也可以将Message ID字段的第一个bit、第二个bit、第三个bit中的任意两者定义为虚拟光线路终端标签,还可以将Message ID字段的前三个比特均定义为虚拟光线路终端标签。 For example, any one of the first bit, second bit, and third bit of the Message ID field can be defined as the virtual optical line terminal label, or the first bit, second bit, and second bit of the Message ID field can be defined as the virtual optical line terminal label. Any two of the bit and the third bit are defined as the virtual optical line terminal label, and the first three bits of the Message ID field can also be defined as the virtual optical line terminal label.
需要说明的是,将Message ID字段的前三个比特中的至少一者定义为虚拟光线路终端标签,能够与现行标准兼容,降低OLT和vOLT的升级难度,提升兼容性。It should be noted that defining at least one of the first three bits of the Message ID field as a virtual optical line terminal label can be compatible with current standards, reduce the difficulty of upgrading OLT and vOLT, and improve compatibility.
在一些实施方式中,参照图4,所述ONU的注册方法还包括S14。In some embodiments, referring to Figure 4, the ONU registration method further includes S14.
S14、为所述光线路终端中配置的虚拟光线路终端分配标识。S14. Assign an identifier to the virtual optical line terminal configured in the optical line terminal.
例如,一个OLT虚拟成8个vOLT,按照0至7编号,每一个vOLT分配一个编号作为标识。For example, an OLT is virtualized into 8 vOLTs, numbered from 0 to 7, and each vOLT is assigned a number as an identifier.
本公开实施例对于将光网络单元注册到当前的虚拟光线路终端上的注册流程不做特殊限定。例如,注册消息是Serial_Number_ONU PLOAM消息,标识与虚拟光线路终端标签的内容一致的vOLT按照现行标准执行ONU的注册流程。The embodiment of the present disclosure does not place special limitations on the registration process of registering the optical network unit to the current virtual optical line terminal. For example, the registration message is a Serial_Number_ONU PLOAM message, and the vOLT that identifies the content consistent with the virtual optical line terminal label performs the ONU registration process in accordance with current standards.
在一些实施方式中,所述注册消息为新增PLOAM消息,所述新增PLOAM消息中携带所述虚拟光线路终端标签。In some implementations, the registration message is a new PLOAM message, and the new PLOAM message carries the virtual optical line terminal label.
需要说明的是,在一些实施方式中,定义新增PLOAM消息作为注册消息,该新增PLOAM消息与现行标准定义的ONU发现和注册流程中OLT和ONU之间交互的PLOAM消息均不同。在新增PLOAM消息中携带vOLT标签,用来标注ONU归属的vOLT的标识(vOLT ID)。It should be noted that in some implementations, a new PLOAM message is defined as a registration message, and the new PLOAM message is different from the PLOAM message interacted between the OLT and ONU in the ONU discovery and registration process defined by current standards. The new PLOAM message carries the vOLT label, which is used to mark the identification (vOLT ID) of the vOLT to which the ONU belongs.
在一些实施方式中,所述ONU的注册方法还包括:当任意一个vOLT获取到ONU的序列号时,将ONU的序列号添加到当前的vOLT的未注册ONU列表;以及在所述虚拟光线路终端标签的内容与当前的vOLT的标识不一致的情况下,将ONU的序列号从当前的vOLT的未注册ONU列表中删除。In some embodiments, the ONU registration method further includes: when any vOLT obtains the serial number of the ONU, adding the serial number of the ONU to the unregistered ONU list of the current vOLT; and in the virtual optical line If the content of the terminal label is inconsistent with the identification of the current vOLT, the ONU serial number is deleted from the unregistered ONU list of the current vOLT.
在一些实施方式中,ONU把自己的序列号放在Serial_Number_ONU PLOAM消息中,并将Serial_Number_ONU PLOAM消息发送给配置有至少一个vOLT的OLT。OLT中的各vOLT接收Serial_Number_ONU PLOAM消息获取ONU的序列号。在虚拟光线路终端标签的内容与当前的vOLT的标识一致的情况下,则按照现行标准定义的ONU发现和注册流程对ONU进行注册;在虚拟光线路终端标签的内容与当前的vOLT的标识不一致的情况下,将ONU的序列号从当前的vOLT的未注册ONU列表中删除,使得该ONU对运维人员不可见, 从而避免ONU注册到错误的vOLT。In some implementations, the ONU puts its serial number in the Serial_Number_ONU PLOAM message, and sends the Serial_Number_ONU PLOAM message to the OLT configured with at least one vOLT. Each vOLT in the OLT receives the Serial_Number_ONU PLOAM message to obtain the serial number of the ONU. When the content of the virtual optical line terminal label is consistent with the identity of the current vOLT, the ONU is registered according to the ONU discovery and registration process defined by the current standard; when the content of the virtual optical line terminal label is inconsistent with the identity of the current vOLT In this case, delete the ONU's serial number from the current vOLT's unregistered ONU list, making the ONU invisible to operation and maintenance personnel. This prevents the ONU from registering to the wrong vOLT.
第二方面,参照图5,本公开实施例提供一种光网络单元的注册方法,应用于光网络单元,包括S21和S22。In the second aspect, referring to FIG. 5 , an embodiment of the present disclosure provides a registration method for an optical network unit, which is applied to the optical network unit and includes S21 and S22.
S21、生成注册消息,所述注册消息携带虚拟光线路终端标签,所述虚拟光线路终端标签用于标注所述光网络单元归属的虚拟光线路终端的标识。S21. Generate a registration message, where the registration message carries a virtual optical line terminal label, and the virtual optical line terminal label is used to mark the identity of the virtual optical line terminal to which the optical network unit belongs.
S22、发送所述注册消息。S22. Send the registration message.
本公开实施例提供的ONU的注册方法中,ONU向OLT发送注册消息,在注册消息中携带标注了ONU归属的vOLT的标识的虚拟光线路终端标签(vOLT标签),OLT中配置的各个vOLT获取到注册消息后对虚拟光线路终端标签的内容进行校验,通过判断虚拟光线路终端标签的内容与vOLT的标识是否一致确定ONU的归属,只有标识与虚拟光线路终端标签的内容一致的vOLT才对注册消息进行处理。在ONU注册过程中,vOLT能够直接识别所属的ONU,提高了ONU注册管理的便捷性;vOLT只对所属的ONU进行注册,避免了不同vOLT之间的信息泄露,提升了信息安全性;此外,由于OLT中配置的vOLT数量有限,且vOLT的标识通常是具有规律的,根据vOLT的标识确定ONU的归属,比起根据ONU的序列号确定ONU的归属更加容易,进一步提高了ONU注册管理的便捷性,提升了ONU注册管理效率。In the ONU registration method provided by the embodiment of the present disclosure, the ONU sends a registration message to the OLT. The registration message carries a virtual optical line terminal label (vOLT label) marked with the identity of the vOLT to which the ONU belongs. Each vOLT configured in the OLT obtains After receiving the registration message, the content of the virtual optical line terminal label is verified, and the ownership of the ONU is determined by judging whether the content of the virtual optical line terminal label is consistent with the identity of the vOLT. Only the vOLT whose identity is consistent with the content of the virtual optical line terminal label can be Process registration messages. During the ONU registration process, vOLT can directly identify the ONU it belongs to, which improves the convenience of ONU registration management; vOLT only registers the ONU it belongs to, avoiding information leakage between different vOLTs and improving information security; in addition, Since the number of vOLTs configured in the OLT is limited, and the identification of vOLTs is usually regular, it is easier to determine the ownership of an ONU based on the identification of vOLTs than based on the serial number of the ONU, further improving the convenience of ONU registration and management. It improves the efficiency of ONU registration management.
现行标准定义的ONU的发现注册机制中,OLT通过下行GTC帧的BWMap字段,开一个公共的上行空白窗(quiet window)。所有未注册的ONU都可以在这个空白窗中向OLT发送该ONU的序列号。新上线的ONU将其序列号放在Serial_Number_ONU PLOAM消息中,发送给OLT。OLT收到上行的Serial_Number_ONU PLOAM消息后,在该OLT的未注册ONU列表中加入该新上线的ONU的序列号,然后根据未注册ONU列表下发ONU注册命令,完成ONU注册管理。In the ONU discovery and registration mechanism defined by the current standard, the OLT opens a common upstream quiet window through the BWMap field of the downstream GTC frame. All unregistered ONUs can send the ONU's serial number to the OLT in this blank window. The newly online ONU puts its serial number in the Serial_Number_ONU PLOAM message and sends it to the OLT. After receiving the upstream Serial_Number_ONU PLOAM message, the OLT adds the serial number of the newly online ONU to the OLT's unregistered ONU list, and then issues the ONU registration command according to the unregistered ONU list to complete ONU registration management.
本公开实施例对于ONU如何确定归属的vOLT的标识不做特殊限定。例如,可以是根据运营商定制的版本确定ONU归属的vOLT的标识;也可以在ONU中提供配置端口,通过配置端口配置ONU归属的vOLT的标识。 The embodiment of this disclosure does not place any special restrictions on how the ONU determines the identity of the belonging vOLT. For example, the identity of the vOLT to which the ONU belongs can be determined based on a version customized by the operator; a configuration port can also be provided in the ONU, and the identity of the vOLT to which the ONU belongs can be configured through the configuration port.
相应地,在一些实施方式中,参照图6,在所述生成注册消息(S21)之前,所述ONU的注册方法还包括S23。Correspondingly, in some implementations, referring to FIG. 6 , before generating the registration message (S21), the ONU registration method further includes S23.
S23、从配置端口获取所述光网络单元归属的虚拟光线路终端的标识,或,根据所述光网络单元中运营商定制版本确定所述光网络单元归属的虚拟光线路终端的标识。S23. Obtain the identity of the virtual optical line terminal to which the optical network unit belongs from the configuration port, or determine the identity of the virtual optical line terminal to which the optical network unit belongs based on the operator-customized version in the optical network unit.
在一些实施方式中,所述注册消息为新增PLOAM消息,所述新增PLOAM消息中携带所述虚拟光线路终端标签。In some implementations, the registration message is a new PLOAM message, and the new PLOAM message carries the virtual optical line terminal label.
在一些实施方式中,ONU把自己的序列号放在Serial_Number_ONU PLOAM消息中,并将Serial_Number_ONU PLOAM消息发送给OLT。In some implementations, the ONU puts its serial number in the Serial_Number_ONU PLOAM message and sends the Serial_Number_ONU PLOAM message to the OLT.
第三方面,参照图7,本公开实施例提供一种光线路终端(OLT),包括:至少一个处理器101;存储器102,其上存储有至少一个计算机程序,当至少一个计算机程序被至少一个处理器101执行时,使得至少一个处理器101实现本公开实施例第一方面所述的光网络单元的注册方法;至少一个I/O接口103,连接在处理器101与存储器102之间,配置为实现处理器101与存储器102的信息交互。In a third aspect, referring to FIG. 7 , an embodiment of the present disclosure provides an optical line terminal (OLT), including: at least one processor 101; a memory 102 on which at least one computer program is stored. When at least one computer program is processed by at least one When the processor 101 executes, at least one processor 101 implements the registration method of the optical network unit described in the first aspect of the embodiment of the present disclosure; at least one I/O interface 103 is connected between the processor 101 and the memory 102, configured In order to realize information interaction between the processor 101 and the memory 102.
处理器101为具有数据处理能力的器件,包括但不限于中央处理器(CPU)等;存储器102为具有数据存储能力的器件,包括但不限于随机存取存储器(RAM,更具体如SDRAM、DDR等)、只读存储器(ROM)、带电可擦可编程只读存储器(EEPROM)、闪存(FLASH);I/O接口(读写接口)103连接在处理器101与存储器102间,能实现处理器101与存储器102的信息交互,包括但不限于数据总线(Bus)等。The processor 101 is a device with data processing capabilities, including but not limited to a central processing unit (CPU), etc.; the memory 102 is a device with data storage capabilities, including but not limited to random access memory (RAM, more specifically such as SDRAM, DDR etc.), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory (FLASH); the I/O interface (read-write interface) 103 is connected between the processor 101 and the memory 102, and can realize processing The information exchange between the device 101 and the memory 102 includes but is not limited to a data bus (Bus), etc.
在一些实施方式中,处理器101、存储器102和I/O接口103通过总线104相互连接,进而与计算设备的其它组件连接。In some implementations, processor 101, memory 102, and I/O interface 103 are connected to each other and, in turn, to other components of the computing device via bus 104.
第四方面,参照图8,本公开实施例提供一种光网络单元ONU,包括:至少一个处理器201;存储器202,其上存储有至少一个计算机程序,当至少一个计算机程序被至少一个处理器201执行时,使得至少一个处理器201实现本公开实施例第二方面所述的光网络单元的注册方法;至少一个I/O接口203,连接在处理器201与存储器 202之间,配置为实现处理器201与存储器202的信息交互。In the fourth aspect, referring to Figure 8, an embodiment of the present disclosure provides an optical network unit ONU, including: at least one processor 201; a memory 202 with at least one computer program stored thereon. When the at least one computer program is processed by at least one processor When 201 is executed, at least one processor 201 implements the registration method of the optical network unit described in the second aspect of the embodiment of the present disclosure; at least one I/O interface 203 is connected between the processor 201 and the memory. 202, configured to realize information interaction between the processor 201 and the memory 202.
处理器201为具有数据处理能力的器件,包括但不限于中央处理器(CPU)等;存储器202为具有数据存储能力的器件,包括但不限于随机存取存储器(RAM,更具体如SDRAM、DDR等)、只读存储器(ROM)、带电可擦可编程只读存储器(EEPROM)、闪存(FLASH);I/O接口(读写接口)203连接在处理器201与存储器202间,能实现处理器201与存储器202的信息交互,包括但不限于数据总线(Bus)等。The processor 201 is a device with data processing capabilities, including but not limited to a central processing unit (CPU), etc.; the memory 202 is a device with data storage capabilities, including but not limited to random access memory (RAM, more specifically such as SDRAM, DDR etc.), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory (FLASH); the I/O interface (read-write interface) 203 is connected between the processor 201 and the memory 202, and can realize processing The information exchange between the device 201 and the memory 202 includes but is not limited to a data bus (Bus), etc.
在一些实施方式中,处理器201、存储器202和I/O接口203通过总线204相互连接,进而与计算设备的其它组件连接。In some implementations, processor 201, memory 202, and I/O interface 203 are connected to each other and, in turn, to other components of the computing device via bus 204.
第五方面,本公开实施例提供一种计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现本公开实施例第一方面所述的光网络单元的注册方法或本公开实施例第二方面所述的光网络单元的注册方法中至少一者。In a fifth aspect, an embodiment of the present disclosure provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the registration method of an optical network unit described in the first aspect of the embodiment of the present disclosure is implemented or At least one of the registration methods for optical network units described in the second aspect of the embodiments of this disclosure.
为了使本领域技术人员能够更清楚地理解本公开实施例提供的技术方案,下面通过具体的三个实例,对本公开实施例提供的技术方案进行详细说明:In order to enable those skilled in the art to more clearly understand the technical solutions provided by the embodiments of the present disclosure, the technical solutions provided by the embodiments of the present disclosure are described in detail below through three specific examples:
实例一Example 1
在本实例中,一个OLT虚拟成8个vOLT,按照0至7编号,每一个vOLT分配一个编号作为标识。In this example, one OLT is virtualized into 8 vOLTs, numbered from 0 to 7, and each vOLT is assigned a number as an identifier.
按照现行标准,OLT和ONU之间交互的PLOAM消息的格式包含13个字节(byte),第二个byte表示Message ID字段。在本实例中,将Message ID字段的前三个bit定义为vOLT标签,用来标注ONU归属的vOLT的标识(vOLT ID)。According to current standards, the format of the PLOAM message exchanged between OLT and ONU contains 13 bytes (byte), and the second byte represents the Message ID field. In this example, the first three bits of the Message ID field are defined as vOLT tags, which are used to mark the identification (vOLT ID) of the vOLT to which the ONU belongs.
ONU在发送PLOAM消息时,在PLOAM消息的vOLT标签中标注该ONU归属的vOLT的vOLT ID,使得只有该ONU归属的vOLT才能识别并处理该PLOAM消息,避免该ONU被其他vOLT发现和注册。When an ONU sends a PLOAM message, it marks the vOLT ID of the vOLT to which the ONU belongs in the vOLT tag of the PLOAM message, so that only the vOLT to which the ONU belongs can identify and process the PLOAM message, preventing the ONU from being discovered and registered by other vOLTs.
OLT存在共享PON端口的场景下,OLT中的任意一个vOLT收到来自共享PON端口的PLOAM消息,对Message ID字段的前三个bit表示的vOLT标签的内容进行校验;当vOLT标签的内容与当前的vOLT  ID一致时,对注册消息进行处理;当vOLT标签的内容与当前的vOLT ID不一致时,丢弃注册消息。In the scenario where the OLT has a shared PON port, any vOLT in the OLT receives the PLOAM message from the shared PON port and verifies the content of the vOLT tag represented by the first three bits of the Message ID field; when the content of the vOLT tag matches Current vOLT When the IDs are consistent, the registration message is processed; when the content of the vOLT tag is inconsistent with the current vOLT ID, the registration message is discarded.
vOLT收到来自非共享PON端口的PLOAM消息时,可以对Message ID字段的前三个bit进行校验,也可以不进行校验。When vOLT receives a PLOAM message from a non-shared PON port, it can verify the first three bits of the Message ID field or not.
实例二Example 2
在本实例中,基于现行标准,ONU发现和注册流程包括1至18。In this example, based on current standards, the ONU discovery and registration process includes steps 1 to 18.
1、OLT每隔125微秒(us),发送一个下行GTC帧。1. The OLT sends a downlink GTC frame every 125 microseconds (us).
2、ONU接收到下行GTC帧之后,清除本地LOS/LOF,从O1状态进入O2状态。2. After receiving the downlink GTC frame, the ONU clears the local LOS/LOF and enters the O2 state from the O1 state.
3、OLT发送下行的Upstream_Overhead PLOAM消息,该消息中定义了上行帧的前导码、定界符和ONU均衡时延等参数。3. The OLT sends the downstream Upstream_Overhead PLOAM message, which defines the preamble, delimiter, ONU equalization delay and other parameters of the upstream frame.
4、ONU收到Upstream_Overhead PLOAM消息后,根据消息中的内容,设置上行帧的前导码、定界符和均衡时延等参数,从O2状态进入O3状态。4. After receiving the Upstream_Overhead PLOAM message, the ONU sets the preamble, delimiter, equalization delay and other parameters of the upstream frame according to the content of the message, and enters the O3 state from the O2 state.
5、OLT发送下行的Extended_Burst_Length PLOAM消息,该消息中定义了测距时的上行帧前导码长度和正常工作时的上行帧前导码长度。测距过程中一般使用较长的前导码,有利于OLT捕捉ONU的上行帧信号。5. The OLT sends the downlink Extended_Burst_Length PLOAM message, which defines the uplink frame preamble length during ranging and the uplink frame preamble length during normal operation. A longer preamble is generally used during the ranging process, which is beneficial for the OLT to capture the uplink frame signal of the ONU.
6、ONU收到Extended_Burst_Length PLOAM消息后,根据消息中的内容,设置测距时的上行帧前导码长度和正常工作时的上行帧前导码长度。6. After receiving the Extended_Burst_Length PLOAM message, the ONU sets the uplink frame preamble length during ranging and the uplink frame preamble length during normal operation according to the content in the message.
7、OLT通过下行GTC帧的BWMap字段,开一个公共的上行空白窗(quiet window)。所有未注册的ONU,都可以在这个空白窗中向OLT发送自己的序列号。7. The OLT opens a common upstream quiet window through the BWMap field of the downstream GTC frame. All unregistered ONUs can send their serial numbers to the OLT in this blank window.
8、ONU把自己的序列号放在Serial_Number_ONU PLOAM消息中,Serial_Number_ONU PLOAM消息的Message ID字段定义有vOLT标签,vOLT标签标注了vOLT ID,将Serial_Number_ONU PLOAM消息发送给OLT。8. ONU puts its serial number in the Serial_Number_ONU PLOAM message. The Message ID field of the Serial_Number_ONU PLOAM message is defined with a vOLT tag. The vOLT tag is marked with the vOLT ID, and the Serial_Number_ONU PLOAM message is sent to the OLT.
9、OLT中的任意一个vOLT在收到ONU的序列号后,判断序列号是否是从共享PON端口收到的,若是,则对Message ID字段中定义 的vOLT标签进行校验,判断vOLT ID字段是否与当前的vOLT一致;若一致,为ONU分配一个ONU ID,通过Assign_ONU_ID PLOAM消息发送给ONU。9. After any vOLT in the OLT receives the serial number of the ONU, it determines whether the serial number is received from the shared PON port. If so, it defines in the Message ID field Verify the vOLT tag to determine whether the vOLT ID field is consistent with the current vOLT; if consistent, assign an ONU ID to the ONU and send it to the ONU through the Assign_ONU_ID PLOAM message.
10、ONU收到Assign_ONU_ID PLOAM消息,从O3状态进入O4状态。10. ONU receives the Assign_ONU_ID PLOAM message and enters the O4 state from the O3 state.
11、OLT通过下行GTC帧的BWMap字段,为某个ONU ID开一个上行的空白窗(quiet window)。该ONU在这个空白窗中向OLT发送自己的序列号,用于测距。11. The OLT opens an upstream quiet window for a certain ONU ID through the BWMap field of the downstream GTC frame. The ONU sends its own serial number to the OLT in this blank window for ranging.
12、ONU把自己的序列号放在Serial_Number_ONU PLOAM消息中,发送给OLT。12. ONU puts its serial number in the Serial_Number_ONU PLOAM message and sends it to the OLT.
13、OLT在收到ONU的序列号后,计算出ONU的距离和均衡时延参数。通过Ranging_Time PLOAM消息,把均衡时延参数发送给ONU。13. After receiving the ONU's serial number, the OLT calculates the ONU's distance and equalization delay parameters. The equalization delay parameters are sent to the ONU through the Ranging_Time PLOAM message.
14、ONU收到Ranging_Time PLOAM消息,设置自己的均衡时延值,从O4状态进入O5状态。14. ONU receives the Ranging_Time PLOAM message, sets its own equilibrium delay value, and enters the O5 state from the O4 state.
15、如果OLT需要对ONU进行密码验证,会下发Request_password PLOAM消息,要求ONU上报自己的密码。15. If the OLT needs to perform password verification on the ONU, it will send a Request_password PLOAM message, requiring the ONU to report its password.
16、ONU通过Password PLOAM消息,将自己的密码发送给OLT。16. ONU sends its password to the OLT through the Password PLOAM message.
17、ONU密码验证通过,OLT下发Configure Port-ID PLOAM消息,配置ONU的OMCI管理通道。17. The ONU password verification passes, and the OLT issues the Configure Port-ID PLOAM message to configure the ONU's OMCI management channel.
18、ONU设置OMCI管理通道。通过该管理通道,OLT可以配置和管理ONU的业务。18. ONU sets the OMCI management channel. Through this management channel, the OLT can configure and manage the ONU's services.
完成以上操作,ONU注册流程结束。After completing the above operations, the ONU registration process ends.
实例三Example three
在本实例中,一个OLT虚拟成8个vOLT,按照0至7编号,每一个vOLT分配到一个编号作为该vOLT的标识。In this example, one OLT is virtualized into 8 vOLTs, numbered from 0 to 7, and each vOLT is assigned a number as the identification of the vOLT.
定义新增PLOAM消息,该新增PLOAM消息与现行标准定义的ONU发现和注册流程中OLT和ONU之间交互的PLOAM消息均不同。Define a new PLOAM message, which is different from the PLOAM message exchanged between the OLT and ONU in the ONU discovery and registration process defined by the current standard.
在新增PLOAM消息中携带vOLT标签,用来标注ONU归属的vOLT的标识(vOLT ID)。The new PLOAM message carries the vOLT label, which is used to mark the identification (vOLT ID) of the vOLT to which the ONU belongs.
ONU把自己的序列号放在Serial_Number_ONU PLOAM消息中,并 将Serial_Number_ONU PLOAM消息发送给OLT。The ONU puts its serial number in the Serial_Number_ONU PLOAM message and Send the Serial_Number_ONU PLOAM message to the OLT.
ONU将携带vOLT标签的新增PLOAM消息也发送给OLT。The ONU also sends the new PLOAM message carrying the vOLT label to the OLT.
vOLT收到Serial_Number_ONU PLOAM消息后,将ONU加入自己的未注册ONU列表中。After vOLT receives the Serial_Number_ONU PLOAM message, it adds the ONU to its own unregistered ONU list.
vOLT收到携带vOLT标签的新增PLOAM消息后,对vOLT标签进行校验,判断vOLT ID字段是否与当前的vOLT一致。若一致,则将ONU注册到当前的vOLT;若不一致,则将该ONU的序列号从当前的vOLT的未注册ONU列表中删除,使得该ONU对运维人员不可见,从而避免ONU注册到错误的vOLT。After the vOLT receives the new PLOAM message carrying the vOLT label, it verifies the vOLT label to determine whether the vOLT ID field is consistent with the current vOLT. If they are consistent, the ONU will be registered to the current vOLT; if they are inconsistent, the serial number of the ONU will be deleted from the unregistered ONU list of the current vOLT, making the ONU invisible to operation and maintenance personnel, thereby avoiding ONU registration errors. vOLT.
本领域普通技术人员可以理解,上文中所公开方法中的全部或某些步骤、装置中的功能模块/单元可以被实施为软件、固件、硬件及其适当的组合。在硬件实施方式中,在以上描述中提及的功能模块/单元之间的划分不一定对应于物理组件的划分;例如,一个物理组件可以具有多个功能,或者一个功能或步骤可以由若干物理组件合作执行。某些物理组件或所有物理组件可以被实施为由处理器(如中央处理器、数字信号处理器或微处理器)执行的软件,或者被实施为硬件,或者被实施为集成电路,如专用集成电路。这样的软件可以分布在计算机可读介质上,计算机可读介质可以包括计算机存储介质(或非暂时性介质)和通信介质(或暂时性介质)。如本领域普通技术人员公知的,术语计算机存储介质包括在用于存储信息(诸如计算机可读指令、数据结构、程序模块或其它数据)的任何方法或技术中实施的易失性和非易失性、可移除和不可移除介质。计算机存储介质包括但不限于RAM、ROM、EEPROM、闪存或其它存储器技术、CD-ROM、数字多功能盘(DVD)或其它光盘存储、磁盒、磁带、磁盘存储或其它磁存储装置、或者可以用于存储期望的信息并且可以被计算机访问的任何其它的介质。此外,本领域普通技术人员公知的是,通信介质通常包含计算机可读指令、数据结构、程序模块或者诸如载波或其它传输机制之类的调制数据信号中的其它数据,并且可包括任何信息递送介质。Those of ordinary skill in the art can understand that all or some steps in the methods disclosed above and functional modules/units in the devices can be implemented as software, firmware, hardware, and appropriate combinations thereof. In hardware implementations, the division between functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may consist of several physical components. Components execute cooperatively. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor, or a microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. circuit. Such software may be distributed on computer-readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). As is known to those of ordinary skill in the art, the term computer storage media includes volatile and nonvolatile media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data. removable, removable and non-removable media. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, Digital Versatile Disk (DVD) or other optical disk storage, magnetic cassettes, tapes, disk storage or other magnetic storage devices, or may Any other medium used to store desired information and that can be accessed by a computer. Additionally, it is known to those of ordinary skill in the art that communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media .
本文已经公开了示例实施例,并且虽然采用了具体术语,但它 们仅用于并仅应当被解释为一般说明性含义,并且不用于限制的目的。在一些实例中,对本领域技术人员显而易见的是,除非另外明确指出,否则与特定实施例相结合描述的特征、特性和/或元素可单独使用,或可与结合其它实施例描述的特征、特性和/或元件组合使用。因此,本领域技术人员将理解,在不脱离由所附的权利要求阐明的本公开的范围的情况下,可进行各种形式和细节上的改变。 Example embodiments have been disclosed herein, and although specific terminology is employed, it They are used and shall be construed in a general illustrative sense only and not for purposes of limitation. In some instances, it will be apparent to those skilled in the art that, unless expressly stated otherwise, features, characteristics, and/or elements described in connection with a particular embodiment may be used alone, or may be combined with features, characteristics, and/or elements described in connection with other embodiments. and/or used in combination with components. Accordingly, it will be understood by those skilled in the art that various changes in form and details may be made without departing from the scope of the present disclosure as set forth in the appended claims.

Claims (14)

  1. 一种光网络单元ONU的注册方法,应用于配置有至少一个虚拟光线路终端vOLT的光线路终端OLT,包括:A registration method for an optical network unit ONU, applied to an optical line terminal OLT configured with at least one virtual optical line terminal vOLT, including:
    当任意一个所述虚拟光线路终端vOLT获取到光网络单元ONU的注册消息时,对所述注册消息携带的虚拟光线路终端标签的内容进行校验,其中,所述虚拟光线路终端标签用于标注所述光网络单元ONU归属的虚拟光线路终端vOLT的标识;以及When any of the virtual optical line terminals vOLT obtains the registration message of the optical network unit ONU, the content of the virtual optical line terminal label carried in the registration message is verified, wherein the virtual optical line terminal label is used to Mark the identification of the virtual optical line terminal vOLT to which the optical network unit ONU belongs; and
    在所述虚拟光线路终端标签的内容与当前的所述虚拟光线路终端vOLT的标识一致的情况下,将所述光网络单元ONU注册到当前的所述虚拟光线路终端vOLT上。When the content of the virtual optical line terminal tag is consistent with the identification of the current virtual optical line terminal vOLT, the optical network unit ONU is registered to the current virtual optical line terminal vOLT.
  2. 根据权利要求1所述的注册方法,其中,所述对所述注册消息携带的虚拟光线路终端标签的内容进行校验包括:The registration method according to claim 1, wherein the verifying the content of the virtual optical line terminal label carried by the registration message comprises:
    判断所述注册消息是否接收自共享物理端口,其中,多个所述虚拟光线路终端vOLT共享所述共享物理端口;以及Determine whether the registration message is received from a shared physical port, wherein a plurality of the virtual optical line terminals vOLT share the shared physical port; and
    在所述注册消息接收自所述共享物理端口的情况下,对所述虚拟光线路终端标签的内容进行校验。In the case where the registration message is received from the shared physical port, the contents of the virtual optical line terminal tag are verified.
  3. 根据权利要求1所述的注册方法,还包括:The registration method according to claim 1, further comprising:
    在所述虚拟光线路终端标签的内容与当前的所述虚拟光线路终端vOLT的标识不一致的情况下,丢弃所述注册消息。If the content of the virtual optical line terminal tag is inconsistent with the current identification of the virtual optical line terminal vOLT, the registration message is discarded.
  4. 根据权利要求1至3中任意一项所述的注册方法,其中,所述注册消息为Serial_Number_ONU PLOAM消息。The registration method according to any one of claims 1 to 3, wherein the registration message is a Serial_Number_ONU PLOAM message.
  5. 根据权利要求4所述的注册方法,其中,所述Serial_Number_ONU PLOAM消息包括Message ID字段,所述Message ID字段的前三个比特中的至少一者定义为所述虚拟光线路终端标签。 The registration method according to claim 4, wherein the Serial_Number_ONU PLOAM message includes a Message ID field, and at least one of the first three bits of the Message ID field is defined as the virtual optical line terminal label.
  6. 根据权利要求1至3中任意一项所述的注册方法,其中,所述注册消息为新增PLOAM消息,其中,所述新增PLOAM消息中携带所述虚拟光线路终端标签。The registration method according to any one of claims 1 to 3, wherein the registration message is a new PLOAM message, wherein the new PLOAM message carries the virtual optical line terminal label.
  7. 一种光网络单元ONU的注册方法,应用于光网络单元ONU,包括:A registration method for optical network unit ONU, applied to optical network unit ONU, including:
    生成注册消息,其中,所述注册消息携带虚拟光线路终端标签,所述虚拟光线路终端标签用于标注所述光网络单元ONU归属的虚拟光线路终端vOLT的标识;以及Generate a registration message, wherein the registration message carries a virtual optical line terminal label, and the virtual optical line terminal label is used to mark the identity of the virtual optical line terminal vOLT to which the optical network unit ONU belongs; and
    发送所述注册消息。Send the registration message.
  8. 根据权利要求7所述的注册方法,其中,所述注册消息为Serial_Number_ONU PLOAM消息。The registration method according to claim 7, wherein the registration message is a Serial_Number_ONU PLOAM message.
  9. 根据权利要求8所述的注册方法,其中,所述Serial_Number_ONU PLOAM消息包括Message ID字段,所述Message ID字段的前三个比特中的至少一者定义为所述光线路终端标签。The registration method according to claim 8, wherein the Serial_Number_ONU PLOAM message includes a Message ID field, and at least one of the first three bits of the Message ID field is defined as the optical line terminal label.
  10. 根据权利要求7至9中任意一项所述的注册方法,还包括:The registration method according to any one of claims 7 to 9, further comprising:
    在所述生成注册消息之前,从配置端口获取所述光网络单元ONU归属的虚拟光线路终端vOLT的标识;或Before generating the registration message, obtain the identity of the virtual optical line terminal vOLT to which the optical network unit ONU belongs from the configuration port; or
    根据所述光网络单元ONU中运营商定制版本确定所述光网络单元ONU归属的虚拟光线路终端vOLT的标识。The identification of the virtual optical line terminal vOLT to which the optical network unit ONU belongs is determined according to the operator's customized version in the optical network unit ONU.
  11. 根据权利要求7至9中任意一项所述的注册方法,其中,所述注册消息为新增PLOAM消息,其中,所述新增PLOAM消息中携带所述虚拟光线路终端标签。The registration method according to any one of claims 7 to 9, wherein the registration message is a new PLOAM message, wherein the new PLOAM message carries the virtual optical line terminal label.
  12. 一种光线路终端OLT,包括:An optical line terminal OLT, including:
    至少一个处理器;以及 at least one processor; and
    存储器,其上存储有至少一个计算机程序,当所述至少一个计算机程序被所述至少一个处理器执行时,使得所述至少一个处理器实现根据权利要求1至6中任意一项所述的光网络单元ONU的注册方法。A memory having at least one computer program stored thereon, which when the at least one computer program is executed by the at least one processor, causes the at least one processor to implement the optical method according to any one of claims 1 to 6 Registration method of network unit ONU.
  13. 一种光网络单元ONU,包括:An optical network unit ONU, including:
    至少一个处理器;以及at least one processor; and
    存储器,其上存储有至少一个计算机程序,当所述至少一个计算机程序被所述至少一个处理器执行时,使得所述至少一个处理器实现根据权利要求7至11中任意一项所述的光网络单元ONU的注册方法。A memory having at least one computer program stored thereon, which when the at least one computer program is executed by the at least one processor, causes the at least one processor to implement the optical method according to any one of claims 7 to 11 Registration method of network unit ONU.
  14. 一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现根据权利要求1至11中任意一项所述的光网络单元ONU的注册方法。 A computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the registration method of the optical network unit ONU according to any one of claims 1 to 11 is implemented.
PCT/CN2023/111966 2022-09-16 2023-08-09 Registration method for optical network unit, and optical line terminal, optical network unit and medium WO2024055782A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202211127750.6 2022-09-16
CN202211127750.6A CN117768810A (en) 2022-09-16 2022-09-16 Registration method of optical network unit, optical line terminal, optical network unit and medium

Publications (1)

Publication Number Publication Date
WO2024055782A1 true WO2024055782A1 (en) 2024-03-21

Family

ID=90274192

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/111966 WO2024055782A1 (en) 2022-09-16 2023-08-09 Registration method for optical network unit, and optical line terminal, optical network unit and medium

Country Status (2)

Country Link
CN (1) CN117768810A (en)
WO (1) WO2024055782A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101083589A (en) * 2007-07-13 2007-12-05 华为技术有限公司 Terminal detection authentication process, device and operation administrative system in passive optical network
US20080232819A1 (en) * 2003-11-05 2008-09-25 Hiroaki Mukai Pon System and Optical Network Unit Connecting Method
CN102223586A (en) * 2010-04-13 2011-10-19 中兴通讯股份有限公司 Registration activation method and system for optical network unit
CN108270749A (en) * 2016-12-30 2018-07-10 深圳市中兴微电子技术有限公司 A kind of register method and system of virtual optical network unit

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080232819A1 (en) * 2003-11-05 2008-09-25 Hiroaki Mukai Pon System and Optical Network Unit Connecting Method
CN101083589A (en) * 2007-07-13 2007-12-05 华为技术有限公司 Terminal detection authentication process, device and operation administrative system in passive optical network
CN102223586A (en) * 2010-04-13 2011-10-19 中兴通讯股份有限公司 Registration activation method and system for optical network unit
CN108270749A (en) * 2016-12-30 2018-07-10 深圳市中兴微电子技术有限公司 A kind of register method and system of virtual optical network unit

Also Published As

Publication number Publication date
CN117768810A (en) 2024-03-26

Similar Documents

Publication Publication Date Title
US10367693B2 (en) Service configuration data processing method and apparatus
US7403490B2 (en) OAM capability discovery method in Ethernet passive optical network
US20120072973A1 (en) Method and apparatus for authentication in passive optical network and passive optical network
EP2955874A2 (en) Link discovery method and device
CN106851439A (en) A kind of cut-in method and device of multiple optical network units
WO2012139453A1 (en) Dpoe system and service auto-configuration method and network based thereon
US9270480B1 (en) Systems and methods for Ethernet-based management of optical networks using OMCI
US11405314B2 (en) Packet processing method and apparatus
US20220060344A1 (en) Method for indicating multicast forwarding entry and device
EP4002865B1 (en) Service configuration method and apparatus
WO2011150620A1 (en) Method and system for identifying accessing network for home gateway
WO2016110150A1 (en) Method and device for controlling access capability of illegal manufacturer onu in gpon system
WO2016101525A1 (en) Method, apparatus and system for managing optical network unit dpu device
WO2015024235A1 (en) Method, apparatus and system for terminal authentication in passive optical network
WO2010028578A1 (en) Method for sensing the service provider on an optical network device, device and system thereof
WO2020258980A1 (en) Network attack defense method and apparatus, receiving device, and computer storage medium
CN102571353A (en) Method for verifying legitimacy of home gateway in passive optical network
EP2765735B1 (en) Method, system and apparatus for implementing intercommunication multicast in passive optical network
CN103516760A (en) Virtual network system accessing method, device and system
WO2024055782A1 (en) Registration method for optical network unit, and optical line terminal, optical network unit and medium
CN109120334B (en) Optical fiber position determining method and device, network element, storage medium and processor
WO2017215438A1 (en) Service activating method, device and system, and storage medium
WO2017219856A1 (en) Circuit verification processing method and system, controller, and computer storage medium
WO2017076146A1 (en) Network access authentication method and system
WO2022100529A1 (en) Service configuration method, optical network unit, optical line terminal, and medium

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: 23864516

Country of ref document: EP

Kind code of ref document: A1