CN111182377B - GPON ONU registration device and method - Google Patents

GPON ONU registration device and method Download PDF

Info

Publication number
CN111182377B
CN111182377B CN201911417514.6A CN201911417514A CN111182377B CN 111182377 B CN111182377 B CN 111182377B CN 201911417514 A CN201911417514 A CN 201911417514A CN 111182377 B CN111182377 B CN 111182377B
Authority
CN
China
Prior art keywords
gpon
onu
analog
registration
olt
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911417514.6A
Other languages
Chinese (zh)
Other versions
CN111182377A (en
Inventor
曾光
陈文富
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Raisecom Technology Co Ltd
Original Assignee
Raisecom Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Raisecom Technology Co Ltd filed Critical Raisecom Technology Co Ltd
Priority to CN201911417514.6A priority Critical patent/CN111182377B/en
Publication of CN111182377A publication Critical patent/CN111182377A/en
Application granted granted Critical
Publication of CN111182377B publication Critical patent/CN111182377B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Small-Scale Networks (AREA)

Abstract

A registration device and method of an Optical Network Unit (ONU) in a GPON, wherein the device comprises: the GPON module is used for receiving and sending a message from the OLT to the processor module; and receiving and sending a message from a processor module to the OLT; the processor module is used for establishing a specified number of simulated GPON ONUs in the storage module, and receiving and sending registration interaction messages of the simulated GPON ONUs and the OLT through the GPON module to complete registration; and the storage module comprises a storage unit for simulating the GPON ONU. The method and the device can simulate the GPON ONU with the specified number to register to the OLT.

Description

Registration device and method of GPON ONU
Technical Field
The present disclosure relates to gigabit passive optical network GPON technologies, and in particular, to a device and a method for registering an optical network unit ONU in a GPON.
Background
Gigabit-Capable Passive Optical Networks (GPON) technology is the latest generation broadband Passive Optical integrated access standard based on ITU-t g.984.X standard, has numerous advantages of high bandwidth, high efficiency, large coverage area, rich user interfaces and the like, is considered as an ideal technology for realizing broadband and comprehensive transformation of access network services by most operators, and is applied more and more widely at present.
The GPON Network includes three parts, namely an Optical Network Unit (ONU), an Optical Distribution Network (ODN), and an Optical Line Terminal (OLT), wherein: the OLT provides an interface between a network side and a core network for the access network, is connected with each ONU through the ODN and serves as core function equipment of the GPON system, and has the functions of centralized bandwidth allocation, control of each ONU, real-time monitoring, operation, maintenance, management of the GPON system and the like.
With the wider application of GPON technology, the number of GPON ONUs connected under the OLT is increasing day by day, which makes it increasingly important for the OLT to face the pressure of registering a large number of GPON ONUs. However, in general, a large number of actual GPON ONUs cannot be provided in an internal test to present a current network situation, and therefore, it is urgently needed to provide a method and an apparatus capable of simulating a specified number of GPON ONUs for registration.
Disclosure of Invention
The application provides a GPON ONU registration device and a method, which can simulate a specified number of GPON ONUs to register to an OLT.
The application provides a register device of gigabit passive optical network GPON optical network unit ONU, comprising:
the GPON module is used for receiving and sending a message from the OLT to the processor module; and receiving and sending a message from a processor module to the OLT;
the processor module is used for establishing a specified number of simulated GPON ONUs in the storage module, and receiving and sending registration interaction messages of the simulated GPON ONUs and the OLT through the GPON module to complete registration;
and the storage module comprises a storage unit for simulating the GPON ONU.
In an exemplary embodiment, the apparatus further comprises:
and the upper layer control module is used for sending the number of the specified analog GPON ONUs to the processor module.
In an exemplary embodiment, the processor module, for establishing a specified number of analog GPON ONUs in a storage module, comprises: establishing a specified number of storage units in a storage module, wherein each storage unit represents an analog GPON ONU, and each analog GPON ONU is assigned with a serial number SN, and each SN uniquely represents one analog GPON ONU, and the method comprises the following steps:
and on the basis of the unique identifier of the registration device, combining the number of the appointed GPON ONUs to form the SN of each analog GPON ONU.
In an exemplary embodiment, the processor module forms the SN of each analog GPON ONU based on the unique identifier of the registered device in combination with a specified number of analog GPON ONUs, and includes:
the unique identification of the registered device comprises: vendor identification and serial number SN0; taking the serial number SN0 as the SN of the simulated main GPON ONU, and taking the serial number SN0 as a base number to generate m-1 different continuous increasing numerical values, wherein m is the number of the specified simulated GPON ONU;
SN of the m simulated GPOM ONU are SN0, (SN 0+ 1), …, (SN 0+ m-1) respectively.
In an exemplary embodiment, the processor module is configured to receive and send the registration interaction message of the analog GPON ONU and the OLT through the GPON module, and includes:
the processor module receives an SN request of an OLT through a GPON module and then sends the SN of the simulated GPON ONU to the OLT;
and the processor module receives an ONU identity identifier (ONU _ ID) corresponding to the SN of the simulated GPON ONU from the OLT through the GPON module.
In an exemplary embodiment, the processor module sends the SN of the analog GPON ONU to the OLT after receiving the SN request message of the OLT through the GPON module, including:
and after receiving a Serial-Number Request message of an SN Request of the OLT through the GPON module, the processor module sends an SN Response Serial-Number Response message to the OLT through the GPON module, wherein the Serial-Number Response message carries the Number of the simulated GPON ONUs and the SN of each simulated GPON ONU.
In an exemplary embodiment, the Serial-Number Response message carries the Number of the analog GPON ONUs and the SN of each analog GPON ONU, and includes:
the Serial-Number Response message carries the SN of the main analog GPON ONU and indicates that the SN of the other analog GPON ONUs is obtained by increasing m-1 times on the basis of the SN of the main analog GPON ONU.
In an exemplary embodiment, the processor module receives, from the OLT through a GPON module, an ONU identity, ONU _ ID, corresponding to a SN of the emulated GPON ONU, comprising:
the processor module receives and allocates an ONU _ ID assignment _ ONU _ ID message from the OLT through a GPON module, wherein the assignment _ ONU _ ID message carries an ONU _ ID corresponding to the SN of a main analog GPON ONU and indicates that the parameter of the ONU _ ID corresponding to the SN of other analog GPON ONUs is acquired by increasing m1-1 times on the basis of the ONU _ ID corresponding to the SN of the main analog GPON ONU, and 1 < m1 < m;
and the processing module determines an ONU identity identifier (ONU _ ID) corresponding to the SN of the simulated GPON ONU according to the Assign _ ONU _ ID message.
In an exemplary embodiment, the processing module is further configured to receive, by the GPON module, a simulated GPON ONU message specified by de-registration or a simulated GPON ONU message specified by deletion-registration that is sent by the OLT, and delete information corresponding to the specified simulated GPON ONU according to the simulated GPON ONU message specified by de-registration or the simulated GPON ONU message specified by deletion-registration;
the specified analog GPON ONU comprises: all the simulated GPON ONUs of all the registration devices under the OLT or all the GPON ONUs except the GPON ONU corresponding to the SN0 in all the registration devices under the OLT or all the simulated GPON ONUs of the registration device or all the GPON ONUs except the GPON ONU corresponding to the SN0 in the registration device or part of the continuously simulated GPON ONUs of the registration device.
The application also provides a method for registering the GPON ONU based on the registering device of the gigabit passive optical network GPON optical network unit ONU, which comprises the following steps:
the registration device establishes a specified number of analog GPON ONUs;
and the registration device performs registration interaction between the analog GPON ONU and the OLT through the OLT so as to complete registration.
In an exemplary embodiment, the registering device establishes a specified number of analog GPON ONUs, including:
the registration device allocates a storage unit for each analog GPON ONU in the specified number of analog GPON ONUs, and allocates a serial number SN for each analog GPON ONU, wherein each SN uniquely represents one analog GPON ONU.
In an exemplary embodiment, assigning a serial number SN to each emulated GPON ONU, each SN uniquely representing an emulated GPON ONU, comprises:
and on the basis of the unique identification of the registration device, combining the number of the specified analog GPON ONUs to form the SN of each analog GPON ONU.
In an exemplary embodiment, forming the SN of each analog GPON ONU based on the unique identifier of the registration apparatus in combination with the specified number of analog GPON ONUs includes:
the unique identification of the registered device comprises: vendor identification and serial number SN0;
taking the serial number SN0 as the SN of the simulated main GPON ONU, and taking the serial number SN0 as a base number to generate m-1 different continuous increasing numerical values, wherein m is the number of the specified simulated GPON ONU;
SN of the m simulated GPOM ONU are SN0, (SN 0+ 1), …, (SN 0+ m-1) respectively.
In an exemplary embodiment, the registering device and an OLT perform registration interaction between the analog GPON ONU and the OLT, including:
the registration device sends the SN of the simulated GPON ONU to the OLT after receiving the SN request of the OLT;
and the registration device receives an ONU identity (ONU _ ID) corresponding to the SN of the simulated GPON ONU from the OLT.
In an exemplary embodiment, the sending, by the registering device, the SN of the analog GPON ONU to the OLT after receiving the SN request of the OLT includes:
and after receiving the SN Request Serial-Number Request message of the OLT, the registration device sends an SN Response Serial-Number Response message to the OLT, wherein the Serial-Number Response message carries the Number of the simulated GPON ONUs and the SN of each simulated GPON ONU.
In an exemplary embodiment, the Serial-Number Response message carries the Number of the analog GPON ONUs and the SN of each analog GPON ONU, and includes:
the Serial-Number Response message carries the SN of the main analog GPON ONU and indicates that the SN of other analog GPON ONUs is obtained by increasing m-1 times on the basis of the SN of the main analog GPON ONU.
In an exemplary embodiment, the registering device receives, from the OLT, an ONU identity ONU _ ID corresponding to the SN of the emulated GPON ONU, including:
the registration device receives and allocates an ONU _ ID assignment _ ONU _ ID message from the OLT, wherein the assignment _ ONU _ ID message carries an ONU _ ID corresponding to the SN of a main analog GPON ONU and indicates that the parameter of the ONU _ ID corresponding to the SN of other analog GPON ONUs is acquired by increasing m1-1 times on the basis of the ONU _ ID corresponding to the SN of the main analog GPON ONU, and 1 < m1 < m;
and the registration device determines an ONU identity identifier (ONU _ ID) corresponding to the SN of the simulated GPON ONU according to the Assign _ ONU _ ID message.
In an exemplary embodiment, after the registration is completed, the method further includes:
the registration device receives a simulated GPON ONU message which is sent by the OLT and is appointed for de-registration or deletes the simulated GPON ONU message which is appointed for registration, and deletes the information corresponding to the appointed simulated GPON ONU according to the simulated GPON ONU message which is appointed for de-registration or the simulated GPON ONU message which is appointed for deleting registration;
the specified analog GPON ONU comprises: all the simulated GPON ONUs of all the registration devices under the OLT or all the GPON ONUs except the GPON ONU corresponding to the SN0 in all the registration devices under the OLT or all the simulated GPON ONUs of the registration device or all the GPON ONUs except the GPON ONU corresponding to the SN0 in the registration device or part of the continuously simulated GPON ONUs of the registration device.
The application also provides a method for registering the GPON ONU based on the registering device of the gigabit passive optical network GPON optical network unit ONU, which comprises the following steps:
the registration device establishes a specified number of analog GPON ONUs;
the registration device and an Optical Line Terminal (OLT) perform registration interaction of the analog GPON ONU and the OLT;
and the registration device completes registration according to the registration interaction result.
In an exemplary embodiment, the registering device establishes a specified number of analog GPON ONUs, including:
the registering device allocates a storage unit for each GPON ONU in the specified number of GPON ONUs, and allocates a serial number SN for each GPON ONU, wherein each SN uniquely represents one GPON ONU.
In an exemplary embodiment, the assigning a serial number SN to each analog GPON ONU, where each SN uniquely represents an analog GPON ONU, includes:
and on the basis of the unique identification of the registration device, combining the number of the specified analog GPON ONUs to form the SN of each analog GPON ONU.
In an exemplary embodiment, forming the SN of each analog GPON ONU based on the unique identifier of the registration apparatus in combination with the specified number of analog GPON ONUs includes:
the unique identification of the registered device comprises: vendor identification and serial number SN0;
taking the serial number SN0 as the SN of the simulated main GPON ONU, and taking the serial number SN0 as a base number to generate m-1 different continuous increasing numerical values, wherein m is the number of the specified simulated GPON ONU;
SN of the m simulated GPOM ONU are SN0, (SN 0+ 1), …, (SN 0+ m-1) respectively.
In an exemplary embodiment, the registering device and an optical line terminal OLT perform registration interaction between the analog GPON ONU and the OLT, including:
the register device receives an SN request of an OLT and then sends the SN of the analog GPON ONU to the OLT;
the OLT distributes a corresponding ONU identity identifier ONU _ ID for the received SN of the simulated GPON ONU and sends the ONU identity identifier ONU _ ID corresponding to the SN of the simulated GPON ONU to the registration device;
and the registration device receives an ONU identity (ONU _ ID) corresponding to the SN of the simulated GPON ONU from the OLT.
In an exemplary embodiment, the allocating, by the OLT, a corresponding ONU identity identifier, ONU _ ID, to the received SN of the analog GPON ONU includes:
and the OLT allocates ONU _ IDs for the SNs of the main analog GPON ONU, and the ONU _ IDs corresponding to the SNs of other analog GPON ONUs are gradually increased one by one on the basis of the ONU _ IDs corresponding to the SNs of the main analog GPON ONU.
In an exemplary embodiment, the sending, by the OLT, an ONU identity identifier, ONU _ ID, corresponding to the SN of the emulated GPON ONU to the registration apparatus includes:
and the OLT sends an ONU identity assignment _ ONU _ ID message to the registration device, wherein the message carries an ONU _ ID corresponding to the SN of the main analog GPON ONU and indicates that the parameter of the ONU _ ID corresponding to the SN of other analog GPON ONUs is acquired by increasing m1-1 times on the basis of the ONU _ ID corresponding to the SN of the main analog GPON ONU, and 1 < m1 < m 1.
In an exemplary embodiment, after the registration is completed, the method further includes:
the OLT sends a simulated GPON ONU message specified by de-registration or a simulated GPON ONU message specified by deletion registration to the registration device, and deletes the information corresponding to the specified simulated GPON ONU;
the specified analog GPON ONU comprises: all simulated GPON ONUs of all registration devices under the OLT or all GPON ONUs except the GPON ONU corresponding to SN0 in all registration devices under the OLT or all simulated GPON ONUs of the registration device or all GPON ONUs except the GPON ONU corresponding to SN0 in the registration device or part of the continuous simulated GPON ONUs of the registration device.
In an exemplary embodiment, when the specified GPON ONU is a partial continuous analog GPON ONU of the registration device, the unregistered specified analog GPON ONU message or the deleted registered specified analog GPON ONU message carries an ONU _ ID corresponding to the SN of the main analog GPON ONU, and a parameter indicating that the ONU _ ID corresponding to the SN of k-1 other analog GPON ONUs is acquired by increasing k-1 times on the basis of the ONU _ ID corresponding to the SN of the main analog GPON ONU, wherein k is more than 1 and less than m
Compared with the related art, the application comprises the following steps: the GPON module is used for receiving and sending a message from the OLT to the processor module; and receiving and sending a message from a processor module to the OLT; the processor module is used for establishing a specified number of simulated GPON ONUs in the storage module, and receiving and sending registration interaction messages of the simulated GPON ONUs and the OLT through the GPON module to complete registration; and the storage module comprises a storage unit for simulating the GPON ONU. The method and the device can simulate the GPON ONU with the specified number to register to the OLT.
Additional features and advantages of the application will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by the practice of the application. Other advantages of the present application can be realized and attained by the instrumentalities and combinations particularly pointed out in the specification and the drawings.
Drawings
The accompanying drawings are included to provide an understanding of the present disclosure and are incorporated in and constitute a part of this specification, illustrate embodiments of the disclosure and together with the examples serve to explain the principles of the disclosure and not to limit the disclosure.
Fig. 1 is a structural diagram of a registration apparatus of a GPON ONU according to an embodiment of the present disclosure;
fig. 2 is a situation that a downlink GPON port is connected to a registration apparatus according to an embodiment of the present application;
fig. 3 is a flowchart of a GPON ONU registration method provided by the registration apparatus according to an embodiment of the present application;
fig. 4 is a flowchart of another GPON ONU registration method provided by the registration apparatus according to an embodiment of the present application;
fig. 5 is a flowchart of GPON ONU registration provided in an application example of the present application.
Detailed Description
The present application describes embodiments, but the description is illustrative rather than limiting and it will be apparent to those of ordinary skill in the art that many more embodiments and implementations are possible within the scope of the embodiments described herein. Although many possible combinations of features are shown in the drawings and discussed in the detailed description, many other combinations of the disclosed features are possible. Any feature or element of any embodiment may be used in combination with or instead of any other feature or element in any other embodiment, unless expressly limited otherwise.
The present application includes and contemplates combinations of features and elements known to those of ordinary skill in the art. The embodiments, features and elements disclosed herein may also be combined with any conventional features or elements to form unique inventive aspects as defined by the claims. Any feature or element of any embodiment may also be combined with features or elements from other inventive aspects to form yet another unique inventive aspect, as defined by the claims. Thus, it should be understood that any of the features shown and/or discussed in this application may be implemented alone or in any suitable combination. Accordingly, the embodiments are not limited except as by the appended claims and their equivalents. Further, various modifications and changes may be made within the scope of the appended claims.
Further, in describing representative embodiments, the specification may have presented the method and/or process as a particular sequence of steps. However, to the extent that the method or process does not rely on the particular order of steps set forth herein, the method or process should not be limited to the particular sequence of steps described. Other orders of steps are possible as will be understood by those of ordinary skill in the art. Therefore, the particular order of the steps set forth in the specification should not be construed as limitations on the claims. Further, the claims directed to the method and/or process should not be limited to the performance of their steps in the order written, and one skilled in the art can readily appreciate that the sequences may be varied and still remain within the spirit and scope of the embodiments of the present application.
An embodiment of the present application provides a registration apparatus for a GPON ONU, and as shown in fig. 1, the registration apparatus includes:
a GPON module 101, configured to receive and send a message from the optical line terminal OLT to the processor module 102; and receiving and sending messages from the processor module 102 to the OLT;
the GPON module 101 receives a GTC data frame in a GPON protocol format from the OLT, decapsulates the GTC data frame and sends the decapsulated GTC data frame to the processor module 102; the data from the processor module 102 is encapsulated into a GTC data frame by a GPON protocol and then sent to the OLT;
a processor module 102 (such as a central processing unit CPU) configured to establish a specified number of analog GPON ONUs in a storage module 103, and receive and send registration interaction messages between the analog GPON ONUs and the OLT through a GPON module 101 to complete registration; the specified number of simulated GPON ONUs can be one or more simulated GPON ONUs as long as the requirement of the splitting ratio of the system design is met;
and the storage module 103 comprises a storage unit for simulating the GPON ONU.
The registration device is connected with one downlink GPON port of the OLT through the ODN, according to actual needs, only one registration device can be connected with one downlink GPON port of the OLT through the ODN, or a plurality of registration devices can be simultaneously connected with one downlink GPON port of the OLT through the ODN, and the number and the splitting ratio requirements of system design are met for the simulated GPON ONUs established by all the registration devices; certainly, a plurality of registration devices can also be connected with a plurality of downstream GPON ports of the OLT through the ODN at the same time, and at this time, the number of the analog GPON ONUs under one downstream GPON port only needs to meet the splitting ratio requirement of the system design; fig. 2 shows a case where a downstream GPON port is connected to a registration apparatus.
The embodiment of the application realizes the interaction between the GPON simulation ONU and the OLT in the specified number, can provide a more flexible test environment for verifying the pressure performance of the OLT, and simplifies the complexity of the pressure environment of a machine room.
In an exemplary embodiment, the apparatus further comprises:
the upper layer control module 104 is used for sending the number of the specified GPON ONUs to the processor module 102; the specified number of GPON ONUs can be carried in an analog command and sent to the processor module 102; the upper control module 104 may receive external input information through any related technology, for example, through an external visual input display device installed with interface software; thus, the specified number of analog GPON ONUs can be received by means of external input.
When only one registration device exists in one downlink GPON port, the number of the appointed analog GPON ONUs is not more than the maximum allowable number of the analog GPON ONUs connected with the downlink GPON port of the OLT; the maximum allowable number of connection terminals of a GPON port in the related art may be 2, 64, or 128, depending on the splitting ratio during system design. In the embodiment of the application, all 8 bits of the ONU _ ID field in each message of the GPON protocol are used, and the connection simulation of the GPON ONUs to be registered can be 254 except for the reserved bits, in other words, one registration device can simulate 254 GPON ONUs at most; or under the condition that a plurality of registration devices exist in one lower-connection GPON port, all the registration devices can simulate 254 GPON ONUs at most, and the number of the GPON ONUs which can be simulated by each registration device can be set by a person skilled in the art according to the test requirements.
In an exemplary embodiment, the processor module 102, configured to establish a specified number of analog GPON ONUs in the storage module 103, includes: establishing a specified number of storage units in the storage module 103, wherein each storage unit represents an analog GPON ONU, and a serial number SN is allocated to each analog GPON ONU, and each SN uniquely represents an analog GPON ONU;
different memory cells can be specified by assigning different memory address information; the size of each storage unit can be directly specified by a person skilled in the art according to a scene, for example, the storage size can be set to 1+4+ 8=69 bytes when only 8 TCONTs (Transmission CONT, transmission container) need to be simulated; and when 256 TCONTs are simulated, the storage size can be set to 1+4+256 + 8=2053 bytes;
the method for allocating a serial number SN to each analog GPON ONU, wherein each SN uniquely represents one analog GPON ONU, comprises the following steps:
based on the unique identifier of the registration device, combining the number of the specified GPON-simulating ONUs to form the SN of each GPON-simulating ONU, and the method comprises the following steps:
the unique identification of the registered device comprises: vendor identification (4 bytes) and sequence number SN0 (4 bytes); taking the serial number SN0 as the SN of the simulated main GPON ONU, and taking the serial number SN0 as a base number to generate m-1 different continuous increasing numerical values, wherein m is the number of the specified simulated GPON ONU; SN of the m analog GPOM ONUs are SN0, (SN 0+ 1), …, (SN 0+ m-1). Illustratively, if the number of the designated GPON ONUs is 32, the SN of the emulated main GPON ONU is SN0, and the SNs of the other 31 emulated GPON ONUs are sequentially (SN 0+ 1) … … (SN 0+ 31), and are used as the unique identifiers of different emulated GPON ONUs respectively.
In an exemplary embodiment, the processor module 102 is configured to receive and send the registration interaction message of the analog GPON ONU and the OLT through the GPON module 101, and includes:
the processor module 102 sends the SN of the simulated GPON ONU to the OLT after receiving the SN request of the OLT through the GPON module 101;
the processor module 102 receives, from the OLT through the GPON module 101, an ONU identity identifier ONU _ ID corresponding to the SN of the emulated GPON ONU.
In an exemplary embodiment, the sending, by the processor module 102, the SN of the analog GPON ONU to the OLT after the GPON module 101 receives the SN request message of the OLT includes:
and after receiving a Serial-Number Request message of an SN Request of the OLT through the GPON module, the processor module sends an SN Response Serial-Number Response message to the OLT through the GPON module, wherein the Serial-Number Response message carries the Number of the simulated GPON ONUs and the SN of each simulated GPON ONU.
The Serial-Number Response message carries the Number of the analog GPON ONUs and the SN of each analog GPON ONU, and includes:
the Serial-Number Response message carries the SN of the main analog GPON ONU and indicates that the SN of the other analog GPON ONUs is obtained by increasing m-1 times on the basis of the SN of the main analog GPON ONU. According to the method and the device, SN responses of a specified number of simulated GPON ONUs are packaged in one message, so that the test flow is simplified, and extra time consumption for registration is not brought;
in an exemplary embodiment, the processor module 102 receives, from the OLT through a GPON module 101, an ONU identity, ONU _ ID, corresponding to the SN of the emulated GPON ONU, comprising:
the processor module 102 receives and allocates an ONU _ ID assignment _ ONU _ ID message from the OLT through the GPON module 101, wherein the assignment _ ONU _ ID message carries an ONU _ ID corresponding to the SN of a main analog GPON ONU and indicates that the parameter of the ONU _ ID corresponding to the SN of other analog GPON ONUs is acquired by increasing m1-1 times on the basis of the ONU _ ID corresponding to the SN of the main analog GPON ONU, and 1 < m 1;
the processing module 102 determines an ONU identity identifier ONU _ ID corresponding to the SN of the GPON-simulated ONU according to the Assign _ ONU _ ID message, and stores the correspondence between the SN of the GPON-simulated ONU and the ONU _ ID in the storage module 103.
In an exemplary embodiment, the processing module 102 is further configured to receive, by the GPON module 101, an analog GPON ONU message designated for de-registration or an analog GPON ONU message designated for deletion-registration sent by the OLT, and delete information corresponding to the designated analog GPON ONU according to the analog GPON ONU message designated for de-registration or the analog GPON ONU message designated for deletion-registration;
the specified analog GPON ONU comprises: all simulated GPON ONUs of all registration devices under the OLT or all GPON ONUs except the GPON ONU corresponding to SN0 in all registration devices under the OLT or all simulated GPON ONUs of the registration device or all GPON ONUs except the GPON ONU corresponding to SN0 in the registration device or part of the continuous simulated GPON ONUs of the registration device.
An embodiment of the present invention further provides a method for registering a GPON ONU, where the method is based on the GPON ONU registration apparatus described in the foregoing embodiment, and as shown in fig. 3, the method includes:
step S301, the registration device establishes a specified number of analog GPON ONUs;
step S302, the registration apparatus performs registration interaction between the analog GPON ONU and the OLT through the optical line terminal OLT to complete registration.
In an exemplary embodiment, the registering device establishes a specified number of analog GPON ONUs, including:
the registering device allocates a storage unit for each GPON ONU in the specified number of GPON ONUs, and allocates a serial number SN for each GPON ONU, wherein each SN uniquely represents one GPON ONU.
The method for distributing the serial number SN for each analog GPON ONU, wherein each SN uniquely represents one analog GPON ONU comprises the step of forming the SN of each analog GPON ONU by combining the number of the specified analog GPON ONUs on the basis of the unique identifier of the registration device.
The forming of the SN of each analog GPON ONU by combining the number of the specified analog GPON ONUs on the basis of the unique identifier of the registration device comprises the following steps: the unique identification of the registered device comprises: vendor identification and serial number SN0; taking the serial number SN0 as the SN of the simulated main GPON ONU, and taking the serial number SN0 as a base number to generate m-1 different continuous increasing numerical values, wherein m is the number of the specified simulated GPON ONU; SN of the m simulated GPOM ONU are SN0, (SN 0+ 1), …, (SN 0+ m-1) respectively.
In an exemplary embodiment, the registering device and an OLT perform registration interaction between the analog GPON ONU and the OLT, including:
the registration device sends the SN of the simulated GPON ONU to the OLT after receiving the SN request of the OLT;
and the registration device receives ONU identity identification (ONU _ ID) corresponding to the SN of the simulation GPON ONU from the OLT.
In an exemplary embodiment, the sending, by the registration apparatus to the OLT, the SN of the analog GPON ONU after the registration apparatus receives the SN request of the OLT includes:
and after receiving a Serial-Number Request message of the OLT, the registration device sends an SN Response Serial-Number Response message to the OLT, wherein the Serial-Number Response message carries the Number of the simulated GPON ONUs and the SN of each simulated GPON ONU.
The Serial-Number Response message carries the Number of the analog GPON ONUs and the SN of each analog GPON ONU, and includes:
the Serial-Number Response message carries the SN of the main analog GPON ONU and indicates that the SN of the other analog GPON ONUs is obtained by increasing m-1 times on the basis of the SN of the main analog GPON ONU. According to the method and the device, SN responses of a specified number of simulated GPON ONUs are packaged in one message, so that the test flow is simplified, and extra time consumption for registration is not brought;
in an exemplary embodiment, the registering device receives, from the OLT, an ONU identity ONU _ ID corresponding to the SN of the emulated GPON ONU, including:
the registration device receives an allocated ONU _ ID _ ONU _ ID message from the OLT, wherein the allocated ONU _ ID message carries an ONU _ ID corresponding to the SN of a main analog GPON ONU and a parameter indicating that the ONU _ ID corresponding to the SN of other analog GPON ONUs is acquired by increasing m1-1 times on the basis of the ONU _ ID corresponding to the SN of the main analog GPON ONU, and 1 < m1 ≦ m;
and the registration device determines an ONU identity identifier (ONU _ ID) corresponding to the SN of the simulated GPON ONU according to the Assign _ ONU _ ID message.
In an exemplary embodiment, after the registration is completed, the method further comprises:
the registration device receives a simulated GPON ONU message which is sent by the OLT and is appointed for de-registration or deletes the simulated GPON ONU message which is appointed for registration, and deletes the information corresponding to the appointed simulated GPON ONU according to the simulated GPON ONU message which is appointed for de-registration or the simulated GPON ONU message which is appointed for deleting registration;
the specified analog GPON ONU comprises: all simulated GPON ONUs of all registration devices under the OLT or all GPON ONUs except the GPON ONU corresponding to SN0 in all registration devices under the OLT or all simulated GPON ONUs of the registration device or all GPON ONUs except the GPON ONU corresponding to SN0 in the registration device or part of the continuous simulated GPON ONUs of the registration device.
The embodiment of the application realizes the interaction between the GPON simulation ONU and the OLT in the specified number, can provide a more flexible test environment for verifying the pressure performance of the OLT, and simplifies the complexity of the pressure environment of a machine room.
The present application further provides a method for registering a GPON ONU, which is based on the GPON ONU registration apparatus described in the foregoing embodiment, and as shown in fig. 4, the method includes:
step S401, the register device establishes a specified number of analog GPON ONUs;
step S402, the registration device and an optical line terminal OLT perform registration interaction between the analog GPON ONU and the OLT;
and step S403, the registration device completes registration according to the registration interaction result.
In an exemplary embodiment, the registering device establishes a specified number of analog GPON ONUs, including:
the registering device allocates a storage unit for each GPON ONU in the specified number of GPON ONUs, and allocates a serial number SN for each GPON ONU, wherein each SN uniquely represents one GPON ONU.
The method for allocating a serial number SN to each analog GPON ONU, wherein each SN uniquely represents one analog GPON ONU, comprises the following steps:
and on the basis of the unique identification of the registration device, combining the number of the specified analog GPON ONUs to form the SN of each analog GPON ONU.
The forming of the SN of each analog GPON ONU by combining the number of the specified analog GPON ONUs on the basis of the unique identifier of the registration device comprises the following steps:
the unique identification of the registered device comprises: vendor identification and serial number SN0;
taking the serial number SN0 as the SN of the simulated main GPON ONU, and taking the serial number SN0 as a base number to generate m-1 different continuous increasing numerical values, wherein m is the number of the specified simulated GPON ONU;
SN of the m analog GPOM ONUs are SN0, (SN 0+ 1), …, (SN 0+ m-1).
In an exemplary embodiment, the registering device and an optical line terminal OLT perform registration interaction between the analog GPON ONU and the OLT, including:
the register device receives an SN request of an OLT and then sends the SN of the analog GPON ONU to the OLT;
the OLT distributes a corresponding ONU identity identifier ONU _ ID for the received SN of the simulated GPON ONU and sends the ONU identity identifier ONU _ ID corresponding to the SN of the simulated GPON ONU to the registration device;
and the registration device receives an ONU identity (ONU _ ID) corresponding to the SN of the simulated GPON ONU from the OLT.
In an exemplary embodiment, the allocating, by the OLT, a corresponding ONU identity identifier, ONU _ ID, to the received SN of the analog GPON ONU includes:
and the OLT allocates ONU _ IDs for the SNs of the main analog GPON ONU, and the ONU _ IDs corresponding to the SNs of other analog GPON ONUs are gradually increased one by one on the basis of the ONU _ IDs corresponding to the SNs of the main analog GPON ONU.
In an exemplary embodiment, the sending, by the OLT, an ONU identity identifier ONU _ ID corresponding to the SN of the emulated GPON ONU to the registration apparatus includes:
and the OLT sends an ONU identity assignment _ ONU _ ID message to the registration device, wherein the message carries an ONU _ ID corresponding to the SN of the main analog GPON ONU and indicates that the parameter of the ONU _ ID corresponding to the SN of other analog GPON ONUs is acquired by increasing m1-1 times on the basis of the ONU _ ID corresponding to the SN of the main analog GPON ONU, and 1 < m1 < m 1. The method and the device can pack the ONU _ IDs corresponding to the SNs of the plurality of simulated GPON ONUs into one message, simplify the test flow and avoid extra time consumption for registration.
In an exemplary embodiment, after the registration is completed, the method further includes:
the OLT sends a simulated GPON ONU message specified by de-registration or a simulated GPON ONU message specified by deletion registration to the registration device, and deletes the information corresponding to the specified simulated GPON ONU;
the specified analog GPON ONU comprises: all simulated GPON ONUs of all registration devices under the OLT or all GPON ONUs except the GPON ONU corresponding to SN0 in all registration devices under the OLT or all simulated GPON ONUs of the registration device or all GPON ONUs except the GPON ONU corresponding to SN0 in the registration device or part of the continuous simulated GPON ONUs of the registration device.
When the appointed GPON ONU is a part of continuous analog GPON ONUs of the registration device, the de-registration appointed analog GPON ONU message or the deletion registration appointed analog GPON ONU message carries the ONU _ ID corresponding to the SN of the main analog GPON ONU, and the parameter of acquiring the ONU _ ID corresponding to the SN of k-1 other analog GPON ONUs by increasing k-1 times on the basis of the ONU _ ID corresponding to the SN of the main analog GPON ONU is indicated, wherein k is more than 1 and less than m.
The embodiment of the application realizes the interaction between the GPON simulation ONU and the OLT in a specified number, can provide a more flexible test environment for verifying the pressure performance of the OLT, and simplifies the complexity of the pressure environment of a machine room.
A method for the GPON ONU registration by the GPON ONU registration apparatus according to the foregoing embodiment is described below with a specific application example.
After the OLT and each module in the registration apparatus are respectively powered on and initialized, the registration process of the GPON ONU is shown in fig. 5, and includes the following steps:
step 501: the upper layer control module receives the number of the appointed GPON simulation ONUs and provides the number of the appointed GPON simulation ONUs to the processor module;
step 502: the processor module sets a corresponding number of storage units in the storage module according to the number of the specified simulated GPON ONUs, each storage unit represents one simulated GPON ONU, and different serial numbers SN are set for each simulated GPON ONU to serve as the unique identification of the simulated GPON ONU;
therefore, through steps 501-502, the registration device already simulates a plurality of GPON ONUs with different SNs, and the simulated GPON ONUs are in a standby state and are ready to interact with the OLT;
step 503: the OLT broadcasts and sends an uplink Overhead message of a set number of times in a certain discovery period, wherein the uplink Overhead message is encapsulated in a GTC frame format and adopts a Physical Layer Operation Administration and Maintenance (PLOAM) domain defined by a GPON protocol, wherein the Physical Layer Operation Administration and Maintenance (PLOAM) domain carries a pre-allocated equilibrium delay value, and the pre-allocated equilibrium delay value is not described herein any more;
in the related art, an Upstream Overhead message sent by an OLT indicates that an OLT end is ready, indicates a pre-allocation equalization delay value and a preamble byte number used in an Upstream direction, and specifies a transmission optical power of an ONU; in this application example, the uplink Overhead message sent by the OLT may be only to indicate that the OLT end is ready and instruct the registration apparatus to set a pre-allocation equalization delay value, so that the set number of times for sending the uplink Overhead message may be enough to meet the above purpose;
step 504: the method comprises the steps that a GPON module of a registration device analyzes an Upstream Overhead message from a received GTC data frame and forwards the analyzed Upstream Overhead message to a processor module;
step 505: the processor module obtains a pre-distribution equilibrium time delay value of the Upstream Overhead message, multiplies the obtained pre-distribution equilibrium time delay value by a random number randomly generated by the processor module to obtain a random time delay value TONU _0, and stores the random time delay value TONU _0, wherein the random time delay value TONU _0 is used for the time difference of sending uplink messages by any two registration devices to avoid collision; starting a timer TONU _1 as a time slot length required for recording local (registration device) processing and registration message sending; the timing duration of the timer TONU _1 is set by a person with ordinary skill in the art according to the test requirement;
step 506: after sending the uplink Overhead Upstream Overhead message for the predetermined Number of times, the OLT continues to broadcast and send a Serial-Number Request message, where the Serial-Number Request message is also encapsulated in a GTC frame format and adopts a PLOAM field defined by a GPON protocol, and specific field information is shown in table 1:
Figure BDA0002351580870000191
TABLE 1
Step 507: the GPON module of the registration device analyzes a Serial-Number Request message from a received GTC data frame and forwards the analyzed Serial-Number Request message to the processor module;
step 508: the processor module matches the padding values of bytes 4 to 11 of the Serial-Number Request message with the unique identifier of the registration device, if the padding values are completely matched, the Request registration can be performed, the step 309 is continuously executed, and if the padding values are not completely matched, the application example does not involve;
in this step, the padding values of the 4 th to 11 th bytes of the Serial-Number Request message are matched with the unique identifier of the registration apparatus, so as to make direct comparison, or the padding values of the 4 th to 11 th bytes of the Serial-Number Request message are operated with the unique identifier of the registration apparatus, and the operation result is compared, where the latter is stronger in extensibility of the test application, for example, a selection of specific judgment when other test function interfaces are added, but here, no specific application is involved;
step 509: the processor module fills registration information according to the content set by the Serial Number Response Serial-Number Response message, and sends the registration information to the OLT through the ODN after being packaged into a GTC frame by the GPON module, the Serial-Number Response message is also a PLOAM domain defined by the GPON protocol in the GTC frame, and the specific field information is shown in Table 2:
Figure BDA0002351580870000201
Figure BDA0002351580870000211
TABLE 2
Step 510: the OLT analyzes the Serial-Number Response message from the received GTC frame, and takes the random time delay value T1 of the 11 th byte as a registration interaction random time delay value which is determined to be reserved for the registration device; determining SN of an analog GPON ONU according to the padding values of the 7 th byte to the 10 th byte, namely, the serial number SN0 of a main analog GPON ONU in the registration device; determining the number of GPON ONU required to be simulated according to the filling value of the 12 th byte, wherein the SN of each simulated GPON ONU is continuously increased one by one, so that the SN of all GPON ONU required to be simulated can be determined; the OLT forms and records the corresponding relation between ONU _ ID and SN of each analog GPON ONU and ONU _ ID (Primary ONU _ ID) of the main GPON ONU according to the information; the ONU _ ID corresponding to SN0 is distributed to the OLT according to the related technology, and the ONU _ IDs of other GPON-simulating ONUs are determined by gradually increasing one by one, specifically: based on SN0 and the corresponding ONU _ ID, as the serial number increases gradually, the ONU _ ID also increases at the same time, that is: SN0 → ONU _ ID, (SN 0+ 1) → (ONU _ ID + 1), (SN 0+ 2) → (ONU _ ID + 2) … … are shown in Table 3:
ONU_ID Primary ONU_ID SN
0 0 SN0
1 0 SN0+1
0
31 0 SN0+31
TABLE 3
In the above correspondence, the Primary ONU _ ID indicates the ONU _ ID of the main GPON ONU that borrows the serial number of the registration apparatus, for example, in this application example: the Primary ONU _ ID is 0 and corresponds to a virtual GPON ONU with the serial number of SN0, so that when a plurality of registration devices exist, the IDs of all simulated GPON ONUs in one registration device can be conveniently distinguished on the OLT side;
step 511: the OLT fills data according to the content set by the allocation ONU _ ID (Assign _ ONU _ ID) message by using a PLOAM domain defined by the GPON protocol, encapsulates the data into a GTC frame, and sends the GTC frame to the registration apparatus through the ODN, where specific field information of the Assign _ ONU _ ID message is shown in table 4:
Figure BDA0002351580870000221
TABLE 4
Here, one point is specifically explained: this message is used to assign a batch of ONU _ IDs to the registered device; thus, unlike the related art: the T-CONT information of ONU _ ID is not filled in an upstream bandwidth mapping (BWmap) domain of a GTC frame corresponding to a downstream frame of GPON;
step 512: the GPON module of the registration device analyzes an Assign _ ONU _ ID message for allocating ONU _ ID from the received GTC data frame and forwards the analyzed Assign _ ONU _ ID message to the processor module;
step 513: the processor module judges whether the information of 4 th to 11 th bytes in the acquired Assign _ ONU _ ID message is the same as the unique identifier of the registration device, and if not, the message is discarded; if so, resolving the ONU _ ID of the 3 rd byte and the increasing times of the 12 th byte in the Assign _ ONU _ ID message, recording the ONU _ ID corresponding to the SN0, and determining the ONU _ IDs of other simulated GPON ONUs one by one in an increasing mode, so that the corresponding relation between the SN of each simulated GPON ONU and the ONU _ ID is formed and recorded on the registration device;
in this step, determining the ONU _ IDs of each other analog GPON ONU incrementally one by one is specifically: based on SN0 and the corresponding ONU _ ID, as the serial number increases gradually, the ONU _ ID also increases at the same time, that is: SN0 → ONU _ ID, (SN 0+ 1) → (ONU _ ID + 1), (SN 0+ 2) → (ONU _ ID + 2) … … thereby matching the corresponding relationship between the SN and ONU _ ID of each analog GPON ONU stored in the OLT;
step 514: the OLT adopts a PLOAM domain defined by a GPON protocol to fill data according to the content set by the allocation _ ID message, encapsulates the data into a GTC frame and then sends the GTC frame to the registration device through the ODN. Specifically, the method comprises the following steps: filling Alloc _ ID content in an upstream bandwidth map BWmap field of a downstream GTC frame sent by an OLT, the upstream bandwidth map BWmap field is used to allocate an Alloc _ ID number to a specific GPON ONU on a registration apparatus, and similar to the related art, the BWmap field also carries a service TCONT and a time slot length corresponding to the ONU _ ID, the specific GPON ONU is specified by the ONU _ ID, each specific GPON ONU needs to send an Assign _ Alloc _ ID message separately, and specific field information is shown in table 5:
Figure BDA0002351580870000231
Figure BDA0002351580870000241
TABLE 5
In this step, the number of the Assign _ Alloc _ ID messages sent to the registration apparatus is determined by a policy that an OLT assigns TCONT numbers to each simulated GPON ONU according to system test design by a person of ordinary skill in the art, but does not exceed the number of the GPON ONUs simulated by the registration apparatus;
step 515: a GPON module of the registration device analyzes BWmap field information from a received GTC data frame, and forwards the analyzed BWmap field information comprising an Assign _ Alloc _ ID message, a service TCONT corresponding to an ONU _ ID and a time slot length to a processor module;
step 516: the processor module analyzes the information including the Assign _ Alloc _ ID message, the service TCONT corresponding to the ONU _ ID and the BWmap field information of the time slot length, and records the corresponding relationship between each ONU _ ID, alloc ID and the corresponding time slot length, that is: acquiring and recording Alloc IDs of all the analog GPON ONUs and corresponding required time slot lengths;
517: the processor module calculates and stores the sum of the lengths of the time slots TONU _2 required by Alloc IDs, which are received in a preset time length and aim at different ONU _ IDs;
in this step, the predetermined time length is to receive an Assign _ Alloc _ ID message issued for all the simulated GPON ONUs, and the specific time length may be determined by a person of ordinary skill in the art according to the test environment;
step 518: the OLT adopts a PLOAM domain defined by a GPON protocol to fill data according to the content set by the Ranging Request message, packages the data into a GTC frame and then sends the GTC frame to the registration device through the ODN, and starts a timer TOLT _1 during sending, wherein the timer is used for recording the time from the time when the OLT sends the Ranging Request message to the time when the Ranging Response message is received;
step 519: the GPON module of the registration device analyzes a Ranging Request message from a received GTC data frame and forwards the analyzed Ranging Request message to the processor module; the processor module starts a timer TONU _3 when receiving the Ranging Request message, wherein the timer TONU _3 is used for recording the time between the time that the processor module receives the Ranging Request message and the time that the processor module sends the corresponding Ranging Response message;
step 520: the processor module responds to a total required equalization time delay T2 of the OLT registration device under the condition of the total number of the current analog GPON ONU according to the content set by the Ranging Response message, and the equalization time delay T2 is packaged into a GTC frame by the GPON module and then sent to the OLT through the ODN, wherein the GTC frame is also a PLOAM domain defined by a GPON protocol, and the specific field information is shown in a table 6:
Figure BDA0002351580870000251
Figure BDA0002351580870000261
TABLE 6
Step 521: when receiving the Ranging Response message, the OLT stops timing by a timer TOLT _ 1; analyzing a Ranging Response message from a received GTC frame, determining a balanced delay value of the whole registration device according to a balanced delay value T2 and a timing value of a local timer TOLT _1 in the message, filling data in a PLOAM (product and administration and maintenance) domain defined by a GPON (gigabit passive optical network) protocol according to content set by a Ranging Time message, encapsulating the data into a GTC frame, and sending the GTC frame to the registration device through an ODN (optical distribution network), wherein specific field information of the Ranging Time message is shown in a table 7:
Figure BDA0002351580870000262
TABLE 7
Therefore, after receiving the Ranging Time message, the registration device determines an equilibrium Time delay value EqD according to the 4 th to 7 th byte information of the Ranging Time message, determines an uplink data sending window of the registration device according to the equilibrium Time delay value EqD, and enters an operating state to complete a registration process;
step 522: when the OLT confirms that the number of GPON ONUs recorded with the corresponding relation of the ONU _ ID, the SN and the ONU _ ID of the main GPON ONU is the same as the number of GPON ONUs to be simulated, and the registration device determines that the number of memory units with the SN is also the same as the number of GPON ONUs to be simulated and determines the equalization delay value, the OLT is indicated to finish the registration pressure test of the preset number of ONUs, otherwise, the OLT is indicated to be incapable of finishing the registration pressure test of the preset number of ONUs.
When the GPON ONU simulated by the simulation apparatus needs to be unregistered/deleted according to the test requirements, the OLT fills data according to the content set in the deactivation deactivating _ ONU _ ID message by using a PLOAM domain defined by the GPON protocol, encapsulates the data into a GTC frame, and sends the GTC frame to the registration apparatus through the ODN, where specific field information of the deactivating _ ONU _ ID message is shown in table 8:
Figure BDA0002351580870000271
TABLE 8
The GPON module of the registration device analyzes and deactivates the deactivating _ ONU _ ID message from the received GTC data frame and forwards the analyzed deactivating _ ONU _ ID message to the processor module;
the processor module performs different processing according to different information in the deactivating _ ONU _ ID message as follows:
judging whether to unregister/delete a GPON ONU (at this time, the ONU _ ID corresponding to SN0 of the specific registration device) on a specific registration device or all ONUs of all analog devices under the GPON port of the OLT (at this time, 11111111) according to the 1 st byte;
judging whether to perform the de-registration/deletion of a single analog GPON ONU or the de-registration/deletion of a plurality of analog GPON ONUs according to the 3 rd byte: (1) If the GPON ONU needs to be de-registered/deleted (the 3 rd byte is filled with other data), determining the ONU _ ID of the GPON ONU needing to be de-registered/deleted by increasing the ONU _ ID on the basis that the 3 rd byte needs to be filled with the ONU _ ID filled in the first byte, and deleting the recorded related information of the memory unit; (2) If the data is de-registered/deleted by a plurality of analog GPON ONUs (the 3 rd byte is filled with 00000000 or 11111111).
Two points need to be explained for this step:
(1) When the 1 st byte is 11111111, the 3 rd byte can only be filled with 00000000 or 11111111, the 1 st byte represents that whether the de-registration/deletion operation is performed on all the GPON ONUs of all the analog devices (the 3 rd byte is filled with 000000000000) or the de-registration/deletion operation is performed on all the GPON ONUs of all the analog devices except for the GPON ONU corresponding to SN0 (the 3 rd byte is filled with 11111111111111) is determined in cooperation with the 1 st byte, and after the processor module of the registration device receives the deactivating _ ONU _ ID message including the information, the related information of the memory unit corresponding to the deleted analog GPON ONU is correspondingly deleted;
(2) When the 1 st byte is the ONU _ ID of SN0, the 3 rd byte may be filled with 00000000 or 11111111, and if not 00000000 or 11111111111, de-registration/deletion of a single analog GPON ONU is performed, which has been described above and is not described again; if the 3 rd byte is filled with 00000000, all analog GPON ONUs of the registration device where the SN0 is unregistered/deleted are indicated; if the 3 rd byte is filled with 11111111, all simulated GPON ONUs except the GPON ONU of the ONU _ ID corresponding to the SN0 on the registration device where the SN0 is unregistered/deleted are indicated; the simulated GPON ONUs unregistered/deleted here may be operated for one registration apparatus, or may be operated in batches for different registration apparatuses, so that there is better test selectivity and flexibility for partial deletion of the simulated GPON ONUs of a certain registration apparatus or deletion of all the simulated GPON ONUs of all the simulation apparatuses, for example, when there are multiple registration apparatuses, all the simulated GPON ONUs in one registration apparatus may be deleted only, then GPON ONUs with different numbers are simulated again in the registration apparatus, and the number of pressure registrations on the OLT is changed, so as to facilitate testing different responses of the OLT under different simulated GPON ONU loads, unlike the related art in which the OLT can only delete one ONU or all ONUs simultaneously.
Further, when the OLT determines that the deactivation _ ONU _ ID message is transmitted because/needs to delete the emulated GPON ONU, the OLT side deletes the information corresponding to the emulated GPON ONU to be deleted.
The processor module in the above application example may be a CPU.
It will be understood by those of ordinary skill in the art that all or some of the steps of the methods, systems, functional modules/units in the devices disclosed above may be implemented as software, firmware, hardware, or suitable combinations thereof. In a hardware implementation, 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 be performed by several physical components in cooperation. Some or all of the components may be implemented as software executed by a processor, such as a digital signal processor or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated 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). The term computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data, as is well known to those of ordinary skill in the art. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can accessed by a computer. In addition, 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 includes any information delivery media as known to those skilled in the art.

Claims (25)

1. A gigabit-capable passive optical network GPON optical network unit ONU registration apparatus, characterized by comprising:
the GPON module is used for receiving and sending a message from the OLT to the processor module; and receiving and sending a message from a processor module to the OLT;
the processor module is used for establishing a specified number of simulated GPON ONUs in the storage module, and receiving and sending registration interaction messages of the simulated GPON ONUs and the OLT through the GPON module to complete registration, wherein the establishment of the specified number of simulated GPON ONUs in the storage module comprises the following steps: establishing a designated Number of storage units in a storage module, wherein each storage unit represents an analog GPON ONU, different storage units allocate different storage address information, and the Serial-Number Response messages of the designated Number of analog GPON ONUs are packaged in one message and sent;
the storage module comprises a storage unit for simulating a GPON ONU;
the processor module is used for establishing a specified number of analog GPON ONUs in the storage module, and comprises the following steps: distributing a serial number SN for each analog GPON ONU, wherein each SN uniquely represents one analog GPON ONU;
the method for distributing a serial number SN to each analog GPON ONU, wherein each SN uniquely represents one analog GPON ONU, and comprises the following steps: taking a serial number SN0 in the unique identifier of the registration device as an SN of the simulated main GPON ONU, and taking the serial number SN0 as a base number to generate m-1 different continuous increasing numerical values, wherein m is the number of the specified simulated GPON ONUs;
the Serial-Number Response message carries the SN of the main analog GPON ONU and indicates that the SN of other analog GPON ONUs is obtained by increasing m-1 times on the basis of the SN of the main analog GPON ONU.
2. The apparatus for registering a gigabit passive optical network GPON optical network unit, ONU, as claimed in claim 1, wherein said apparatus further comprises:
and the upper control module is used for sending the number of the specified analog GPON ONU to the processor module.
3. The apparatus for registering of gigabit passive optical network, GPON, optical network unit, ONU, according to claim 1,
SN of the m simulated GPOM ONU are SN0, (SN 0+ 1), …, (SN 0+ m-1) respectively.
4. The apparatus for registering of gigabit passive optical network, GPON, optical network unit, ONU, according to claim 3,
the processor module is used for receiving and sending the registration interaction message of the simulation GPON ONU and the OLT through the GPON module, and comprises the following steps:
the processor module receives an SN request of an OLT through a GPON module and then sends the SN of the simulated GPON ONU to the OLT;
and the processor module receives an ONU identity identifier (ONU _ ID) corresponding to the SN of the simulated GPON ONU from the OLT through the GPON module.
5. The apparatus for registering of gigabit passive optical network, GPON, optical network unit, ONU, according to claim 4,
the processor module sends the SN of the simulated GPON ONU to the OLT after receiving the SN request message of the OLT through the GPON module, and the method comprises the following steps:
and after receiving the SN Request Serial-Number Request message of the OLT through the GPON module, the processor module sends an SN Response Serial-Number Response message to the OLT through the GPON module.
6. The apparatus for registering of gigabit passive optical network, GPON, optical network unit, ONU, according to claim 1,
the processor module receives an ONU identity identifier (ONU _ ID) corresponding to the SN of the simulated GPON ONU from the OLT through the GPON module, and the method comprises the following steps:
the processor module receives and allocates an ONU _ ID assignment _ ONU _ ID message from the OLT through a GPON module, wherein the assignment _ ONU _ ID message carries an ONU _ ID corresponding to the SN of a main analog GPON ONU and indicates that the parameter of the ONU _ ID corresponding to the SN of other analog GPON ONUs is acquired by increasing m1-1 times on the basis of the ONU _ ID corresponding to the SN of the main analog GPON ONU, and 1 < m1 < m;
and the processing module determines an ONU identity identifier (ONU _ ID) corresponding to the SN of the simulated GPON ONU according to the Assign _ ONU _ ID message.
7. The apparatus for registering of gigabit passive optical network, GPON, optical network unit, ONU, according to claim 1,
the processing module is further configured to receive, by the GPON module, an analog GPON ONU message designated for de-registration or an analog GPON ONU message designated for deletion-registration sent by the OLT, and delete information corresponding to the designated analog GPON ONU according to the analog GPON ONU message designated for de-registration or the analog GPON ONU message designated for deletion-registration;
the specified analog GPON ONU comprises: all simulated GPON ONUs of all registration devices under the OLT or all GPON ONUs except the GPON ONU corresponding to SN0 in all registration devices under the OLT or all simulated GPON ONUs of the registration device or all GPON ONUs except the GPON ONU corresponding to SN0 in the registration device or part of the continuous simulated GPON ONUs of the registration device.
8. A method for registering a gigabit passive optical network GPON optical network unit, ONU, based on the registering device of the ONU of claim 1, comprising:
the registration device establishes a specified number of analog GPON ONUs;
and the registration device performs registration interaction between the analog GPON ONU and an Optical Line Terminal (OLT) to complete registration.
9. The method of GPON ONU registration of claim 8, wherein the registration device establishes a specified number of analog GPON ONUs, comprising:
the registration device allocates a storage unit for each analog GPON ONU in the specified number of analog GPON ONUs, and allocates a serial number SN for each analog GPON ONU, wherein each SN uniquely represents one analog GPON ONU.
10. The method of GPON ONU registration according to claim 9,
assigning a serial number SN to each analog GPON ONU, each SN uniquely representing an analog GPON ONU, comprising:
and on the basis of the unique identifier of the registration device, combining the number of the appointed GPON ONUs to form the SN of each analog GPON ONU.
11. The method of GPON ONU registration of claim 10,
based on the unique identifier of the registration device, combining the number of the specified GPON-simulating ONUs to form the SN of each GPON-simulating ONU, and the method comprises the following steps:
the unique identification of the registered device comprises: vendor identification and serial number SN0;
taking the serial number SN0 as the SN of the simulated main GPON ONU, and taking the serial number SN0 as a base number to generate m-1 different continuous increasing numerical values, wherein m is the number of the specified simulated GPON ONU;
SN of the m simulated GPOM ONU are SN0, (SN 0+ 1), …, (SN 0+ m-1) respectively.
12. The method of GPON ONU registration of claim 11,
the registration interaction between the simulated GPON ONU and the OLT is carried out by the registration device and the OLT, and comprises the following steps:
the registration device sends the SN of the simulated GPON ONU to the OLT after receiving the SN request of the OLT;
and the registration device receives an ONU identity (ONU _ ID) corresponding to the SN of the simulated GPON ONU from the OLT.
13. The method of GPON ONU registration of claim 12,
the registering device sends the SN of the analog GPON ONU to the OLT after receiving the SN request of the OLT, and the method comprises the following steps:
and after receiving the SN Request Serial-Number Request message of the OLT, the registration device sends an SN Response Serial-Number Response message to the OLT, wherein the Serial-Number Response message carries the Number of the simulated GPON ONUs and the SN of each simulated GPON ONU.
14. The method of GPON ONU registration of claim 13,
the Serial-Number Response message carries the Number of the simulated GPON ONUs and the SN of each simulated GPON ONU, and includes:
the Serial-Number Response message carries the SN of the main analog GPON ONU and indicates that the SN of other analog GPON ONUs is obtained by increasing m-1 times on the basis of the SN of the main analog GPON ONU.
15. The method of GPON ONU registration of claim 14,
the registering device receives, from the OLT, an ONU identity identifier ONU _ ID corresponding to the SN of the analog GPON ONU, and includes:
the registration device receives and allocates an ONU _ ID assignment _ ONU _ ID message from the OLT, wherein the assignment _ ONU _ ID message carries an ONU _ ID corresponding to the SN of a main analog GPON ONU and indicates that the parameter of the ONU _ ID corresponding to the SN of other analog GPON ONUs is acquired by increasing m1-1 times on the basis of the ONU _ ID corresponding to the SN of the main analog GPON ONU, and 1 < m1 < m;
and the registration device determines an ONU identity identifier (ONU _ ID) corresponding to the SN of the simulated GPON ONU according to the Assign _ ONU _ ID message.
16. The method of GPON ONU registration according to claim 11, wherein after registration is completed, the method further comprises:
the registration device receives an analog GPON ONU message which is sent by the OLT and is appointed for de-registration or deletes the analog GPON ONU message which is appointed for registration, and deletes the information corresponding to the appointed analog GPON ONU according to the analog GPON ONU message which is appointed for de-registration or deletes the analog GPON ONU message which is appointed for registration;
the specified analog GPON ONU comprises: all simulated GPON ONUs of all registration devices under the OLT or all GPON ONUs except the GPON ONU corresponding to SN0 in all registration devices under the OLT or all simulated GPON ONUs of the registration device or all GPON ONUs except the GPON ONU corresponding to SN0 in the registration device or part of the continuous simulated GPON ONUs of the registration device.
17. A method for registering a gigabit passive optical network GPON optical network unit, ONU, based on the registering device of the ONU of claim 1, comprising:
the registration device establishes a specified number of analog GPON ONUs;
the registration device and an Optical Line Terminal (OLT) perform registration interaction of the analog GPON ONU and the OLT;
and the registration device completes registration according to the registration interaction result.
18. The method of GPON ONU registration according to claim 17, wherein the registration means establishes a specified number of analog GPON ONUs, comprising:
the registration device allocates a storage unit for each analog GPON ONU in the specified number of analog GPON ONUs, and allocates a serial number SN for each analog GPON ONU, wherein each SN uniquely represents one analog GPON ONU.
19. The method of GPON ONU registration according to claim 18,
the method for allocating a serial number SN to each analog GPON ONU, wherein each SN uniquely represents one analog GPON ONU, comprises the following steps:
and on the basis of the unique identifier of the registration device, combining the number of the appointed GPON ONUs to form the SN of each analog GPON ONU.
20. The method of GPON ONU registration of claim 19,
based on the unique identifier of the registration device, combining the number of the specified GPON-simulating ONUs to form the SN of each GPON-simulating ONU, and the method comprises the following steps:
the unique identification of the registered device comprises: vendor identification and serial number SN0;
taking the serial number SN0 as the SN of the simulated main GPON ONU, and taking the serial number SN0 as a base number to generate m-1 different continuous increasing numerical values, wherein m is the number of the specified simulated GPON ONU;
SN of the m analog GPOM ONUs are SN0, (SN 0+ 1), …, (SN 0+ m-1).
21. The method of GPON ONU registration of claim 20,
the registration interaction between the simulated GPON ONU and the OLT is carried out by the registration device and an optical line terminal OLT, and comprises the following steps:
the registration device sends the SN of the simulated GPON ONU to the OLT after receiving the SN request of the OLT;
the OLT distributes a corresponding ONU identity identifier ONU _ ID for the received SN of the simulated GPON ONU and sends the ONU identity identifier ONU _ ID corresponding to the SN of the simulated GPON ONU to the registration device;
and the registration device receives an ONU identity (ONU _ ID) corresponding to the SN of the simulated GPON ONU from the OLT.
22. The method of GPON ONU registration of claim 21,
the OLT allocates a corresponding ONU identity identifier ONU _ ID for the received SN of the simulated GPON ONU, and comprises the following steps:
and the OLT allocates ONU _ ID for SN of the main analog GPON ONU, and the ONU _ ID corresponding to the SN of each other analog GPON ONU is gradually increased one by one on the basis of the ONU _ ID corresponding to the SN of the main analog GPON ONU.
23. The method of GPON ONU registration of claim 22,
the OLT sends the ONU identity ONU _ ID corresponding to the SN of the analog GPON ONU to the registration device, and comprises the following steps:
and the OLT sends an ONU identity assignment _ ONU _ ID message to the registration device, wherein the message carries an ONU _ ID corresponding to the SN of the main analog GPON ONU and indicates that the parameter of the ONU _ ID corresponding to the SN of other analog GPON ONUs is acquired by increasing m1-1 times on the basis of the ONU _ ID corresponding to the SN of the main analog GPON ONU, and 1 < m1 < m 1.
24. The method of GPON ONU registration according to claim 22, wherein after registration is completed, the method further comprises:
the OLT sends a message for deregistering the specified simulated GPON ONU to the registration device or deletes the message for registering the specified simulated GPON ONU and deletes the information corresponding to the specified simulated GPON ONU;
the specified analog GPON ONU comprises: all simulated GPON ONUs of all registration devices under the OLT or all GPON ONUs except the GPON ONU corresponding to SN0 in all registration devices under the OLT or all simulated GPON ONUs of the registration device or all GPON ONUs except the GPON ONU corresponding to SN0 in the registration device or part of the continuous simulated GPON ONUs of the registration device.
25. The method of GPON ONU registration of claim 24,
when the appointed GPON ONU is a part of continuous analog GPON ONUs of the registration device, the de-registration appointed analog GPON ONU message or the deletion registration appointed analog GPON ONU message carries the ONU _ ID corresponding to the SN of the main analog GPON ONU, and the parameter of acquiring the ONU _ ID corresponding to the SN of k-1 other analog GPON ONUs by increasing k-1 times on the basis of the ONU _ ID corresponding to the SN of the main analog GPON ONU is indicated, wherein k is more than 1 and less than m.
CN201911417514.6A 2019-12-31 2019-12-31 GPON ONU registration device and method Active CN111182377B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911417514.6A CN111182377B (en) 2019-12-31 2019-12-31 GPON ONU registration device and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911417514.6A CN111182377B (en) 2019-12-31 2019-12-31 GPON ONU registration device and method

