CN111182378B - Registration device and method of EPON ONU - Google Patents

Registration device and method of EPON ONU Download PDF

Info

Publication number
CN111182378B
CN111182378B CN201911417572.9A CN201911417572A CN111182378B CN 111182378 B CN111182378 B CN 111182378B CN 201911417572 A CN201911417572 A CN 201911417572A CN 111182378 B CN111182378 B CN 111182378B
Authority
CN
China
Prior art keywords
epon
register
onu
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
CN201911417572.9A
Other languages
Chinese (zh)
Other versions
CN111182378A (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 CN201911417572.9A priority Critical patent/CN111182378B/en
Publication of CN111182378A publication Critical patent/CN111182378A/en
Application granted granted Critical
Publication of CN111182378B publication Critical patent/CN111182378B/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 EPON ONU (Ethernet passive optical network Unit), wherein the registration device comprises: the EPON module is used for receiving and sending a message from the optical line terminal 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 EPON ONUs in the storage module, and receiving and sending registration interaction messages of the simulated EPON ONUs and the OLT through the EPON module; and the storage module is used for storing the information of the simulated EPON ONU. The method and the device can simulate the registration of the EPON ONU with the specified number to the OLT.

Description

Registration device and method of EPON ONU
Technical Field
The present disclosure relates to an Ethernet Passive Optical Network (EPON) technology, and more particularly, to a device and method for registering an Optical Network Unit (ONU) in an EPON.
Background
Ethernet Passive Optical Network (EPON) is a PON technology based on Ethernet, which uses a point-to-multipoint structure and Passive Optical fiber transmission to provide multiple services over Ethernet. EPON technology is standardized by the IEEE802.3 EFM working group and promulgates the EPON standard, IEEE802.3ah, (which is currently incorporated into the IEEE802.3-2005 standard). In the standard, ethernet and PON technologies are combined, a PON technology is adopted in a physical layer, an ethernet protocol is used in a data link layer, and ethernet access is realized by using a topology structure of a PON. Therefore, it combines the advantages of PON technology and ethernet technology: low cost, high bandwidth, strong expansibility, compatibility with the existing Ethernet, convenient management and the like.
In the related art, an EPON Network is a single-fiber bidirectional system, and includes an Optical Network Unit (ONU), an Optical Distribution Network (ODN), and an Optical Line Terminal (OLT). The OLT is a management side, and in the downstream direction (OLT → ONU), a signal transmitted from the OLT is broadcast and transmitted to each ONU by the ODN, and in the upstream direction (ONU → OLT), a signal transmitted from one ONU reaches the OLT by the TDMA method, but does not reach other ONUs.
As the use of EPON technology has become more widespread, the number of EPON ONUs connected under an OLT has increased, making it increasingly important for an OLT to be stressed in the face of large numbers of EPON ONU registrations. However, in general, a large number of actual EPON ONUs cannot be provided in an internal test to present an existing network situation, and therefore, it is urgently needed to provide a method and an apparatus capable of simulating a specified number of EPON ONUs for registration.
Disclosure of Invention
The application provides a registration device and a registration method of an EPON ONU (Ethernet passive optical network unit), which can simulate a specified number of EPON ONUs to register to an OLT (optical line terminal).
The utility model provides a passive optical network of ethernet EPON optical network unit ONU registration apparatus, includes:
the EPON module is used for receiving and sending a message from the optical line terminal 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 EPON ONUs in the storage module, and receiving and sending registration interaction messages of the simulated EPON ONUs and the OLT through the EPON module;
and the storage module is used for storing the information of the ONU simulating the EPON.
In an exemplary embodiment, the apparatus further comprises:
and the upper control module is used for sending the specified number of the simulated EPON ONU to the processor module.
In an exemplary embodiment, the processor module for establishing a specified number of emulated EPON ONUs in a storage module includes: establishing storage units in a storage module, wherein each storage unit represents one analog EPON ONU, and a unique Media Access Control (MAC) identifier is distributed to each analog EPON 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 simulated EPON ONUs to form a unique MAC identifier of each simulated EPON ONU.
In an exemplary embodiment, the processor module forms a MAC identification unique to each emulated EPON ONU based on the unique identification of the registered device in combination with a specified number of emulated EPON ONUs, including:
when the registration device is the ith registration device, the unique MAC identifier MAC i of the ith registration device is used as a base number, i =0,1, \ 8230, N-1, N is the total number of EPOM ONU registration devices connected with an EPON port connected below the OLT, m-1 different continuous incremental numerical values are generated, and m is the number of the appointed simulated EPON ONU;
the unique MAC identifications of the m EPON-simulating ONUs are MAC i, (MAC i + 1), \ 8230; (MAC i + m-1), respectively.
In an exemplary embodiment, a processor module for receiving and transmitting a registration interaction message emulating an EPON ONU with an OLT through an EPON module, includes:
the processor module sends a registration request REGISTER _ REQ message to the OLT through the EPON module, wherein the REGISTER _ REQ message carries the number of the simulated EPON ONUs and the MAC identification of each simulated EPON ONU;
the processor module receives a REGISTER message from the OLT through the EPON module, when the REGISTER message carries a parameter for confirming a REGISTER request at the OLT side and simulates the corresponding relation between the MAC identification of the EPON ONU and the logical link identification LLID, the processor module stores the corresponding relation in the storage module, and sends a REGISTER response REGISTER _ ACK message to the OLT through the EPON module, wherein the REGISTER _ ACK message carries a parameter for confirming the successful REGISTER of the REGISTER device.
In an exemplary embodiment, the REGISTER _ REQ message carries the number of emulated EPON ONUs and the MAC identification of each emulated EPON ONU, and includes:
the REGISTER _ REQ message carries the MAC identification of the main simulation EPON ONU and indicates that the MAC identification of other simulation EPON ONUs is acquired by increasing m-1 times on the basis of the MAC identification of the main simulation EPON ONU.
In an exemplary embodiment, the REGISTER _ ACK message further carries an LLID corresponding to the MAC identifier of the emulated EPON ONU, including: carrying an LLID corresponding to the MAC identification of the main analog EPON ONU, and indicating that parameters of LLIDs corresponding to the MAC identifications of other analog EPON ONUs are acquired by increasing m1-1 times on the basis of the LLID corresponding to the MAC identification of the main analog EPON ONU, wherein 1< < m1< < m.
In an exemplary embodiment, the processor module, configured to receive and transmit, by the EPON module, a registration interaction message emulating an EPON ONU with an OLT, further includes:
the processor module receives a registration REGISTER message from the OLT through the EPON module, and when the REGISTER message carries a parameter indicating that the OLT rejects the registration request, the processor module continues to send a registration request REGISTER _ REQ message to the OLT through the EPON module.
In an exemplary embodiment, the processor module, configured to receive and transmit, by the EPON module, a registration interaction message emulating an EPON ONU with an OLT, further includes:
the processor module receives a REGISTER message from the OLT through the EPON module, and when the REGISTER message carries a parameter indicating that the appointed EPON ONU is simulated to be registered again, the processor module continuously sends a REGISTER request REQ message of the appointed EPON ONU to the OLT through the EPON module.
In an exemplary embodiment, the processor module for receiving and transmitting the registration interaction message emulating the EPON ONU with the OLT via the EPON module further comprises:
the processor module receives a REGISTER message from the OLT through the EPON module, deletes the corresponding relation between the MAC identification and the logical link identification LLID of the appointed EPON-simulating ONU stored in the storage module and continues to send a REGISTER request REGISTER _ REQ message of the appointed EPON-simulating ONU to the OLT through the EPON module when the REGISTER message carries a parameter indicating that the appointed EPON-simulating ONU is unregistered.
In an exemplary embodiment, the designated emulated EPON ONU includes:
all or a portion of the emulated EPON ONUs of the registration apparatus, including one or more emulated EPON ONUs.
The embodiment of the application also provides an EPON ONU registration method based on the aforementioned EPON ONU registration apparatus for an ethernet passive optical network, including:
the registration device establishes a specified number of simulated EPON ONU;
and the registration device completes registration by performing registration interaction between the simulated EPON ONU and the OLT with the OLT.
In an exemplary embodiment, the registering device establishes a specified number of emulated EPON ONUs, including: and the registration device allocates a unique Media Access Control (MAC) identifier for each simulated EPON ONU.
In an exemplary embodiment, the registering device performs registration interaction with an OLT through the EPON-emulating ONU, and includes:
the registration device sends a registration request message for the simulated EPON ONU to an OLT, and comprises the following steps: the REGISTER device sends a REGISTER request REGISTER _ REQ message to an optical line terminal OLT, wherein the REGISTER _ REQ message carries the number of the simulated EPON ONUs and the MAC identification of each simulated EPON ONU;
the REGISTER device receives a REGISTER message from an OLT (optical line terminal), when the REGISTER message carries a parameter indicating the OLT side to confirm a REGISTER request and the corresponding relation between the MAC identification of the simulated EPON ONU and the logical link identification LLID, the REGISTER device analyzes the REGISTER message and stores the analyzed corresponding relation between the MAC identification of the simulated EPON ONU and the logical link identification LLID, the REGISTER device sends a REGISTER response REGISTER _ ACK message to the OLT, and the REGISTER _ ACK message carries a parameter indicating the REGISTER device to confirm the successful REGISTER.
In an exemplary embodiment, the REGISTER _ REQ message carries the number of emulated EPON ONUs and the MAC identification of each emulated EPON ONU, and includes:
the REGISTER _ REQ message carries the MAC identification of the main simulation EPON ONU and indicates that the MAC identification of other simulation EPON ONUs is obtained by increasing m-1 times on the basis of the MAC identification of the main simulation EPON ONU, and m is the number of the specified simulation EPON ONUs.
In an exemplary embodiment, the REGISTER _ ACK message further carries an LLID corresponding to the MAC identifier of each emulated EPON ONU, and the method includes: carrying an LLID corresponding to the MAC identification of the main analog EPON ONU, and indicating that parameters of LLIDs corresponding to the MAC identifications of other analog EPON ONUs are acquired by increasing m1-1 times on the basis of the LLID corresponding to the MAC identification of the main analog EPON ONU, wherein 1< < m1< < m.
In an exemplary embodiment, the method further comprises:
and when the REGISTER message carries a parameter indicating that the OLT rejects the registration request, the registration device continuously sends a REGISTER request REGISTER _ REQ message to the OLT.
In an exemplary embodiment, the method further comprises:
and when the REGISTER message carries a parameter indicating that the appointed EPON ONU is simulated to REGISTER again, the registering device continuously sends a REGISTER request REGISTER _ REQ message of the appointed EPON ONU to the OLT.
In an exemplary embodiment, the method further comprises:
and when the REGISTER message carries a parameter indicating that the appointed EPON ONU is deregistered, the registration device deletes the stored corresponding relation between the MAC identification and the logical link identification LLID of the appointed EPON ONU and continuously sends a REGISTER request REGISTER _ REQ message of the appointed EPON ONU to the OLT.
In an exemplary embodiment, the designated emulated EPON ONU includes:
all or a portion of the emulated EPON ONUs of the registration apparatus, including one or more emulated EPON ONUs.
The application also provides an EPON ONU registration method based on the ethernet passive optical network EPON ONU registration apparatus, comprising:
the registration device establishes a specified number of simulated EPON ONU;
the registration device and an Optical Line Terminal (OLT) perform registration interaction of the simulated EPON 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 emulated EPON ONUs, including: and the registration device allocates a unique Media Access Control (MAC) identifier for each simulated EPON ONU.
In an exemplary embodiment, the registering device and an optical line terminal OLT perform registration interaction of the emulated EPON ONU and the OLT, including:
the REGISTER device sends a REGISTER request REGISTER _ REQ message to an optical line terminal OLT, wherein the REGISTER _ REQ message carries the number of the simulated EPON ONUs and the MAC identification of each simulated EPON ONU;
the OLT analyzes the REGISTER _ REQ message, and forms a corresponding relation between the MAC identification simulating the EPON ONU and the logical link identification LLID according to the solved content; the OTL sends a REGISTER message to the registration device;
the REGISTER device receives the REGISTER message, when the REGISTER message carries a parameter indicating an OLT side to confirm a REGISTER request and a corresponding relation between the MAC identification of the simulated EPON ONU and the logical link identification LLID, the REGISTER device analyzes the REGISTER message and stores the analyzed corresponding relation between the MAC identification of the simulated EPON ONU and the logical link identification LLID, and the REGISTER device sends a REGISTER response REGISTER _ ACK message to the OLT, wherein the REGISTER _ ACK message carries a parameter indicating the REGISTER device to confirm successful REGISTER.
In an exemplary embodiment, the REGISTER _ REQ message carries the number of EPON emulated ONUs and the MAC identification of each EPON emulated ONU, including:
the REGISTER _ REQ message carries the MAC identification of a main simulation EPON ONU and indicates that the MAC identification of other simulation EPON ONUs is obtained by increasing m-1 times on the basis of the MAC identification of the main simulation EPON ONU, wherein m is the number of the specified simulation EPON ONUs;
the REGISTER message carries the corresponding relation between the MAC identification of the simulated EPON ONU and the logical link identification LLID, and the method comprises the following steps:
the REGISTER message carries the LLID corresponding to the MAC identification of the main analog EPON ONU, and indicates that the parameters of LLIDs corresponding to the MAC identifications of other analog EPON ONUs are acquired by increasing m1-1 times on the basis of the LLID corresponding to the MAC identification of the main analog EPON ONU, wherein 1< < m1< < m.
In an exemplary embodiment, the REGISTER _ ACK message further carries an LLID corresponding to the MAC identifier of the emulated EPON ONU, including: carrying an LLID corresponding to the MAC identification of the main analog EPON ONU, and indicating that the parameters of LLIDs corresponding to the MAC identifications of other analog EPON ONUs are acquired by increasing m1-1 times on the basis of the LLID corresponding to the MAC identification of the main analog EPON ONU.
In an exemplary embodiment, the REGISTER _ REQ message further carries a suspension authorization corresponding to the MAC identifier of the main emulated EPON ONU;
the OLT parsing the REGISTER _ REQ message, including:
and analyzing suspension authorization corresponding to the MAC identification of other simulated EPON ONUs according to the suspension authorization corresponding to the MAC identification of the main simulated EPON ONU.
In an exemplary embodiment, the method further comprises:
and when the REGISTER message carries a parameter indicating that the OLT rejects the registration request, the registration device continuously sends a REGISTER request REGISTER _ REQ message to the OLT.
In an exemplary embodiment, the method further comprises:
and when the REGISTER message carries a parameter indicating that the appointed EPON ONU is simulated to REGISTER again, the registering device continuously sends a REGISTER request REGISTER _ REQ message of the appointed EPON ONU to the OLT.
In an exemplary embodiment, the method further comprises:
and when the REGISTER message carries a parameter indicating that the appointed EPON ONU is unregistered, the registration device deletes the stored corresponding relation between the MAC identification and the logical link identification LLID of the appointed EPON ONU and continuously sends a REGISTER request REGISTER _ REQ message of the appointed EPON ONU to the OLT.
In an exemplary embodiment, the designated emulated EPON ONU includes:
all of the emulated EPON ONUs of the registration apparatus or a portion of the emulated EPON ONUs of the registration apparatus, the portion of the emulated EPON ONUs including one or more emulated EPON ONUs.
In an exemplary embodiment, when the designated emulated EPON ONU is a partial emulated EPON ONU of the registration apparatus, the REGISTER message further carries a parameter indicating the partial EPON ONU, including: and indicating the parameters of the EPON ONU corresponding to m2 LLIDs obtained by increasing m2 times on the basis of the LLID corresponding to the MAC identification of the main simulation EPON ONU, wherein m2 is more than 1 and less than m.
In an exemplary embodiment, after the registration is completed, the method further comprises:
the OLT judges that the number of the EPON ONUs hung by the OLT is equal to the specified number, and then the OLT is determined to finish the registration pressure test of the EPON ONUs of the specified number
Compared with the related art, the method comprises the following steps: the EPON module is used for receiving and sending a message from the optical line terminal 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 EPON ONUs in the storage module, and receiving and sending registration interaction messages of the simulated EPON ONUs and the OLT through the EPON module; and the storage module is used for storing the information of the ONU simulating the EPON. The method and the device can simulate the registration of the EPON ONU with the specified number 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 drawings are intended to provide an understanding of the present disclosure, and are to be considered as forming a part of the specification, and are to be used together with the embodiments of the present disclosure to explain the present disclosure without limiting the present disclosure.
Fig. 1 is a configuration diagram of a registration apparatus of an EPON ONU according to an embodiment of the present disclosure;
fig. 2 illustrates a case where a downstream EPON port is connected to a registration apparatus according to an embodiment of the present application;
fig. 3 is a flowchart of a method for registering an EPON ONU by using a registration apparatus according to an embodiment of the present application;
fig. 4 is a flowchart of another EPON ONU registration method provided by a registration apparatus according to an embodiment of the present application;
fig. 5 is a flowchart of an EPON ONU registration provided in an application example of the present application.
Detailed Description
The description herein describes embodiments, but is intended to be exemplary, rather than limiting and it will be apparent to those of ordinary skill in the art that many more embodiments and implementations are possible that are 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. Furthermore, 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 sequences of steps are possible as will be appreciated 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. Furthermore, 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 of an EPON ONU, and as shown in fig. 1, the registration apparatus includes:
an EPON module 101 for receiving and sending messages from an optical line terminal, OLT, to a processor module; and receiving and sending a message from a processor module to the OLT;
the message from the optical line terminal OLT received by the EPON module 101 is usually a message encapsulated in a point-to-multipoint control protocol (MPCP) frame format, and the EPON module 101 decapsulates the MPCP frame format message and then sends the decapsulated MPCP frame format message to the processor module; and transmitting the message from the processor module to the OLT after being encapsulated in the MPCP frame format;
a processor module 102 (such as a central processing unit CPU) configured to establish a specified number of emulated EPON ONUs in a storage module 103, and receive and transmit registration interaction messages between the emulated EPON ONUs and the OLT through an EPON module 101; the designated number of the simulated EPON ONUs can be one or more simulated EPON ONUs as long as the requirement of the splitting ratio of the system design is met;
and the storage module 103 is used for storing information of the simulated EPON ONU.
The registration device is connected with one lower EPON port of the OLT through the ODN, according to actual needs, only one registration device can be connected with one lower EPON port of the OLT through the ODN, or a plurality of registration devices can be simultaneously connected with one lower EPON port of the OLT through the ODN, and the quantity and the splitting ratio requirements of system design of the simulated EPON ONU established by all the registration devices are met; certainly, a plurality of registration devices can also be simultaneously connected with a plurality of lower EPON ports of the OLT through the ODN, and at this time, the number of the simulated EPON ONUs under one lower EPON port meets the splitting ratio requirement of the system design; fig. 2 illustrates a case where one registration apparatus is connected to one downstream EPON port.
The embodiment of the application realizes the interaction between the simulated EPON 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 control module 104 is used for sending the specified number of the simulated EPON ONUs to the processor module 102; the specified number of EPON-emulated ONUs may be carried in an emulation instruction and sent to the processor module 102; the upper control module 104 may receive external input information through any prior art, such as through an externally visible input display device installed with interface software; therefore, the specified number of the simulated EPON ONU can be received by an external input mode.
When only one registration device exists in one lower-connection EPON port, the number of the appointed simulated EPON ONUs does not exceed the maximum number of the simulated EPON ONUs allowed to be connected in one lower-connection EPON port of the OLT; the maximum allowable number of connection terminals of a typical downstream EPON port in the related art may be 2, 32 or 64, depending on the splitting ratio at the time of system design. In the embodiment of the application, the number of increasing LLIDs is marked by using the fourth byte (see Table 1) of the preamble field in the EPON MAC control frame defined in each message of an EPON protocol, so that the maximum number of simulated EPON ONUs allowed to be connected is set to be 256, in other words, 256 EPON ONUs can be simulated by one registration device at most; or under the condition that a plurality of registration devices exist in one lower-connection EPON port, all the registration devices can simulate 256 EPON ONUs at most, and the number of the EPON ONUs that can be simulated by each registration device can be set by a person skilled in the art according to test requirements (in specific actual implementation, how many EPON ONUs can be simulated by one EPON port is also limited by the splitting ratio designed by the OLT).
In an exemplary embodiment, the processor module 102, configured to set up a specified number of emulated EPON ONUs in the storage module 103, includes: establishing storage units in a storage module 103, wherein each storage unit represents one EPON-simulated ONU, and allocating a unique Media Access Control (MAC) identifier for each EPON-simulated ONU, wherein the MAC identifier is a unique serial number of the EPON-simulated ONU, is used for representing different EPON ONUs, and is also a unique MAC identifier of each storage unit;
different memory cells can be specified by assigning different memory address information; the required size of each storage unit may be specified by those skilled in the art according to the scenario.
The allocating a unique Media Access Control (MAC) identifier for each simulated EPON ONU includes:
based on the unique identifier of the registration device, combining the number of the appointed simulated EPON ONUs to form a unique MAC identifier of each simulated EPON ONU, and the method comprises the following steps:
when the registration device is the ith registration device, the unique MAC identifier MAC i of the ith registration device is used as a base number, i =0,1, \ 8230, N-1, N is the total number of EPOM ONU registration devices connected with an EPON port connected below the OLT, m-1 different continuous incremental numerical values are generated, and m is the number of the appointed simulated EPON ONU; the unique MAC identifications of the m EPON-simulating ONUs are MAC i, (MAC i + 1), \ 8230; (MAC i + m-1); wherein the unique MAC identification MAC i of the ith registration device may be set by a technician when establishing the registration device; if the unique MAC id of the 1 st registration apparatus is MAC0 (4 bytes), according to the specified number of the emulated EPON ONUs (e.g. 32), the MAC0 is used as the MAC id of the emulated EPON ONU (where the main emulated EPON ONU is an emulated EPON ONU arbitrarily selected from the plurality of emulated EPON ONUs established by the 1 st registration apparatus), and 31 different continuously increasing values are generated by using the MAC0 as the base number, and the MAC ids of the 31 emulated EPON ONUs other than the main emulated EPON ONU are (MAC 0+ 1) \8230; (MAC 0+ 31) \\8230; (MAC 0+ 31).
In an exemplary embodiment, a processor module 102 for receiving and transmitting registration interaction messages with an OLT by an EPON module 101 includes:
the processor module 102 sends a REGISTER request REGISTER _ REQ message to the OLT through the EPON module 101, wherein the REGISTER _ REQ message carries the number of the EPON-emulated ONUs and the MAC identifier of each EPON-emulated ONU; the registration request REGISTER _ REQ message is transmitted by the EPON module 101 to the OLT in a discovery window, the start time, length, and period of the discovery window being notified to the registration apparatus by the OLT by periodically transmitting a set number of discovery authorization GATE messages; according to the method and the device, the registration messages of the simulated EPON ONU with the specified number are packaged in one registration message, so that the test flow is simplified, and extra registration time is not consumed;
the processor module 102 receives a REGISTER message from the OLT through the EPON module 101, and when the REGISTER message carries a parameter indicating that the OLT side confirms a registration request and simulates a corresponding relationship between a MAC identifier of the EPON ONU and a logical link identifier LLID, the processor module 102 stores the corresponding relationship in the storage module 103, and sends a REGISTER response REGISTER _ ACK message to the OLT through the EPON module 101, wherein the REGISTER _ ACK message carries a parameter that the registration apparatus confirms that the registration is successful.
In an exemplary embodiment, the REGISTER _ REQ message carries the number of EPON emulated ONUs and the MAC identification of each EPON emulated ONU, including:
the REGISTER _ REQ message carries the MAC identification of the main simulation EPON ONU and indicates that the MAC identification of other simulation EPON ONUs is acquired by increasing m-1 times on the basis of the MAC identification of the main simulation EPON ONU.
The REGISTER _ ACK message also carries an LLID corresponding to the MAC identifier of the EPON-emulated ONU, including: carrying an LLID corresponding to the MAC identification of the main analog EPON ONU, and indicating that parameters of LLIDs corresponding to the MAC identifications of other analog EPON ONUs are acquired by increasing m1-1 times on the basis of the LLID corresponding to the MAC identification of the main analog EPON ONU, wherein 1< < m1< < m.
In an exemplary embodiment, the processor module 102 is configured to receive and transmit the registration interaction message of the emulated EPON ONU with the OLT through the EPON module 101, and further includes:
the processor module 102 receives a registration REGISTER message from the OLT through the EPON module 101, and when the REGISTER message carries a parameter indicating that the OLT side rejects the registration request, the processor module 102 continues to send a registration request REGISTER _ REQ message to the OLT through the EPON module 101.
In an exemplary embodiment, the processor module 102 is configured to receive and transmit the registration interaction message of the emulated EPON ONU with the OLT through the EPON module 101, and further includes:
the processor module 102 receives a REGISTER message from the OLT through the EPON module 101, and when the REGISTER message carries a parameter indicating that the designated EPON ONU is simulated to be re-registered, the processor module 102 continues to send a REGISTER request REGISTER _ REQ message of the designated EPON ONU to the OLT through the EPON module 101.
In an exemplary embodiment, the processor module 102 is configured to receive and transmit the registration interaction message with the OLT via the EPON module 101, and further includes:
the processor module 102 receives a registration REGISTER message from the OLT through the EPON module 101, and when the REGISTER message carries a parameter indicating that the designated EPON ONU is deregistered, the processor module 102 deletes the correspondence between the MAC identifier and the logical link identifier LLID of the designated EPON ONU, which is stored in the storage module 103, and continues to send a registration request REGISTER _ REQ message of the designated EPON ONU to the OLT through the EPON module 101.
The designated EPON-emulating ONU comprises:
all of the emulated EPON ONUs of the registration apparatus or a portion of the emulated EPON ONUs of the registration apparatus, the portion of the emulated EPON ONUs including one or more emulated EPON ONUs.
The present application provides an ethernet passive optical network EPON optical network unit ONU registration apparatus based on the foregoing embodiment, and further provides a registration method of an EPON ONU, as shown in fig. 3, the method includes:
step S301, the register device establishes a specified number of simulated EPON ONUs;
step S302, the registration device performs registration interaction between the simulated EPON ONU and the OLT through the OLT to complete registration.
In an exemplary embodiment, the registration apparatus establishes a specified number of emulated EPON ONUs, including: and the registration device allocates a unique Media Access Control (MAC) identifier for each simulated EPON ONU.
In an exemplary embodiment, the registering device performs registration interaction with an OLT through the EPON-emulating ONU, and includes:
the registration device sends a registration request message to the OLT, wherein the registration request message comprises: the REGISTER device sends a REGISTER _ REQ request message to an Optical Line Terminal (OLT), wherein the REGISTER _ REQ message carries the number of the simulated EPON ONUs and the MAC identification of each simulated EPON ONU;
the REGISTER device receives a REGISTER message from an OLT (optical line terminal), when the REGISTER message carries a parameter indicating the OLT side to confirm a REGISTER request and the corresponding relation between the MAC identification of the simulated EPON ONU and the logical link identification LLID, the REGISTER device analyzes the REGISTER message and stores the analyzed corresponding relation between the MAC identification of the simulated EPON ONU and the logical link identification LLID, the REGISTER device sends a REGISTER response REGISTER _ ACK message to the OLT, and the REGISTER _ ACK message carries a parameter indicating the REGISTER device to confirm the successful REGISTER.
The REGISTER _ REQ message carries the number of EPON emulated ONUs and the MAC identification of each EPON emulated ONU, and includes:
the REGISTER _ REQ message carries the MAC identification of the main simulation EPON ONU and indicates that the MAC identification of other simulation EPON ONUs is obtained by increasing m-1 times on the basis of the MAC identification of the main simulation EPON ONU, and m is the number of the specified simulation EPON ONUs.
In an exemplary embodiment, the REGISTER _ ACK message further carries an LLID corresponding to the MAC identifier of each emulated EPON ONU, including: carrying an LLID corresponding to the MAC identification of the main analog EPON ONU, and indicating that parameters of LLIDs corresponding to the MAC identifications of other analog EPON ONUs are acquired by increasing m1-1 times on the basis of the LLID corresponding to the MAC identification of the main analog EPON ONU, wherein 1< < m1< < m.
In an exemplary embodiment, the method further comprises:
and when the REGISTER message carries a parameter indicating that the OLT rejects the registration request, the registration device continuously sends a REGISTER request REGISTER _ REQ message to the OLT.
In an exemplary embodiment, the method further comprises:
and when the REGISTER message carries a parameter indicating that the appointed EPON ONU is simulated to REGISTER again, the registration device continuously sends a REGISTER request REGISTER _ REQ message of the appointed EPON ONU to the OLT.
In an exemplary embodiment, the method further comprises:
and when the REGISTER message carries a parameter indicating that the appointed EPON ONU is unregistered, the registration device deletes the stored corresponding relation between the MAC identification and the logical link identification LLID of the appointed EPON ONU and continuously sends a REGISTER request REGISTER _ REQ message of the appointed EPON ONU to the OLT.
The designated emulated EPON ONU comprising:
all of the emulated EPON ONUs of the registration apparatus or a portion of the emulated EPON ONUs of the registration apparatus, the portion of the emulated EPON ONUs including one or more emulated EPON ONUs.
The embodiment of the application realizes the interaction between the simulated EPON 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 provides an ethernet passive optical network EPON optical network unit ONU registration apparatus according to the foregoing embodiment, and further provides a registration method of an EPON ONU, as shown in fig. 4, where the method includes:
step S401, the register device establishes an appointed number of simulated EPON ONUs;
step S402, the registration device and an Optical Line Terminal (OLT) perform registration interaction between the simulated EPON ONU and the OLT;
and step S403, the registration device completes registration according to the registration interaction result.
In an exemplary embodiment, the registration apparatus establishes a specified number of emulated EPON ONUs, including: and the registration device allocates a unique Media Access Control (MAC) identifier for each simulated EPON ONU.
In an exemplary embodiment, the registering device and an optical line terminal OLT perform registration interaction between the emulated EPON ONU and the OLT, including:
the REGISTER device sends a REGISTER request REGISTER _ REQ message to an Optical Line Terminal (OLT), wherein the REGISTER _ REQ message carries the number of the simulated EPON ONUs and the MAC identification of each simulated EPON ONU;
the OLT analyzes the REGISTER _ REQ message, and forms a corresponding relation between the MAC identification and the logical link identification LLID of the simulated EPON ONU according to the solved content; the OTL sends a REGISTER message to the registration device;
the REGISTER device receives the REGISTER message, when the REGISTER message carries a parameter indicating that an OLT side confirms a REGISTER request and a corresponding relation between the MAC identification of the simulated EPON ONU and the logical link identification LLID, the REGISTER device analyzes the REGISTER message and stores the analyzed corresponding relation between the MAC identification of the simulated EPON ONU and the logical link identification LLID, the REGISTER device sends a REGISTER response REGISTER _ ACK message to the OLT, and the REGISTER _ ACK message carries a parameter indicating that the REGISTER device confirms that the REGISTER is successful.
In an exemplary embodiment, the REGISTER _ REQ message carries the number of emulated EPON ONUs and the MAC identification of each emulated EPON ONU, and includes:
the REGISTER _ REQ message carries the MAC identification of a main simulation EPON ONU and indicates that the MAC identification of other simulation EPON ONUs is obtained by increasing m-1 times on the basis of the MAC identification of the main simulation EPON ONU, wherein m is the number of the specified simulation EPON ONUs;
the REGISTER message carries the corresponding relation between the MAC identifier of the simulated EPON ONU and the logical link identifier LLID, and the method comprises the following steps:
the REGISTER message carries the LLID corresponding to the MAC identification of the main analog EPON ONU, and indicates that the parameters of LLIDs corresponding to the MAC identifications of other analog EPON ONUs are acquired by increasing m1-1 times on the basis of the LLID corresponding to the MAC identification of the main analog EPON ONU, wherein 1< < m1< < m.
In an exemplary embodiment, the REGISTER _ ACK message further carries an LLID corresponding to the MAC identifier of the emulated EPON ONU, including: carrying an LLID corresponding to the MAC identification of the main analog EPON ONU, and indicating that the parameters of LLIDs corresponding to the MAC identifications of other analog EPON ONUs are acquired by increasing m1-1 times on the basis of the LLID corresponding to the MAC identification of the main analog EPON ONU.
In an exemplary embodiment, the REGISTER _ REQ message further carries a suspension authorization corresponding to the MAC identifier of the main emulated EPON ONU;
the OLT parsing the REGISTER _ REQ message includes:
and analyzing suspension authorization corresponding to the MAC identification of other simulated EPON ONUs according to the suspension authorization corresponding to the MAC identification of the main simulated EPON ONU.
In an exemplary embodiment, the method further comprises: and when the REGISTER message carries a parameter indicating that the OLT rejects the registration request, the registration device continuously sends a REGISTER request REGISTER _ REQ message to the OLT.
In an exemplary embodiment, the method further comprises: and when the REGISTER message carries a parameter indicating that the appointed EPON ONU is simulated to REGISTER again, the registering device continuously sends a REGISTER request REGISTER _ REQ message of the appointed EPON ONU to the OLT.
In an exemplary embodiment, the method further comprises: and when the REGISTER message carries a parameter indicating that the appointed EPON ONU is unregistered, the registration device deletes the stored corresponding relation between the MAC identification and the logical link identification LLID of the appointed EPON ONU and continuously sends a REGISTER request REGISTER _ REQ message of the appointed EPON ONU to the OLT.
The designated EPON emulating ONU includes:
all of the emulated EPON ONUs of the registration apparatus or a portion of the emulated EPON ONUs of the registration apparatus, the portion of the emulated EPON ONUs including one or more emulated EPON ONUs.
In an exemplary embodiment, when the designated EPON-emulating ONU is a partial EPON-emulating ONU of the registration apparatus, the REGISTER message further carries a parameter indicating the partial EPON ONU, including: and indicating parameters of the EPON ONU corresponding to m2 LLIDs obtained by increasing m2 times on the basis of the LLID corresponding to the MAC identifier of the main simulation EPON ONU, wherein m2 is more than 1 and less than m.
In an exemplary embodiment, after the registration is completed, the method further includes:
and the OLT determines that the number of the EPON ONUs hung down is equal to the specified number, and then the OLT completes the registration pressure test of the specified number of the EPON ONUs. The method for judging the number of the EPON ONU hung down by the OLT comprises the following steps: and the OLT obtains the number of the EPON ONUs hung down per se according to the recorded corresponding relation between the MAC identification of the simulated EPON ONUs and the logical link identification LLID.
A method for performing EPON ONU registration by the EPON 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 EPON ONU is shown in fig. 5, and includes the following steps:
step 501: the upper control module receives the appointed number of the simulated EPON ONUs and provides the appointed number of the simulated EPON 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 appointed EPON ONUs, one storage unit represents one EPON ONU and sets a unique MAC identifier for each EPON ONU;
through steps 501-502, the registration device has simulated a specified number of EPON ONUs with different MAC identifiers, and the simulated EPON ONUs are in a standby state, ready to interact with the OLT;
step 503: the OLT broadcasts a discovery authorization GATE message with a certain discovery period and a set number of times to inform a registration device of the start time and the length of a discovery window provided by the OLT, wherein the discovery authorization GATE message is encapsulated in a frame format of a multi-point control protocol (MPCP) defined by an EPON protocol and carries the start time and the length of the discovery window;
step 504: an EPON module of the registration device analyzes a discovery authorization GATE message from a received MPCP data frame and forwards the analyzed GATE message to a processor module;
step 505: the processor module obtains the start time and length of the discovery window from the discovery authorization GATE messageThe current window begins to wait for a random time delay value T ONU_0 Then sending a REGISTER _ REQ message to the OLT in a discovery time window, wherein the random time delay value TONU _0 is used for the time difference between any two registration devices sending uplink messages, so as to avoid collision; the length of the discovery time window is set by a person skilled in the art according to the test requirements;
the processor module fills a registration request REGISTER _ REQ message, and sends the message to the OLT through the ODN after being encapsulated into an EPON MAC control frame by the EPON module, where the REGISTER _ REQ message is also a preamble field and an MPC PDU field in the EPON MAC control frame defined by an EPON protocol, and specific field information is shown in table 1:
Figure BDA0002351592310000191
Figure BDA0002351592310000201
TABLE 1
Unlike the EPON standard protocol, the SLD padding value is 0X01 (0 xd5 in the EPON standard protocol, which is used to indicate that starting from the bit several after the SLD field is the beginning of LLID representing the EPON protocol), and the operation content represented by the following is as follows: information needs to be acquired from the 1 st bit after SLD, specifically, 8 bits are read first as a step value, then 8 bits are read as an agitation information identification field (specified and used by China telecom related standards), then 1 bit is read as a mode, then 15 bits are read as an LLID, and then 8 bits are read as a CRC;
the suspension authorization has the same meaning as defined by an EPON standard protocol, and represents a buffer capacity for indicating to the OLT that the registration device can store future authorization;
step 506: the OLT analyzes the REGISTER _ REQ message from the received EPON MAC control frame and records a step value in the 4 th byte of the preamble field in a temporary cache; taking out the source address SA in the MPC PDU domain, and determining the MAC identifier of one simulated EPON ONU, namely the MAC0 of the main EPON ONU simulated in the registration device; determining the number of the simulated EPON ONUs according to the step value, wherein the MAC identifications of all the simulated EPON ONUs are increased progressively one by one, so that the MAC identifications of all the EPON ONUs to be simulated can be determined; the OLT forms and records the corresponding relation between the LLID and the MAC identification of each simulated EPON ONU according to the information; wherein, LLID (Primary LLID) corresponding to MAC0 is allocated by the OLT according to the related technology, LLIDs of other each simulated EPON ONU are determined by increasing progressively one by one, specifically: based on MAC0 and the corresponding LLID, when the sequence number is gradually increased, the LLID is also increased at the same time, that is: MAC0 → LLID, (MAC 0+ 1) → (LLID + 1), (MAC 0+ 2) → (LLID + 2) \8230; as shown in Table 2:
LLID Primary LLID MAC
0 0 MAC0
1 0 MAC0+1
0
31 0 MAC0+31
TABLE 2
In the above correspondence, the Primary LLID indicates the LLID of the main EPON ONU borrowed from the serial number of the registration apparatus, for example, in this example: the Primary LLID is 0 and corresponds to the simulated EPON ONU with the serial number of MAC0, so that when a plurality of registration apparatuses exist, IDs of all simulated EPON ONUs in any one registration apparatus can be distinguished conveniently on the OLT side;
the OLT will use the received value of the pending grant field of the registration device as a reference for future grants issued for each emulated EPON ONU, and the dynamic Bandwidth allocation, DBA, should not issue grants that exceed the storage capacity of the EPON ONU. In this application example, according to the value of Step in the preamble domain, the OLT needs to determine the number of suspended authorized bytes that needs to be analyzed, that is: if step is 31, it means that after the OLT acquires the suspension authorization 0 corresponding to MAC0 and MAC0 in REGISTER _ REQ, it needs to acquire the suspension authorization of the next MAC one by one according to the step value until the suspension authorization 31 of (MAC 0+ 31) and (MAC 0+ 31) is acquired, and then the analysis of the entire REGISTER _ REQ message is completed;
step 507: the OLT adopts MPC PDU domain of EPON MAC control frame defined by EPON protocol to fill data according to content set by REGISTER message, and packages the MPC PDU into EPON MAC control frame, and then sends the EPON MAC control frame to the REGISTER device through ODN, wherein the specific field information of REGISTER message is shown in table 3:
Figure BDA0002351592310000221
Figure BDA0002351592310000231
TABLE 3
It should be noted that: since the response suspension authorization is only that the DBA agent of the OLT confirms to the registration apparatus that it already knows the storage capability of the EPON ONU and does not actually carry any useful information, the response suspension authorization does not need to be issued for each emulated EPON ONU;
step 508: an EPON module of the registration device analyzes a preamble field and an MPC PDU field from a received EPON MAC control frame and forwards the analyzed preamble field and MPC PDU field to a processor module;
step 509: the processor module judges whether the MAC0 in the received MPC PDU domain is the same as the unique identifier of the registration device, and if not, the message is discarded; if the fields are the same, analyzing an allocated port field (namely LLID allocated to MAC 0), flag field identification and step field of a preamble field in the MPC PDU field, if the flag field identification is Ack (confirmation), recording the LLID of the MAC0, and determining the LLIDs of other simulated EPON ONUs one by one in an incremental manner, so far, forming and recording the corresponding relation between the MAC identification and the LLID of each simulated EPON ONU on the registration device; if the Flags field id is Nack (reject), the registered device will re-enter the waiting window period, and start from step 503 again; the Flags field identification may in some cases be a register or Deregister, the corresponding operations being described in particular in the following description of re-registering/deregistering an EPON ONU;
in this step, the processor module incrementally determines the LLIDs of each of the other EPON-emulating ONUs one by one specifically as follows: based on MAC0 and the corresponding LLID, as MAC increases, LLID also increases at the same time, i.e.: MAC0 → LLID, (MAC 0+ 1) → (LLID + 1), (MAC 0+ 2) → (LLID + 2) \8230 \ 8230, whereby the correspondence relationship between the MAC and LLID of each of the EPON simulated ONUs stored on the OLT is identical;
step 510: the processor module fills a registration confirmation frame REGISTER _ ACK by adopting the content set by the MPC PDU defined by the EPON protocol, encapsulates the registration confirmation frame into a MAC control frame, and sends the MAC control frame to the OLT through the ODN, wherein the specific field information of the MAC control frame encapsulating the REGISTER _ ACK message is shown in table 4:
Figure BDA0002351592310000241
Figure BDA0002351592310000251
Figure BDA0002351592310000261
TABLE 4
Step 511: when the OLT judges that the number of the EPON ONUs is the same as the number of the EPON ONUs to be simulated according to the corresponding relation between the LLID and the MAC identification recorded on the OLT, and the upper layer control module determines that the number of the memory units with the MAC is also the same as the number of the EPON ONUs to be simulated, the OLT completes the registration pressure test of the ONU with the preset number.
The above is the complete registration process in the normal registration process.
In the registration process with the OLT, the registration device may re-register/contact-register the EPON ONU, and the specific implementation of this case is described as follows:
1. batch re-registration/de-registration
Judging whether to re-register or de-register according to the Flags field identification of the MPC PDU field, and judging whether to re-register/de-register all EPON ONUs on a certain specific registration device (at the moment, the DA is filled with the MAC0 of the specific registration device) or all ONUs of all analog devices under an EPON port of the OLT (at the moment, the DA is filled with the MAC control multicast address 0180. C200.0000); after re-registering/de-registering, the registering device will refill MPC PDU of REGISTER _ REQ message, and after the EPON module is packaged into MAC control frame, it will send to OLT through ODN, and restart a new registration process; the information of the MAC control frame for the batch re-registration/de-registration operation is shown in table 5:
Figure BDA0002351592310000262
Figure BDA0002351592310000271
TABLE 5
One point is explained: for de-registration, the registration device will also correspondingly clear the LLID content of a series of MACs, and the OLT will also clear the corresponding relationship between the MAC identifier and LLID;
2. re-registration/de-registration of a portion of an EPON ONU
Judging whether to perform re-registration/de-registration of a single simulated EPON ONU or re-registration/de-registration of a plurality of simulated EPON ONUs according to the 3 rd byte: (1) If the single simulated EPON ONU is re-registered/de-registered (the padding of the 3 rd byte is other), determining the LLID of the EPON ONU needing re-registration/de-registration by increasing the LLID on the basis that the LLID filled in the first byte needs to be filled in the 3 rd byte, and simultaneously deleting the recorded related information of the EPON ONU; (2) If it is the re-registration/de-registration of multiple emulated EPON ONUs (3 rd byte padded 00000000 or 11111111). The information of MAC control frames for partial EPON ONU re-registration/de-registration operations is shown in table 6:
Figure BDA0002351592310000281
Figure BDA0002351592310000291
TABLE 6
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 (30)

1. An Ethernet Passive Optical Network (EPON) Optical Network Unit (ONU) registration apparatus, comprising:
the EPON module is used for receiving and sending a message from the optical line terminal 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 EPON ONUs in the storage module, and receiving and sending registration interaction messages of the simulated EPON ONUs and the OLT through the EPON module; establishing a specified number of emulated EPON ONUs in a storage module includes: establishing a designated number of storage units in a storage module, wherein each storage unit represents one simulated EPON ONU and allocates a unique Media Access Control (MAC) identifier for each simulated EPON ONU; different storage units distribute information of different storage addresses, and registration messages of a specified number of the simulated EPON ONU are packaged in one registration message to be sent;
the storage module is used for storing information simulating the EPON ONU;
wherein, the allocating a unique Media Access Control (MAC) identifier for each simulated EPON ONU comprises: the method comprises the steps that a unique MAC mark MAC i of a registration device is used as a base number, i =0,1, \8230, N-1, N is the total number of EPON ONU registration devices connected with an EPON port connected below an OLT, m-1 different continuous increasing numerical values are generated, and m is the number of appointed simulated EPON ONUs;
the receiving and sending of the registration interaction message of the simulated EPON ONU and the OLT through the EPON module comprises: the processor module sends a registration request REGISTER _ REQ message to the OLT through the EPON module, wherein the REGISTER _ REQ message carries the MAC identification of the main simulation EPON ONU and indicates that the parameter for acquiring the MAC identifications of other simulation EPON ONUs is obtained by increasing m-1 times on the basis of the MAC identification of the main simulation EPON ONU.
2. An ethernet passive optical network EPON optical network unit, ONU, registration apparatus according to claim 1, further comprising:
and the upper control module is used for sending the specified number of the simulated EPON ONU to the processor module.
3. An Ethernet Passive Optical Network (EPON) Optical Network Unit (ONU) registration apparatus according to claim 1,
the unique MAC identifications of the m EPON-simulating ONUs are MAC i, (MAC i + 1), \ 8230; (MAC i + m-1), respectively.
4. The Ethernet passive optical network EPON optical network unit ONU registration apparatus of claim 3,
the processor module receives a REGISTER message from the OLT through the EPON module, when the REGISTER message carries a parameter for confirming a REGISTER request at the OLT side and simulates the corresponding relation between the MAC identification of the EPON ONU and the logical link identification LLID, the processor module stores the corresponding relation in the storage module, and sends a REGISTER response REGISTER _ ACK message to the OLT through the EPON module, wherein the REGISTER _ ACK message carries a parameter for confirming the successful REGISTER of the REGISTER device.
5. An Ethernet Passive Optical Network (EPON) Optical Network Unit (ONU) registration apparatus according to claim 1,
the REGISTER _ ACK message also carries an LLID corresponding to the MAC identifier of the EPON-emulated ONU, including: carrying the LLID corresponding to the MAC identification of the main analog EPON ONU, and indicating that the parameters of LLIDs corresponding to the MAC identifications of other analog EPON ONUs are acquired by increasing m1-1 times on the basis of the LLID corresponding to the MAC identification of the main analog EPON ONU, wherein m1 is more than 1 and less than or equal to m.
6. An Ethernet Passive Optical Network (EPON) Optical Network Unit (ONU) registration apparatus according to claim 4,
the processor module is used for receiving and sending the registration interaction message of the simulated EPON ONU and the OLT through the EPON module, and further comprises:
the processor module receives a REGISTER message from the OLT through the EPON module, and when the REGISTER message carries a parameter indicating that the OLT rejects the REGISTER request, the processor module continuously sends a REGISTER request-REQ message to the OLT through the EPON module.
7. An Ethernet Passive Optical Network (EPON) Optical Network Unit (ONU) registration apparatus according to claim 4,
the processor module is used for receiving and sending the registration interaction message of the simulated EPON ONU and the OLT through the EPON module, and further comprises:
the processor module receives a REGISTER message from the OLT through the EPON module, and when the REGISTER message carries a parameter indicating that the designated EPON ONU is simulated to REGISTER again, the processor module continues to send a REGISTER request REGISTER _ REQ message of the designated EPON ONU to the OLT through the EPON module.
8. An Ethernet Passive Optical Network (EPON) Optical Network Unit (ONU) registration apparatus according to claim 4,
the processor module is used for receiving and sending the registration interaction message of the simulated EPON ONU and the OLT through the EPON module, and further comprises:
the processor module receives a REGISTER message from the OLT through the EPON module, deletes the corresponding relation between the MAC identification of the appointed simulating EPON ONU and the logical link identification LLID stored in the storage module when the REGISTER message carries a parameter indicating that the appointed simulating EPON ONU is unregistered, and continuously sends a REGISTER request REGISTER _ REQ message of the appointed simulating EPON ONU to the OLT through the EPON module.
9. An Ethernet Passive Optical Network (EPON) Optical Network Unit (ONU) registration apparatus according to claim 7 or 8,
the designated emulated EPON ONU comprising:
all of the emulated EPON ONUs of the registration apparatus or a portion of the emulated EPON ONUs of the registration apparatus, the portion of the emulated EPON ONUs including one or more emulated EPON ONUs.
10. An EPON optical network unit, ONU, registration method based on the EPON ONU registration apparatus according to any one of claims 1 to 9, comprising:
the registration device establishes a specified number of simulated EPON ONU;
and the registration device completes registration by performing registration interaction between the simulated EPON ONU and the OLT with the OLT.
11. The EPON ONU registration method of claim 10,
the registration apparatus establishes a specified number of emulated EPON ONUs, including: and the registration device allocates a unique Media Access Control (MAC) identifier for each simulated EPON ONU.
12. The EPON ONU registration method of claim 11, wherein the registering means performs registration interaction with an OLT between the EPON-emulated ONU and the OLT, comprising:
the registration device sends a registration request message for the simulated EPON ONU to an OLT, and comprises the following steps: the REGISTER device sends a REGISTER request REGISTER _ REQ message to an Optical Line Terminal (OLT), wherein the REGISTER _ REQ message carries the number of the simulated EPON ONUs and the MAC identification of each simulated EPON ONU;
the REGISTER device receives a REGISTER message from an OLT (optical line terminal), when the REGISTER message carries a parameter indicating the OLT side to confirm a REGISTER request and the corresponding relation between the MAC identification of the simulated EPON ONU and the logical link identification LLID, the REGISTER device analyzes the REGISTER message and stores the analyzed corresponding relation between the MAC identification of the simulated EPON ONU and the logical link identification LLID, the REGISTER device sends a REGISTER response REGISTER _ ACK message to the OLT, and the REGISTER _ ACK message carries a parameter indicating the REGISTER device to confirm the successful REGISTER.
13. The EPON ONU registration method of claim 12,
the REGISTER _ REQ message carries the number of EPON emulated ONUs and the MAC identification of each EPON emulated ONU, and includes:
the REGISTER _ REQ message carries the MAC identifier of the main emulated EPON ONU, and indicates that the parameter for acquiring the MAC identifiers of other emulated EPON ONUs is obtained by incrementing m-1 times on the basis of the MAC identifier of the main emulated EPON ONU, where m is the designated number of emulated EPON ONUs.
14. The EPON ONU registration method of claim 13,
the REGISTER _ ACK message also carries an LLID corresponding to the MAC identifier of each emulated EPON ONU, including: carrying the LLID corresponding to the MAC identification of the main simulation EPON ONU, and indicating that the parameters of LLIDs corresponding to the MAC identifications of other simulation EPON ONUs are obtained by increasing m1-1 times on the basis of the LLID corresponding to the MAC identification of the main simulation EPON ONU, wherein 1 & ltm.
15. The method of claim 12, wherein the method further comprises:
and when the REGISTER message carries a parameter indicating that the OLT rejects the registration request, the registration device continuously sends a REGISTER request REGISTER _ REQ message to the OLT.
16. The EPON ONU registration method of claim 12, further comprising:
and when the REGISTER message carries a parameter indicating that the appointed EPON ONU is simulated to REGISTER again, the registering device continuously sends a REGISTER request REGISTER _ REQ message of the appointed EPON ONU to the OLT.
17. The EPON ONU registration method of claim 12, further comprising:
and when the REGISTER message carries a parameter indicating that the appointed EPON ONU is unregistered, the registration device deletes the stored corresponding relation between the MAC identification and the logical link identification LLID of the appointed EPON ONU and continuously sends a REGISTER request REGISTER _ REQ message of the appointed EPON ONU to the OLT.
18. The EPON ONU registration method of claim 16 or 17,
the designated emulated EPON ONU comprising:
all or a portion of the emulated EPON ONUs of the registration apparatus, including one or more emulated EPON ONUs.
19. An EPON optical network unit, ONU, registration method based on the EPON ONU registration apparatus according to any one of claims 1 to 9, comprising:
the registration device establishes a specified number of simulated EPON ONU;
the registration device and an Optical Line Terminal (OLT) perform registration interaction of the simulated EPON ONU and the OLT;
and the registration device completes registration according to the registration interaction result.
20. The EPON ONU registration method of claim 19,
the registration apparatus establishes a specified number of emulated EPON ONUs, including: and the registration device allocates a unique Media Access Control (MAC) identifier for each simulated EPON ONU.
21. The EPON ONU registration method of claim 20,
the registration interaction between the simulated EPON ONU and an Optical Line Terminal (OLT) is carried out by the registration device and the OLT, and comprises the following steps:
the REGISTER device sends a REGISTER request REGISTER _ REQ message to an Optical Line Terminal (OLT), wherein the REGISTER _ REQ message carries the number of the simulated EPON ONUs and the MAC identification of each simulated EPON ONU;
the OLT analyzes the REGISTER _ REQ message, and forms a corresponding relation between the MAC identification simulating the EPON ONU and the logical link identification LLID according to the solved content; the OLT sends a REGISTER message to the REGISTER device;
the REGISTER device receives the REGISTER message, when the REGISTER message carries a parameter indicating that an OLT side confirms a REGISTER request and a corresponding relation between the MAC identification of the simulated EPON ONU and the logical link identification LLID, the REGISTER device analyzes the REGISTER message and stores the analyzed corresponding relation between the MAC identification of the simulated EPON ONU and the logical link identification LLID, the REGISTER device sends a REGISTER response REGISTER _ ACK message to the OLT, and the REGISTER _ ACK message carries a parameter indicating that the REGISTER device confirms that the REGISTER is successful.
22. The EPON ONU registration method of claim 21,
the REGISTER _ REQ message carries the number of EPON emulated ONUs and the MAC identification of each EPON emulated ONU, and includes:
the REGISTER _ REQ message carries the MAC identification of a main simulation EPON ONU and indicates that the MAC identification of other simulation EPON ONUs is obtained by increasing m-1 times on the basis of the MAC identification of the main simulation EPON ONU, wherein m is the number of the specified simulation EPON ONUs;
the REGISTER message carries the corresponding relation between the MAC identification of the simulated EPON ONU and the logical link identification LLID, and the method comprises the following steps:
the REGISTER message carries the LLID corresponding to the MAC identification of the main analog EPON ONU, and indicates that the parameters of LLIDs corresponding to the MAC identifications of other analog EPON ONUs are obtained by increasing m1-1 times on the basis of the LLID corresponding to the MAC identification of the main analog EPON ONU, and 1 is less than m1 and less than m.
23. The EPON ONU registration method of claim 22,
the REGISTER _ ACK message also carries an LLID corresponding to the MAC identifier of the emulated EPON ONU, including: carrying an LLID corresponding to the MAC identifier of the main analog EPON ONU, and indicating that parameters of LLIDs corresponding to MAC identifiers of other analog EPON ONUs are acquired by increasing m1-1 times on the basis of the LLID corresponding to the MAC identifier of the main analog EPON ONU.
24. The EPON ONU registration method of claim 21,
the REGISTER _ REQ message also carries suspension authorization corresponding to the MAC identifier of the main simulation EPON ONU;
the OLT parsing the REGISTER _ REQ message, including:
and analyzing suspension authorization corresponding to the MAC identification of other simulated EPON ONUs according to the suspension authorization corresponding to the MAC identification of the main simulated EPON ONU.
25. The EPON ONU registration method of claim 21, wherein the method further comprises:
and when the REGISTER message carries a parameter indicating that the OLT rejects the registration request, the registration device continuously sends a REGISTER request REGISTER _ REQ message to the OLT.
26. The EPON ONU registration method of claim 21, wherein the method further comprises:
and when the REGISTER message carries a parameter indicating that the appointed EPON ONU is simulated to REGISTER again, the registering device continuously sends a REGISTER request REGISTER _ REQ message of the appointed EPON ONU to the OLT.
27. The EPON ONU registration method of claim 21, wherein the method further comprises:
and when the REGISTER message carries a parameter indicating that the appointed EPON ONU is unregistered, the registration device deletes the stored corresponding relation between the MAC identification and the logical link identification LLID of the appointed EPON ONU and continuously sends a REGISTER request REGISTER _ REQ message of the appointed EPON ONU to the OLT.
28. The EPON ONU registration method of claim 26 or 27, wherein,
the designated emulated EPON ONU includes:
all or a portion of the emulated EPON ONUs of the registration apparatus, including one or more emulated EPON ONUs.
29. The EPON ONU registration method of claim 28,
when the designated EPON-emulating ONU is a part of the EPON-emulating ONU of the registration device, the REGISTER message further carries a parameter indicating the part of the EPON-ONU, including: and indicating parameters of the EPON ONU corresponding to m2 LLIDs obtained by increasing m2 times on the basis of the LLID corresponding to the MAC identifier of the main simulation EPON ONU, wherein m2 is more than 1 and less than m.
30. The method of registering an EPON ONU of claim 19, wherein after registration is complete, the method further comprises:
and the OLT determines that the number of the EPON ONUs hung down is equal to the specified number, and then the OLT completes the registration pressure test of the specified number of the EPON ONUs.
CN201911417572.9A 2019-12-31 2019-12-31 Registration device and method of EPON ONU Active CN111182378B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911417572.9A CN111182378B (en) 2019-12-31 2019-12-31 Registration device and method of EPON ONU

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911417572.9A CN111182378B (en) 2019-12-31 2019-12-31 Registration device and method of EPON ONU

Publications (2)

Publication Number Publication Date
CN111182378A CN111182378A (en) 2020-05-19
CN111182378B true CN111182378B (en) 2022-11-08

Family

ID=70652405

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911417572.9A Active CN111182378B (en) 2019-12-31 2019-12-31 Registration device and method of EPON ONU

Country Status (1)

Country Link
CN (1) CN111182378B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117155463A (en) * 2022-05-24 2023-12-01 华为技术有限公司 Ranging method and device in optical communication network

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101860405B (en) * 2010-05-14 2013-12-18 上海电信工程有限公司 Building-block type broadband ADSL/EPON/LAN opening, testing and maintaining module and method
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)
CN105592040B (en) * 2015-07-29 2018-11-09 新华三技术有限公司 The secure registration method and apparatus of ONU is realized in EPON
CN105515825B (en) * 2015-11-25 2018-11-30 成都广达新网科技股份有限公司 A kind of SNMP simulator and its test method for network management volume test
CN106452574B (en) * 2016-10-20 2018-12-21 云南电网有限责任公司电力科学研究院 A kind of the optical interface platform for testing characteristics and method of power distribution network EPON system

