CN101944949B - Optical transmission control method in optical network, optical network device and system - Google Patents
Optical transmission control method in optical network, optical network device and system Download PDFInfo
- Publication number
- CN101944949B CN101944949B CN200910108614.0A CN200910108614A CN101944949B CN 101944949 B CN101944949 B CN 101944949B CN 200910108614 A CN200910108614 A CN 200910108614A CN 101944949 B CN101944949 B CN 101944949B
- Authority
- CN
- China
- Prior art keywords
- optical
- time interval
- onu
- optical network
- module
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 230000003287 optical effect Effects 0.000 title claims abstract description 377
- 230000005540 biological transmission Effects 0.000 title claims abstract description 48
- 238000000034 method Methods 0.000 title claims abstract description 41
- 238000001514 detection method Methods 0.000 claims abstract description 39
- 230000008569 process Effects 0.000 claims abstract description 18
- 238000005259 measurement Methods 0.000 claims description 47
- 238000004458 analytical method Methods 0.000 claims description 8
- 230000004044 response Effects 0.000 claims description 6
- 230000000977 initiatory effect Effects 0.000 claims 1
- 238000004806 packaging method and process Methods 0.000 claims 1
- 239000002699 waste material Substances 0.000 abstract description 5
- 238000004891 communication Methods 0.000 abstract description 3
- 238000012360 testing method Methods 0.000 description 29
- 238000011144 upstream manufacturing Methods 0.000 description 20
- 238000010586 diagram Methods 0.000 description 9
- 239000005043 ethylene-methyl acrylate Substances 0.000 description 7
- 238000005516 engineering process Methods 0.000 description 6
- 239000013307 optical fiber Substances 0.000 description 6
- 238000005070 sampling Methods 0.000 description 5
- 238000004364 calculation method Methods 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 230000008859 change Effects 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000000691 measurement method Methods 0.000 description 1
- 238000011897 real-time detection Methods 0.000 description 1
Landscapes
- Small-Scale Networks (AREA)
- Optical Communication System (AREA)
Abstract
The embodiment of the invention relates to the field of communication and particularly discloses an optical transmission control method in an optical network, an optical network device and a system. The method comprises the following steps of: generating a multi-point control protocol (MPCP) message, wherein the MPCP message comprises an identification of a detected ONU (Optical Network Unit) and time interface information which is distributed to the detected ONU and used for sending an uplink optical signal; sending the MPCP message to the detected ONU; receiving the uplink optical signal sent by the detected ONU in the distributed time interval; detecting the received uplink optical signal; and determining the optical power of the uplink optical signal. The invention avoids the bandwidth waste caused by distributing the bandwidth to the detected ONU through a DBA module so as to detect the optical power in an optical power detection process in the prior art.
Description
Technical Field
The present invention relates to the field of communications, and in particular, to an optical transmission control method, an optical network device, and an optical network system in an optical network.
Background
PON (Passive Optical Network) technology is a point-to-multipoint Optical fiber access technology. A PON generally includes an OLT (Optical Line Terminal) on the office side, an ONU (Optical Network Unit) on the subscriber side, and an ODN (Optical distribution Network). One PON port of the OLT may access multiple ONUs.
An EPON (Ethernet passive Optical Network ) is one of PON technologies, and adopts a PON technology in a physical layer, and uses an Ethernet protocol in a link layer, and an Ethernet access is realized by using a topology structure of the PON. Therefore, it integrates the advantages of the PON technology and the ethernet technology.
In an EPON system, in order to monitor and maintain an optical fiber link between an OLT and an ONU, it is necessary to obtain performance parameters of the optical fiber link between the OLT and the ONU. In the prior art, a received optical power measurement rssi (received Signal Strength indication) is adopted, that is, the OLT measures the power of a burst optical Signal sent by an ONU to obtain the above parameters. The specific process is as follows:
the OLT carries out current mirror sampling on photocurrent corresponding to a burst optical signal sent by the ONU to obtain mirror image current of the photocurrent, then converts the mirror image current into voltage, further carries out sampling holding on the voltage, then carries out Analog-to-Digital converter (ADC) on the voltage subjected to sampling holding to obtain a Digital signal, and finally carries out optical power calculation. In the above process, the ONU must continuously transmit the optical signal, so that the OLT performs optical signal acquisition and optical power calculation.
In the process of implementing the invention, the inventor finds that the following problems exist in the prior art:
in the prior art, in order to ensure that a burst optical signal sent by an ONU reaches a certain duration, a normal service needs to be terminated, and an independent optical power detection device is used to perform optical power measurement on the ONU or restart a registration or ranging process. Thus, the normal operation of other ONUs is affected.
Disclosure of Invention
An embodiment of the present invention provides an optical transmission control method in an optical network, an optical network device, and an optical network system, in which an optical line terminal allocates a time interval for sending an uplink optical signal to an ONU performing optical power measurement, so that the ONU to be measured sends the uplink optical signal in the time interval to determine the optical power of the uplink optical signal, and thus, the optical power is measured without readjusting the bandwidth of each ONU in a DBA update period.
In order to solve the technical problem, the embodiment provided by the invention is realized by the following technical scheme:
the embodiment of the invention provides an optical transmission control method in an optical network, wherein an optical line terminal and an optical network unit in the optical network transmit data through an Ethernet passive optical network protocol, and the method is characterized by comprising the following steps:
allocating a first time interval for performance detection to a tested optical network unit in a plurality of optical network units registered on an optical line terminal, wherein the first time interval is adjacent to a second time interval for service transmission, and the second time interval is an integral multiple of an update cycle of dynamic bandwidth allocation of a passive optical network;
sending time information of a first time interval to the plurality of optical network units through an optical distribution network by using a multipoint control protocol message, wherein the multipoint control protocol message comprises identification information of the tested optical network unit and information of the first time interval which is distributed for the tested optical network unit and used for performance detection;
and controlling the receiving process of the optical signals sent by the plurality of optical network units in response to the multipoint control protocol message, so that the optical line terminal detects the services borne by the detected optical network unit in the receiving interval corresponding to the first time interval and receives the services borne by the detected optical network unit in the receiving interval corresponding to the second time interval.
An embodiment of the present invention provides an optical line terminal OLT, including:
an ethernet passive optical network MAC module, configured to allocate a first time interval for performance detection to a tested optical network unit among a plurality of optical network units registered on an optical line terminal, where the first time interval is adjacent to a second time interval for service transmission, and the second time interval is an integer multiple of an update period of dynamic bandwidth allocation performed by a passive optical network, and generates a multipoint control protocol message, where the multipoint control protocol message includes identification information of the tested optical network unit, information of the first time interval for performance detection allocated to the tested optical network unit, and information of allocating the second time interval to the registered optical network unit for service transmission;
and the optical module is configured to bear the multipoint control protocol message in a downlink optical signal, send the multipoint control protocol message to the plurality of optical network units, receive an uplink optical signal sent by the plurality of optical network units, detect the uplink optical signal sent in a receiving interval corresponding to the first time interval, and determine optical power sent by the measured optical network unit, where the uplink optical signal includes an optical signal that is sent by an optical network unit and carries a service and an optical signal that is sent by a measured optical network unit and does not carry a service.
An embodiment of the present invention provides an optical network unit ONU, where the ONU includes:
an analysis module, a control module and a light module, wherein,
the analysis module is configured to receive and analyze a multi-point control protocol MPCP message from an optical line terminal OLT, to obtain an identifier of a measured ONU, information of a first time interval, which is allocated to the measured ONU by the OLT and used to send an uplink optical signal for performance detection, and information, which is allocated to a registered ONU by the OLT and used for service transmission, of a second time interval, where the first time interval and the second time interval are adjacent to each other, and the second time interval is an integer multiple of an update period of dynamic bandwidth allocation performed by a passive optical network;
the control module is configured to determine whether an identifier of the ONU in the MPCP message matches an identifier of the ONU itself, and if the identifier of the ONU matches the identifier of the ONU itself, control the optical module to send an uplink optical signal that does not carry a service in the first time interval, and determine whether information that the OLT allocates the second time interval to the registered ONU for service transmission contains information that is allocated to the ONU itself for service transmission, and if the information does, control the optical module to send the uplink optical signal that carries a service according to the information that is allocated to the ONU itself for service transmission.
The embodiment of the invention also provides a passive optical network, which comprises an optical line terminal OLT and a plurality of optical network units ONU, wherein the OLT is connected to the plurality of ONUs through an optical distribution network ODN;
the OLT is used for allocating a first time interval for performance detection to a tested optical network unit in a plurality of optical network units registered on the OLT, the first time interval is adjacent to a second time interval for service transmission, the second time interval is an integral multiple of an update cycle of dynamic bandwidth allocation of the passive optical network, and transmitting time information of the first time interval to the plurality of optical network units through the optical distribution network by using a multicast control protocol message, the multipoint control protocol message comprises the identification information of the tested optical network unit and the information of the first time interval allocated for the tested optical network unit for detection, controlling the receiving process of the optical signals sent by the plurality of optical network units in response to the multipoint control protocol message, and measuring the optical power of the detected optical network unit in the first time interval;
the ONU is used for receiving and analyzing the MPCP message from the OLT to obtain the identification information of the tested ONU and the first time interval information which is distributed to the tested ONU and is used for performance detection; determining whether the identification of the detected ONU in the MPCP message is matched with the identification of the ONU per se; and if so, sending an uplink optical signal which does not carry service to the OLT through the ODN in the first time interval.
Therefore, in the embodiment of the present invention, the OLT directly allocates a time interval for sending the upstream optical signal to the measured ONU, encapsulates the identifier of the measured ONU and information of the time interval for sending the upstream optical signal by the measured ONU into the MPCP message, generates the MPCP message, sends the MPCP message to the measured ONU, sends the upstream optical signal by the measured ONU within the time interval, and detects the power of the upstream optical signal sent by the measured ONU within the time interval. Therefore, it can be found that, in the embodiment of the present invention, the bandwidth of each ONU in each frame in the DBA update period does not need to be readjusted, but the OLT directly allocates a time interval for sending the upstream burst optical signal to the measured ONU, the measured ONU can occupy a relatively large bandwidth in the time interval allocated by the OLT, and each ONU transmits data according to the originally allocated bandwidth of the DBA module in the update period of the DBA, so that waste of bandwidth can be avoided, and the normal operation of the ONU without RSSI measurement cannot be affected.
Drawings
Fig. 1 shows a schematic diagram of a DBA module allocating bandwidth to an ONU under test;
FIG. 2 shows a flow chart of a method embodiment in an embodiment of the invention;
FIG. 3 is a diagram illustrating time intervals allocated in an embodiment of the present invention;
fig. 4 shows a schematic structural diagram of an optical line termination OLT in an embodiment of the present invention;
fig. 5 shows a schematic structural diagram of an optical network unit ONU in an embodiment of the present invention;
fig. 6 shows a schematic structural diagram of an embodiment of the system in the embodiment of the present invention.
Detailed Description
To facilitate understanding and implementing the invention by those of ordinary skill in the art, embodiments of the invention are now described with reference to the drawings. The exemplary embodiments and descriptions of the present invention are provided to explain the present invention, but not to limit the present invention.
As shown in fig. 1, an update period of the DBA is m frames, a typical value of m is 8, in this example, the update period is 8 frames, in normal operation, that is, when RSSI measurement is not required, the DBA allocates a bandwidth required by operation to each ONU under one PON port of the OLT, and as shown in the figure, the ONU1 occupies 25us in one frame (125us), so that the ONU1 can transmit data in the 25us time. When RSSI measurement is needed, the DBA module adjusts the bandwidth of the OUN2 … … ONUn in order to allocate a larger bandwidth to the ONU under test (for example, ONU1 is the ONU under test in fig. 1), that is, the bandwidth allocated to the OUN2 … … ONUn is reduced while the bandwidth of ONU1 is increased, specifically, the bandwidth is shown in fig. 1 when RSSI measurement is needed. After the RSSI measurement is completed, the DBA module restores the bandwidth allocated to each ONU to a normal operating state, but the DBA module updates or adjusts the bandwidth occupied by each ONU in each frame once every m frames pass. As shown in fig. 1, the update period of the DBA module is 8 frames, and 125us per frame, i.e. the update period of the DBA module is 1000us, and the bandwidth of, for example, at least 100us needs to be allocated to ONU1 for RSSI measurement, as shown in fig. 1, ONU1 occupies at least 100us per frame during one update period (8 frames) of the DBA during RSSI measurement; in practice, the time for measuring the optical power once only needs 100us, that is, the bandwidth allocated in the first frame in one update period of the DBA can meet the measurement requirement, the other 7 frames do not measure the optical power and are only used for normally transmitting data, and the ONU1 only needs 25us of bandwidth in normally transmitting data, so that in one update period of the DBA, the ONU1 wastes at least the bandwidth of which the bandwidth is 525us × 7 us, and in one update period of the DBA, the ratio of the wasted bandwidth is 525us/(125us × 8) — 52.5%, and meanwhile, for other ONUs not performing RSSI measurement, the bandwidth originally needed cannot be guaranteed.
The optical power measurement method provided by the embodiment of the invention is applied to an Ethernet Passive Optical Network (EPON) of point-to-multipoint communication containing an OLT and a plurality of ONUs, one RSSI measurement time is allocated to the ONU needing RSSI measurement through the OLT, and the measurement of the received optical power is realized under the condition that the normal working bandwidth of the ONU under one PON port of the OLT is not adjusted, thereby providing a basis for analyzing the performance condition of a link between the OLT and the ONU.
Fig. 2 shows a flowchart of a method for measuring optical power in an embodiment of the present invention, where the method includes:
s101: the MAC chip of the OLT allocates a first time interval T1 for performance detection to a measured optical network unit among a plurality of optical network units that have registered on the optical line terminal. The first time interval T1 is adjacent to a second time interval T2 for traffic transmission, and the second time interval T2 is an integer multiple of an update period of dynamic bandwidth allocation performed by the passive optical network.
When a CPU of the OLT initiates receiving optical power measurement on an ONU (that is, a measured ONU), sending a command for receiving optical power measurement to a MAC chip of the OLT, where the command includes an identifier of the ONU (that is, the measured ONU) that needs to perform optical power measurement, and the MAC chip of the OLT allocates a first time interval T1 for RSSI measurement to a measured optical network unit, where the first time interval T1 in the embodiment of the present invention is a time interval adjacent to a second time interval T2 that is an integer multiple of an update period of a DBA, specifically as shown in fig. 3, there are m frames in one update period of the DBA, and the allocated first time interval T1 is RSSI measurement time in fig. 3, and the first time interval T1 is independent of the second time interval T2 and is adjacent to the second time interval T2. Optionally, in order to ensure that the measurement and the traffic are not affected, a time interval g1 (not shown in the figure) between a starting point of the first time interval T1 and an ending point of the second time interval T2 before the first time interval T1, and a time interval g2 (not shown in the figure) between an ending point of the first time interval T1 and a starting point of the second time interval T2 after the first time interval T1 may be set, which are referred to as a measurement guard interval, where the time intervals g1, g2 may be the same or different. Therefore, when the MAC chip of the OLT allocates the time interval to the ONU under test, the bandwidth of each ONU in each frame in the DBA update period does not need to be readjusted, thereby reducing the influence on the bandwidth of other services. Wherein the second time may be an update period of one DBA, or a multiple of the update period of the DBA. In EPON, the frame length of the ethernet protocol is a variable frame length, and therefore, in the embodiment of the present invention, the length of the first time interval T1 is not limited as long as the requirement for accuracy of measuring optical power can be met. Further, the time length of the first time interval T1 preferably does not affect normal traffic transmission of other ONUs.
Further, the information of the time interval may include start time information of the time interval, end time information of the time interval, and length information of the time interval, or any two of them.
S102: and sending the information of the first time interval T1 allocated to the measured optical network unit to the plurality of optical network units through the optical distribution network by using an MPCP (Multi-Point Control Protocol) message. The MPCP message includes identification information of the measured optical network element and information of the first time interval T1 allocated to the measured optical network element for performance detection.
The OLT generates a burst optical power measurement command, the command contains the identification of the ONU to be measured, a first time interval for sending an uplink optical signal is allocated to the ONU to be measured according to the identification of the ONU to be measured in the burst optical power measurement command, and the identification of the ONU to be measured and the information of the time interval allocated to the ONU to be measured are encapsulated into the MPCP message, so that the MPCP message sent to the ONU to be measured is generated.
As described above, the downstream MPCP message of the EPON carries the identification information of the ONU under test and the information of the first time interval T1, the OLT sends the MPCP message to a plurality of ONUs, the ONU under test receives the downstream MPCP message sent by the OLT, analyzes the MPCP message from the downstream MPCP message to obtain the MPCP message, and obtains the identification of the ONU under test and the information of the first time interval T1 allocated by the OLT for the ONU under test to send the upstream optical signal from the MPCP message; then, the tested ONU compares the ONU identification in the MPCP message with the ONU identification of the tested ONU, if the ONU identification is not matched with the ONU identification, the ONU keeps silent in a first time interval T1 which is distributed by the OLT for sending the upstream optical signal; if the uplink optical signal is matched with the uplink optical signal, the OLT sends the uplink optical signal within a time interval T1 allocated by the OLT for sending the uplink optical signal, where the uplink optical signal carries an identifier of the ONU, that is, the identifier of the ONU under test, so that after receiving the uplink optical signal, the OLT can determine the start of a receiving interval and detect the power of the uplink optical signal.
S103: and controlling the receiving process of the optical signals sent by the plurality of optical network units in response to the multipoint control protocol message, so that the optical power of the measured optical network unit is detected in a receiving interval corresponding to the first time interval T1.
Since the plurality of ONUs connected to the OLT do not interrupt the service, for the OLT, the OLT continuously receives the uplink optical signals sent by the plurality of ONUs, wherein the uplink optical signals include optical signals sent by ONUs that normally perform the service and optical signals sent by ONUs to be tested, the OLT controls a receiving process of the uplink optical signals, detects optical power of the received optical signals in a receiving interval corresponding to a first time interval T1 to obtain optical power sent by the ONUs to be tested, and receives the carried service in a receiving interval corresponding to a second time interval T2. The OLT receives an uplink optical signal sent by the ONU to be tested, detects the identification of the ONU carried in the uplink optical signal, determines the beginning of the receiving time when detecting that the identification of the ONU in the uplink optical signal is matched with the identification of the ONU stored in the OLT, and determines the length of the receiving interval according to the information of the time interval for sending the uplink optical signal, which is distributed to the ONU to be tested by the OLT. That is, the reception interval is the same as the time interval, and the uplink optical signal transmitted by the ONU under test is detected in the reception interval, and the optical power transmitted by the ONU under test is determined. Specifically, the method for determining the optical power sent by the measured ONU according to the uplink optical signal sent by the ONU comprises the following steps: and the MAC chip of the OLT sends an RSSI-Trig command for RSSI measurement, controls the optical module to sample an optical signal, and converts the sampling result into an optical power value by A/D (analog signal to digital signal). After the optical power of the uplink optical signal sent by the ONU to be detected is detected, the performance of the link between the OLT and the ONU to be detected can be analyzed according to the detected optical power value.
Specifically, the OLT may adjust the time length of the second time interval and/or the first time interval to meet the requirement of system performance detection. Because the second time interval is an integral multiple of the DBA updating period in the embodiment of the invention, the OLT can adjust the time length of the second time interval by adjusting the multiple of the DBA updating period, and if the system has high requirement on real-time detection, the multiple of the DBA updating period can be reduced to improve the performance detection frequency so as to ensure the real-time requirement; if the system has high requirement on the accuracy of newly detecting each ONU, the time length of the second time interval can be increased to ensure the accuracy requirement. On the other hand, the OLT may also control the performance detection frequency by adjusting the presence or absence of the first time interval, and simultaneously guarantee the bandwidth utilization rate, for example, the OLT determines the system performance by counting the detected optical power value, and if the system performance is good, the OLT may control not to allocate the first time interval within a period of time, that is, the time length value of the first time interval is set to 0. The DBA update period here is set according to system requirements, and is usually a time length of m frames, where m is a positive integer, and is preferably 1, 2, 4, 8, and 16; each frame is provided to one or more ONUs for upstream data transmission. The following description will be given by taking as an example that the second time intervals for traffic transmission are equal in length, that is, T1 and T2 … Tn are equal in length and are unified as T (Tn denotes the nth second time interval, which is not shown in the drawing), a DBA update cycle of the system is 4 frames, an initial value of T is set to be 2 times of the DBA update cycle, the OLT allocates a first time interval for performance detection to the tested ONUs among the registered ONUs according to the cycle T, the time length of the first time interval allocated to each tested ONU can be set as needed, and certainly, the time length of the unified first time interval can be allocated to the ONUs to simplify control; the OLT controls the receiving process of the uplink optical signals from the plurality of ONUs, and obtains the optical power of a receiving interval corresponding to the first time interval from the optical module as the optical power sent by the ONU to be tested. And the OLT analyzes the performance condition of a link between the OLT and the ONU to be tested according to the obtained optical power sent by the ONU to be tested. The OLT may also determine the performance of the PON system by counting the detected optical power values of the detected ONUs, and if the performance is good, the value of T may be adjusted, for example, the DBA update period is increased from 2 times to 4 times, or the OLT may only allocate a value of the first time interval to the physical sign without adjusting the value of T, for example, setting the first value to 0 within a period of time. The OLT may also be configured such that the second time interval for traffic transmission is made longer, i.e. T1, T2 … Tn are made longer (Tn denotes the nth second time interval, not shown in the figure), while the setting of the first time interval T1 may be made longer or equal in length. That is, T1 may be set to different values as needed.
In an embodiment of the present invention, the optical module that receives the optical signal sent by the ONU that normally performs the service provides optical power detection of the ONU under test, the optical module may be connected to an analysis processing module that provides performance analysis, and the analysis processing module may analyze a link condition between the OLT and the ONU under test according to the detected optical power value.
In this embodiment, the OLT directly allocates a time interval for sending the upstream optical signal to the ONU under test, encapsulates the identifier of the ONU under test and information of the time interval for sending the upstream optical signal by the ONU under test into an MPCP message, generates an MPCP message, sends the MPCP message to the ONU under test, sends the upstream optical signal by the ONU under test within the time interval, and detects the power of the upstream optical signal sent by the ONU under test within the time interval. Therefore, it can be found that, in the embodiment, the bandwidth of each ONU in each frame in the DBA update period does not need to be readjusted, but the OLT directly allocates a time interval for sending the upstream burst optical signal to the measured ONU, and the measured ONU can occupy a relatively large bandwidth in the time interval allocated by the OLT, and each ONU transmits data according to the originally allocated bandwidth of the DBA module in the DBA update period, so that the waste of bandwidth can be avoided, the normal operation of the ONU without RSSI measurement cannot be affected, the implementation is simple and flexible, and the operability is significantly enhanced.
An embodiment of the present invention provides an optical line terminal 40, where a schematic structural diagram of the OLT is shown in fig. 4, and the OLT includes:
an EMAC (EPON MAC, ethernet passive optical network MAC) module 42, configured to generate a multipoint control protocol MPCP message, where the multipoint control protocol MPCP message carries identification information of a measured ONU and information of a first time interval allocated to the measured ONU for sending an uplink optical signal, and the first time interval is adjacent to a second time interval used for service transmission, and the second time interval is an integer multiple of an update period of dynamic bandwidth allocation performed by a passive optical network. The EMAC module 42 further has a function of adjusting the time length of the first time interval and/or the second time interval, which is specifically implemented as described above.
An optical module 43, configured to send the multipoint control protocol MPCP message generated by the EMAC module 42 to a measured ONU, receive an uplink optical signal sent by the measured ONU in the time interval, detect whether identification information of the ONU carried in the uplink optical signal matches with an identification of the measured ONU, determine a start of a receiving interval after matching, determine a length of the receiving interval according to information of the time interval, which is allocated to the measured ONU by the OLT and used for sending the uplink optical signal, detect and receive the uplink optical signal sent by the measured ONU in the receiving interval, and determine optical power of the uplink optical signal. The process of determining the optical power of the uplink optical signal according to the received uplink optical signal is the same as the prior art.
The optical line terminal OLT40 may further comprise:
and an adjusting module (not shown in the figure) for controlling the existence of the first time interval and/or the time length of the second time interval to adjust the frequency of performance detection. Specifically, the adjusting module may control the presence or absence of the first time interval and/or the time length of the second time interval according to the detected PON system performance, the PON system requirement, or an external command, so as to adjust the frequency of performance detection. The adjustment module may be built into the EMAC module 23 or may be independent of the EMAC module 23.
The processor CPU41 is configured to initiate measurement of optical power of the ONU under test on the ONU side, and send an identifier of the ONU requiring measurement (i.e., the ONU under test) to the EMAC module 42.
The EMAC module 42 specifically includes: an optical power measurement command module 421, a DBA module 422, an MPCP module 423, and a control module 424. Wherein,
the optical power measurement command module 421 is configured to generate an optical power measurement command including the ONU identifier to be tested according to the ONU identifier to be tested, and send the optical power measurement command to the DBA module 422 and the MPCP module 423.
The DBA module 422 is configured to receive the measurement command sent by the optical power measurement command module 421, allocate a time interval to the measured ONU according to the identification information of the measured ONU in the measurement command, and send the time interval to the MPCP module 423. In the prior art, dynamic bandwidth allocation and adjustment are performed through the DBA module 422 to update the bandwidth occupied by each ONU in each frame in the DBA update period, so as to allocate a relatively large bandwidth to the measured ONU, so that the measured ONU can send an uplink optical signal with a long duration in the large bandwidth, and the OLT can measure the burst optical power. In this embodiment, the DBA module 422 directly allocates a time interval for sending the upstream optical signal to the measured ONU, and the DBA module 422 is not required to perform dynamic bandwidth adjustment to update the bandwidth occupied by each ONU, so that a large bandwidth is allocated to the measured ONU, and therefore, the bandwidth is not wasted.
The MPCP module 423 is configured to receive the identification information of the ONU under test sent by the optical power measurement command module 421 and the time interval information allocated to the ONU under test by the DBA module 422, and encapsulate the identification of the ONU under test and the information of the time interval allocated to the ONU under test into an MPCP message, so as to generate an MPCP message sent to the ONU under test.
The control module 424 is configured to generate a control command to the optical module 43, where the control command is used to control the optical module 43 to perform optical power measurement.
The optical module 44 is further configured to report the determined optical power value to the CPU41 after determining the optical power of the uplink optical signal, and the CPU41 analyzes the link performance between the measured ONU and the OLT according to the received optical power value, for example, analyzes the optical fiber link loss between the measured ONU and the OLT, the change relationship of the optical fiber link loss between the measured ONU and the OLT over time, and the like.
An embodiment of the present invention provides an optical network unit 50, where a schematic structural diagram of the network unit 50 is shown in fig. 5, and the schematic structural diagram includes:
an analysis module 51, a control module 52, and an optical module 53;
the analyzing module 51 is configured to receive and analyze the MPCP message from the OLT, to obtain the identification information of the ONU under test, the information of the first time interval allocated to the ONU under test by the OLT for performance detection, and the information allocated to the registered ONU by the OLT for service transmission by the OLT. The information that the OLT allocates the second time interval to the registered ONU for service transmission may be information of the time interval allocated to the corresponding ONU for service transmission, or may be the data amount allocated to the corresponding ONU and the loopback delay of the ONU.
The control module 52 is configured to determine whether the identifier of the ONU in the MPCP message matches the identifier of the measured ONU, and if the identifier of the ONU matches the identifier of the measured ONU, control the optical module 53 to keep silent within a first time interval for performance detection allocated to the measured ONU by the OLT; if the uplink optical signal is matched with the information for the registered optical network unit, the optical module 53 is controlled to send the uplink optical signal which does not carry the service within the first time interval which is allocated to the tested ONU by the OLT and used for performance detection, and whether the information for the service transmission allocated to the optical module 53 is included in the information for the service transmission allocated to the registered optical network unit by the OLT in the second time interval is judged, and if the information for the service transmission allocated to the registered optical network unit is included, the optical module 53 is controlled to send the uplink optical signal which carries the service according to the information for the service transmission allocated to. The uplink optical signal that does not carry the service carries an identifier of an ONU (i.e., the measured ONU)50, so that after receiving the uplink optical signal, the OLT can determine that the uplink optical signal is the uplink optical signal sent by the measured ONU through the identifier information in the uplink optical signal, and further determine the start of a receiving interval, and receive and detect the power of the uplink optical signal. It should be noted that the upstream optical signal that does not carry traffic may not carry the identification of the ONU (i.e. the measured ONU)50, in which case the OLT schedules and determines from which measured ONU the received optical signal comes.
An embodiment of the present invention provides a passive optical network, and a schematic structural diagram of the system is shown in fig. 6, where the system includes: an optical line terminal OLT61 and an optical network unit ONU63, where the optical network unit 63 includes a plurality of ONUs to be tested, the structure of the OLT61 is shown in fig. 4, and the structure of the optical network unit is shown in fig. 5.
The OLT61 is connected to the plurality of ONUs 63 through an optical distribution network ODN62, where the OLT61 is connected to one end of the optical distribution network ODN62, and the other end of the ODN62 is connected to the plurality of optical network units. In the following, using ONU-1 as an example, how the OLT measures the burst optical power of the ONU in the network is specifically described.
Assume that OLT61 initiates a measurement of the burst optical power of ONU-1 to analyze the fiber link performance between optical line terminal OLT61 and ONU-1.
The OLT61 transmits one or more MPCP messages to the registered ONUs in a broadcast manner, wherein a first time interval for performance detection is allocated to ONU-1, and information about the identity of ONU-1 and the first time interval for performance detection is encapsulated in the MPCP message, information about the second time interval allocated to the registered ONUs for traffic transmission is also encapsulated in the MPCP message, and then the OLT transmits the MPCP message to the ONUs connected to the ODN62 via the ODN. The generation process of the MPCP message is the same as the method embodiment, and is not described in detail here. The information that the OLT allocates the second time interval to the registered ONU for service transmission may be information of the time interval allocated to the corresponding ONU for service transmission, or may be the data amount allocated to the corresponding ONU and the loopback delay of the ONU.
The ONUs connected to the ODN62 in fig. 6 are all able to receive MPCP messages sent by the OLT. Each ONU receives and analyzes the one or more MPCP messages which comprise the identification of the ONU-1 and the information of the first time interval for performance detection distributed to the ONU-1 by the OLT and the information of the first time interval for service transmission distributed to the registered ONU by the OLT for the second time interval, obtains the identification of the ONU-1 and the information of the first time interval for performance detection distributed to the ONU-1 by the OLT61, and compares the identification of the ONU-1 with the identification of the ONU-1; if there is no match, e.g., none of the other ONUs except ONU-1 match, then these ONUs remain silent, i.e., do not send any upstream optical signals to OLT61, for the time interval that OLT61 allocated to ONU-1; if the ONU-1 finds that the identification of the detected ONU is matched with the identification of the ONU-1, the ONU-1 sends an uplink optical signal which does not carry service in a first time interval distributed to the ONU-1 by the OLT. Further, the ONU-1 determines whether the information allocated to the registered ONU for service transmission by the OLT in the second time interval includes the information allocated to itself for service transmission, and if so, sends the service-bearing uplink optical signal according to the information allocated to itself for service transmission. And keeping silence for other ONUs except the ONU-1 in a first time interval, and if the OLT is judged that the information which is allocated to the OLT for carrying out service transmission and used for carrying out service transmission contains the information which is allocated to the OLT for carrying out service transmission in the information which is allocated to the ONU for carrying out service transmission in a second time interval, sending an uplink optical signal carrying the service according to the information which is allocated to the ONU for carrying out service transmission.
The upstream optical signal sent by the ONU-1 is sent to the OLT61 through the optical distribution network 62.
OLT61 receives the upstream optical signal transmitted by ONU-1 and determines the power of the upstream optical signal, and then OLT61 analyzes the performance of the optical fiber link between ONU-1 and OLT62 according to the detected power of the upstream optical signal. The method for determining the power of the uplink optical signal according to the uplink optical signal sent by the ONU by the OLT61 specifically includes: the OLT receives an uplink optical signal which is sent by the detected ONU and does not carry service, detects the identification of the ONU carried in the uplink optical signal, determines the beginning of the receiving time when detecting that the identification of the ONU in the uplink optical signal is matched with the identification of the ONU stored in the OLT, and determines the length of the receiving interval according to the information of a first time interval which is distributed to the detected ONU by the OLT and used for performance detection. Namely the receiving interval is the same as the time interval, and the uplink optical signal sent by the ONU to be tested is detected in the receiving interval; and then, determining the optical power of the uplink optical signal according to the detected uplink optical signal. Specifically, the method for determining the optical power of the optical signal according to the uplink optical signal reported by the ONU comprises the following steps: and the MAC chip of the OLT sends an RSSI-Trig command for RSSI measurement, controls the optical module to sample an optical signal, and converts the sampling result into an optical power value by A/D (analog signal to digital signal).
Through the explanation of the embodiment of the invention, it can be seen that the test process of the embodiment of the invention can avoid the waste of bandwidth, can not influence the normal work of each ONU, and has simple and flexible realization and strong operability.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-only Memory (ROM), a Random Access Memory (RAM), or the like.
The method, system and apparatus for measuring optical power provided by the embodiments of the present invention are described in detail above, and the principle and implementation of the present invention are explained in this document by applying specific embodiments, and the description of the above embodiments is only used to help understanding the method and core idea of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.
Claims (11)
1. An optical transmission control method in an optical network, in which an optical line terminal and an optical network unit transmit data through an ethernet passive optical network protocol, comprising:
allocating a first time interval for performance detection to a tested optical network unit in a plurality of optical network units registered on an optical line terminal, wherein the first time interval is adjacent to a second time interval for service transmission of the plurality of optical network units registered, and the second time interval is an integral multiple of an update cycle of dynamic bandwidth allocation of a passive optical network;
sending time information of a first time interval to the plurality of optical network units through an optical distribution network by using a multipoint control protocol message, wherein the multipoint control protocol message comprises identification information of the tested optical network unit and information of the first time interval which is distributed for the tested optical network unit and used for performance detection;
and controlling the receiving process of the optical signals sent by the plurality of optical network units in response to the multipoint control protocol message, so that the optical line terminal detects the optical power of the measured optical network unit in the receiving interval corresponding to the first time interval.
2. The method according to claim 1, wherein before allocating the first time interval for performance detection to the tested optical network unit among the plurality of optical network units registered on the optical line terminal, the method further comprises:
and receiving a command for measuring the optical power, wherein the command comprises the identification information of the measured optical network unit.
3. The method according to claim 1 or 2,
and controlling the existence of the first time interval and/or the time length of the second time interval to adjust the frequency of performance detection.
4. An optical line termination, OLT, comprising:
an ethernet passive optical network MAC module, configured to allocate a first time interval for performance detection to a tested optical network unit among a plurality of optical network units registered on an optical line terminal, where the first time interval is adjacent to a second time interval for service transmission, and the second time interval is an integer multiple of an update period of dynamic bandwidth allocation performed by a passive optical network, and generates a multipoint control protocol message, where the multipoint control protocol message includes identification information of the tested optical network unit, information of the first time interval for performance detection allocated to the tested optical network unit, and information of allocating the second time interval to the registered optical network unit for service transmission;
and the optical module is configured to bear the multipoint control protocol message in a downlink optical signal, send the multipoint control protocol message to the plurality of optical network units, receive an uplink optical signal sent by the plurality of optical network units, detect the uplink optical signal sent in a receiving interval corresponding to the first time interval, and determine optical power sent by the measured optical network unit, where the uplink optical signal includes an optical signal that is sent by an optical network unit and carries a service and an optical signal that is sent by a measured optical network unit and does not carry a service.
5. The OLT of claim 4, further comprising: and the adjusting module is used for controlling the existence of the first time interval and/or the time length of the second time interval so as to adjust the frequency of performance detection.
6. The OLT of claim 4, wherein the Ethernet passive optical network (MAC) module specifically comprises: an optical power measurement command module, a dynamic bandwidth allocation DBA module, a multi-point control protocol MPCP module and a control module, wherein
The optical power measurement command module is configured to generate an optical power measurement command including an identifier of a measured optical network unit according to the identifier of the measured optical network unit, and send the optical power measurement command to the DBA module and the MPCP module;
the DBA module is configured to receive the optical power measurement command sent by the optical power measurement command module, allocate the first time interval to the measured ONU according to the identification information of the measured optical network unit in the optical power measurement command, and send the time interval to the MPCP module;
the MPCP module is used for packaging the identification information of the ONU to be tested and the time interval information distributed to the ONU to be tested by the DBA module into MPCP information to generate MPCP information;
the control module is used for generating a control command to the optical module, and the control command is used for controlling the optical module to measure the optical power.
7. The OLT of claim 6, wherein the Ethernet passive optical network (MAC) module further comprises: and the adjusting module is used for controlling the existence of the first time interval and/or the time length of the second time interval so as to adjust the frequency of performance detection.
8. The OLT of claim 6 or claim 7, further comprising:
and the processor is used for initiating the measurement of the optical power of the measured optical network unit and sending the identifier of the measured optical network unit to the Ethernet passive optical network MAC module.
9. An optical network unit, ONU, comprising:
an analysis module, a control module and a light module, wherein,
the analysis module is configured to receive and analyze a multi-point control protocol MPCP message from an optical line terminal OLT, to obtain an identifier of a measured ONU, information of a first time interval, which is allocated to the measured ONU by the OLT and used to send an uplink optical signal for performance detection, and information, which is allocated to a registered ONU by the OLT and used for service transmission, of a second time interval, where the first time interval and the second time interval are adjacent to each other, and the second time interval is an integer multiple of an update period of dynamic bandwidth allocation performed by a passive optical network;
the control module is configured to determine whether an identifier of the ONU in the MPCP message matches an identifier of the ONU itself, and if the identifier of the ONU matches the identifier of the ONU itself, control the optical module to send an uplink optical signal that does not carry a service in the first time interval, and determine whether information that the OLT allocates the second time interval to the registered ONU for service transmission contains information that is allocated to the ONU itself for service transmission, and if the information does, control the optical module to send the uplink optical signal that carries a service according to the information that is allocated to the ONU itself for service transmission.
10. A passive optical network is characterized by comprising an Optical Line Terminal (OLT) and a plurality of Optical Network Units (ONU), wherein the OLT is connected to the ONU through an Optical Distribution Network (ODN);
the OLT is used for allocating a first time interval for performance detection to a tested optical network unit in a plurality of optical network units registered on the OLT, the first time interval and a second time interval for registered traffic transmission of the plurality of optical network units are adjacent, the second time interval is integral multiple of the update period of the passive optical network for dynamic bandwidth allocation, and transmitting time information of the first time interval to the plurality of optical network units through the optical distribution network by using a multicast control protocol message, the multipoint control protocol message comprises the identification information of the tested optical network unit and the information of the first time interval allocated for the tested optical network unit for detection, controlling the receiving process of the optical signals sent by the plurality of optical network units in response to the multipoint control protocol message, and measuring the optical power of the detected optical network unit in the first time interval;
the ONU is used for receiving and analyzing the multipoint control protocol message from the OLT to obtain the identification information of the tested ONU and the first time interval information which is distributed for the tested ONU and is used for performance detection; determining whether the identification of the detected ONU in the multipoint control protocol message is matched with the identification of the ONU per se; and if so, sending an uplink optical signal which does not carry service to the OLT through the ODN in the first time interval.
11. The pon of claim 10, wherein the controlling the receiving process of the optical signals sent by the onu in response to the mp protocol message comprises: and detecting the identification of the ONU carried in the received uplink optical signal, determining the start of a receiving interval when detecting that the identification of the ONU carried in the uplink optical signal is matched with the identification of the ONU to be detected, and taking the time length of the first time interval as the time length of the receiving interval.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200910108614.0A CN101944949B (en) | 2009-07-03 | 2009-07-03 | Optical transmission control method in optical network, optical network device and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200910108614.0A CN101944949B (en) | 2009-07-03 | 2009-07-03 | Optical transmission control method in optical network, optical network device and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101944949A CN101944949A (en) | 2011-01-12 |
CN101944949B true CN101944949B (en) | 2014-09-03 |
Family
ID=43436745
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN200910108614.0A Active CN101944949B (en) | 2009-07-03 | 2009-07-03 | Optical transmission control method in optical network, optical network device and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101944949B (en) |
Families Citing this family (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105359441B (en) * | 2013-05-15 | 2018-03-02 | 中兴通讯股份有限公司 | It is used for not calibrated optical network unit activating using noise window |
EP2997684B1 (en) | 2013-05-15 | 2018-10-31 | ZTE Corporation | Using noisy window for uncalibrated optical network unit activation |
CN108574532B (en) * | 2017-03-13 | 2022-11-08 | 中兴通讯股份有限公司 | Optical signal power control method and device and optical line terminal |
CN113472450B (en) | 2018-01-26 | 2024-10-18 | 华为技术有限公司 | OLT, ONU, PON system and information transmission method in PON system |
CN117714914A (en) * | 2018-08-02 | 2024-03-15 | 有线电视实验室公司 | System and method for coherent burst reception |
CN111526067B (en) * | 2020-04-26 | 2021-11-12 | 恒安嘉新(北京)科技股份公司 | Network shunt and communication method of network shunt |
CN114070389A (en) * | 2020-07-31 | 2022-02-18 | 中兴通讯股份有限公司 | APD performance detection method and device for optical module, optical network and medium |
CN114640906B (en) * | 2020-11-28 | 2023-07-18 | 华为技术有限公司 | Method, device, computing equipment and storage medium for transmission scheduling |
CN116684763A (en) * | 2022-02-23 | 2023-09-01 | 华为技术有限公司 | Optical distribution network device and signal processing method |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1780223A (en) * | 2004-11-19 | 2006-05-31 | 上海贝尔阿尔卡特股份有限公司 | Various-service dispatching method and system in passive light network |
CN101127567A (en) * | 2007-09-20 | 2008-02-20 | 中兴通讯股份有限公司 | A method and device for optical line terminal to detect the optical power of optical network unit |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7477845B2 (en) * | 2003-08-18 | 2009-01-13 | Teknovus, Inc. | Method and apparatus for reducing data burst overhead in an ethernet passive optical network |
-
2009
- 2009-07-03 CN CN200910108614.0A patent/CN101944949B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1780223A (en) * | 2004-11-19 | 2006-05-31 | 上海贝尔阿尔卡特股份有限公司 | Various-service dispatching method and system in passive light network |
CN101127567A (en) * | 2007-09-20 | 2008-02-20 | 中兴通讯股份有限公司 | A method and device for optical line terminal to detect the optical power of optical network unit |
Also Published As
Publication number | Publication date |
---|---|
CN101944949A (en) | 2011-01-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101944949B (en) | Optical transmission control method in optical network, optical network device and system | |
EP2413518B1 (en) | Optical power measurement method, optical line terminal and optical network unit | |
CN110213679B (en) | Passive optical network system and implementation method thereof | |
US9106984B2 (en) | PON system, subscriber-side terminal apparatus, station-side terminal apparatus, and power saving method | |
US11368223B2 (en) | OLT, ONU, PON system, and message transmission method in PON system | |
KR100450771B1 (en) | Method for controlling upstream data of Ethernet PON and apparatus thereof | |
US8724995B2 (en) | Passive optical network system and operating method thereof | |
US8184976B2 (en) | Passive optical network system and operating method thereof | |
KR101403911B1 (en) | A dynamic bandwidth allocation device for a passive optical network system and the method implemented | |
JP3698210B2 (en) | Packet communication system, packet communication method, packet communication program, and recording medium recording the packet communication program | |
WO2015109793A1 (en) | Long luminance detection method and device | |
US8886041B2 (en) | Optical line terminal, bandwidth control method and optical network system | |
CN102377481B (en) | Distance-finding method in a kind of EPON and system | |
US20220149969A1 (en) | Dynamic assignment of broadcast allocation identifiers | |
EP2723015A1 (en) | Method and device for communicating granularity of parameters | |
CN101795158B (en) | Method and device for measuring receiving light power of light network unit | |
JP5761415B1 (en) | Subscriber side device registration method | |
CN117353873B (en) | Uplink frame verification method and device, electronic equipment and storage medium | |
JP2019022157A (en) | Subscriber line terminal apparatus | |
CN102209280A (en) | Uplink data processing method used in passive optical network and passive optical network | |
JP3996018B2 (en) | Packet communication device, terminal device, packet communication system, packet communication method, and packet communication program | |
JP2008099298A (en) | Method of adjusting light signal transmission timing |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |