CN101510818A - Detection method, device and system for optical fiber link - Google Patents

Detection method, device and system for optical fiber link Download PDF

Info

Publication number
CN101510818A
CN101510818A CNA2009101291696A CN200910129169A CN101510818A CN 101510818 A CN101510818 A CN 101510818A CN A2009101291696 A CNA2009101291696 A CN A2009101291696A CN 200910129169 A CN200910129169 A CN 200910129169A CN 101510818 A CN101510818 A CN 101510818A
Authority
CN
China
Prior art keywords
frame
gem
gem frame
optical fiber
fiber link
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.)
Granted
Application number
CNA2009101291696A
Other languages
Chinese (zh)
Other versions
CN101510818B (en
Inventor
李瑞彬
潘文
李明月
王锦
王俊华
宋奇刚
朱伟伟
殷富强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN2009101291696A priority Critical patent/CN101510818B/en
Publication of CN101510818A publication Critical patent/CN101510818A/en
Application granted granted Critical
Publication of CN101510818B publication Critical patent/CN101510818B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Abstract

The invention discloses an optical fiber link detection method, a device and a system thereof, which pertain to the communication field. The method comprises the following steps: a data frame sent by a sending terminal is received and the data frame comprises a blank Gigabit Passive Optical Network encapsulation GEM frame, wherein an exclusive-or operation is conducted to the header of the GEM frame and a preset value at the sending terminal; the blank GEM frame is obtained from the data frame; the exclusive-or operation is conducted to the header content of the blank GEM frame and the preset value to obtain an exclusive-or operation result; and the exclusive-or operation result and the preset value are compared and the bit error rate of the optical fiber link is obtained according to the comparison result. The device consists of a receiving module, an obtaining module and a detection module. The system comprises a sending terminal device and a receiving terminal device. The fixed pattern of the blank GEM frame is taken as the basis for the blank GEM frame received through checkout, so that the accurate bit error rate of the optical fiber link is obtained and the quality of the optical fiber link is detected.

Description

A kind of optical fiber link detection method, device and system
Technical field
The present invention relates to communication field, particularly a kind of optical fiber link detection method, device and system.
Background technology
In the prior art, for GPON (Gigabit Capability Passive Optical Network, Gigabit Passive Optical Network), be the detection of carrying out optical fiber link by BIP (Bit Interleaved Parity, bit interleaved parity).Wherein, the downlink system of GPON adopts the data flow transmission mode of broadcast transmission to carry out descending GTC (G-PON Transmission Convergence, the GPON Transmission Convergence) transmission of frame, each GTC frame comprises a BIP territory, has comprised the BIP value of all bytes in the BIP territory of BIP territory in the current GTC frame in the last GTC frame in each BIP territory; The up-link of GPON adopts carries out the transmission of uplink frame based on the time division multiple access access technology of statistic multiplexing, each uplink frame is by a plurality of ONU (OpticalNetwork Unit, optical network unit) BURST (branch frame) constitutes, each BURST has a BIP territory, and the BIP value of BURST afterbody is arrived in the BIP territory that has comprised the last BURST of ONU in each BIP territory.Link detecting is exactly by the bip error in the certain hour is done statistics, and compare with predefined threshold values, produce SD (Signal Degrade, signal quality reduces), SF (Signal Fail, signal quality is defective) alarm, report link-quality roughly.
In realizing process of the present invention, the inventor finds that above-mentioned prior art has following shortcoming at least:
BIP can't provide the accurate error rate, and is subjected to the influence of the odd even characteristic of itself, and existence can't detect the problem of even number mistake.
Summary of the invention
For when detecting link error, accurate link error rates is provided, the embodiment of the invention provides a kind of optical fiber link detection method, device and system.Described technical scheme is as follows:
A kind of optical fiber link detection method comprises:
The Frame that receiving end/sending end sends comprises empty Gigabit Passive Optical Network encapsulation GEM frame in the described Frame, the frame head of wherein said GEM frame has passed through XOR with a preset value at transmitting terminal;
From described Frame, obtain the GEM frame of described sky;
The header content and the described preset value of the GEM frame of described sky are done XOR again, obtain the XOR result;
Described XOR result is compared with predetermined value, and obtain the error rate of described optical fiber link according to comparative result.
A kind of checkout gear of optical fiber link comprises:
Receiver module is used for the Frame that receiving end/sending end sends, and comprises empty Gigabit Passive Optical Network encapsulation GEM frame in the described Frame, and the frame head of wherein said GEM frame has passed through XOR with a preset value at transmitting terminal;
Obtain module, be used for obtaining the GEM frame of described sky from described Frame;
Detection module is used for the header content and the described preset value of the GEM frame of described sky are done XOR, described XOR result is compared with predetermined value, and obtain the error rate of described optical fiber link according to comparative result.
A kind of detection system of optical fiber link comprises: sending ending equipment and receiving device;
Described sending ending equipment is used for sending Frame to described receiving device, comprises empty Gigabit Passive Optical Network encapsulation GEM frame in the described Frame, and the frame head of wherein said GEM frame has passed through XOR with a preset value at transmitting terminal;
Described receiving device is used to receive the Frame that described transmitting terminal sends, and comprises empty Gigabit Passive Optical Network encapsulation GEM frame in the described Frame; From described Frame, obtain the GEM frame of described sky; The header content and the described preset value of the GEM frame of described sky are done XOR, obtain the XOR result; Described XOR result is compared with predetermined value, and obtain the error rate of described optical fiber link according to comparative result.
Description of drawings
Fig. 1 is the optical fiber link detection method flow chart that the embodiment of the invention 1 provides;
Fig. 2 is the optical fiber link detection method flow chart that the embodiment of the invention 2 provides;
Fig. 3 is the structural representation of the GEM frame head that provides of the embodiment of the invention 2;
Fig. 4 is the similitude schematic diagram of the GEM frame that provides of the embodiment of the invention 2 with the BER (Bit Error Ratio, the error rate) of GTC frame;
Fig. 5 is the optical fiber link detection method flow chart that the embodiment of the invention 3 provides;
Fig. 6 is the checkout gear structural representation of the optical fiber link that provides of the embodiment of the invention 4;
Fig. 7 is the detection system structural representation of the optical fiber link that provides of the embodiment of the invention 5.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, embodiment of the present invention is described further in detail below in conjunction with accompanying drawing.
Embodiment 1
For when detecting link error, accurate link error rates is provided, the embodiment of the invention provides a kind of optical fiber link detection method, and referring to Fig. 1, this method comprises:
101: the Frame that receiving end/sending end sends comprises empty Gigabit Passive Optical Network encapsulation GEM frame in the Frame;
Wherein, the frame head of this GEM frame has passed through XOR with a preset value at transmitting terminal.In embodiments of the present invention, this preset value is 0xB6AB31E055.
102: from Frame, obtain empty GEM frame;
103: the header content and the preset value of the GEM frame of the sky that will obtain are done XOR again, obtain the XOR result;
104: the XOR result who obtains is compared with predetermined value, and obtain the error rate of optical fiber link according to comparative result.
Wherein, when the whole GEM frames in the Frame that transmitting terminal sends were empty GEM frame, step 102 comprised:
From Frame, obtain the frame head position of first GEM frame;
According to the frame head position of first GEM frame, obtain all empty GEM frame.
When the part GEM frame in the Frame that transmitting terminal sends was the GEM frame of sky, step 102 comprised:
From Frame, obtain the frame head position of first GEM frame, obtain the header content of first GEM frame;
Utilize the frame head error code control in the empty GEM frame that the header content of first GEM frame is carried out error code correction;
Obtain the frame head position of next GEM frame according to the header content of first GEM frame behind the error code correction, obtain the header content of next GEM frame;
Find the frame head position of whole GEM frames according to the method for the frame head position of the next GEM frame of above-mentioned acquisition, obtain the header content of whole GEM frames;
In the header content of whole GEM frames, payload length PLI is zero the pairing GEM frame that carries out error code correction GEM frame before for sky of GEM frame.
Wherein, predetermined value is 0, and then step 104 comprises:
104A: add up non-0 occurrence number among each XOR result;
104B: according to the error rate of non-0 occurrence number statistics link.
Wherein, empty GEM frame is a plurality of, and then step 104B comprises:
Statistics is the sum of empty GEM frame median all;
Calculate the ratio between the sum of the total degree of non-0 appearance and figure place, obtain the error rate of link.
GEM by the sky that will receive compares with predetermined value, the figure place of error code appears in the outgoing link, the figure place according to the GEM frame of the whole skies that receive obtains the error rate accurately.And sending ending equipment that can compatible any producer does not need sending ending equipment to do special circuit design, has very application fields and using value.
Embodiment 2
For when detecting link error, accurate link error rates is provided, the embodiment of the invention provides a kind of optical fiber link detection method, is example with the downlink system of GPON, and referring to Fig. 2, this method comprises:
201: transmitting terminal encapsulates the business datum that sends to the user in the GTC frame, and the structure of the GEM after the encapsulation (GPON Encapsulation Method, GPON method for packing) frame head as shown in Figure 3.
Wherein, the GEM frame head is totally 5 bytes, comprising: PLI (the Payload LengthIndicator of 12bit (position), the payload length sign), PTI (the Payload TypeIndicator of PortID (port id), the 3bit of 12bit, Payload Type Identifier) and the HEC of 13bit (Header Error Control, frame head error code control).Wherein, PLI has indicated the length of closelying follow at the payload of frame head back (unit is a byte); Port ID is a service identification, is used for receiving terminal and carries out the business extraction; PTI is used to indicate the type of payload content; HEC provides the error code correction ability of 2bit to the GEM frame head, is used for the Error detection and the verifying function of GEM frame head.
202: business datum is transmitted in network with the form of GTC frame by GEM encapsulation back, when not having business datum, inserts IDLE GEM frame and transmits in the GPON network in the GTC frame.
Wherein, IDLE GEM frame specifically refers to: the PLI in the GEM frame head, Port ID, PTI and HEC all are zero GEM frame.Here IDLE GEM frame is inserted in the GPON network, transmit in the GTC frame be for: the GEM frame is carried out the speed decoupling, fills unemployed rest network bandwidth simultaneously.
Need to prove: a GTC frame is long, in the framing procedure of GTC frame, there is business datum in a stage, a stage does not have business datum, but the GTC frame is framing on time, therefore do not having to need to insert IDLE GEM frame under the situation of business datum, as inserting business datum business datum the time more again.So just can be compatible the randomness that generates of business datum, also can avoid the GTC frame to disconnect.From the another one angle, the generating rate of business datum can be inconsistent with the generating rate of GTC frame.And the speed decoupling is exactly the relevance that reduces the generating rate of the generating rate of business datum and GTC frame.
Before sending IDLE GEM frame, transmitting terminal is encoded to IDLE GEM frame head (comprising PLI, Port ID, PTI and HEC) and preset value 0xB6AB31E055 XOR fixing pattern (0xB6AB31E055) and transmits.Wherein, 0xB6AB31E055 is that transmitting terminal and receiving terminal are known, and the transmitting apparatus of any manufacturer does not need to do special circuit design.
203: receiving terminal receives descending GTC frame, and extracts the IDLEGEM frame in the whole descending GTC frame that receives;
The GTC frame provides the position of first GEM frame head, and receiving terminal is by the frame head of first GEM frame, and the payload length that identifies according to PLI finds follow-up GEM frame head, extracts follow-up GEM frame according to this.In case at frame head the error code that can not repair has taken place, by delimiting state machine the GEM frame is delimited, promptly use the adaptive method of a kind of HEC that frame head is carried out again search, concrete searching method comprises:
Generally speaking, delimit state machine and can be in synchronous state, when delimiting state machine according to PLI, the HEC that PortID and PTI calculate makes a mistake, then illustrate in this GEM frame head error code has taken place, then delimit state machine and enter search condition, in search condition, delimit state machine and seek correct HEC, when finding correct HEC, delimit state machine and enter presynchronization state, delimit state machine calculates PLI according to correct HEC value, find next GEM frame head according to the PLI value that obtains, verify whether the HEC in the next GEM frame head is correct,, then delimit state machine and enter synchronous regime if the HEC in the next GEM frame head also is correct.
Demarcation state machine to prior art in the embodiment of the invention is expanded, and concrete expands to: when delimiting PLI that state machine detects the GEM frame head and be zero, promptly export the indication of IDLE GEM frame.
Here need to prove, because the HEC of frame head can provide the error code correction of 2bit, so for an IDLE GEM frame head that has 5 bytes, be not higher than in link error rates under 5% the situation, HEC can carry out error code correction to the GEM frame head, makes that the PLI after the error correction is zero, like this, it is zero that the demarcation state machine just can detect PLI, and the indication of output IDLE GEM frame.
204: when delimiting the indication of state machine output IDLE GEM frame, the IDLEGEM frame before the HEC error code correction is carried out Error detection;
Wherein, as shown in Figure 4, owing to the part of GEM frame as the GTC frame, in a period of time, both BER (Bit Error Ratio, the error rate) have similitude.Along with the prolongation of time, it is identical that both BER can be tending towards.And, because it (is that PLI, Port ID, PTI, HEC are 0 that receiving terminal can be predicted the correct data of transmitting terminal, present embodiment can be referred to as predetermined value), thereby not comparing with the IDLE GEM frame of precognition through the IDLE GEM frame before the HEC error code correction of receiving can be detected the link error code.Comprise:
Receiving terminal will be not through IDLE GEM frame and 0xB6AB31E055 XOR before the HEC error code correction, obtain the IDLE GEM frame of 5 bytes, at this moment,, determine to occur the bit number of error code according to 1 the number that occurs in this 5 byte.For example, behind the IDLE GEM frame XOR of receiving terminal with extraction, the IDLE GEM frame of 5 bytes that obtain is 000,000,101,000 000,000,001,000 000 0000000000000, wherein, because PLI, Port ID, PTI, the HEC of the IDLE GEM frame of precognition are 0, delimit state machine so and just can find: have 3bit error code to occur in the IDLE GEM frame of 5 bytes that obtain; And the rest may be inferred, the bit number of the appearance error code that does not pass through the preceding IDLE GEM frame of HEC error code correction that statistics all receives, after the bit that error code all occurs counted addition, do division, obtain the accurate error rate of down link with the bit number of the whole IDLE GEM that receive.For example, receive 10 IDLE GEM frames, totally 50 bytes, i.e. 400bit, the bit number that error code appears in statistics is 5, then the accurate error rate of down link is 1.25%.Here need to prove that the up-link of GPON network and the chain circuit detecting method of downlink system are essentially identical, therefore here do not give unnecessary details.
Further, because the embodiment of the invention is a link detecting of utilizing the idle bandwidth in the network to carry out, therefore also this link detection method can be called the chain circuit detecting method under the idle-detection pattern.
The optical fiber link detection method that the embodiment of the invention provides is compared with the IDLE GEM of precognition by the IDLE GEM that will receive, and gets the figure place that occurs error code in the outgoing link, and the total bit according to the whole IDLEGEM frames that receive obtains the error rate accurately.Simultaneously, utilize the HEC error code correction characteristic in the GEM frame head, the GEM frame that error code occurs is carried out error correction, guarantee the normal operation of system.And the sending ending equipment that this method can compatible any producer does not need sending ending equipment to do special circuit design, has very application fields and using value.
Embodiment 3
For when detecting link error, accurate link error rates is provided, the embodiment of the invention provides a kind of optical fiber link detection method, downlink system with GPON is an example, and be with respect to the difference of the detection method under the idle-detection pattern that provides among the embodiment 2: the embodiment of the invention 3 provides the chain circuit detecting method under a kind of full-time detecting pattern.Referring to Fig. 5, this method comprises:
The transmission of 501:OAM passage control data stops whole business datums, and the GEM frame in the descending GTC frame that transmitting terminal sends is IDLE GEM frame all;
502: receiving terminal receives the data of transmitting terminal, and the initial indication of the GEM that utilizes the GTC frame to provide will be delimited the state machine forced working in synchronous regime, the indication of circulation output IDLE GEM frame;
503: the IDLE GEM frame that receives is carried out Error detection;
Wherein, shown in Figure 4 as among the embodiment 2, because the GEM frame is as the part of GTC frame, in a period of time, both BER have similitude.Along with the prolongation of time, it is identical that both BER can be tending towards.And, because receiving terminal can be predicted the correct data (being that PLI, Port ID, PTI are 0) of transmitting terminal, thereby the IDLE GEM frame that receives can be compared with the IDLE GEM frame of precognition, detect the link error code.Comprise:
Receiving terminal obtains the IDLE GEM content frame of 5 bytes with the content and the preset value 0xB6AB31E055 XOR of the IDLE GEM frame that extracts, at this moment, according to 1 the number that occurs in this 5 byte, determines to occur the bit number of error code.For example, behind the IDLE GEM frame XOR of receiving terminal with extraction, the IDLE GEM frame of 5 bytes that obtain is 000,000,101,000 000,000,001,000 000 0000000000000, wherein, because PLI, Port ID, PTI, the HEC of the IDLE GEM frame of precognition are 0, delimit state machine so and just can find: have 3bit error code to occur in the IDLE GEM frame of 5 bytes that obtain; And the rest may be inferred, the bit number of the appearance error code of the IDLE GEM frame that all receives of statistics, the bit that error code all occurs counted addition after, do division with the bit number of the whole IDLE GEM frames that receive, obtain the accurate error rate of down link.For example, receive 10 IDLE GEM frames, totally 50 bytes, i.e. 400bit, the bit number that error code appears in statistics is 5, then the accurate error rate of down link is 1.25%.
Here need to prove that the up-link of GPON network and the chain circuit detecting method of downlink system are essentially identical, therefore here do not give unnecessary details.
Further, because the embodiment of the invention is a link detecting of utilizing the whole bandwidth in the network to carry out, therefore also this link detection method can be become the chain circuit detecting method under the full-time detecting pattern.
The optical fiber link detection method that the embodiment of the invention provides is compared with the IDLE GEM of precognition by the IDLE GEM that will receive, and gets the figure place that occurs error code in the outgoing link, and the total bit according to the whole IDLEGEM frames that receive obtains the error rate accurately.And the sending ending equipment that this method can compatible any producer does not need sending ending equipment to do special circuit design, has very application fields and using value.
Embodiment 4
For when detecting link error, accurate link error rates is provided, the embodiment of the invention provides a kind of checkout gear of optical fiber link, and referring to Fig. 6, this device comprises:
Receiver module 601 is used for the Frame that receiving end/sending end sends, and comprises empty Gigabit Passive Optical Network encapsulation GEM frame in the Frame, and wherein the frame head of GEM frame has passed through XOR with a preset value at transmitting terminal; Concrete, in the present embodiment, this preset value is 0xB6AB31E055;
Obtain module 602, be used for obtaining empty GEM frame from Frame;
Detection module 603 is used for the header content and the preset value of the GEM frame of sky are done XOR, the XOR result is compared with predetermined value, and obtain the error rate of optical fiber link according to comparative result.
Wherein, under a kind of execution mode, the description of reference method embodiment obtains module 602 and comprises:
The frame head position obtains the unit, is used for obtaining from Frame the frame head position of first GEM frame;
Empty GEM frame obtains the unit, is used for the frame head position according to first GEM frame, obtains all empty GEM frame.
Wherein, under the another kind of execution mode, the description of reference method embodiment obtains module 602 and comprises:
Frame head obtains the unit, is used for obtaining from Frame the frame head position of first GEM frame, obtains the header content of first GEM frame;
Error correction unit is used for utilizing the frame head error code control of empty GEM frame that the header content of first GEM frame is carried out error code correction;
The GEM frame obtains the unit, is used for obtaining according to the header content of first GEM frame behind the error code correction frame head position of next GEM frame, obtains the header content of next GEM frame; Find the frame head position of whole GEM frames, obtain the header content of whole GEM frames;
Empty GEM frame obtains the unit, is used for the header content at whole GEM frames, is that the zero pairing error code correction GEM frame before that carries out of GEM frame is defined as empty GEM frame with payload length PLI.
Wherein, the description of reference method embodiment, detection module 603 comprises:
Arithmetic element, the header content and the preset value that are used for the GEM frame that each is empty are done XOR, obtain the XOR result;
Statistic unit is used for adding up non-0 occurrence number of XOR result;
Sum unit is used for non-0 the occurrence number addition of XOR result, obtains the total degree of non-0 appearance;
Computing unit is used for calculating the error rate according to the operation result of arithmetic element, statistic unit and sum unit.
The checkout gear of the optical fiber link that the embodiment of the invention provides is compared with the IDLE GEM of precognition by the IDLE GEM that will receive, and gets the figure place that occurs error code in the outgoing link, and the total bit according to the whole IDLEGEM frames that receive obtains the error rate accurately.Simultaneously, utilize the HEC error code correction characteristic in the GEM frame head, the GEM frame that error code occurs is carried out error correction, guarantee the normal operation of system.And the sending ending equipment that this method can compatible any producer does not need sending ending equipment to do special circuit design, has very application fields and using value.
Embodiment 5
For when detecting link error, accurate link error rates is provided, the embodiment of the invention provides a kind of detection system of optical fiber link, and referring to Fig. 7, this system comprises: sending ending equipment 701 and receiving device 702;
Wherein, sending ending equipment 701 is used for sending Frames to receiving device 702, comprises empty Gigabit Passive Optical Network encapsulation GEM frame in the Frame, and wherein the frame head of GEM frame has passed through XOR with a preset value at transmitting terminal;
Receiving device 702 is used for the Frame that receiving end/sending end 701 sends, and comprises empty Gigabit Passive Optical Network encapsulation GEM frame in the Frame; From Frame, obtain empty GEM frame; The header content and the preset value of the GEM frame of sky are done XOR, obtain the XOR result; The XOR result is compared with predetermined value, and obtain the error rate of optical fiber link according to comparative result.
Concrete, receiving device 802 can not done and give unnecessary details here for the checkout gear of the optical fiber link that provides among the embodiment 4.
The detection system of the optical fiber link that the embodiment of the invention provides is compared with the IDLE GEM of precognition by the IDLE GEM that will receive, and gets the figure place that occurs error code in the outgoing link, and the total bit according to the whole IDLEGEM frames that receive obtains the error rate accurately.Simultaneously, utilize the HEC error code correction characteristic in the GEM frame head, the GEM frame that error code occurs is carried out error correction, guarantee the normal operation of system.And the sending ending equipment that this method can compatible any producer does not need sending ending equipment to do special circuit design, has very application fields and using value.
The embodiment of the invention can utilize software to realize that corresponding software programs can be stored in the storage medium that can read, for example, and in the hard disk of router, buffer memory or the CD.
The above only is preferred embodiment of the present invention, and is in order to restriction the present invention, within the spirit and principles in the present invention not all, any modification of being done, is equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (12)

1, a kind of optical fiber link detection method is characterized in that, comprising:
The Frame that receiving end/sending end sends comprises empty Gigabit Passive Optical Network encapsulation GEM frame in the described Frame, the frame head of wherein said GEM frame has passed through XOR with a preset value at described transmitting terminal;
From described Frame, obtain the GEM frame of described sky;
The header content and the described preset value of the GEM frame of described sky are done XOR again, obtain the XOR result;
Described XOR result is compared with predetermined value, and obtain the error rate of described optical fiber link according to comparative result.
2, the method for claim 1 is characterized in that, when the whole GEM frames in the described Frame that described transmitting terminal sends were empty GEM frame, the described GEM frame that obtains described sky from described Frame comprised:
From described Frame, obtain the frame head position of first GEM frame;
According to the frame head position of described first GEM frame, obtain the GEM frame of whole described skies.
3, the method for claim 1 is characterized in that, when the part GEM frame in the described Frame that described transmitting terminal sends was the GEM frame of sky, the described GEM frame that obtains described sky from described Frame comprised:
From described Frame, obtain the frame head position of first GEM frame, obtain the header content of first GEM frame;
Utilize the frame head error code control in the GEM frame of described sky that the header content of described first GEM frame is carried out error code correction;
Obtain the frame head position of next GEM frame according to the header content of first GEM frame behind the described error code correction, obtain the header content of next GEM frame;
Find the frame head position of whole GEM frames according to the method for the frame head position of the next GEM frame of described acquisition, obtain the header content of whole GEM frames;
In the header content of described whole GEM frames, payload length PLI is that the pairing GEM frame that carries out before the error code correction of zero GEM frame is the GEM frame of described sky.
4, the method for claim 1 is characterized in that, described predetermined value is 0, and the then described error rate that obtains described optical fiber link according to comparative result comprises:
Add up non-0 occurrence number among each described XOR result;
The error rate of adding up described optical fiber link according to described non-0 occurrence number.
5, method as claimed in claim 4 is characterized in that, the described error rate of adding up described optical fiber link according to described non-0 occurrence number comprises:
Add up the sum of the GEM frame median of whole described skies;
Calculate the ratio between the sum of the total degree of described non-0 appearance and described figure place, obtain the error rate of described optical fiber link.
6, the method for claim 1 is characterized in that, described preset value is 0xB6AB31E055.
7, a kind of checkout gear of optical fiber link is characterized in that, comprising:
Receiver module is used for the Frame that receiving end/sending end sends, and comprises empty Gigabit Passive Optical Network encapsulation GEM frame in the described Frame, and the frame head of wherein said GEM frame has passed through XOR with a preset value at transmitting terminal;
Obtain module, be used for obtaining the GEM frame of described sky from described Frame;
Detection module is used for the header content and the described preset value of the GEM frame of described sky are done XOR, described XOR result is compared with predetermined value, and obtain the error rate of described optical fiber link according to comparative result.
8, device as claimed in claim 7 is characterized in that, described acquisition module comprises:
The frame head position obtains the unit, is used for obtaining from described Frame the frame head position of first GEM frame;
Empty GEM frame obtains the unit, is used for the frame head position according to described first GEM frame, obtains the GEM frame of whole described skies.
9, device as claimed in claim 7 is characterized in that, described acquisition module comprises:
Frame head obtains the unit, is used for obtaining from described Frame the frame head position of first GEM frame, obtains the header content of first GEM frame;
Error correction unit is used for utilizing the frame head error code control of the GEM frame of described sky that the header content of described first GEM frame is carried out error code correction;
The GEM frame obtains the unit, is used for obtaining according to the header content of first GEM frame behind the described error code correction frame head position of next GEM frame, obtains the header content of next GEM frame; Find the frame head position of whole GEM frames, obtain the header content of whole GEM frames;
Empty GEM frame obtains the unit, is used for the header content at described whole GEM frames, is the GEM frame that the pairing GEM frame that carries out before the error code correction of zero GEM frame is defined as described sky with payload length PLI.
10, device as claimed in claim 7 is characterized in that, described detection module comprises:
Arithmetic element is used for the header content and the described preset value of the GEM frame of each described sky are done XOR, obtains the XOR result;
Statistic unit is used for adding up non-0 occurrence number of described XOR result;
Sum unit is used for the occurrence number addition that described XOR result is non-0, obtains the total degree of non-0 appearance;
Computing unit is used for calculating the described error rate according to the operation result of described arithmetic element, described statistic unit and described sum unit.
11, device as claimed in claim 7 is characterized in that, described preset value is 0xB6AB31E055.
12, a kind of detection system of optical fiber link is characterized in that, comprising: sending ending equipment and receiving device;
Described sending ending equipment is used for sending Frame to described receiving device, comprises empty Gigabit Passive Optical Network encapsulation GEM frame in the described Frame, and the frame head of wherein said GEM frame has passed through XOR with a preset value at transmitting terminal;
Described receiving device is used to receive the Frame that described transmitting terminal sends, and comprises empty Gigabit Passive Optical Network encapsulation GEM frame in the described Frame; From described Frame, obtain the GEM frame of described sky; The header content and the described preset value of the GEM frame of described sky are done XOR, obtain the XOR result; Described XOR result is compared with predetermined value, and obtain the error rate of described optical fiber link according to comparative result.
CN2009101291696A 2009-03-27 2009-03-27 Detection method, device and system for optical fiber link Expired - Fee Related CN101510818B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009101291696A CN101510818B (en) 2009-03-27 2009-03-27 Detection method, device and system for optical fiber link

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009101291696A CN101510818B (en) 2009-03-27 2009-03-27 Detection method, device and system for optical fiber link

Publications (2)

Publication Number Publication Date
CN101510818A true CN101510818A (en) 2009-08-19
CN101510818B CN101510818B (en) 2012-01-04

Family

ID=41003087

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009101291696A Expired - Fee Related CN101510818B (en) 2009-03-27 2009-03-27 Detection method, device and system for optical fiber link

Country Status (1)

Country Link
CN (1) CN101510818B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102064964A (en) * 2010-12-13 2011-05-18 中国人民解放军国防科学技术大学 Method for rapidly switching gigabit network cards in gigabit switching environment
CN102045106B (en) * 2009-10-23 2015-06-03 中兴通讯股份有限公司 Testing method and system of parallel optical cables
US9531480B2 (en) 2012-08-28 2016-12-27 Huawei Technologies Co., Ltd. Optical receiver

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100417071C (en) * 2003-05-30 2008-09-03 西安通视数据有限责任公司 Forward error correcting method in one-way broadcast file transmission
CN100527708C (en) * 2006-04-30 2009-08-12 华为技术有限公司 Method for transmitting service frame in passive light network, optical network unit and optical line circuit
JP4317860B2 (en) * 2006-08-30 2009-08-19 株式会社日立コミュニケーションテクノロジー Optical concentrator and optical subscriber unit

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102045106B (en) * 2009-10-23 2015-06-03 中兴通讯股份有限公司 Testing method and system of parallel optical cables
CN102064964A (en) * 2010-12-13 2011-05-18 中国人民解放军国防科学技术大学 Method for rapidly switching gigabit network cards in gigabit switching environment
CN102064964B (en) * 2010-12-13 2012-09-05 中国人民解放军国防科学技术大学 Method for rapidly switching gigabit network cards in gigabit switching environment
US9531480B2 (en) 2012-08-28 2016-12-27 Huawei Technologies Co., Ltd. Optical receiver

Also Published As

Publication number Publication date
CN101510818B (en) 2012-01-04

Similar Documents

Publication Publication Date Title
EP2499770B1 (en) Downstream frame synchronization pattern protected by header error control in ten gigabit passive optical network
US7983308B1 (en) Method and apparatus for data frame synchronization
US8406633B1 (en) Method and apparatus for data frame synchronization and delineation
US8374503B2 (en) Passive optical network system and optical line terminal
US7583898B1 (en) Signal-detect-based ranging technique for burst-mode optical systems
US8724658B2 (en) Optical transmission device and optical transmission method
EP3480981B1 (en) Downlink data frame transmission method and device
EP2187566B1 (en) Method and device for realizing data error reporting
US20100021158A1 (en) Optical communications system without using a special-purpose evaluation signal
CN101572833A (en) Method, device and system for transmitting uplink burst data in passive optical network system
KR101846469B1 (en) Transimpedance amplifier reset apparatus for low power passive optical network equipment and method thereof
CN102195738A (en) Synchronous processing method and device for downlink frames of GPON (gigabit passive optical network) system
US7899329B2 (en) Transmission system and transmission apparatus
CN101729194B (en) Methods, devices and system for coding and decoding data
JP2008017264A (en) Pon multiplex relay system, pon multiplex relay device to be used for the same and its network synchronization method
CN101510818B (en) Detection method, device and system for optical fiber link
US20110293288A1 (en) Optical line terminal, optical network unit, optical communication system, error correction method, and recording medium
EP2562947B1 (en) Method, apparatus and system for passive optical network communication
KR101078052B1 (en) Apparatus and Method for recovering of received data for PON system
US10992406B2 (en) Communication in passive optical networks (PONs) related to digital signal processing for optical signal (oDSP)
KR101294516B1 (en) Method and apparatus for burst mode clock and data recovery
CN102056030B (en) Gbit passive optical network system and data input and data output method thereof
CN101958752B (en) Method for transmitting uplink burst data in passive optical network system
JP5992799B2 (en) Receiving apparatus, communication system, program, and method for acquiring transmission side information using differentiating means
CN113347510A (en) Communication device, MAC chip, optical module

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
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20120104

Termination date: 20180327