Also Published As

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

Similar Documents

Publication Publication Date Title
US7720072B2 (en) Method for dynamic bandwidth allocation in passive optical network
JP3805332B2 (en) OAM Function Discovery Method in Ethernet (registered trademark) Passive Optical Subscriber Network
CN106851439A (en) A kind of cut-in method and device of multiple optical network units
CN101902662B (en) Optical network unit (ONU) registration activating method and system
WO2017202219A1 (en) Method and device for processing configuration file, olt and onu
KR101882748B1 (en) Method and apparatus for multiplexing machine type communication data of multiple mtc devices in a wireless network environment
CN105119749A (en) Local batch upgrading method and system for home gateway
CN112737689A (en) Ethernet passive optical network communication method, optical network unit and optical line terminal
CN111182378B (en) Registration device and method of EPON ONU
WO2013085273A1 (en) Apparatus and method for transmitting and receiving persistent scheduling information in wireless communication system
TWI474682B (en) System and method for applying an extended multipoint protocol to wireless access systems
KR20140083160A (en) An optical line terminal and method for registrating optical network terminals thereof
WO2009000194A1 (en) Bandwidth allocation method, system and apparatus in optical network
CN101567842A (en) Method, device and system for transmitting and receiving service data
CN101753527B (en) Method, system and device for transmitting bandwidth distribution information in transport network
CN111182377B (en) GPON ONU registration device and method
CN107241207B (en) Equipment management method and device
WO2024077988A1 (en) Configuration information sending method and apparatus, and storage medium and electronic apparatus
CN111193650B (en) Node receiving and dispatching control device based on SAE AS5643 standard
KR20100006119A (en) Method for identification and device for generating protocol data unit
WO2021082669A1 (en) Passive optical network-based communication method, related device, and system
CN111566957B (en) Message processing method and device
CN106713008B (en) The method that a kind of pair of EOC local-side device is tested for the property
KR100651363B1 (en) Method for managing oam in ethernet passive optical network
CN117768810A (en) Registration method of optical network unit, optical line terminal, optical network unit and medium

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