CN101510818B - 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
CN101510818B
CN101510818B CN2009101291696A CN200910129169A CN101510818B CN 101510818 B CN101510818 B CN 101510818B CN 2009101291696 A CN2009101291696 A CN 2009101291696A CN 200910129169 A CN200910129169 A CN 200910129169A CN 101510818 B CN101510818 B CN 101510818B
Authority
CN
China
Prior art keywords
frame
gem
gem frame
optical fiber
obtains
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.)
Expired - Fee Related
Application number
CN2009101291696A
Other languages
Chinese (zh)
Other versions
CN101510818A (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

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 through BIP (Bit Interleaved Parity, bit interleaved parity).Wherein, The data flow transmission mode that the downlink system of GPON adopts broadcasting to send is carried 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 (Optical Network 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 through 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 receives 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.Said technical scheme is following:
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 said Frame, the frame head of wherein said GEM frame has passed through the XOR with a preset value at transmitting terminal;
From said Frame, obtain the GEM frame of said sky;
The header content and the said preset value of the GEM frame of said sky are done XOR again, obtain the XOR result;
Said XOR result is compared with predetermined value, and obtain the error rate of said optical fiber link according to comparative result;
Wherein, when the whole GEM frames in the said Frame that said transmitting terminal sends were empty GEM frame, the said GEM frame that from said Frame, obtains said sky comprised:
From said Frame, obtain the frame head position of first GEM frame;
According to the frame head position of said first GEM frame, obtain the GEM frame of whole said skies;
Perhaps, when the part GEM frame in the said Frame that said transmitting terminal sends was the GEM frame of sky, the said GEM frame that from said Frame, obtains said sky comprised:
From said 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 said sky that the header content of said 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 said 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 said acquisition, obtain the header content of whole GEM frames;
In the header content of said 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 said sky.
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 said Frame, and the frame head of wherein said GEM frame has passed through the XOR with a preset value at transmitting terminal;
Obtain module, be used for obtaining the GEM frame of said sky from said Frame;
Detection module is used for the header content and the said preset value of the GEM frame of said sky are done XOR, said XOR result is compared with predetermined value, and obtain the error rate of said optical fiber link according to comparative result;
Wherein, said acquisition module comprises:
The frame head position obtains the unit, is used for obtaining from said Frame the frame head position of first GEM frame;
Empty GEM frame obtains the unit, is used for the frame head position according to said first GEM frame, obtains the GEM frame of whole said skies;
Perhaps, said acquisition module comprises:
Frame head obtains the unit, is used for obtaining from said 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 said sky that the header content of said 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 said 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 said 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 confirmed as said sky with payload length PLI.
A kind of detection system of optical fiber link comprises: sending ending equipment and receiving device;
Said sending ending equipment is used for sending Frame to said receiving device, comprises empty Gigabit Passive Optical Network encapsulation GEM frame in the said Frame, and the frame head of wherein said GEM frame has passed through the XOR with a preset value at transmitting terminal;
Said receiving device is the checkout gear of above-mentioned optical fiber link.
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 sketch map 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 object of the invention, technical scheme and advantage clearer, will combine accompanying drawing that embodiment of the present invention is done to describe in detail further below.
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 the 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 total degree and figure place of non-0 appearance, obtain the error rate of link.
GEM through 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 is as shown in Figure 3.
Wherein, The GEM frame head is totally 5 bytes; Comprising: the PLI of 12bit (position) (Payload Length Indicator; The payload length sign), the HEC of the PTI (Payload Type Indicator, Payload Type Identifier) of the PortID (port id) of 12bit, 3bit and 13bit (Header Error Control, the control of frame head error code).Wherein, PLI has indicated immediately following the length (unit is a byte) at frame head payload at the back; 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 through GEM encapsulation back, when not having business datum, insert IDLE GEM frame in the GTC frame in the GPON transmission through network.
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 with IDLE GEM frame be inserted in the GPON network, transmit in the GTC frame be for: the GEM frame is carried out speed decouples, fill 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, and a stage does not have business datum, but GTC frame framing on time; Therefore there be not to need under the situation of business datum to insert IDLE GEM frame, 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 break off.Say that from the another one angle generating rate of business datum can be inconsistent with the generating rate of GTC frame.And speed to decouple be exactly the relevance of generating rate that reduces generating rate and the GTC frame of business datum.
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 need not done special circuit design.
203: receiving terminal receives descending GTC frame, and in the whole descending GTC frame that receives, extracts the IDLEGEM frame;
The GTC frame provides the position of first GEM frame head, and receiving terminal is through 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, through delimiting state machine the GEM frame is delimited, promptly use the adaptive method of a kind of HEC that frame head is carried out search again, concrete searching method comprises:
Generally speaking, delimit state machine and can be in synchronous state, make a mistake according to the HEC that PLI, Port ID and PTI calculate when delimiting state machine; Then explain in this GEM frame head error code has taken place, then delimit state machine and get into search condition, in search condition; Delimit state machine and seek correct HEC, when finding correct HEC, delimit state machine and get into presynchronization state; Delimit the value of state machine, find next GEM frame head, verify whether the HEC in the next GEM frame head is correct according to the PLI value that obtains according to correct HEC calculating PLI; If the HEC in the next GEM frame head also is correct, then delimits state machine and get into synchronous regime.
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 one have 5 bytes IDLE GEM frame head; 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 IDLE GEM 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 foreseen the correct data of transmitting terminal; Present embodiment can be referred to as predetermined value); Thereby can not compare with the IDLE GEM frame of prevision what receive, detect the link error code through the IDLE GEM frame before the HEC error code correction.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,, confirm 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 prevision 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 can this link detection method 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; Through the IDLE GEM that receives is compared with the IDLE GEM of prevision; Get the figure place that occurs error code in the outgoing link, the total bit according to the whole IDLE GEM 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 to receiving carries 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,, thereby can the IDLE GEM frame that receive be compared detection link error code with the IDLE GEM frame of prevision because receiving terminal can be foreseen the correct data (being that PLI, Port ID, PTI are 0) of transmitting terminal.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, and at this moment, according to 1 the number that occurs in this 5 byte, confirms 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 prevision 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 can this link detection method 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; Through the IDLE GEM that receives is compared with the IDLE GEM of prevision; Get the figure place that occurs error code in the outgoing link, the total bit according to the whole IDLE GEM 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 the 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 confirmed 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; Through the IDLE GEM that receives is compared with the IDLE GEM of prevision; Get the figure place that occurs error code in the outgoing link, the total bit according to the whole IDLE GEM 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 the 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 for the checkout gear of the optical fiber link that provides among the embodiment 4 here.
The detection system of the optical fiber link that the embodiment of the invention provides; Through the IDLE GEM that receives is compared with the IDLE GEM of prevision; Get the figure place that occurs error code in the outgoing link, the total bit according to the whole IDLE GEM 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 is merely preferred embodiment of the present invention, and is in order to restriction the present invention, not all within spirit of the present invention and principle, any modification of being done, is equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (8)

1. an 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 said Frame, the frame head of wherein said GEM frame has passed through the XOR with a preset value at said transmitting terminal;
From said Frame, obtain the GEM frame of said sky;
The header content and the said preset value of the GEM frame of said sky are done XOR again, obtain the XOR result;
Said XOR result is compared with predetermined value, and obtain the error rate of said optical fiber link according to comparative result;
Wherein, when the whole GEM frames in the said Frame that said transmitting terminal sends were empty GEM frame, the said GEM frame that from said Frame, obtains said sky comprised:
From said Frame, obtain the frame head position of first GEM frame;
According to the frame head position of said first GEM frame, obtain the GEM frame of whole said skies,
Perhaps, when the part GEM frame in the said Frame that said transmitting terminal sends was the GEM frame of sky, the said GEM frame that from said Frame, obtains said sky comprised:
From said 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 said sky that the header content of said 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 said 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 said acquisition, obtain the header content of whole GEM frames;
In the header content of said 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 said sky.
2. the method for claim 1 is characterized in that, said predetermined value is 0, and the then said error rate that obtains said optical fiber link according to comparative result comprises:
Add up non-0 occurrence number among each said XOR result;
The error rate of adding up said optical fiber link according to said non-0 occurrence number.
3. method as claimed in claim 2 is characterized in that, the said error rate of adding up said optical fiber link according to said non-0 occurrence number comprises:
Add up the sum of the GEM frame median of whole said skies;
Calculate the ratio between the sum of total degree and said figure place of said non-0 appearance, obtain the error rate of said optical fiber link.
4. the method for claim 1 is characterized in that, said preset value is 0xB6AB31E055.
5. the checkout gear of an 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 said Frame, and the frame head of wherein said GEM frame has passed through the XOR with a preset value at transmitting terminal;
Obtain module, be used for obtaining the GEM frame of said sky from said Frame;
Detection module is used for the header content and the said preset value of the GEM frame of said sky are done XOR, said XOR result is compared with predetermined value, and obtain the error rate of said optical fiber link according to comparative result;
Wherein, said acquisition module comprises:
The frame head position obtains the unit, is used for obtaining from said Frame the frame head position of first GEM frame;
Empty GEM frame obtains the unit, is used for the frame head position according to said first GEM frame, obtains the GEM frame of whole said skies,
Perhaps, said acquisition module comprises:
Frame head obtains the unit, is used for obtaining from said 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 said sky that the header content of said 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 said 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 said 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 confirmed as said sky with payload length PLI.
6. device as claimed in claim 5 is characterized in that, said detection module comprises:
Arithmetic element is used for the header content and the said preset value of the GEM frame of each said sky are done XOR, obtains the XOR result;
Statistic unit is used for adding up non-0 occurrence number of said XOR result;
Sum unit is used for the occurrence number addition that said XOR result is non-0, obtains the total degree of non-0 appearance;
Computing unit is used for calculating the said error rate according to the operation result of said arithmetic element, said statistic unit and said sum unit.
7. device as claimed in claim 5 is characterized in that, said preset value is 0xB6AB31E055.
8. the detection system of an optical fiber link is characterized in that, comprising: sending ending equipment and receiving device;
Said sending ending equipment is used for sending Frame to said receiving device, comprises empty Gigabit Passive Optical Network encapsulation GEM frame in the said Frame, and the frame head of wherein said GEM frame has passed through the XOR with a preset value at transmitting terminal;
Said receiving device is the checkout gear of the described optical fiber link of claim 5.
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 CN101510818A (en) 2009-08-19
CN101510818B true 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)