Publications (2)

Publication Number Publication Date
CN111182377A CN111182377A (en) 2020-05-19
CN111182377B true CN111182377B (en) 2022-11-08

Family

ID=70652423

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911417514.6A Active CN111182377B (en) 2019-12-31 2019-12-31 GPON ONU registration device and method

Country Status (1)

Country Link
CN (1) CN111182377B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118041697A (en) * 2024-04-11 2024-05-14 四川天邑康和通信股份有限公司 Gateway management and control method and device in FTTR system, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101674501A (en) * 2009-09-22 2010-03-17 中兴通讯股份有限公司 Realization method and system of gigabit passive optical network registration process
CN101692672A (en) * 2009-10-19 2010-04-07 中兴通讯股份有限公司 Registration method and registration device of optical network unit in passive optical network
CN101873516A (en) * 2009-04-22 2010-10-27 中兴通讯股份有限公司 Method for registering and activating optical network unit in a gigabit passive optical network system
CN108270749A (en) * 2016-12-30 2018-07-10 深圳市中兴微电子技术有限公司 A kind of register method and system of virtual optical network unit
CN109104646A (en) * 2017-06-21 2018-12-28 中兴通讯股份有限公司 A kind of optical network unit (ONU) registration method and device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102571198B (en) * 2011-12-31 2015-02-04 武汉烽火网络有限责任公司 System and method for carrying out EPON (Ethemet-based passive optical network) performance test based on emulational ONU (optical network unit)
CN104333416A (en) * 2014-11-14 2015-02-04 上海欣诺通信技术有限公司 xPON comprehensive test instrument for detecting fiber optic access network and test method
CN110247702B (en) * 2019-07-12 2022-07-15 南通同洲电子有限责任公司 Test system and test method for GPON and EPON optical modules

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101873516A (en) * 2009-04-22 2010-10-27 中兴通讯股份有限公司 Method for registering and activating optical network unit in a gigabit passive optical network system
CN101674501A (en) * 2009-09-22 2010-03-17 中兴通讯股份有限公司 Realization method and system of gigabit passive optical network registration process
CN101692672A (en) * 2009-10-19 2010-04-07 中兴通讯股份有限公司 Registration method and registration device of optical network unit in passive optical network
CN108270749A (en) * 2016-12-30 2018-07-10 深圳市中兴微电子技术有限公司 A kind of register method and system of virtual optical network unit
CN109104646A (en) * 2017-06-21 2018-12-28 中兴通讯股份有限公司 A kind of optical network unit (ONU) registration method and device

