WO2011088699A1 - Method and apparatus for transmitting physical layer operation, administration and maintenance messages - Google Patents
Method and apparatus for transmitting physical layer operation, administration and maintenance messages Download PDFInfo
- Publication number
- WO2011088699A1 WO2011088699A1 PCT/CN2010/078404 CN2010078404W WO2011088699A1 WO 2011088699 A1 WO2011088699 A1 WO 2011088699A1 CN 2010078404 W CN2010078404 W CN 2010078404W WO 2011088699 A1 WO2011088699 A1 WO 2011088699A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- ploam
- ploam message
- network element
- layer network
- messages
- Prior art date
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04Q—SELECTING
- H04Q11/00—Selecting arrangements for multiplex systems
- H04Q11/0001—Selecting arrangements for multiplex systems using optical switching
- H04Q11/0062—Network aspects
- H04Q11/0067—Provisions for optical access or distribution networks, e.g. Gigabit Ethernet Passive Optical Network (GE-PON), ATM-based Passive Optical Network (A-PON), PON-Ring
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04Q—SELECTING
- H04Q11/00—Selecting arrangements for multiplex systems
- H04Q11/0001—Selecting arrangements for multiplex systems using optical switching
- H04Q11/0062—Network aspects
- H04Q2011/0079—Operation or maintenance aspects
Definitions
- the present invention relates to the field of communications, and in particular to a method and apparatus for transmitting a Physical Layer Operations (Administration and Maintenance, PLOAM) message.
- PLOAM Physical Layer Operations
- GPON Gigabit-Capable Passive Optical Network
- ONT Optical Line Terminal
- ONU Optical Network Unit
- ODN Optical Distribution Network
- the ODN consists of passive optical components such as single-mode fiber, optical splitter, and optical connector, providing an optical transmission medium for the physical connection between the OLT and the ONU.
- the ITU-T G984.3 standard defines a physical layer operation management and maintenance (PLOAM) channel, and the GPON uses the PLOAM channel to transmit PLOAM messages to implement management of the transmission aggregation layer, including ONU activation.
- the ONU manages the establishment of control channels, encryption configuration, key management, and so on.
- the PLOAM message is transmitted in an uplink frame (a frame sent by the ONU to the OLT) and a downlink frame (a frame sent by the OLT to the ONU), and each downlink frame includes a PLOAM message, and the OLT determines whether the uplink frame includes the PLOAM. Message.
- the next-generation PON system based on GPON technology, it is desirable to transmit multiple PLOAM messages in one downlink frame due to an increase in transmission rate and an OLT that needs to support more ONUs.
- the GTC framing module In the framing technology of the existing GPON transmission converge (GTC) layer, the GTC framing module directly extracts the PLOAM message from the queue storing PLOAM messages according to the principle of first in first out (FIFO) to form a GTC frame. Therefore, when the framing technique is applied to the next-generation PON system based on the GPON technology, the number of PLOAM messages transmitted to the same ONU in one downlink frame cannot be guaranteed to be less than or equal to the maximum number of PLOAM messages that the ONU can process.
- FIFO first in first out
- the present invention provides a PLOAM message for the problem that the number of PLOAM messages transmitted to the same lower layer network element in one downlink frame cannot be equal to or less than the maximum number of PLOAM messages that the lower layer network element can process.
- the transmitting method and device are to solve at least one of the above problems. According to an aspect of the present invention, a method of transmitting a PLOAM message is provided.
- the method for transmitting a PLOAM message includes: the upper layer network element knows the number N of PLOAM messages that can be sent to the lower layer network element in a downlink frame, where the PLOAM message to be sent to each lower layer network element in the PLOAM message
- the number of the PLOAM messages is less than or equal to the maximum number of PLOAM messages that the lower layer network element can process, N > 1 , m >0;
- the upper layer network element obtains the PLOAM message according to the number of PLOAM messages, wherein the acquired PLOAM
- the number of messages x is less than or equal to the number N of PLOAM messages, and the number of PLOAM messages corresponding to the same lower layer network element is less than or equal to the maximum number of PLOAM messages that the lower layer network element can process, x > 0, a >0;
- the upper layer network element sends the acquired PLOAM message to the lower layer network element in a downlink frame.
- a transmitting apparatus of a PLOAM message includes: a learning unit, configured to learn the number N of PLOAM messages that can be sent to the lower layer network element in a downlink frame, where the PLOAM message is to be sent to each lower layer network.
- the number of the PLOAM messages of the element is less than or equal to the maximum number m of the PLOAM messages that the lower layer network element can process, N > l , m >0;
- the acquiring unit is configured to obtain the PLOAM message according to the number of PLOAM messages, where The number of the received PLOAM messages is less than or equal to the number N of the PLOAM messages.
- the number of PLOAM messages corresponding to the same lower layer network element is less than or equal to the maximum number of PLOAM messages that the lower layer network element can process. > 0, a >0;
- the sending unit is configured to send the acquired PLOAM message to the lower layer network element in a downlink frame.
- the upper layer network element obtains the PLOAM message according to the number of PLOAM messages that can be sent to the lower layer network element, and sends the PLOAM message to the lower layer network element, and can ensure that one downlink frame is sent to the network element under consideration of the processing capability of the lower layer network element.
- the number of PLOAM messages of the same lower layer network element is less than or equal to the maximum number of PLOAM messages that the ONU can process.
- FIG. 1 is a structural block diagram of a transmitting apparatus of a PLOAM message according to an embodiment of the present invention
- FIG. 2 is a structural block diagram of a transmitting apparatus of a PLOAM message according to a preferred embodiment of the present invention
- FIG. 1 is a structural block diagram of a transmitting apparatus of a PLOAM message according to an embodiment of the present invention
- FIG. 2 is a structural block diagram of a transmitting apparatus of a PLOAM message according to a preferred embodiment of the present invention
- BRIEF DESCRIPTION OF THE DRAWINGS FIG.
- FIG. 4 is a structural block diagram of a transmitting apparatus of a PLOAM message according to an example 2 of the present invention
- FIG. 5 is a transmitting apparatus of a PLOAM message according to Example 3 of the present invention
- FIG. 6 is a flowchart of a method for transmitting a PLOAM message according to an embodiment of the present invention.
- the transmitting apparatus of the PLOAM message includes: a learning unit 1, an obtaining unit 2, and a sending unit 3.
- the learning unit 1 is configured to learn the number N of PLOAM messages that can be sent to the lower layer network element in a downlink frame, where the number of PLOAM messages to be sent to each lower layer network element in the PLOAM message is less than or equal to the lower layer.
- the network element can process the maximum number of PLOAM messages, m > 1 , m > 0.
- the acquiring unit 2 is configured to obtain a PLOAM message according to the number of PLOAM messages, where the number of acquired PLOAM messages is less than or equal to PLOAM.
- the number of messages N, the number of PLOAM messages corresponding to the same lower layer network element is less than or equal to the maximum number m of PLOAM messages that the lower layer network element can process, x > 0, a >0; Sending the ear to the lower layer network element in a downlink frame and acquiring the unit 2
- the PLOAM message is sent by using the foregoing device, and the number of PLOAM messages sent to the same lower layer network element in one downlink frame is less than or equal to that of the lower layer network element, on the premise of considering the processing capability of the lower layer network element (for example, the ONU).
- the foregoing PLOAM message includes: a unicast PLOAM message, and/or a broadcast PLOAM message.
- the foregoing apparatus may further include: a first storage unit 4, connected between the learning unit 1 and the obtaining unit 2, configured to store the generated unicast PLOAM message in each lower layer network element.
- the generated broadcast PLOAM message is stored in the PLOAM message queue.
- the obtaining unit 2 may include: a first extraction module 20, configured to: when a preset time arrives, extract a unicast PLOAM message from a preset register corresponding to each lower layer network element; a storage module 21, configured to store the extracted unicast PLOAM message in the PLOAM message queue, and a second extraction module 22, configured to extract the PLOAM message from the PLOAM message queue.
- a first extraction module 20 configured to: when a preset time arrives, extract a unicast PLOAM message from a preset register corresponding to each lower layer network element
- a storage module 21 configured to store the extracted unicast PLOAM message in the PLOAM message queue
- a second extraction module 22 configured to extract the PLOAM message from the PLOAM message queue.
- the transmitting apparatus of the PLOAM message according to the first embodiment of the present invention includes: a PLOAM message generating unit, S registers (S is a value corresponding to the number of lower layer network elements), a timer, and an extracting unit ( It is equivalent to the first extraction module, the first storage module, the PLOAM message queue, and the framing unit (corresponding to the second extraction module).
- the OLT needs to send N ( N > 1 ) PLOAM messages to the lower layer NEs in one downlink frame, and the maximum number of PLOAM messages sent to each ONU in one downlink frame is m ( m > 1 ).
- a deposit for storing the PLOAM message is pre-established for each ONU.
- the OLT After the PLOAM message generating unit generates a PLOAM message, the OLT reports that the PLOAM message belongs to an ONU, and the OLT stores the PLOAM message in a register of the corresponding ONU. If the PLOAM message is a broadcast PLOAM message, the OLT will PLOAM the PLOAM message. The message is placed directly into the PLOAM message queue.
- a timer and an extracting unit are set at the OLT. The timer is set to a timing time of T (for example, ⁇ > 125 ⁇ ⁇ ). When the timer overflows, the timer starts from zero, and the timer controls the extracting unit.
- the framing unit may include the following processing when forming a downlink frame: the framing unit sequentially fetches the PLOAM message from the PLOAM message queue, and if the consecutive PNAM messages are not included in the continuous PLOAM message, the GTC framing unit sets the N The PLOAM message constitutes a downlink frame; if the GTC framing unit sends another broadcast PLOAM message from the PLOAM message queue, if the OLT has already taken out part of the PLOAM message before broadcasting the PLOAM message, the GTC framing unit will fetch the PLOAM message before the broadcast the composition of the one or more downlink frames PLOAM message, and the broadcast ⁇ 1 PLOAM message stored separately next downlink frame composed of a downlink frame; GTC framing unit if
- the framing unit may further include the following processing when forming a downlink frame: the framing unit sequentially extracts the PLOAM message from the PLOAM message queue, and if the continuous PNAM message is not included in the continuous PLOAM message, the GTC framing unit will use the N
- the PLOAM message constitutes a downlink frame; if the GTC framing unit sends another broadcast PLOAM message from the PLOAM message queue, the broadcast PLOAM message is previously extracted with the unicast PLOAM message (may also include: the unicast PLOAM taken out later)
- the message is sent to form a downlink frame, and the number of PLOAM messages to be sent to each lower layer network element needs to meet a condition that is less than or equal to the maximum number of PLOAM
- the transmitting device can also send the unicast PLOAM message and the one broadcast PLOAM message extracted from the PLOAM message queue in one downlink frame.
- the foregoing apparatus may further include: a comparing unit 5, configured to compare the generated PLOAM message with the identifier information of the lower layer network element corresponding to the PLOAM message in the PLOAM message queue; the determining unit 6 is configured to determine, according to the comparison result, Whether the identifier information of the lower layer network element corresponding to the m PLOAM message is consistent with the identifier information of the lower layer network element corresponding to the generated PLOAM message in the PLOAM message queue; the second storage unit 7 is configured to be used when the output of the determining unit is YES.
- the obtaining unit 2 may further include: a comparing module 23, configured to: compare, when the preset time arrives, compare whether the identifier information of the lower layer network element corresponding to the PLOAM message in the first register and the PLOAM message queue in the PLOAM message queue are consistent; a determining module 24, configured to determine whether there are p PLOAM messages in the PLOAM message queue and the same lower layer network element identification information of the PLOAM message in the first register, where 0 ⁇ p ⁇ m; the second storage module The PLOAM message with the same identifier information of the lower layer network element corresponding to the p PLOAM messages in the first register is extracted and stored in the PLOAM message queue, where the output of the first judgment module is YES.
- Fig. 4 is a block diagram showing the structure of a transmitting apparatus of a PLOAM message according to the second embodiment of the present invention. As shown in FIG.
- the transmitting apparatus of the PLOAM message according to the second embodiment of the present invention includes: a PLOAM message generating unit, a comparing unit, a register (corresponding to the aforementioned first register), and an extracting comparing unit (equivalent to the foregoing
- the comparison module, the first judgment module, the second storage module, the timer, the PLOAM message queue, and the framing unit (corresponding to the aforementioned third extraction module).
- the OLT needs to send N ( N > 1 ) PLOAM messages in one downlink frame, and the maximum number of PLOAM messages sent to each ONU in one downlink frame is m ( m > 1 ).
- a register needs to be set in advance.
- the ONU-ID of the newly generated PLOAM and the ONU-ID of all PLOAM messages in the PLOAM message queue are compared by the comparing unit, if there are m PLOAM messages in the PLOAM message queue.
- the ONU-ID is the same as the ONU-ID of the newly generated PLOAM, and the OLT stores the newly generated PLOAM message in a register at the input of the PLOAM message queue. Otherwise, the OLT puts the newly generated PLOAM message into the PLOAM message queue.
- a timer and an extraction comparison unit are set at the OLT. The timer has a timing of ⁇ ( ⁇ > 125 ⁇ ⁇ ). When the timer overflows, the timer starts from zero, and the timer controls the comparison unit in the compare register. The ONU-ID of the PLOAM message and the ONU-ID of the PLOAM message in the PLOAM message queue.
- the framing unit may include the following processing when forming a downlink frame: At the OLT, the framing unit sequentially extracts the PLOAM message from the PLOAM message queue when forming a downlink frame, and does not include the broadcast PLOAM if the N PLOAM messages are continuously fetched.
- the GTC framing unit forms the N PLOAM messages into a downlink frame; if the GTC framing unit fetches a broadcast PLOAM message from the PLOAM message queue, if the OLT has already taken out part of the PLOAM message before broadcasting the PLOAM message, then the GTC The framing unit ⁇ 1 broadcasts the PLOAM message before the one or more PLOAM messages form a downlink frame, and the broadcast PLOAM message is separately placed in the next downlink frame to form a downlink frame; if the GTC framing unit is taken out from the PLOAM message queue
- the first PLOAM message is a broadcast PLOAM message, and the broadcast PLOAM message is separately placed in the downlink frame to form a downlink frame.
- the principle that the above-mentioned extraction comparison unit takes out the PLOAM message sequence from the register is: the principle of first-in first-out or the principle of first taking out the PLOAM message with the highest priority. It can be seen from the above process that the transmitting device transmits the unicast PLOAM message extracted from the PLOAM message queue in one downlink frame; and one broadcast PLOAM message extracted from the PLOAM message queue is separately transmitted in one downlink frame.
- the framing unit may further include the following processing when forming a downlink frame: the framing unit sequentially extracts the PLOAM message from the PLOAM message queue, and if the continuous PNAM message is not included in the continuous PLOAM message, the GTC framing unit will use the N
- the PLOAM message constitutes a downlink frame; if the GTC framing unit sends another broadcast PLOAM message from the PLOAM message queue, the broadcast PLOAM message is previously extracted with the unicast PLOAM message (may also include: the unicast PLOAM taken out later)
- the message is sent to form a downlink frame, and the number of PLOAM messages to be sent to each lower layer network element needs to meet a condition that is less than or equal to the maximum number of PLOAM messages that the lower layer network element can process.
- the transmitting device can also send the unicast PLOAM message and the one broadcast PLOAM message extracted from the PLOAM message queue in one downlink frame.
- the foregoing sending apparatus may further include: a third storage unit 8 configured to store the generated PLOAM message in a PLOAM message queue.
- the obtaining unit 2 may further include: a fourth extracting module 27, configured to extract a PLOAM message from the preset second register and the PLOAM message queue, or from the second register;
- the determining module 28 is configured to determine, in the case that the extracted PLOAM message does not include the broadcast PLOAM message, whether the number q of PLOAM messages corresponding to the same lower layer network element is smaller than the maximum number m of the PLOAM messages that the network element can process;
- the third storage module 29 is configured to store (qm) PLOAM messages into the second register if the output of the second determining module is negative;
- the processing module 30 is configured to sequentially sequence from the PLOAM message and/or The (qm) PLOAM messages extracted from the two registers together with the previously extracted PLOAM messages form N PLOAM messages, until the number of PLOAM messages corresponding to the same lower layer network element in the N PLOAM messages is determined to be smaller than the network.
- the meta can handle the maximum number m of PLOAM messages
- the transmitting apparatus of the PLOAM message according to the third embodiment of the present invention includes: a PLOAM message generating unit, a PLOAM message queue, a register (corresponding to a second register), and a framing unit (corresponding to a processing module).
- the OLT needs to send N ( N > 1 ) PLOAM messages in one downlink frame, and the maximum number of PLOAM messages sent to each ONU in one downlink frame is m ( m > 1 ).
- a register needs to be set in advance.
- the newly generated PLOAM message is directly placed in the PLOAM message queue.
- the GTC framing unit constructs the downlink frame, a total of N PLOAM messages are fetched from the register in the figure and the PLOAM message queue. If the consecutive PLOAM messages are not included in the continuous PLOAM message, the ONU-IDs of the N PLOAM messages are compared.
- the OLT fetches (qm) PLOAM messages from the same PLOAM message with the same ONU-ID into the register. Then, the OLT continues to fetch (qm) PLOAM messages from the PLOAM message queue (and/or register), and the PLOAM message fetched for the first time constitutes a PLOAM message group with N number of messages, if N PLOAM messages are not included Broadcasting the PLOAM message, the OLT compares the ONU-IDs of the N PLOAM messages in the manner described above, and repeats the above steps until the number of identical ONU-IDs in the extracted N PLOAM message groups is less than or equal to m.
- the GTC framing unit forms the N PLOAM messages into a downlink frame; if the GTC framing unit fetches a broadcast PLOAM message from the PLOAM message queue, if the OLT has already taken out part of the PLOAM message before broadcasting the PLOAM message, and in the partial PLOAM message If the number of the same ONU-ID is less than or equal to m, the GTC framing unit forms one or more PLOAM messages taken before the PLOAM message is broadcast into a downlink frame, and the broadcast PLOAM message is separately placed in the next downlink frame to form a downlink frame; The frame unit takes the first out of the PLOAM message queue The PLOAM message is a broadcast PLOAM message, and the broadcast PLOAM message is separately placed in the downlink frame to form a downlink frame.
- the framing unit may further include the following processing when forming a downlink frame: the framing unit sequentially extracts the PLOAM message from the PLOAM message queue, and if the continuous PNAM message is not included in the continuous PLOAM message, the GTC framing unit will use the N
- the PLOAM message constitutes a downlink frame; if the GTC framing unit sends another broadcast PLOAM message from the PLOAM message queue, the broadcast PLOAM message is previously extracted with the unicast PLOAM message (may also include: the unicast PLOAM taken out later)
- the message is sent to form a downlink frame, and the number of PLOAM messages to be sent to each lower layer network element needs to meet a condition that is less than or equal to the maximum number of PLOAM
- the OLT takes a total of N PLOAM messages from the register and the PLOAM message queue, and the priority order is:
- the OLT preferentially fetches all PLOAM messages from the register, and the number of all PLOAM messages in the register is less than N.
- the OLT continues to fetch PLOAM messages from the PLOAM message queue.
- the principle that the OLT takes out the PLOAM message sequence from the register is the principle of first-in first-out or the principle of first taking out the PLOAM message with the highest priority.
- FIG. 6 is a flowchart of a method for transmitting a PLOAM message according to an embodiment of the present invention.
- the method for transmitting a PLOAM message according to an embodiment of the present invention includes the following processing (step S601 - step S605): Step S601: The upper layer network element learns the PLOAM message that can be sent to the lower layer network element in one downlink frame.
- the number of PLOAM messages to be sent to each of the lower layer network elements in the PLOAM message is less than or equal to the maximum number m of PLOAM messages that the lower layer network element can process, N > 1 , m >0;
- Step S603 The upper layer network element obtains a PLOAM message according to the number of PLOAM messages, where the number of acquired PLOAM messages is less than or equal to the number N of PLOAM messages, and the number of acquired PLOAM messages corresponding to the same lower layer network element is smaller than
- the maximum number of PLOAM messages that can be processed by the lower layer network element is m, x > 0, a > 0.
- Step S605 The upper layer network element sends the acquired PLOAM message to the lower layer network element in a downlink frame.
- the number of PLOAM messages sent to the same lower layer network element in one downlink frame is less than or equal to the maximum number of PLOAM messages that the lower layer network element can process.
- the upper layer network element includes but is not limited to: an optical line terminal (OLT), and the lower layer network element includes but is not limited to: an optical network unit (ONU).
- the PLOAM message includes: a unicast PLOAM message, and/or a broadcast PLOAM message.
- step S603 the following process may be further included: the upper layer network element stores the generated unicast PLOAM message in a preset register corresponding to each lower layer network element, and stores the generated broadcast PLOAM message in the PLOAM message. In the queue. Then step 4 S603 can further include the following processing:
- the upper layer network element raises the unicast and unicast PLOAM message from the preset register corresponding to each lower layer network element.
- the upper layer network element is sequentially extracted from each lower layer by sequential or sequential loop extraction.
- the acquired PLOAM message is extracted from a preset register corresponding to the network element.
- the upper layer network element stores the extracted unicast PLOAM message in the PLOAM message queue
- the upper layer NE extracts the PLOAM message from the PLOAM message queue.
- the upper layer network element sends the acquired PLOAM message to the lower layer network element in a downlink frame, including one of the following:
- the upper layer network element sends the unicast PLOAM message extracted from the PLOAM message queue in one downlink frame; (2) The upper layer network element sends the unicast PLOAM message and one broadcast PLOAM message extracted from the PLOAM message queue in one downlink frame;
- the upper layer network element sends a broadcast PLOAM message extracted from the PLOAM message queue in a downlink frame.
- the foregoing three transmission modes can be referred to the descriptions in FIG. 3 to FIG. 5, and details are not described herein again.
- the following processing may also be included:
- the upper layer network element compares the generated PLOAM message with the identifier information of the lower layer network element corresponding to the PLOAM message in the PLOAM message queue; (2) determining whether there are m PLOAM messages in the PLOAM message queue according to the comparison result.
- the identifier information of the corresponding lower layer network element is consistent with the identifier information of the lower layer network element corresponding to the generated PLOAM message;
- step 4 S603 can further include the following processing:
- the upper layer network element compares whether the identification information of the lower layer network element corresponding to each PLOAM message in the first register and the PLOAM message in the PLOAM message queue is consistent;
- the first register is PLOAM messages with the same identification information of the lower layer network element corresponding to the p PLOAM messages are extracted and stored in the PLOAM message queue;
- step S603 the upper layer network element extracts the PLOAM message from the PLOAM message queue.
- the upper layer network element may also send the obtained PLOAM message by using one of the three methods mentioned above.
- the upper layer network element stores the generated PLOAM message in the PLOAM message queue.
- step 4 S603 can further include the following processing:
- the upper layer network element extracts the PLOAM message from the PLOAM message queue and/or the preset second register; in the specific implementation process, in the foregoing step (1), the upper layer network element is from the PLOAM message queue and/or the preset Extracting the acquired PLOAM message in the second register may include the following processing:
- the upper layer network element extracts some or all PLOAM messages from the second register, wherein the number of PLOAM messages extracted from the second register is r, r ⁇ X; (1.2) in the case of r ⁇ X The upper layer network element extracts (xr) PLOAM messages from the PLOAM message queue.
- the upper layer network element sequentially combines (qm) PLOAM messages extracted from the PLOAM message queue and/or the second register with the previously extracted PLOAM message to form N PLOAM messages until the determined N PLOAM messages are determined.
- the number q of PLOAM messages corresponding to the same lower layer network element is smaller than the maximum number m of the network element capable of processing PLOAM messages.
- the upper-layer NE can send the obtained PLOAM message in the following manner:
- the upper layer network element sends the unicast PLOAM message extracted from the PLOAM message queue and/or the second register in a downlink frame;
- the upper layer network element sends a broadcast PLOAM message extracted from the PLOAM message queue/or the second register in a downlink frame;
- the upper layer network element transmits the unicast PLOAM message and one or more broadcast PLOAM messages extracted from the PLOAM message queue and/or the second register in one downlink frame.
- the principle that the OLT takes out the PLOAM message sequence from the register is the principle of first-in first-out or the principle of first taking out the PLOAM message with the highest priority.
- the number of PLOAM messages sent to the same lower layer network element (for example, ONU) in one downlink frame is larger than the maximum PLOAM message that the lower layer network element can process.
- the number of problems can ensure that the number of PLOAM messages sent to the same lower layer network element in one downlink frame is less than or equal to the maximum number of PLOAM messages that the lower layer network element can process, which effectively improves the reliability of the system.
- the above modules or steps of the present invention can be implemented by a general-purpose computing device, which can be concentrated on a single computing device or distributed over a network composed of multiple computing devices.
- the computing device may be implemented by program code executable by the computing device, such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein.
- the steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps are fabricated as a single integrated circuit module.
- the invention is not limited to any specific combination of hardware and software.
- the above is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the scope of the present invention are intended to be included within the scope of the present invention.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The present invention discloses a method and an apparatus for transmitting physical layer operation, administration and maintenance (PLOAM) messages. In said method, an upper layer network element obtains the number 'N' of PLOAM messages which can be transmitted to a lower layer network element within a downlink frame; the upper layer network element obtains the PLOAM messages according to the number of PLOAM messages; the upper layer network element transmits the obtained PLOAM messages within the downlink frame to the lower layer network element. According to the technical schemes provided by the present invention, it is ensured that the number of the PLOAM messages transmitted to one lower layer network element within a downlink frame is less than or equal to the maximal number of the PLOAM messages which can be processed by the lower layer network element.
Description
PLOAM消息的发送方法^置 技术领域 本发明涉及通信领域,具体而言,涉及一种物理层操作管理维护( Physical layer Operations, Administration and Maintenance, 简称 PLOAM ) 消息的发送 方法及装置。 背景技术 吉比特无源光网络 ( Gigabit-Capable Passive Optical Network, 简称为 GPON )技术是无源光网络(PON )家族中一个重要的技术分支, 和其它 PON 技术类似, GPON也是一种釆用点到多点拓朴结构的无源光接入技术。 GPON由局侧的光线路终端 ( Optical Line Terminal, 简称为 OLT )、 用 户侧的光网络单元 (Optical Network Unit, 简称为 ONU ) 以及光分配网络 ( Optical Distribution Network , 简称为 ODN )组成, 通常釆用点到多点的网 络结构。 ODN由单模光纤、 光分路器、 光连接器等无源光器件组成, 为 OLT 和 ONU之间的物理连接提供光传输媒质。 为了实现 OLT对 ONU的部分管理功能, ITU-T的 G984.3标准定义了 物理层操作管理维护( PLOAM )通道, GPON利用 PLOAM通道传输 PLOAM 消息, 实现对传输汇聚层的管理, 包括 ONU激活, ONU管理控制通道的建 立,加密配置, 密钥管理等。在 GPON系统中, PLOAM消息在上行帧(ONU 发送给 OLT的帧) 和下行帧 ( OLT发送给 ONU的帧) 中传输, 每个下行帧 中包含一个 PLOAM消息, OLT决定上行帧中是否包含 PLOAM消息。 在基 于 GPON技术的下一代 PON系统中, 由于传输速率的提高, 并且一个 OLT 需要支持更多的 ONU, 因此, 希望在一个下行帧中发送多个 PLOAM消息。 同时, 考虑到 ONU对一个下行帧内 PLOAM消息的处理能力, 需要限制一 个下行帧内发送给同一个 ONU的 PLOAM消息的最大个数。在现有的 GPON 传输汇聚( GPON transmission converge , 简称为 GTC )层的成帧技术中, GTC 成帧模块直接从存放 PLOAM消息的队列中按照先进先出 ( FIFO )的原则取 出 PLOAM消息组成 GTC帧, 因而, 将上述成帧技术应用于基于 GPON技 术的下一代 PON 系统中时, 不能保证一个下行帧内发送给同一个 ONU 的 PLOAM消息的个数小于等于 ONU能够处理的最大 PLOAM消息个数。
发明内容 针对相关技术中不能保证一个下行帧内发送给同一个下层网元的 PLOAM消息的个数小于等于该下层网元能够处理的最大 PLOAM消息个数 的问题, 本发明提供了一种 PLOAM消息的发送方法及装置, 以解决上述问 题至少之一。 才艮据本发明的一个方面, 提供了一种 PLOAM消息的发送方法。 根据本发明的 PLOAM消息的发送方法包括: 上层网元获知在一个下行 帧中可发送至下层网元的 PLOAM消息的个数 N, 其中, PLOAM消息中待 发送至每个下层网元的 PLOAM消息的个数均小于等于该下层网元能够处理 PLOAM消息的最大个数 m, N > 1 , m > 0; 上层网元才艮据 PLOAM消息的个 数获耳又 PLOAM消息,其中,获取的 PLOAM消息的个数 x小于等于 PLOAM 消息的个数 N , 获取的对应同一个下层网元的 PLOAM消息的个数 a小于等 于该下层网元能够处理 PLOAM消息的最大个数 m, x > 0, a > 0; 上层网元 在一个下行帧中向下层网元发送获取的 PLOAM消息。 根据本发明的另一方面, 提供了一种 PLOAM消息的发送装置。 才艮据本发明的 PLOAM消息的发送装置包括: 获知单元, 用于获知在一 个下行帧中可发送至下层网元的 PLOAM消息的个数 N, 其中, PLOAM消 息中待发送至每个下层网元的 PLOAM消息的个数均小于等于该下层网元能 够处理 PLOAM消息的最大个数 m, N > l , m > 0;获取单元,用于才艮据 PLOAM 消息的个数获取 PLOAM消息, 其中, 获取的 PLOAM消息的个数 x小于等 于 PLOAM消息的个数 N , 获取的对应同一个下层网元的 PLOAM消息的个 数 a小于等于该下层网元能够处理 PLOAM消息的最大个数 m, x > 0, a > 0; 发送单元, 用于在一个下行帧中向下层网元发送获取的 PLOAM消息。 通过本发明, 上层网元根据可发送至下层网元的 PLOAM消息的个数获 取 PLOAM消息, 并发送至下层网元, 在考虑下层网元处理能力的前提下, 可以保证一个下行帧内发送给同一个下层网元的 PLOAM消息的个数小于等 于该 ONU能够处理的最大 PLOAM消息个数。
附图说明 此处所说明的附图用来提供对本发明的进一步理解, 构成本申请的一部 分, 本发明的示意性实施例及其说明用于解释本发明, 并不构成对本发明的 不当限定。 在附图中: 图 1是才艮据本发明实施例的 PLOAM消息的发送装置的结构框图; 图 2是才艮据本发明优选实施例的 PLOAM消息的发送装置的结构框图; 图 3是才艮据本发明实例一的 PLOAM消息的发送装置的结构框图; 图 4是才艮据本发明实例二的 PLOAM消息的发送装置的结构框图; 图 5是根据本发明实例三的 PLOAM消息的发送装置的结构框图; 图 6是根据本发明实施例的 PLOAM消息的发送方法的流程图。 具体实施方式 下文中将参考附图并结合实施例来详细说明本发明。 需要说明的是, 在 不冲突的情况下, 本申请中的实施例及实施例中的特征可以相互组合。 图 1是 居本发明实施例的 PLOAM消息的发送装置的结构框图。 如图 1所示, 才艮据本发明实施例的 PLOAM消息的发送装置包括: 获知单元 1、 获取单元 2、 发送单元 3。 获知单元 1 , 用于获知在一个下行帧中可发送至下层网元的 PLOAM消 息的个数 N, 其中, PLOAM消息中待发送至每个下层网元的 PLOAM消息 的个数均小于等于该下层网元能够处理 PLOAM消息的最大个数 m, N > 1 , m > 0; 获取单元 2 , 用于才艮据 PLOAM消息的个数获取 PLOAM消息, 其中, 获取的 PLOAM消息个数 X小于等于 PLOAM消息的个数 N , 获取的对应同 一个下层网元的 PLOAM 消息的个数 a 小于等于该下层网元能够处理 PLOAM消息的最大个数 m, x > 0, a > 0; 发送单元 3 , 用于在一个下行帧中向下层网元发送获耳又单元 2 获取的The present invention relates to the field of communications, and in particular to a method and apparatus for transmitting a Physical Layer Operations (Administration and Maintenance, PLOAM) message. BACKGROUND OF THE INVENTION Gigabit-Capable Passive Optical Network (GPON) technology is an important branch of the passive optical network (PON) family. Similar to other PON technologies, GPON is also an application point. Passive optical access technology to multi-point topology. GPON consists of an Optical Line Terminal (OLT) on the central office, an Optical Network Unit (ONU) on the user side, and an Optical Distribution Network (ODN). Use a point-to-multipoint network structure. The ODN consists of passive optical components such as single-mode fiber, optical splitter, and optical connector, providing an optical transmission medium for the physical connection between the OLT and the ONU. In order to realize the partial management function of the OLT to the ONU, the ITU-T G984.3 standard defines a physical layer operation management and maintenance (PLOAM) channel, and the GPON uses the PLOAM channel to transmit PLOAM messages to implement management of the transmission aggregation layer, including ONU activation. The ONU manages the establishment of control channels, encryption configuration, key management, and so on. In the GPON system, the PLOAM message is transmitted in an uplink frame (a frame sent by the ONU to the OLT) and a downlink frame (a frame sent by the OLT to the ONU), and each downlink frame includes a PLOAM message, and the OLT determines whether the uplink frame includes the PLOAM. Message. In the next-generation PON system based on GPON technology, it is desirable to transmit multiple PLOAM messages in one downlink frame due to an increase in transmission rate and an OLT that needs to support more ONUs. At the same time, considering the ONU's ability to process PLOAM messages in a downlink frame, it is necessary to limit the maximum number of PLOAM messages sent to the same ONU in one downlink frame. In the framing technology of the existing GPON transmission converge (GTC) layer, the GTC framing module directly extracts the PLOAM message from the queue storing PLOAM messages according to the principle of first in first out (FIFO) to form a GTC frame. Therefore, when the framing technique is applied to the next-generation PON system based on the GPON technology, the number of PLOAM messages transmitted to the same ONU in one downlink frame cannot be guaranteed to be less than or equal to the maximum number of PLOAM messages that the ONU can process. SUMMARY OF THE INVENTION The present invention provides a PLOAM message for the problem that the number of PLOAM messages transmitted to the same lower layer network element in one downlink frame cannot be equal to or less than the maximum number of PLOAM messages that the lower layer network element can process. The transmitting method and device are to solve at least one of the above problems. According to an aspect of the present invention, a method of transmitting a PLOAM message is provided. The method for transmitting a PLOAM message according to the present invention includes: the upper layer network element knows the number N of PLOAM messages that can be sent to the lower layer network element in a downlink frame, where the PLOAM message to be sent to each lower layer network element in the PLOAM message The number of the PLOAM messages is less than or equal to the maximum number of PLOAM messages that the lower layer network element can process, N > 1 , m >0; the upper layer network element obtains the PLOAM message according to the number of PLOAM messages, wherein the acquired PLOAM The number of messages x is less than or equal to the number N of PLOAM messages, and the number of PLOAM messages corresponding to the same lower layer network element is less than or equal to the maximum number of PLOAM messages that the lower layer network element can process, x > 0, a >0; The upper layer network element sends the acquired PLOAM message to the lower layer network element in a downlink frame. According to another aspect of the present invention, a transmitting apparatus of a PLOAM message is provided. The transmitting device of the PLOAM message according to the present invention includes: a learning unit, configured to learn the number N of PLOAM messages that can be sent to the lower layer network element in a downlink frame, where the PLOAM message is to be sent to each lower layer network. The number of the PLOAM messages of the element is less than or equal to the maximum number m of the PLOAM messages that the lower layer network element can process, N > l , m >0; the acquiring unit is configured to obtain the PLOAM message according to the number of PLOAM messages, where The number of the received PLOAM messages is less than or equal to the number N of the PLOAM messages. The number of PLOAM messages corresponding to the same lower layer network element is less than or equal to the maximum number of PLOAM messages that the lower layer network element can process. > 0, a >0; The sending unit is configured to send the acquired PLOAM message to the lower layer network element in a downlink frame. According to the present invention, the upper layer network element obtains the PLOAM message according to the number of PLOAM messages that can be sent to the lower layer network element, and sends the PLOAM message to the lower layer network element, and can ensure that one downlink frame is sent to the network element under consideration of the processing capability of the lower layer network element. The number of PLOAM messages of the same lower layer network element is less than or equal to the maximum number of PLOAM messages that the ONU can process. BRIEF DESCRIPTION OF THE DRAWINGS The accompanying drawings, which are set to illustrate,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, In the drawings: FIG. 1 is a structural block diagram of a transmitting apparatus of a PLOAM message according to an embodiment of the present invention; FIG. 2 is a structural block diagram of a transmitting apparatus of a PLOAM message according to a preferred embodiment of the present invention; BRIEF DESCRIPTION OF THE DRAWINGS FIG. 4 is a structural block diagram of a transmitting apparatus of a PLOAM message according to an example 2 of the present invention; FIG. 5 is a transmitting apparatus of a PLOAM message according to Example 3 of the present invention; FIG. 6 is a flowchart of a method for transmitting a PLOAM message according to an embodiment of the present invention. BEST MODE FOR CARRYING OUT THE INVENTION Hereinafter, the present invention will be described in detail with reference to the accompanying drawings. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict. 1 is a block diagram showing the structure of a transmitting apparatus of a PLOAM message according to an embodiment of the present invention. As shown in FIG. 1, the transmitting apparatus of the PLOAM message according to the embodiment of the present invention includes: a learning unit 1, an obtaining unit 2, and a sending unit 3. The learning unit 1 is configured to learn the number N of PLOAM messages that can be sent to the lower layer network element in a downlink frame, where the number of PLOAM messages to be sent to each lower layer network element in the PLOAM message is less than or equal to the lower layer. The network element can process the maximum number of PLOAM messages, m > 1 , m > 0. The acquiring unit 2 is configured to obtain a PLOAM message according to the number of PLOAM messages, where the number of acquired PLOAM messages is less than or equal to PLOAM. The number of messages N, the number of PLOAM messages corresponding to the same lower layer network element is less than or equal to the maximum number m of PLOAM messages that the lower layer network element can process, x > 0, a >0; Sending the ear to the lower layer network element in a downlink frame and acquiring the unit 2
PLOAM消息。
釆用上述装置发送 PLOAM消息, 在考虑下层网元(例如, ONU )处理 能力的前提下, 可以保证一个下行帧内发送给同一个下层网元的 PLOAM消 息的个数小于等于该下层网元能够处理的最大 PLOAM消息个数。 其中,上述 PLOAM消息包括: 单播 PLOAM消息,和 /或, 广播 PLOAM 消息。 优选地, 如图 2所示, 上述装置还可以包括: 第一存储单元 4 , 连接于 获知单元 1与获取单元 2之间, 用于将产生的单播 PLOAM消息存储在每个 下层网元对应的预设寄存器中,并将产生的广播 PLOAM消息存储在 PLOAM 消息队列中。 优选地, 如图 2所示, 上述获取单元 2可以包括: 第一提取模块 20 , 用 于在预设时间到达时, 从每个下层网元对应的预设寄存器中提取单播 PLOAM 消息; 第一存储模块 21 , 用于将提取的单播 PLOAM 消息存储在 PLOAM 消息队列中; 第二提取模块 22 , 用于从 PLOAM 消息队列中提取 PLOAM消息。 以下结合图 3对上述装置进行描述。图 3是才艮据本发明实例一的 PLOAM 消息的发送装置的结构框图。 如图 3所示, 才艮据本发明实例一的 PLOAM消 息的发送装置包括: PLOAM消息产生单元、 S个寄存器( S是与下层网元个 数相对应的数值)、定时器、提取单元(相当于第一提取模块、第一存储模块)、 PLOAM消息队列、 成帧单元 (相当于第二提取模块)。 OLT需要在一个下行帧内可以发送至下层网元的 N ( N > 1 ) 个 PLOAM 消息,在一个下行帧内给每个 ONU发送的 PLOAM消息的最大个数为 m ( m > 1 )。 在 OLT处, 预先为每个 ONU建立一个用于存放 PLOAM消息的寄存 哭 PLOAM message. The PLOAM message is sent by using the foregoing device, and the number of PLOAM messages sent to the same lower layer network element in one downlink frame is less than or equal to that of the lower layer network element, on the premise of considering the processing capability of the lower layer network element (for example, the ONU). The maximum number of PLOAM messages processed. The foregoing PLOAM message includes: a unicast PLOAM message, and/or a broadcast PLOAM message. Preferably, as shown in FIG. 2, the foregoing apparatus may further include: a first storage unit 4, connected between the learning unit 1 and the obtaining unit 2, configured to store the generated unicast PLOAM message in each lower layer network element. In the preset register, the generated broadcast PLOAM message is stored in the PLOAM message queue. Preferably, as shown in FIG. 2, the obtaining unit 2 may include: a first extraction module 20, configured to: when a preset time arrives, extract a unicast PLOAM message from a preset register corresponding to each lower layer network element; a storage module 21, configured to store the extracted unicast PLOAM message in the PLOAM message queue, and a second extraction module 22, configured to extract the PLOAM message from the PLOAM message queue. The above device will be described below in conjunction with FIG. Figure 3 is a block diagram showing the structure of a transmitting apparatus of a PLOAM message according to the first embodiment of the present invention. As shown in FIG. 3, the transmitting apparatus of the PLOAM message according to the first embodiment of the present invention includes: a PLOAM message generating unit, S registers (S is a value corresponding to the number of lower layer network elements), a timer, and an extracting unit ( It is equivalent to the first extraction module, the first storage module, the PLOAM message queue, and the framing unit (corresponding to the second extraction module). The OLT needs to send N ( N > 1 ) PLOAM messages to the lower layer NEs in one downlink frame, and the maximum number of PLOAM messages sent to each ONU in one downlink frame is m ( m > 1 ). At the OLT, a deposit for storing the PLOAM message is pre-established for each ONU.
PLOAM消息产生单元产生一个 PLOAM消息后, ^口果 jt匕 PLOAM消息 属于一个 ONU, 则 OLT将该 PLOAM消息存放在对应 ONU的寄存器中; 如 果此 PLOAM消息是一个广播 PLOAM消息,则 OLT将该 PLOAM消息直接 放到 PLOAM消息队列。 OLT处设置一个定时器和一个提取单元, 该定时器 设置的定时时间为 T (例如, Τ > 125μδ ), 当定时器溢出时, 该定时器从零开 始计时, 并且该定时器控制提取单元依次循环(或者依次)从对应各个 ONU 的部分寄存器中耳又出 L个 PLOAM消息放入到 PLOAM消息队列, 每个寄存
器中取出的 PLOAM消息个数小于等于 m。 成帧单元在组成一个下行帧时, 可以包括以下处理: 成帧单元从 PLOAM消息队列依次取出 PLOAM消息, 如果连续取出 N 个 PLOAM 消息中不包含广播 PLOAM 消息, 则 GTC成帧单元将这 N个 PLOAM消息组成下行帧;如果 GTC成帧单元从 PLOAM消息队列中耳又出一 个广播 PLOAM消息,如果在此广播 PLOAM消息之前 OLT已经取出了部分 PLOAM消息,则 GTC成帧单元将广播 PLOAM消息之前取出的一个或多个 PLOAM消息组成下行帧, 并^ 1该广播 PLOAM消息单独存放在下一个下行 帧内组成下行帧; 如果 GTC 成帧单元从 PLOAM 消息队列中取出第一个 PLOAM消息是一个广播 PLOAM消息, 则将该广播 PLOAM消息单独放在 下行帧内组成下行帧。 由上述过程可知,发送装置将从 PLOAM消息队列中提取的单播 PLOAM 消息在一个下行帧中发送;将从 PLOAM消息队列中提取的一个广播 PLOAM 消息单独在一个下行帧中发送。 成帧单元在组成一个下行帧时, 还可以包括以下处理: 成帧单元从 PLOAM消息队列依次取出 PLOAM消息, 如果连续取出 N 个 PLOAM 消息中不包含广播 PLOAM 消息, 则 GTC成帧单元将这 N个 PLOAM消息组成下行帧;如果 GTC成帧单元从 PLOAM消息队列中耳又出一 个广播 PLOAM消息, 则将该广播 PLOAM消息与之前取出的单播 PLOAM 消息 (还可以包括: 之后取出的单播 PLOAM消息) 组成一个下行帧进行发 送, 其中, 待发送至每个下层网元的 PLOAM消息个数, 需要满足小于等于 该下层网元能够处理 PLOAM消息的最大个数的条件。 由上述过程可知, 发送装置还可以将从 PLOAM消息队列中提取的单播 PLOAM消息和一个广播 PLOAM消息在一个下行帧中发送。 优选地, 上述装置还可以包括: 比较单元 5, 用于将产生的 PLOAM消 息与 PLOAM消息队列中的 PLOAM消息对应的下层网元的标识信息进行比 较; 判断单元 6 , 用于根据比较结果, 确定 PLOAM消息队列中是否存在 m 个 PLOAM消息对应的下层网元的标识信息与产生的 PLOAM消息对应的下 层网元的标识信息一致; 第二存储单元 7, 用于在判断单元输出为是的情况 下, 将产生的 PLOAM消息存储在预设的第一寄存器中, 在判断单元输出为
否的情况下, 将产生的 PLOAM消息存储在 PLOAM消息队列中。 则获取单元 2还可以包括: 比较模块 23 , 用于在预设时间到达时, 比较 第一寄存器中的各个 PLOAM消息和 PLOAM消息队列中的 PLOAM消息对 应的下层网元的标识信息是否一致; 第一判断模块 24 , 用于确定 PLOAM消 息队列中是否存在 p个 PLOAM消息与所述第一寄存器中 PLOAM消息的对 应的下层网元的标识信息相同, 其中, 0 < p < m; 第二存储模块 25 , 用于在 第一判断模块输出为是的情况下, 将第一寄存器中与所述 p个 PLOAM消息 对应的下层网元的标识信息相同的 PLOAM消息提取并存放至 PLOAM消息 队列中, 其中, 存放后的 PLOAM消息队列中的标识相同的 PLOAM消息个 数小于等于 m; 第三提取模块 26 , 用于从 PLOAM消息队列中提取 PLOAM 消息。 以下结合图 4对上述装置进行描述,图 4是才艮据本发明实例二的 PLOAM 消息的发送装置的结构框图。 如图 4所示, 才艮据本发明实例二的 PLOAM消 息的发送装置包括: PLOAM 消息产生单元、 比较单元、 寄存器 (相当于前 面提到的第一寄存器)、 提取比较单元(相当于前面提到的比较模块、 第一判 断模块、 第二存储模块)、 定时器、 PLOAM消息队列、 成帧单元(相当于前 面提到的第三提取模块)。 After the PLOAM message generating unit generates a PLOAM message, the OLT reports that the PLOAM message belongs to an ONU, and the OLT stores the PLOAM message in a register of the corresponding ONU. If the PLOAM message is a broadcast PLOAM message, the OLT will PLOAM the PLOAM message. The message is placed directly into the PLOAM message queue. A timer and an extracting unit are set at the OLT. The timer is set to a timing time of T (for example, Τ > 125μ δ ). When the timer overflows, the timer starts from zero, and the timer controls the extracting unit. Cycling (or sequentially) from the partial register corresponding to each ONU, and then placing L PLOAM messages into the PLOAM message queue, each registration The number of PLOAM messages retrieved in the device is less than or equal to m. The framing unit may include the following processing when forming a downlink frame: the framing unit sequentially fetches the PLOAM message from the PLOAM message queue, and if the consecutive PNAM messages are not included in the continuous PLOAM message, the GTC framing unit sets the N The PLOAM message constitutes a downlink frame; if the GTC framing unit sends another broadcast PLOAM message from the PLOAM message queue, if the OLT has already taken out part of the PLOAM message before broadcasting the PLOAM message, the GTC framing unit will fetch the PLOAM message before the broadcast the composition of the one or more downlink frames PLOAM message, and the broadcast ^ 1 PLOAM message stored separately next downlink frame composed of a downlink frame; GTC framing unit if removed from the first PLOAM message PLOAM message queue is a broadcast message PLOAM Then, the broadcast PLOAM message is separately placed in the downlink frame to form a downlink frame. It can be seen from the above process that the transmitting device transmits the unicast PLOAM message extracted from the PLOAM message queue in one downlink frame; and one broadcast PLOAM message extracted from the PLOAM message queue is separately transmitted in one downlink frame. The framing unit may further include the following processing when forming a downlink frame: the framing unit sequentially extracts the PLOAM message from the PLOAM message queue, and if the continuous PNAM message is not included in the continuous PLOAM message, the GTC framing unit will use the N The PLOAM message constitutes a downlink frame; if the GTC framing unit sends another broadcast PLOAM message from the PLOAM message queue, the broadcast PLOAM message is previously extracted with the unicast PLOAM message (may also include: the unicast PLOAM taken out later) The message is sent to form a downlink frame, and the number of PLOAM messages to be sent to each lower layer network element needs to meet a condition that is less than or equal to the maximum number of PLOAM messages that the lower layer network element can process. It can be seen from the above process that the transmitting device can also send the unicast PLOAM message and the one broadcast PLOAM message extracted from the PLOAM message queue in one downlink frame. Preferably, the foregoing apparatus may further include: a comparing unit 5, configured to compare the generated PLOAM message with the identifier information of the lower layer network element corresponding to the PLOAM message in the PLOAM message queue; the determining unit 6 is configured to determine, according to the comparison result, Whether the identifier information of the lower layer network element corresponding to the m PLOAM message is consistent with the identifier information of the lower layer network element corresponding to the generated PLOAM message in the PLOAM message queue; the second storage unit 7 is configured to be used when the output of the determining unit is YES. , the generated PLOAM message is stored in the preset first register, and the output of the determining unit is In the case of no, the generated PLOAM message is stored in the PLOAM message queue. The obtaining unit 2 may further include: a comparing module 23, configured to: compare, when the preset time arrives, compare whether the identifier information of the lower layer network element corresponding to the PLOAM message in the first register and the PLOAM message queue in the PLOAM message queue are consistent; a determining module 24, configured to determine whether there are p PLOAM messages in the PLOAM message queue and the same lower layer network element identification information of the PLOAM message in the first register, where 0 < p <m; the second storage module The PLOAM message with the same identifier information of the lower layer network element corresponding to the p PLOAM messages in the first register is extracted and stored in the PLOAM message queue, where the output of the first judgment module is YES. The number of PLOAM messages with the same identifier in the PLOAM message queue is less than or equal to m. The third extraction module 26 is configured to extract a PLOAM message from the PLOAM message queue. The above apparatus will be described below with reference to Fig. 4. Fig. 4 is a block diagram showing the structure of a transmitting apparatus of a PLOAM message according to the second embodiment of the present invention. As shown in FIG. 4, the transmitting apparatus of the PLOAM message according to the second embodiment of the present invention includes: a PLOAM message generating unit, a comparing unit, a register (corresponding to the aforementioned first register), and an extracting comparing unit (equivalent to the foregoing The comparison module, the first judgment module, the second storage module, the timer, the PLOAM message queue, and the framing unit (corresponding to the aforementioned third extraction module).
OLT需要在一个下行帧内发送 N ( N > 1 )个 PLOAM消息, 在一个下行 帧内给每个 ONU发送的 PLOAM消息的最大个数为 m ( m > 1 )。 在 OLT处, 需要预先设置一个寄存器。 在 OLT处, PLOAM消息产生单元产生一个 PLOAM后, 通过比较单元 比较新产生的 PLOAM的 ONU-ID和 PLOAM消息队列中的所有 PLOAM消 息的 ONU-ID, 如果 PLOAM消息队列中存在 m个 PLOAM消息的 ONU-ID 和新产生的 PLOAM的 ONU-ID相同,则 OLT将新产生的 PLOAM消息存储 到一个位于 PLOAM 消息队列输入端的寄存器中, 否则, OLT 将新产生的 PLOAM消息放到 PLOAM消息队列中。 OLT处设置一个定时器和一个提取 比较单元, 定时器的定时时间为 Τ ( Τ > 125μδ ), 当定时器溢出时, 定时器 从零开始计时, 并且定时器控制提取比较单元比较寄存器中的 PLOAM消息 的 ONU-ID和 PLOAM消息队列中的 PLOAM消息的 ONU-ID,如果 PLOAM 消息队列中的 ONU-ID 相同的个数小于 m, 则提取比较单元将寄存器中的 PLOAM消息存放到 PLOAM消息队列中, 否则, 寄存器中的 PLOAM消息 仍保存在寄存器中。
成帧单元在组成一个下行帧时, 可以包括以下处理: 在 OLT处, 成帧单元在组成一个下行帧时, 从 PLOAM消息队列依次取 出 PLOAM消息,如果连续取出 N个 PLOAM消息中不包含广播 PLOAM消 息, 则 GTC成帧单元将这 N个 PLOAM消息组成下行帧; 如果 GTC成帧单 元从 PLOAM消息队列中取出一个广播 PLOAM消息,如果在此广播 PLOAM 消息之前 OLT 已经取出了部分 PLOAM 消息, 则 GTC 成帧单元^ 1广播 PLOAM 消息之前耳又出的一个或多个 PLOAM 消息组成下行帧, 并将广播 PLOAM 消息单独放在下一个下行帧内组成下行帧; 如果 GTC 成帧单元从 PLOAM消息队列中取出第一个 PLOAM消息是一个广播 PLOAM消息, 则 将广播 PLOAM消息单独放在下行帧内组成下行帧。 其中, 上述提取比较单元从寄存器中取出 PLOAM消息顺序的原则是: 先进先出原则或者首先取出优先级最高的 PLOAM消息的原则。 由上述过程可知,发送装置将从 PLOAM消息队列中提取的单播 PLOAM 消息在一个下行帧中发送;将从 PLOAM消息队列中提取的一个广播 PLOAM 消息单独在一个下行帧中发送。 成帧单元在组成一个下行帧时, 还可以包括以下处理: 成帧单元从 PLOAM消息队列依次取出 PLOAM消息, 如果连续取出 N 个 PLOAM 消息中不包含广播 PLOAM 消息, 则 GTC成帧单元将这 N个 PLOAM消息组成下行帧;如果 GTC成帧单元从 PLOAM消息队列中耳又出一 个广播 PLOAM消息, 则将该广播 PLOAM消息与之前取出的单播 PLOAM 消息 (还可以包括: 之后取出的单播 PLOAM消息) 组成一个下行帧进行发 送, 其中, 待发送至每个下层网元的 PLOAM消息个数, 需要满足小于等于 该下层网元能够处理 PLOAM消息的最大个数的条件。 由上述过程可知, 发送装置还可以将从 PLOAM消息队列中提取的单播 PLOAM消息和一个广播 PLOAM消息在一个下行帧中发送。 优选地, 如图 2所示, 上述发送装置还可以包括: 第三存储单元 8 , 用 于将产生的 PLOAM消息存储在 PLOAM消息队列中。 则获取单元 2还可以包括: 第四提取模块 27, 用于从预设的第二寄存器 和 PLOAM消息队列中, 或者, 从第二寄存器中, 提取 PLOAM消息; 第二
判断模块 28 ,用于在提取的 PLOAM消息中不包含广播 PLOAM消息的情况 下, 确定对应同一个下层网元的 PLOAM消息个数 q是否均小于该网元能够 处理 PLOAM消息的最大个数 m; 第三存储模块 29 , 用于在第二判断模块输 出为否的情况下, 将 ( q-m ) 个 PLOAM 消息存储至第二寄存器中; 处理模 块 30 , 用于依次将从 PLOAM消息队列和 /或第二寄存器中提取的 ( q-m ) 个 PLOAM消息与前一次提取的 PLOAM消息共同组成 N个 PLOAM消息, 直 至确定组成的 N个 PLOAM消息中对应同一个下层网元的 PLOAM消息个数 q均小于该网元能够处理 PLOAM消息的最大个数 m。 The OLT needs to send N ( N > 1 ) PLOAM messages in one downlink frame, and the maximum number of PLOAM messages sent to each ONU in one downlink frame is m ( m > 1 ). At the OLT, a register needs to be set in advance. At the OLT, after the PLOAM message generating unit generates a PLOAM, the ONU-ID of the newly generated PLOAM and the ONU-ID of all PLOAM messages in the PLOAM message queue are compared by the comparing unit, if there are m PLOAM messages in the PLOAM message queue. The ONU-ID is the same as the ONU-ID of the newly generated PLOAM, and the OLT stores the newly generated PLOAM message in a register at the input of the PLOAM message queue. Otherwise, the OLT puts the newly generated PLOAM message into the PLOAM message queue. A timer and an extraction comparison unit are set at the OLT. The timer has a timing of Τ ( Τ > 125μ δ ). When the timer overflows, the timer starts from zero, and the timer controls the comparison unit in the compare register. The ONU-ID of the PLOAM message and the ONU-ID of the PLOAM message in the PLOAM message queue. If the number of ONU-IDs in the PLOAM message queue is less than m, the extraction comparison unit stores the PLOAM message in the register to the PLOAM message queue. Otherwise, the PLOAM message in the register is still stored in the register. The framing unit may include the following processing when forming a downlink frame: At the OLT, the framing unit sequentially extracts the PLOAM message from the PLOAM message queue when forming a downlink frame, and does not include the broadcast PLOAM if the N PLOAM messages are continuously fetched. Message, the GTC framing unit forms the N PLOAM messages into a downlink frame; if the GTC framing unit fetches a broadcast PLOAM message from the PLOAM message queue, if the OLT has already taken out part of the PLOAM message before broadcasting the PLOAM message, then the GTC The framing unit ^ 1 broadcasts the PLOAM message before the one or more PLOAM messages form a downlink frame, and the broadcast PLOAM message is separately placed in the next downlink frame to form a downlink frame; if the GTC framing unit is taken out from the PLOAM message queue The first PLOAM message is a broadcast PLOAM message, and the broadcast PLOAM message is separately placed in the downlink frame to form a downlink frame. The principle that the above-mentioned extraction comparison unit takes out the PLOAM message sequence from the register is: the principle of first-in first-out or the principle of first taking out the PLOAM message with the highest priority. It can be seen from the above process that the transmitting device transmits the unicast PLOAM message extracted from the PLOAM message queue in one downlink frame; and one broadcast PLOAM message extracted from the PLOAM message queue is separately transmitted in one downlink frame. The framing unit may further include the following processing when forming a downlink frame: the framing unit sequentially extracts the PLOAM message from the PLOAM message queue, and if the continuous PNAM message is not included in the continuous PLOAM message, the GTC framing unit will use the N The PLOAM message constitutes a downlink frame; if the GTC framing unit sends another broadcast PLOAM message from the PLOAM message queue, the broadcast PLOAM message is previously extracted with the unicast PLOAM message (may also include: the unicast PLOAM taken out later) The message is sent to form a downlink frame, and the number of PLOAM messages to be sent to each lower layer network element needs to meet a condition that is less than or equal to the maximum number of PLOAM messages that the lower layer network element can process. It can be seen from the above process that the transmitting device can also send the unicast PLOAM message and the one broadcast PLOAM message extracted from the PLOAM message queue in one downlink frame. Preferably, as shown in FIG. 2, the foregoing sending apparatus may further include: a third storage unit 8 configured to store the generated PLOAM message in a PLOAM message queue. The obtaining unit 2 may further include: a fourth extracting module 27, configured to extract a PLOAM message from the preset second register and the PLOAM message queue, or from the second register; The determining module 28 is configured to determine, in the case that the extracted PLOAM message does not include the broadcast PLOAM message, whether the number q of PLOAM messages corresponding to the same lower layer network element is smaller than the maximum number m of the PLOAM messages that the network element can process; The third storage module 29 is configured to store (qm) PLOAM messages into the second register if the output of the second determining module is negative; the processing module 30 is configured to sequentially sequence from the PLOAM message and/or The (qm) PLOAM messages extracted from the two registers together with the previously extracted PLOAM messages form N PLOAM messages, until the number of PLOAM messages corresponding to the same lower layer network element in the N PLOAM messages is determined to be smaller than the network. The meta can handle the maximum number m of PLOAM messages.
以下结合图 5进行描述, 图 5是才艮据本发明实例三的 PLOAM消息的发 送装置的结构框图。 如图 5所示, 才艮据本发明实例三的 PLOAM消息的发送 装置包括: PLOAM 消息产生单元、 PLOAM 消息队列、 寄存器 (相当于第 二寄存器)、 成帧单元 (相当于处理模块)。 The following is described in conjunction with Fig. 5, which is a block diagram showing the structure of a transmitting apparatus for a PLOAM message according to the third embodiment of the present invention. As shown in FIG. 5, the transmitting apparatus of the PLOAM message according to the third embodiment of the present invention includes: a PLOAM message generating unit, a PLOAM message queue, a register (corresponding to a second register), and a framing unit (corresponding to a processing module).
OLT需要在一个下行帧内发送 N ( N > 1 )个 PLOAM消息, 在一个下行 帧内给每个 ONU发送的 PLOAM消息的最大个数为 m ( m > 1 )。 在 OLT处, 需要预先设置一个寄存器。 在 OLT处, 产生一个 PLOAM消息后, 直接将新产生的 PLOAM消息放 到 PLOAM消息队列中。 GTC成帧单元在构建下行帧时, 从图中的寄存器和 PLOAM消息队列中共取出 N个 PLOAM消息, 如果连续取出 N个 PLOAM 消息中不包含广播 PLOAM消息, 则比较 N个 PLOAM消息的 ONU-ID , 如 果某个相同的 ONU-ID的个数为 q, 且 q大于 m, 则 OLT从 q个 ONU-ID相 同的 PLOAM消息中取出 ( q-m )个 PLOAM消息存储到该寄存器中。 然后, OLT继续从 PLOAM消息队列 (和 /或寄存器) 中取出 ( q-m ) 个 PLOAM消 息, 和第一次取出的 PLOAM消息组成消息个数为 N的 PLOAM消息组, 如 果 N个 PLOAM消息中不包含广播 PLOAM消息, OLT按照上述方式比较 N 个 PLOAM消息的 ONU-ID, 重复上述步骤, 直到取出的 N个 PLOAM消息 组中的相同 ONU-ID数小于等于 m。 The OLT needs to send N ( N > 1 ) PLOAM messages in one downlink frame, and the maximum number of PLOAM messages sent to each ONU in one downlink frame is m ( m > 1 ). At the OLT, a register needs to be set in advance. At the OLT, after a PLOAM message is generated, the newly generated PLOAM message is directly placed in the PLOAM message queue. When the GTC framing unit constructs the downlink frame, a total of N PLOAM messages are fetched from the register in the figure and the PLOAM message queue. If the consecutive PLOAM messages are not included in the continuous PLOAM message, the ONU-IDs of the N PLOAM messages are compared. If the number of the same ONU-ID is q, and q is greater than m, the OLT fetches (qm) PLOAM messages from the same PLOAM message with the same ONU-ID into the register. Then, the OLT continues to fetch (qm) PLOAM messages from the PLOAM message queue (and/or register), and the PLOAM message fetched for the first time constitutes a PLOAM message group with N number of messages, if N PLOAM messages are not included Broadcasting the PLOAM message, the OLT compares the ONU-IDs of the N PLOAM messages in the manner described above, and repeats the above steps until the number of identical ONU-IDs in the extracted N PLOAM message groups is less than or equal to m.
GTC成帧单元将这 N个 PLOAM消息组成下行帧; 如果 GTC成帧单元 从 PLOAM消息队列中取出一个广播 PLOAM消息, 如果在此广播 PLOAM 消息之前 OLT已经取出了部分 PLOAM消息,并且部分 PLOAM消息中相同 ONU-ID数小于等于 m,则 GTC成帧单元将广播 PLOAM消息之前取出的一 个或多个 PLOAM消息组成下行帧, 并将广播 PLOAM消息单独放在下一个 下行帧内组成下行帧; 如果 GTC成帧单元从 PLOAM消息队列中取出第一
个 PLOAM消息是一个广播 PLOAM消息, 则将广播 PLOAM消息单独放在 下行帧内组成下行帧。 由上述过程可知,发送装置将从 PLOAM消息队列中提取的单播 PLOAM 消息在一个下行帧中发送;将从 PLOAM消息队列中提取的一个广播 PLOAM 消息单独在一个下行帧中发送。 成帧单元在组成一个下行帧时, 还可以包括以下处理: 成帧单元从 PLOAM消息队列依次取出 PLOAM消息, 如果连续取出 N 个 PLOAM 消息中不包含广播 PLOAM 消息, 则 GTC成帧单元将这 N个 PLOAM消息组成下行帧;如果 GTC成帧单元从 PLOAM消息队列中耳又出一 个广播 PLOAM消息, 则将该广播 PLOAM消息与之前取出的单播 PLOAM 消息 (还可以包括: 之后取出的单播 PLOAM消息) 组成一个下行帧进行发 送, 其中, 待发送至每个下层网元的 PLOAM消息个数, 需要满足小于等于 该下层网元能够处理 PLOAM消息的最大个数的条件。 优选地, 在上述过程中, OLT从寄存器和 PLOAM消息队列中共取出 N 个 PLOAM消息, 其优先顺序为: OLT优先从寄存器中取出全部 PLOAM消 息, 在寄存器中的全部 PLOAM 消息个数小于 N 的情况下, OLT 继续从 PLOAM消息队列中取出 PLOAM消息。 在上述过程中, OLT从寄存器中取出 PLOAM消息顺序的原则为先进先 出原则或者首先取出优先级最高的 PLOAM消息的原则。 通过上述三个实例提供的装置, 在发送 PLOAM消息时, 均可以保证一 个下行帧内发送给同一个下层网元的 PLOAM消息的个数小于等于该下层网 元能够处理的最大 PLOAM消息个数。 图 6是根据本发明实施例的 PLOAM消息的发送方法的流程图。 如图 6 所示, 根据本发明实施例的 PLOAM 消息的发送方法包括以下处理 (步骤 S601-步骤 S605 ): 步骤 S601 : 上层网元获知在一个下行帧中可发送至下层网元的 PLOAM 消息的个数 N , 其中, PLOAM消息中待发送至每个下层网元的 PLOAM消 息的个数均小于等于该下层网元能够处理 PLOAM消息的最大个数 m , N > 1 , m > 0;
步骤 S603:上层网元根据 PLOAM消息的个数获取 PLOAM消息,其中, 获取的 PLOAM消息个数 X小于等于 PLOAM消息的个数 N , 获取的对应同 一个下层网元的 PLOAM 消息的个数 a 小于等于该下层网元能够处理 PLOAM消息的最大个数 m, x > 0, a > 0; 步骤 S605:上层网元在一个下行帧中向下层网元发送获取的 PLOAM消 息。 釆用上述方法, 在一个下行帧中发送多个 PLOAM消息时, 可以保证一 个下行帧内发送给同一个下层网元的 PLOAM消息的个数小于等于该下层网 元能够处理的最大 PLOAM消息个数。 其中, 上层网元包括但不限于: 光线路终端(OLT ), 下层网元包括但不 限于: 光网络单元 (ONU )。 其中, PLOAM消息包括: 单播 PLOAM消息, 和 /或, 广播 PLOAM消 息。 优选地, 在执行步骤 S603 之前, 还可以包括以下处理: 上层网元将产 生的单播 PLOAM消息存储在每个下层网元对应的预设寄存器中, 并将产生 的广播 PLOAM消息存储在 PLOAM消息队列中。 则步 4聚 S603可以进一步包括以下处理: The GTC framing unit forms the N PLOAM messages into a downlink frame; if the GTC framing unit fetches a broadcast PLOAM message from the PLOAM message queue, if the OLT has already taken out part of the PLOAM message before broadcasting the PLOAM message, and in the partial PLOAM message If the number of the same ONU-ID is less than or equal to m, the GTC framing unit forms one or more PLOAM messages taken before the PLOAM message is broadcast into a downlink frame, and the broadcast PLOAM message is separately placed in the next downlink frame to form a downlink frame; The frame unit takes the first out of the PLOAM message queue The PLOAM message is a broadcast PLOAM message, and the broadcast PLOAM message is separately placed in the downlink frame to form a downlink frame. It can be seen from the above process that the transmitting device transmits the unicast PLOAM message extracted from the PLOAM message queue in one downlink frame; and one broadcast PLOAM message extracted from the PLOAM message queue is separately transmitted in one downlink frame. The framing unit may further include the following processing when forming a downlink frame: the framing unit sequentially extracts the PLOAM message from the PLOAM message queue, and if the continuous PNAM message is not included in the continuous PLOAM message, the GTC framing unit will use the N The PLOAM message constitutes a downlink frame; if the GTC framing unit sends another broadcast PLOAM message from the PLOAM message queue, the broadcast PLOAM message is previously extracted with the unicast PLOAM message (may also include: the unicast PLOAM taken out later) The message is sent to form a downlink frame, and the number of PLOAM messages to be sent to each lower layer network element needs to meet a condition that is less than or equal to the maximum number of PLOAM messages that the lower layer network element can process. Preferably, in the foregoing process, the OLT takes a total of N PLOAM messages from the register and the PLOAM message queue, and the priority order is: The OLT preferentially fetches all PLOAM messages from the register, and the number of all PLOAM messages in the register is less than N. Next, the OLT continues to fetch PLOAM messages from the PLOAM message queue. In the above process, the principle that the OLT takes out the PLOAM message sequence from the register is the principle of first-in first-out or the principle of first taking out the PLOAM message with the highest priority. The device provided by the foregoing three examples can ensure that the number of PLOAM messages sent to the same lower layer network element in one downlink frame is less than or equal to the maximum number of PLOAM messages that the lower layer network element can process when transmitting the PLOAM message. FIG. 6 is a flowchart of a method for transmitting a PLOAM message according to an embodiment of the present invention. As shown in FIG. 6, the method for transmitting a PLOAM message according to an embodiment of the present invention includes the following processing (step S601 - step S605): Step S601: The upper layer network element learns the PLOAM message that can be sent to the lower layer network element in one downlink frame. The number of PLOAM messages to be sent to each of the lower layer network elements in the PLOAM message is less than or equal to the maximum number m of PLOAM messages that the lower layer network element can process, N > 1 , m >0; Step S603: The upper layer network element obtains a PLOAM message according to the number of PLOAM messages, where the number of acquired PLOAM messages is less than or equal to the number N of PLOAM messages, and the number of acquired PLOAM messages corresponding to the same lower layer network element is smaller than The maximum number of PLOAM messages that can be processed by the lower layer network element is m, x > 0, a > 0. Step S605: The upper layer network element sends the acquired PLOAM message to the lower layer network element in a downlink frame. In the above method, when multiple PLOAM messages are sent in one downlink frame, the number of PLOAM messages sent to the same lower layer network element in one downlink frame is less than or equal to the maximum number of PLOAM messages that the lower layer network element can process. . The upper layer network element includes but is not limited to: an optical line terminal (OLT), and the lower layer network element includes but is not limited to: an optical network unit (ONU). The PLOAM message includes: a unicast PLOAM message, and/or a broadcast PLOAM message. Preferably, before performing step S603, the following process may be further included: the upper layer network element stores the generated unicast PLOAM message in a preset register corresponding to each lower layer network element, and stores the generated broadcast PLOAM message in the PLOAM message. In the queue. Then step 4 S603 can further include the following processing:
( 1 ) 在预设时间到达时, 上层网元从每个下层网元对应的预设寄存器 中提耳又单播 PLOAM消息; 优选地, 上层网元通过依次或依次循环提取方式从每个下层网元对应的 预设寄存器中提取获取的 PLOAM消息。 (1) When the preset time arrives, the upper layer network element raises the unicast and unicast PLOAM message from the preset register corresponding to each lower layer network element. Preferably, the upper layer network element is sequentially extracted from each lower layer by sequential or sequential loop extraction. The acquired PLOAM message is extracted from a preset register corresponding to the network element.
( 2 )上层网元将提取的单播 PLOAM消息存储在 PLOAM消息队列中; (2) The upper layer network element stores the extracted unicast PLOAM message in the PLOAM message queue;
( 3 ) 上层网元从 PLOAM消息队列中提取 PLOAM消息。 在具体实施过程中, 上层网元在一个下行帧中向下层网元发送获取的 PLOAM消息包括以下之一: (3) The upper layer NE extracts the PLOAM message from the PLOAM message queue. In a specific implementation process, the upper layer network element sends the acquired PLOAM message to the lower layer network element in a downlink frame, including one of the following:
( 1 ) 上层网元将从 PLOAM消息队列中提取的单播 PLOAM消息在一 个下行帧中发送;
( 2 ) 上层网元将从 PLOAM消息队列中提取的单播 PLOAM消息和一 个广播 PLOAM消息在一个下行帧中发送; (1) The upper layer network element sends the unicast PLOAM message extracted from the PLOAM message queue in one downlink frame; (2) The upper layer network element sends the unicast PLOAM message and one broadcast PLOAM message extracted from the PLOAM message queue in one downlink frame;
( 3 ) 上层网元将从 PLOAM消息队列中提取的一个广播 PLOAM消息 在一个下行帧中发送。 在具体实施过程中, 上述三种发送方式可以参见图 3至图 5中的描述, 此处不再赘述。 优选地, 在执行步骤 S603之前, 还可以包括以下处理: (3) The upper layer network element sends a broadcast PLOAM message extracted from the PLOAM message queue in a downlink frame. In the specific implementation process, the foregoing three transmission modes can be referred to the descriptions in FIG. 3 to FIG. 5, and details are not described herein again. Preferably, before performing step S603, the following processing may also be included:
( 1 )上层网元将产生的 PLOAM消息与 PLOAM消息队列中的 PLOAM 消息对应的下层网元的标识信息进行比较; ( 2 )才艮据比较结果, 确定 PLOAM消息队列中是否存在 m个 PLOAM 消息对应的下层网元的标识信息与产生的 PLOAM消息对应的下层网元的标 识信息一致; (1) The upper layer network element compares the generated PLOAM message with the identifier information of the lower layer network element corresponding to the PLOAM message in the PLOAM message queue; (2) determining whether there are m PLOAM messages in the PLOAM message queue according to the comparison result. The identifier information of the corresponding lower layer network element is consistent with the identifier information of the lower layer network element corresponding to the generated PLOAM message;
( 3 ) 如果是, 则将产生的 PLOAM消息存储在预设的第一寄存器中; (3) If yes, the generated PLOAM message is stored in a preset first register;
( 4 ) 否则, 则将产生的 PLOAM消息存储在 PLOAM消息队列中。 则步 4聚 S603可以进一步包括以下处理: (4) Otherwise, the generated PLOAM message is stored in the PLOAM message queue. Then step 4 S603 can further include the following processing:
( 1 ) 在预设时间到达时, 上层网元比较第一寄存器中各个 PLOAM 消 息和 PLOAM消息队列中的 PLOAM消息对应的下层网元的标识信息是否一 致; (1) When the preset time arrives, the upper layer network element compares whether the identification information of the lower layer network element corresponding to each PLOAM message in the first register and the PLOAM message in the PLOAM message queue is consistent;
( 2 ) 如果所述 PLOAM消息队列中存在 p个 PLOAM消息与所述第一 寄存器中 PLOAM消息的对应的下层网元的标识信息相同, 其中, 0 < p < m, 则将所述第一寄存器中与所述 p个 PLOAM消息对应的下层网元的标识信息 相同的 PLOAM消息提取并存放至所述 PLOAM消息队列中; (2) if there are p PLOAM messages in the PLOAM message queue and the same identification information of the corresponding lower layer network element of the PLOAM message in the first register, where 0 < p < m, the first register is PLOAM messages with the same identification information of the lower layer network element corresponding to the p PLOAM messages are extracted and stored in the PLOAM message queue;
( 3 ) 上层网元从所述 PLOAM消息队列中提取 PLOAM消息。 在具体实施过程中, 上层网元也可以通过上面提到的三种方式之一发送 上述获取的 PLOAM消息。
优选地, 在执行步骤 S603 之前, 还可以包括以下处理: 上层网元将产 生的 PLOAM消息存储在 PLOAM消息队列中。 则步 4聚 S603可以进一步包括以下处理: (3) The upper layer network element extracts the PLOAM message from the PLOAM message queue. In the specific implementation process, the upper layer network element may also send the obtained PLOAM message by using one of the three methods mentioned above. Preferably, before performing step S603, the following processing may be further included: the upper layer network element stores the generated PLOAM message in the PLOAM message queue. Then step 4 S603 can further include the following processing:
( 1 ) 上层网元从 PLOAM 消息队列和 /或预设的第二寄存器中提取 PLOAM消息; 在具体实施过程中, 上述步骤 ( 1 ) 中, 上层网元从 PLOAM 消息队列 和 /或预设的第二寄存器中提取获取的 PLOAM消息可以包括以下处理: (1) The upper layer network element extracts the PLOAM message from the PLOAM message queue and/or the preset second register; in the specific implementation process, in the foregoing step (1), the upper layer network element is from the PLOAM message queue and/or the preset Extracting the acquired PLOAM message in the second register may include the following processing:
( 1.1 ) 上层网元从第二寄存器中提取部分或全部 PLOAM消息, 其中, 从第二寄存器中提取的 PLOAM消息的个数为 r个, r < X; ( 1.2 ) 在 r < X的情况下, 上层网元从 PLOAM消息队列中提取 ( x-r ) 个 PLOAM消息。 (1.1) The upper layer network element extracts some or all PLOAM messages from the second register, wherein the number of PLOAM messages extracted from the second register is r, r < X; (1.2) in the case of r < X The upper layer network element extracts (xr) PLOAM messages from the PLOAM message queue.
( 2 ) 在提耳又的 PLOAM消息中不包含广播 PLOAM消息的情况下, 确 定对应同一个下层网元的 PLOAM消息的个数 q是否均小于该网元能够处理 PLOAM消息的最大个数 m; ( 3 ) 如果否, 则将 ( q-m ) 个 PLOAM消息存储至第二寄存器中; (2) In the case that the broadcast PLOAM message is not included in the PLOAM message, it is determined whether the number q of PLOAM messages corresponding to the same lower layer network element is smaller than the maximum number m of the PLOAM messages that the network element can process; (3) If no, store (qm) PLOAM messages in the second register;
( 4 ) 上层网元依次将从 PLOAM 消息队列和 /或第二寄存器中提取的 ( q-m )个 PLOAM消息与前一次提取的 PLOAM消息共同组成 N个 PLOAM 消息, 直至确定组成的 N个 PLOAM消息中对应同一个下层网元的 PLOAM 消息个数 q均小于该网元能够处理 PLOAM消息的最大个数 m。 在具体实施过程中, 上层网元可以通过以下方式发送获取到的 PLOAM 消息: (4) The upper layer network element sequentially combines (qm) PLOAM messages extracted from the PLOAM message queue and/or the second register with the previously extracted PLOAM message to form N PLOAM messages until the determined N PLOAM messages are determined. The number q of PLOAM messages corresponding to the same lower layer network element is smaller than the maximum number m of the network element capable of processing PLOAM messages. During the implementation process, the upper-layer NE can send the obtained PLOAM message in the following manner:
( 1 ) 上层网元将从 PLOAM 消息队列和 /或第二寄存器中提取的单播 PLOAM消息在一个下行帧中发送; (1) The upper layer network element sends the unicast PLOAM message extracted from the PLOAM message queue and/or the second register in a downlink frame;
( 2 ) 上层网元将从 PLOAM消息队列 /或第二寄存器中提取的一个广播 PLOAM消息在一个下行帧中发送; (2) The upper layer network element sends a broadcast PLOAM message extracted from the PLOAM message queue/or the second register in a downlink frame;
( 3 ) 上层网元将从 PLOAM 消息队列和 /或第二寄存器中提取的单播 PLOAM消息和一个或多个广播 PLOAM消息在一个下行帧中发送。
在上述过程中, OLT从寄存器中取出 PLOAM消息顺序的原则为先进先 出原则或者首先取出优先级最高的 PLOAM消息的原则。 釆用上述实施例提供的三种方法, 在发送 PLOAM消息时, 均可以保证 一个下行帧内发送给同一个下层网元的 PLOAM消息的个数小于等于该下层 网元能够处理的最大 PLOAM消息个数。 综上所述, 借助本发明提供的上述实施例, 解决了一个下行帧内发送给 同一个下层网元(例如, ONU ) 的 PLOAM消息的个数大于该下层网元能够 处理的最大 PLOAM消息个数的问题, 可以保证一个下行帧内发送给同一个 下层网元的 PLOAM 消息的个数小于等于该下层网元能够处理的最大 PLOAM消息个数, 有效提高了系统的可靠性。 显然, 本领域的技术人员应该明白, 上述的本发明的各模块或各步骤可 以用通用的计算装置来实现, 它们可以集中在单个的计算装置上, 或者分布 在多个计算装置所组成的网络上, 可选地, 它们可以用计算装置可执行的程 序代码来实现, 从而, 可以将它们存储在存储装置中由计算装置来执行, 并 且在某些情况下, 可以以不同于此处的顺序执行所示出或描述的步骤, 或者 将它们分别制作成各个集成电路模块, 或者将它们中的多个模块或步骤制作 成单个集成电路模块来实现。 这样, 本发明不限制于任何特定的硬件和软件 结合。 以上所述仅为本发明的优选实施例而已, 并不用于限制本发明, 对于本 领域的技术人员来说, 本发明可以有各种更改和变化。 凡在本发明的^"神和 原则之内, 所作的任何修改、 等同替换、 改进等, 均应包含在本发明的保护 范围之内。
(3) The upper layer network element transmits the unicast PLOAM message and one or more broadcast PLOAM messages extracted from the PLOAM message queue and/or the second register in one downlink frame. In the above process, the principle that the OLT takes out the PLOAM message sequence from the register is the principle of first-in first-out or the principle of first taking out the PLOAM message with the highest priority. With the three methods provided by the foregoing embodiments, when the PLOAM message is sent, the number of PLOAM messages sent to the same lower layer network element in one downlink frame is less than or equal to the maximum PLOAM message that the lower layer network element can process. number. In summary, with the above embodiments provided by the present invention, the number of PLOAM messages sent to the same lower layer network element (for example, ONU) in one downlink frame is larger than the maximum PLOAM message that the lower layer network element can process. The number of problems can ensure that the number of PLOAM messages sent to the same lower layer network element in one downlink frame is less than or equal to the maximum number of PLOAM messages that the lower layer network element can process, which effectively improves the reliability of the system. Obviously, those skilled in the art should understand that the above modules or steps of the present invention can be implemented by a general-purpose computing device, which can be concentrated on a single computing device or distributed over a network composed of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device, such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein. The steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps are fabricated as a single integrated circuit module. Thus, the invention is not limited to any specific combination of hardware and software. The above is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the scope of the present invention are intended to be included within the scope of the present invention.
Claims
1. 一种物理层操作管理维护 PLOAM消息的发送方法, 其特征在于, 包括: 上层网元获知在一个下行帧中可发送至下层网元的 PLOAM消息的 个数 N , 其中, 所述 PLOAM 消息中待发送至每个所述下层网元的 PLOAM消息的个数均小于等于该下层网元能够处理 PLOAM消息的最 大个数 m, N > 1 , m > 0; A physical layer operation management and maintenance method for transmitting a PLOAM message, comprising: the upper layer network element knowing the number N of PLOAM messages that can be sent to the lower layer network element in a downlink frame, where the PLOAM message The number of PLOAM messages to be sent to each of the lower layer network elements is less than or equal to the maximum number m of PLOAM messages that the lower layer network element can process, N > 1 , m > 0;
所述上层网元根据所述 PLOAM消息的个数获取 PLOAM消息, 其 中,获取的 PLOAM消息的个数 X小于等于所述 PLOAM消息的个数 N, 获取的对应同一个下层网元的 PLOAM消息的个数 a小于等于该下层网 元能够处理 PLOAM消息的最大个数 m, x > 0, a > 0; The upper layer network element obtains a PLOAM message according to the number of the PLOAM messages, where the number X of the acquired PLOAM messages is less than or equal to the number N of the PLOAM messages, and the obtained PLOAM message corresponding to the same lower layer network element is obtained. The number a is less than or equal to the maximum number m of PLOAM messages that the lower layer network element can process, x > 0, a > 0;
所述上层网元在一个下行帧中向所述下层网元发送所述获取的 PLOAM消息。 The upper layer network element sends the acquired PLOAM message to the lower layer network element in a downlink frame.
2. 居权利要求 1 所述的方法, 其特征在于, 在所述上层网元 居所述 PLOAM消息的个数获取 PLOAM消息之前, 所述方法还包括: The method of claim 1, wherein before the acquiring the PLOAM message by the number of the PLOAM messages, the method further includes:
所述上层网元将产生的所述单播 PLOAM消息存储在每个所述下层 网元对应的预设寄存器中, 并将产生的所述广播 PLOAM 消息存储在 PLOAM消息队列中。 The unicast PLOAM message generated by the upper-layer network element is stored in a preset register corresponding to each of the lower-layer network elements, and the generated broadcast PLOAM message is stored in a PLOAM message queue.
3. 居权利要求 2 所述的方法, 其特征在于, 所述上层网元 据所述 PLOAM消息的个数获取 PLOAM消息包括: The method of claim 2, wherein the obtaining, by the upper layer network element, the PLOAM message according to the number of the PLOAM messages comprises:
在预设时间到达时, 所述上层网元从每个所述下层网元对应的预设 寄存器中提取单播 PLOAM消息; When the preset time arrives, the upper layer network element extracts a unicast PLOAM message from a preset register corresponding to each of the lower layer network elements;
所述上层网元将提取的单播 PLOAM消息存储在 PLOAM消息队列 中; The upper layer network element stores the extracted unicast PLOAM message in a PLOAM message queue;
所述上层网元从所述 PLOAM消息队列中提取 PLOAM消息。 The upper layer network element extracts a PLOAM message from the PLOAM message queue.
4. 才艮据权利要求 1 所述的方法, 其特征在于, 在所述上层网元才艮据所述 PLOAM消息的个数获取 PLOAM消息之前, 所述方法还包括: The method according to claim 1, wherein before the acquiring, by the upper-layer network element, the PLOAM message according to the number of the PLOAM messages, the method further includes:
所述上层网元夺产生的 PLOAM 消息与 PLOAM 消息队列中的 PLOAM消息对应的下层网元的标识信息进行比较; 才艮据比较结果,确定所述 PLOAM消息队列中是否存在 m个 PLOAM 消息对应的下层网元的标识信息与所述产生的 PLOAM消息对应的下层 网元的标识信息一致; The PLOAM message generated by the upper layer network element is compared with the identification information of the lower layer network element corresponding to the PLOAM message in the PLOAM message queue; And determining, according to the comparison result, whether the identifier information of the lower layer network element corresponding to the m PLOAM messages in the PLOAM message queue is consistent with the identifier information of the lower layer network element corresponding to the generated PLOAM message;
如果是,则将所述产生的 PLOAM消息存储在预设的第一寄存器中; 否则, 则 夺所述产生的 PLOAM消息存储在所述 PLOAM消息队列 中。 If so, the generated PLOAM message is stored in a preset first register; otherwise, the generated PLOAM message is stored in the PLOAM message queue.
5. 居权利要求 4 所述的方法, 其特征在于, 所述上层网元 据所述 PLOAM消息的个数获取 PLOAM消息包括: The method of claim 4, wherein the obtaining, by the upper layer network element, the PLOAM message according to the number of the PLOAM messages comprises:
在预设时间到达时, 所述上层网元比较所述第一寄存器中各个 PLOAM消息和所述 PLOAM消息队列中的 PLOAM消息对应的下层网 元的标识信息是否一致; When the preset time is up, the upper layer network element compares whether the identifier information of the lower layer network element corresponding to each PLOAM message in the first register and the PLOAM message in the PLOAM message queue is consistent;
如果所述 PLOAM消息队列中存在 p个 PLOAM消息与所述第一寄 存器中 PLOAM消息的对应的下层网元的标识信息相同,其中, 0 < p < m, 则将所述第一寄存器中与所述 p个 PLOAM消息对应的下层网元的标识 信息相同的 PLOAM消息提取并存放至所述 PLOAM消息队列中,其中, 存放后的 PLOAM消息队列中的标识相同的 PLOAM消息个数小于等于 m; If there are p PLOAM messages in the PLOAM message queue and the identification information of the corresponding lower layer network element of the PLOAM message in the first register, where 0 < p < m, the first register is The PLOAM message with the same identifier information of the lower layer network element corresponding to the p PLOAM messages is extracted and stored in the PLOAM message queue, wherein the number of PLOAM messages with the same identifier in the stored PLOAM message queue is less than or equal to m;
所述上层网元从所述 PLOAM消息队列中提取 PLOAM消息。 The upper layer network element extracts a PLOAM message from the PLOAM message queue.
6. 居权利要求 1 所述的方法, 其特征在于, 在所述上层网元 居所述 PLOAM消息的个数获取 PLOAM消息之前, 所述方法还包括: The method of claim 1, wherein before the acquiring the PLOAM message by the number of the PLOAM messages, the method further includes:
所述上层网元将产生的 PLOAM消息存储在 PLOAM消息队列中。 The upper layer network element stores the generated PLOAM message in the PLOAM message queue.
7. 居权利要求 6 所述的方法, 其特征在于, 所述上层网元 据所述 PLOAM消息的个数获取 PLOAM消息包括: The method of claim 6, wherein the obtaining, by the upper layer network element, the PLOAM message according to the number of the PLOAM messages comprises:
所述上层网元从所述 PLOAM消息队列和 /或预设的第二寄存器中提 取所述获取的 PLOAM消息; Extracting, by the upper layer network element, the acquired PLOAM message from the PLOAM message queue and/or a preset second register;
在所述获取的 PLOAM消息中不包含广播 PLOAM消息的情况下, 确定对应同一个下层网元的 PLOAM消息的个数 q是否均小于该网元能 够处理 PLOAM消息的最大个数 m; If the obtained PLOAM message does not include the broadcast PLOAM message, determine whether the number of PLOAM messages corresponding to the same lower layer network element is less than the maximum number of PLOAM messages that the network element can process;
如果否, 则将 (q-m ) 个所述 PLOAM 消息存储至所述第二寄存器 中; 所述上层网元依次将从所述 PLOAM消息队列和 /或所述第二寄存器 中提取的 (q-m ) 个 PLOAM消息与前一次提取的 PLOAM消息共同组 成 N个 PLOAM消息,直至确定组成的所述 N个 PLOAM消息中对应同 一个下层网元的 PLOAM消息个数 q均小于该网元能够处理 PLOAM消 息的最大个数 m。 If not, storing (qm) the PLOAM messages into the second register; The upper layer network element sequentially combines (qm) PLOAM messages extracted from the PLOAM message queue and/or the second register with the previously extracted PLOAM message to form N PLOAM messages until the determined composition The number q of PLOAM messages corresponding to the same lower layer network element in the N PLOAM messages is smaller than the maximum number m of the PLOAM messages that the network element can process.
8. —种物理层操作管理维护 PLOAM消息的发送装置, 其特征在于, 包括: 获知单元, 用于获知在一个下行帧中可发送至下层网元的 PLOAM 消息的个数 N, 其中, 所述 PLOAM消息中待发送至每个所述下层网元 的 PLOAM消息的个数均小于等于该下层网元能够处理 PLOAM消息的 最大个数 m, N > 1 , m > 0; 8. The physical layer operation management and maintenance device for transmitting a PLOAM message, comprising: a learning unit, configured to learn the number N of PLOAM messages that can be sent to a lower layer network element in a downlink frame, where The number of PLOAM messages to be sent to each of the lower layer network elements in the PLOAM message is less than or equal to the maximum number m of PLOAM messages that the lower layer network element can process, N > 1 , m > 0;
获取单元, 用于根据所述 PLOAM消息的个数获取 PLOAM消息, 其中, 获取的 PLOAM消息的个数 X小于等于所述 PLOAM消息的个数 N, 获取的对应同一个下层网元的 PLOAM消息的个数 a小于等于该下 层网元能够处理 PLOAM消息的最大个数 m, x > 0, a > 0; And an obtaining unit, configured to obtain a PLOAM message according to the number of the PLOAM messages, where the number X of the acquired PLOAM messages is less than or equal to the number N of the PLOAM messages, and the obtained PLOAM message corresponding to the same lower layer network element is obtained. The number a is less than or equal to the maximum number m of PLOAM messages that the lower layer network element can process, x > 0, a > 0;
发送单元, 用于在一个下行帧中向所述下层网元发送所述获取的 PLOAM消息。 And a sending unit, configured to send the acquired PLOAM message to the lower layer network element in a downlink frame.
9. 根据权利要求 8所述的装置, 其特征在于, 所述装置还包括: 9. The device according to claim 8, wherein the device further comprises:
第一存储单元, 用于将产生的单播 PLOAM消息存储在每个所述下 层网元对应的预设寄存器中, 并将产生的广播 PLOAM 消息存储在 PLOAM消息队列中。 And a first storage unit, configured to store the generated unicast PLOAM message in a preset register corresponding to each of the lower layer network elements, and store the generated broadcast PLOAM message in a PLOAM message queue.
10. 根据权利要求 9所述的装置, 其特征在于, 所述获取单元包括: The device according to claim 9, wherein the acquiring unit comprises:
第一提取模块, 用于在预设时间到达时, 从每个所述下层网元对应 的预设寄存器中提取单播 PLOAM消息; a first extraction module, configured to: when a preset time arrives, extract a unicast PLOAM message from a preset register corresponding to each of the lower layer network elements;
第一存储模块, 用于将提取的单播 PLOAM消息存储在 PLOAM消 息队列中; a first storage module, configured to store the extracted unicast PLOAM message in a PLOAM message queue;
第二提取模块,用于从所述 PLOAM消息队列中提取 PLOAM消息。 And a second extraction module, configured to extract a PLOAM message from the PLOAM message queue.
11. 根据权利要求 8所述的装置, 其特征在于, 所述装置还包括: The device according to claim 8, wherein the device further comprises:
比较单元, 用于^ 1产生的 PLOAM 消息与 PLOAM 消息队列中的 PLOAM消息对应的下层网元的标识信息进行比较; 判断单元, 用于根据比较结果, 确定所述 PLOAM消息队列中是否 存在 m 个 PLOAM 消息对应的下层网元的标识信息与所述产生的 PLOAM消息对应的下层网元的标识信息一致; Comparing unit, the PLOAM message generated by the ^ 1 is compared with the identification information of the lower layer network element corresponding to the PLOAM message in the PLOAM message queue; a determining unit, configured to determine, according to the comparison result, whether the identifier information of the lower layer network element corresponding to the m PLOAM messages in the PLOAM message queue is consistent with the identifier information of the lower layer network element corresponding to the generated PLOAM message;
第二存储单元, 用于在所述判断单元输出为是的情况下, 将所述产 生的 PLOAM消息存储在预设的第一寄存器中, 在所述判断单元输出为 否的情况下, 夺所述产生的 PLOAM消息存储在所述 PLOAM消息队列 中。 a second storage unit, configured to: when the output of the determining unit is YES, store the generated PLOAM message in a preset first register, and if the output of the determining unit is negative, The generated PLOAM message is stored in the PLOAM message queue.
12. 根据权利要求 11所述的装置, 其特征在于, 所述获取单元包括: The device according to claim 11, wherein the acquiring unit comprises:
比较模块, 用于在预设时间到达时, 比较所述第一寄存器中各个 PLOAM消息和所述 PLOAM消息队列中的 PLOAM消息对应的下层网 元的标识信息是否一致; a comparison module, configured to compare, when the preset time arrives, whether the identifier information of the lower layer network element corresponding to each PLOAM message in the first register and the PLOAM message in the PLOAM message queue is consistent;
第一判断模块, 用于确定所述 PLOAM 消息队列中是否存在 p 个 PLOAM消息与所述第一寄存器中 PLOAM消息的对应的下层网元的标 i只信息相同, 其中, 0 < p < m; a first determining module, configured to determine whether there are p PLOAM messages in the PLOAM message queue, and the same information of the corresponding lower layer network element of the PLOAM message in the first register is the same, where 0 < p < m;
第二存储模块, 用于在所述第一判断模块输出为是的情况下, 将所 述第一寄存器中与所述 p个 PLOAM消息对应的下层网元的标识信息相 同的 PLOAM消息提取并存放至所述 PLOAM消息队列中, 其中, 存放 后的 PLOAM消息队列中的标识相同的 PLOAM消息个数小于等于 m; 第三提取模块,用于从所述 PLOAM消息队列中提取 PLOAM消息。 a second storage module, configured to: when the output of the first determining module is YES, extract and store the PLOAM message with the same identifier information of the lower layer network element corresponding to the p PLOAM messages in the first register Up to the PLOAM message queue, wherein the number of PLOAM messages with the same identifier in the PLOAM message queue is less than or equal to m; and the third extracting module is configured to extract a PLOAM message from the PLOAM message queue.
13. 根据权利要求 8所述的装置, 其特征在于, 所述装置还包括: The device according to claim 8, wherein the device further comprises:
第三存储单元, 用于将产生的 PLOAM消息存储在 PLOAM消息队 列中。 And a third storage unit, configured to store the generated PLOAM message in the PLOAM message queue.
14. 根据权利要求 13所述的装置, 其特征在于, 所述获取单元包括: The device according to claim 13, wherein the acquiring unit comprises:
第四提取模块, 用于从所述 PLOAM消息队列和 /或预设的第二寄存 器中提取所述获取的 PLOAM消息; a fourth extraction module, configured to extract the acquired PLOAM message from the PLOAM message queue and/or a preset second register;
第二判断模块, 用于在所述获取的 PLOAM 消息中不包含广播 PLOAM消息的情况下, 确定对应同一个下层网元的 PLOAM消息的个 数 q是否均小于该网元能够处理 PLOAM消息的最大个数 m; a second determining module, configured to determine, in the case that the acquired PLOAM message does not include a broadcast PLOAM message, whether the number q of PLOAM messages corresponding to the same lower layer network element is smaller than a maximum size of the PLOAM message that the network element can process Number m;
第三存储模块, 用于在所述第二判断模块输出为否的情况下, 将 a third storage module, configured to: when the output of the second determining module is negative,
( q-m ) 个所述 PLOAM消息存储至所述第二寄存器中; 处理模块, 用于依次将从所述 PLOAM消息队列和 /或所述第二寄存 器中提取的 (q-m ) 个所述 PLOAM消息与前一次提取的 PLOAM消息 共同组成 N个 PLOAM消息,直至确定组成的所述 N个 PLOAM消息中 对应同一个下层网元的 PLOAM 消息个数 q 均小于该网元能够处理 PLOAM消息的最大个数 m。 (qm) storing the PLOAM message into the second register; a processing module, configured to sequentially combine (qm) the PLOAM messages extracted from the PLOAM message queue and/or the second register with the previously extracted PLOAM message into N PLOAM messages until determining a composition The number q of PLOAM messages corresponding to the same lower layer network element in the N PLOAM messages is smaller than the maximum number m of the PLOAM messages that the network element can process.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010000342.5 | 2010-01-20 | ||
CN201010000342.5A CN102130841B (en) | 2010-01-20 | 2010-01-20 | Physical layer operations, administration and maintenance (PLOAM) message transmission method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2011088699A1 true WO2011088699A1 (en) | 2011-07-28 |
Family
ID=44268735
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2010/078404 WO2011088699A1 (en) | 2010-01-20 | 2010-11-04 | Method and apparatus for transmitting physical layer operation, administration and maintenance messages |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN102130841B (en) |
WO (1) | WO2011088699A1 (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030219016A1 (en) * | 2002-05-21 | 2003-11-27 | Alcatel | Point-to-multipoint telecommunication system with downstream frame structure |
KR20040026516A (en) * | 2002-09-25 | 2004-03-31 | 엘지전자 주식회사 | PLOAM cell generating device of the optical transmission system |
CN101409708A (en) * | 2008-11-08 | 2009-04-15 | 浙江工业大学 | GPON GTC frame-forming sublayer based on FPGA |
-
2010
- 2010-01-20 CN CN201010000342.5A patent/CN102130841B/en not_active Expired - Fee Related
- 2010-11-04 WO PCT/CN2010/078404 patent/WO2011088699A1/en active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030219016A1 (en) * | 2002-05-21 | 2003-11-27 | Alcatel | Point-to-multipoint telecommunication system with downstream frame structure |
KR20040026516A (en) * | 2002-09-25 | 2004-03-31 | 엘지전자 주식회사 | PLOAM cell generating device of the optical transmission system |
CN101409708A (en) * | 2008-11-08 | 2009-04-15 | 浙江工业大学 | GPON GTC frame-forming sublayer based on FPGA |
Also Published As
Publication number | Publication date |
---|---|
CN102130841B (en) | 2015-06-03 |
CN102130841A (en) | 2011-07-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9793993B2 (en) | Method and apparatus of delivering upstream data in ethernet passive optical network over coaxial network | |
US8280055B2 (en) | Optical network system and method of changing encryption keys | |
JP4676517B2 (en) | Optical access system, optical communication path switching device and optical line device | |
JP2006109500A (en) | Method of embodying operation in gigabit ethernet (r) passive optical subscriber network system and its ethernet (r) frame structure | |
WO2011088727A1 (en) | Method, equipment and system for time synchronization of passive optical network | |
WO2012119439A1 (en) | Data communication method in optical network system, and optical network unit and system | |
WO2011140920A1 (en) | Method, system and optical network unit for synchronizing data | |
WO2010031269A1 (en) | Method, system and device for realizing the user side terminal obtains a password | |
WO2019141037A1 (en) | Communication network and related devices | |
EP2425633A1 (en) | Using a bit mask to obtain a unique identifier | |
WO2012136102A1 (en) | Method and system for controlling coaxial broadband access terminal | |
WO2012051867A1 (en) | Data link protection method and system based on load distribution | |
WO2018120179A1 (en) | Optical network unit (onu) management method, apparatus and system | |
JP4891715B2 (en) | Passive optical network system | |
CN102098166A (en) | Gigabit passive optical network system and controllable multicast implementation method thereof | |
WO2009000194A1 (en) | Bandwidth allocation method, system and apparatus in optical network | |
CN102065344A (en) | Data transmission method and gigabit-capable passive optical network system | |
WO2009155832A1 (en) | Point to multi-point optical access system and its data transmission method and device | |
WO2015074275A1 (en) | Optical line terminal, distribution point unit, system and data stream scheduling method | |
CN102833640B (en) | A kind of transmission method and device of parameter granularity | |
WO2011088699A1 (en) | Method and apparatus for transmitting physical layer operation, administration and maintenance messages | |
WO2014121600A1 (en) | Downlink message transmitting method in photo-electric mixed system and optical coaxial unit | |
WO2011144043A2 (en) | Omci message transmission method, device and passive optical network system | |
WO2011095022A1 (en) | Method and system for correctly locating optical network unit glowing abnormally | |
CN101162947B (en) | Method of implementing passive optical network system multicast service safety transmission |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 10843739 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 10843739 Country of ref document: EP Kind code of ref document: A1 |