Families Citing this family (3)

* 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
CN102064964B (en) * 2010-12-13 2012-09-05 中国人民解放军国防科学技术大学 Method for rapidly switching gigabit network cards in gigabit switching environment
EP2873177B1 (en) 2012-08-28 2017-04-05 Huawei Technologies Co., Ltd. Optical receiver

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1458764A (en) * 2003-05-30 2003-11-26 西安通视数据有限责任公司 Forward error correcting method in one-way broadcast file transmission
CN1984051A (en) * 2006-04-30 2007-06-20 华为技术有限公司 Method for transmitting service frame in passive light network, optical network unit and optical line circuit
CN101136704A (en) * 2006-08-30 2008-03-05 日立通讯技术株式会社 Optical gathering device and optical user device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1458764A (en) * 2003-05-30 2003-11-26 西安通视数据有限责任公司 Forward error correcting method in one-way broadcast file transmission
CN1984051A (en) * 2006-04-30 2007-06-20 华为技术有限公司 Method for transmitting service frame in passive light network, optical network unit and optical line circuit
CN101136704A (en) * 2006-08-30 2008-03-05 日立通讯技术株式会社 Optical gathering device and optical user device

Also Published As

Publication number Publication date
CN101510818A (en) 2009-08-19

Similar Documents

Publication Publication Date Title
EP2955868B1 (en) Header error control protected ten gigabit passive optical network downstream frame synchronization pattern
US8374503B2 (en) Passive optical network system and optical line terminal
US8199775B2 (en) Optical transmission device and optical transmission method
US20100021158A1 (en) Optical communications system without using a special-purpose evaluation signal
EP3480981B1 (en) Downlink data frame transmission method and device
EP2187566B1 (en) Method and device for realizing data error reporting
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
CN101729194B (en) Methods, devices and system for coding and decoding data
US7899329B2 (en) Transmission system and transmission apparatus
CN102301670A (en) Method For Burst Transmission On A Passive Optical Network, Method And Device For Receiver Resetting
CN101510818B (en) Detection method, device and system for optical fiber link
EP2403175A1 (en) Optical link terminal, optical network unit, optical communication system, error correcting method, and recording medium
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
KR101395067B1 (en) Method for monitoring multi uplinks and downlinks of passive optical network
CN102056030B (en) Gbit passive optical network system and data input and data output method thereof
US8798096B2 (en) Method for configuring preamble for communication system, preambler, and apparatus for generating packet using the same
CN101958752B (en) Method for transmitting uplink burst data in passive optical network system
US20150326346A1 (en) System and method for setting downstream forward error correction code in time division multiplexing passive optical network
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
JP2014072746A (en) Communication system and method for acquiring transmission side information by using signal presence/absence determination means

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

Granted publication date: 20120104

Termination date: 20180327

CF01 Termination of patent right due to non-payment of annual fee