Also Published As

Publication number Publication date
CN111182377A (en) 2020-05-19

Similar Documents

Publication Publication Date Title
CN106851439B (en) Access method and device for multiple optical network units
CN110943783B (en) Distance measurement method of optical network, OLT, ONU and optical network system
TW201824783A (en) Data Communication System, Optical Line Terminal and Baseband Unit
CN108270749B (en) Registration method and system of virtual optical network unit
WO2012103849A2 (en) Ranging method for passive optical network, system, and device
US8983295B2 (en) Optical line terminal and method of registering optical network terminal thereof
CN111182377B (en) GPON ONU registration device and method
KR102418709B1 (en) Information transmission method, optical fiber termination device, optical communication network unit and communication system
CN111193969B (en) Data communication and communication management method based on DPU and DPU
WO2015154458A1 (en) Node logic id allocation device, method and communication system
WO2024077988A1 (en) Configuration information sending method and apparatus, and storage medium and electronic apparatus
CN115967872A (en) Method, device and equipment for equipment management in optical network
CN112738659B (en) Communication method based on passive optical network, related equipment and system
US11425475B2 (en) Ranging method and registration method for optical network, OLT, ONU, and optical network system
CN111182378B (en) Registration device and method of EPON ONU
CN111294269B (en) Method and device for distributing VLAN (virtual local area network) in inner layer and outer layer of home broadband service
CN107872739B (en) Allocation method of LLID of ONU, OLT and EPON system
CN116170712A (en) ONU registration method, communication method, ONR, OLT, ONU and optical communication system
CN112087678B (en) Bandwidth allocation and bandwidth checking method and device
WO2017028623A1 (en) Method and device for channel configuration
KR101045688B1 (en) The ONT authentication method and system for preventing of abnormal upstream traffic in GPON link
CN108574888B (en) PON channel establishing method, ONU, OLT and system
CN109561170A (en) Address pool creation method, device, address pool management system and storage medium
WO2015077943A1 (en) Method, apparatus and system for allocating uplink bandwidth in passive optical network
CN111314923B (en) Method and device for realizing dynamic bandwidth

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant