CN102917285B - Method and device for testing Ethernet passive optical network devices - Google Patents

Method and device for testing Ethernet passive optical network devices Download PDF

Info

Publication number
CN102917285B
CN102917285B CN201210424890.XA CN201210424890A CN102917285B CN 102917285 B CN102917285 B CN 102917285B CN 201210424890 A CN201210424890 A CN 201210424890A CN 102917285 B CN102917285 B CN 102917285B
Authority
CN
China
Prior art keywords
channel
llid
unicast data
data frames
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201210424890.XA
Other languages
Chinese (zh)
Other versions
CN102917285A (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 Machine Co Ltd
Original Assignee
Huawei Machine 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 Machine Co Ltd filed Critical Huawei Machine Co Ltd
Priority to CN201210424890.XA priority Critical patent/CN102917285B/en
Publication of CN102917285A publication Critical patent/CN102917285A/en
Application granted granted Critical
Publication of CN102917285B publication Critical patent/CN102917285B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a method for testing Ethernet passive optical network devices. The method includes registering a virtually added optical network unit ONU in an online manner after a test instruction is acquired, and allocating logic link identification and fixed bandwidth to the ONU; pushing an Ethernet test message to a downlink channel, and encapsulating the test message into a unicast data frame in the downlink channel; looping the unicast data frame back to an uplink channel; de-encapsulating the unicast data frame in the uplink channel, and pushing a test message obtained after the unicast data frame is de-encapsulated out of the uplink channel; and outputting a response indicating that an Ethernet passive optical network device runs normally during a test when the test message pushed out of the unlink channel is identical to the test message pushed to the downlink channel. The unicast data frame carries the logic link identification. The method and the device for testing the Ethernet passive optical network devices have the advantages that self-loopback tests on the optical network devices can be realized by the optical network devices, and complexity of the tests is reduced.

Description

The method of testing of Ethernet passive optical network equipment and equipment
Technical field
The present invention relates to communication technical field, be specifically related to a kind of method of testing and equipment of Ethernet passive optical network equipment.
Background technology
Ethernet passive optical network (EPON, Ethernet Passive Optical Network) technology take optical fiber as transmission medium, by up-downgoing wavelength division multiplexing, realizes single fiber bi-directional communication; Broadcasted by down direction, the time-multiplexed technology of up direction achieves point-to-multipoint communication simultaneously.
EPON system is by the optical line terminal (OLT of local side, Optical Line Terminal), optical fiber splitter (ODN, Optical Distribution Node) and optical network unit (ONU, OpticalNetwork Unit) three part compositions, because EPON is a point-to-multi-point system, therefore there is the possibility of network conflict, so adopt time-multiplexed way share same optical channel transmission data to allow multiple ONU in EPON system.
In order to the smooth evolution of the compatibility and network that realize 10G EPON and 1G EPON, IEEE 802.3av standard has special consideration, to ensure 10G EPON and 1G EPON system coexisting under same ODN in Wavelength Assignment, multiparty control mechanism.
In EPON system, in order to realize the compatibility of 10G EPON and 1G EPON, in wavelength planning, the downstream wavelength of the 1490nm that 10G EPON does not use 1G EPON system to use, IEEE802.3av Standard Selection 1577nm is as the wavelength (wave-length coverage 1574 ~ 1580nm) of 10Gbit/s downstream signal.Therefore, at down direction, 10Gbit/s signal and 1Gbit/s signal are wavelength division multiplexing (WDM, Wavelength Division Multiplexing) mode.And up direction, the wavelength of 1Gbit/s signal is 1310nm (wave-length coverage 1260 ~ 1360nm), the up wavelength of IEEE 802.3av standard regulation 10Gbit/s signal is 1270nm (wave-length coverage 1260 ~ 1280nm), the two has overlap, therefore WDM mode can not be adopted, dual rate time division multiplexing can only be adopted to access (TDMA, Time DivisionMultiple Access) mode.Such 10G EPON OLT can find 10G/10G, 10G/1G and 1G/1G tri-kinds of ONU simultaneously.
Prior art is each passive optical-fiber network (PON to the method for testing of 10G EPON equipment, Passive Optical Network) hang three types ONU and carry out docking networking under the optical splitter that connects of mouth, whether the use ethernet traffic device testing authentication OLT that carries out giving out a contract for a project that gives out a contract for a project is normal.
The present inventor finds, for for detecting 10G EPON 10G, 1G Serdes and PON MAC normal data traffic hardware corridor in prior art, standard 10G EPON port need be equipped with an optical module, a 1:4 or and above splitting ratio optical splitter, three types test terminal.For 4 mouthfuls of 10GEPON veneers, at least need outfit 4 optical modules, 12 terminals and 4 optical splitters.Outfit 24 terminals and 8 optical splitters are then needed for 8 mouthfuls of 10G EPON veneers.And each veneer needs a flow instrument, such test macro, test program is complicated, and testing cost is high.
Summary of the invention
The embodiment of the present invention provides a kind of method of testing of Ethernet passive optical network equipment, can simplify the complexity of test, reduces testing cost.
Embodiment of the present invention first aspect provides a kind of method of testing of Ethernet passive optical network equipment, comprising:
After getting test instruction, virtual interpolation optical network unit ONU registration is reached the standard grade, and gives ONU assignment logic link identification and the fixed-bandwidth of described virtual interpolation;
Ethernet test message is pushed to down channel, and at down channel, described test packet is packaged into unicast data frames, and carry described LLID in described unicast data frames;
Described fixed-bandwidth transmits described unicast data frames, and by the communication interface of described down channel and up channel, described unicast data frames is looped back to described up channel;
After described up channel determines the ONU existence that described LLID is corresponding according to described LLID, described up channel transmits described unicast data frames with described fixed-bandwidth;
At described up channel to described unicast data frames decapsulation, and the test packet after decapsulation is pushed out described up channel;
When detecting that the test packet pushed out from described up channel is identical with the test packet being pushed to described down channel, exporting described Ethernet passive optical network testing of equipment and responding normally.
In conjunction with first aspect, in the implementation that the first is possible, described to after the ONU assignment logic link identification of described virtual interpolation, also comprise:
Added to by described LLID in LLID table, described LLID table registers LLID corresponding to the ONU that reaches the standard grade for storing.
In conjunction with the first possible implementation of first aspect, in the implementation that the second is possible, determine that the ONU that described LLID is corresponding exists at described up channel according to described LLID, specifically comprise:
Described LLID is searched in described LLID table;
When inquire store described LLID in described logical links table time, determine that ONU corresponding to described LLID exists.
In conjunction with the implementation that first aspect, first aspect the first or the second are possible, in the implementation that the third is possible, the described communication interface by described down channel and up channel also comprises after described unicast data frames being looped back to the step of up channel:
Resolve described unicast data frames, from described unicast data frames, extract described LLID.
In conjunction with the implementation that first aspect, first aspect the first or the second are possible, in the 4th kind of possible implementation, described before described up channel is to the step of described unicast data frames decapsulation, also comprise:
Detect the type of the Frame of described uplink channel transmission;
When the type of described Frame is not unicast data frames, described Frame is outputted to processor and processes.
Embodiment of the present invention second aspect provides a kind of Ethernet passive optical network equipment, comprising:
Acquiring unit, for obtaining test instruction;
Virtual registration unit, for after described acquiring unit gets test instruction, virtual interpolation optical network unit ONU registration is reached the standard grade;
Allocation units, for giving ONU assignment logic link identification and the fixed-bandwidth of the virtual interpolation of described virtual registration unit;
Push unit, for after described allocation units assignment logic link identification and fixed-bandwidth, is pushed to down channel by ethernet test message;
Frame encapsulation unit, for the test packet that described push unit promotes being packaged into unicast data frames at down channel, and carries described LLID in described unicast data frames;
Downlink transfer unit, for transmitting the unicast data frames of described frame encapsulation unit encapsulation on described fixed-bandwidth;
Loopback unit, is looped back to described up channel for the communication interface by described down channel and up channel by the unicast data frames that described uplink unit is transferred to described down channel port;
According to the described loopback cell rings LLID got back in the unicast data frames of described up channel, determining unit, for determining whether the ONU that described LLID is corresponding exists;
Uplink unit, for determine the ONU existence that described LLID is corresponding in described determining unit after, described up channel transmits described unicast data frames with described fixed-bandwidth;
Decapsulation unit, for the unicast data frames decapsulation transmitted described downlink transfer unit at described up channel;
Described push unit, for pushing out described up channel by the test packet after described decapsulation unit decapsulation;
Whether detecting unit is identical with the test packet being pushed to described down channel for the test packet that described push unit pushes out from up channel being detected;
Output unit, during for detecting that the test packet pushed out from described up channel is identical with the test packet being pushed to described down channel at described detecting unit, exporting described Ethernet passive optical network testing of equipment and responding normally.
In conjunction with second aspect, in the implementation that the first is possible, described equipment also comprises:
Adding device, the LLID for being distributed by described allocation units adds in LLID table, and described LLID table registers LLID corresponding to the ONU that reaches the standard grade for storing.
In conjunction with the first possible implementation of second aspect, in the implementation that the second is possible,
Described determining unit, for searching described LLID in described LLID table, when finding described LLID at described logical links table, determines that the ONU that described LLID is corresponding exists.
In conjunction with the implementation that second aspect, second aspect the first or the second are possible, in the implementation that the third is possible, described equipment also comprises:
Resolution unit, for after described unicast data frames is looped back to up channel by described loopback unit, resolves described unicast data frames, from described unicast data frames, extracts described LLID.
In conjunction with the implementation that second aspect, second aspect the first or the second are possible, in the 4th kind of possible implementation, described detecting unit, also for detecting the type of the Frame of described uplink channel transmission;
Described output unit, time also for detecting that when described detecting unit the type of described Frame is not unicast data frames, being sent to processor by described Frame and processing.
The embodiment of the present invention third aspect provides a kind of computer-readable storage medium, and described computer-readable storage medium has program stored therein, and comprises the some or all of step of above-mentioned method of testing when this program performs.
Embodiment of the present invention fourth aspect provides a kind of optical network device, the interface of the up channel of described optical network device is connected with the interface communication of down channel, described optical network device comprises: for receive the input unit of test instruction, output device, for stored program memory and processor, described processor calls the program in described memory, and performs treatment step according to described program;
Wherein, described processor is used for:
After getting test instruction, virtual interpolation optical network unit ONU registration is reached the standard grade, and gives ONU assignment logic link identification and the fixed-bandwidth of described virtual interpolation;
Ethernet test message is pushed to down channel, and at down channel, described test packet is packaged into unicast data frames, and carry described LLID in described unicast data frames;
Described fixed-bandwidth transmits described unicast data frames, and by the communication interface of described down channel and up channel, described unicast data frames is looped back to described up channel;
After described up channel determines the ONU existence that described LLID is corresponding according to described LLID, described up channel transmits described unicast data frames with described fixed-bandwidth;
At described up channel to described unicast data frames decapsulation, and the test packet after decapsulation is pushed out described up channel;
Described output device is used for:
When detecting that the test packet pushed out from described up channel is identical with the test packet being pushed to described down channel, exporting described Ethernet passive optical network testing of equipment and responding normally.
In conjunction with fourth aspect, in the implementation that the first is possible, described processor is also for adding in LLID table by described LLID, and described LLID table registers LLID corresponding to the ONU that reaches the standard grade for storing.
In conjunction with the first possible implementation of fourth aspect, described processor also for searching described LLID in described LLID table; When finding described LLID in described logical links table, determine that the ONU that described LLID is corresponding exists.
In conjunction with the implementation that fourth aspect, fourth aspect the first or the second are possible, in the implementation that the third is possible, described processor also for resolving described unicast data frames, extracts described LLID from described unicast data frames.
In conjunction with the implementation that fourth aspect, fourth aspect the first or the second are possible, in the 4th kind of possible implementation, described processor is also for detecting the type of the Frame of described uplink channel transmission, when the type of described Frame is not unicast data frames, described Frame is sent to processor and processes.
After the embodiment of the present invention adopts and gets test instruction, virtual interpolation optical network unit ONU registration is reached the standard grade, and gives ONU assignment logic link identification and the fixed-bandwidth of described virtual interpolation; Ethernet test message is pushed to down channel, and at down channel, described test packet is packaged into unicast data frames, and carry described LLID in described unicast data frames; Described fixed-bandwidth transmits described unicast data frames, and by the communication interface of described down channel and up channel, described unicast data frames is looped back to described up channel; After described up channel determines the ONU existence that described LLID is corresponding according to described LLID, described up channel transmits described unicast data frames with described fixed-bandwidth; At described up channel to described unicast data frames decapsulation, and the test packet after decapsulation is pushed out described up channel; When detecting that the test packet pushed out from described up channel is identical with the test packet being pushed to described down channel, exporting described Ethernet passive optical network testing of equipment and responding normally.With in prior art by compared with the method for testing that configure optical module, tester, the method for testing that the embodiment of the present invention provides, by optical network device self realization from loopback test, can simplify the complexity of test, reduces testing cost.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those skilled in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is an embodiment schematic diagram of the method for testing that the embodiment of the present invention provides;
Fig. 2 is application scenarios embodiment schematic diagram in the embodiment of the present invention;
Fig. 3 is an embodiment schematic diagram of Ethernet passive optical network equipment in the embodiment of the present invention;
Fig. 4 is another embodiment schematic diagram of Ethernet passive optical network equipment in the embodiment of the present invention;
Fig. 5 is another embodiment schematic diagram of Ethernet passive optical network equipment in the embodiment of the present invention;
Fig. 6 is an embodiment schematic diagram of optical network device in the embodiment of the present invention.
Embodiment
The embodiment of the present invention provides a kind of method of testing of Ethernet passive optical network equipment, can simplify the complexity of test, reduces testing cost.The embodiment of the present invention also provides corresponding equipment.Below be described in detail respectively.
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those skilled in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
The Ethernet passive optical network equipment that the embodiment of the present invention provides can be optical line terminal (OLT, Optical Line Terminal), optical network unit (ONU, Optical Network Unit) or Optical Network Terminal (ONT, Optical Network Terminal).
Consult Fig. 1, an embodiment of the method for testing of the Ethernet passive optical network equipment that the embodiment of the present invention provides comprises:
101, after getting test instruction, virtual interpolation optical network unit ONU registration is reached the standard grade, and gives ONU assignment logic link identification and the fixed-bandwidth of described virtual interpolation.
Fixed-bandwidth can be 1G or 10G.
102, ethernet test message is pushed to down channel, and at down channel, described test packet is packaged into unicast data frames, and carry described LLID in described unicast data frames.
Ethernet test message can be a string data, also can be a mark.
103, on described fixed-bandwidth, transmit described unicast data frames, and by the communication interface of described down channel and up channel, described unicast data frames is looped back to described up channel.
The interface of up channel of the Ethernet passive optical network equipment in the embodiment of the present invention is connected with the interface communication of down channel, can be connected by wire communication, also can be connected by radio communication.
104, after described up channel determines the ONU existence that described LLID is corresponding according to described LLID, described up channel transmits described unicast data frames with described fixed-bandwidth.
105, at described up channel to described unicast data frames decapsulation, and the test packet after decapsulation is pushed out described up channel.
106, when detecting that the described test packet pushed out from up channel is identical with the test packet being pushed to described down channel, exporting described Ethernet passive optical network testing of equipment and responding normally.
When test packet does not change after one week through down channel and uplink channel transmission, this is described, and too the test of net passive optical network equipment is normal, exports the normal response of test.
After the embodiment of the present invention adopts and gets test instruction, virtual interpolation optical network unit ONU registration is reached the standard grade, and gives ONU assignment logic link identification and the fixed-bandwidth of described virtual interpolation; Ethernet test message is pushed to down channel, and at down channel, described test packet is packaged into unicast data frames, and carry described LLID in described unicast data frames; Described fixed-bandwidth transmits described unicast data frames, and by the communication interface of described down channel and up channel, described unicast data frames is looped back to described up channel; After described up channel determines the ONU existence that described LLID is corresponding according to described LLID, described up channel transmits described unicast data frames with described fixed-bandwidth; At described up channel to described unicast data frames decapsulation, and the test packet after decapsulation is pushed out described up channel; When detecting that the described test packet pushed out from up channel is identical with the test packet being pushed to described down channel, exporting described Ethernet passive optical network testing of equipment and responding normally.With in prior art by compared with the method for testing that configure optical module, tester, the method for testing that the embodiment of the present invention provides, by optical network device self realization from loopback test, can simplify the complexity of test, reduces testing cost.
Alternatively, on the basis of embodiment corresponding to above-mentioned Fig. 1, another embodiment of the method for testing of the Ethernet passive optical network equipment that the embodiment of the present invention provides also comprises:
Described to after the ONU assignment logic link identification of described virtual interpolation, also comprise:
Added to by described LLID in LLID table, described LLID table registers LLID corresponding to the ONU that reaches the standard grade for storing.
Alternatively, on the basis of embodiment corresponding to Fig. 1, in another embodiment of the method for testing of the Ethernet passive optical network equipment that the embodiment of the present invention provides,
Describedly determine that ONU corresponding to described LLID exists at up channel according to described LLID, specifically comprise:
Described LLID is searched in described LLID table;
When inquire store described LLID in described logical links table time, determine that ONU corresponding to described LLID exists.
Alternatively, on the basis of embodiment corresponding to Fig. 1 and embodiment corresponding to Fig. 1, in another embodiment of the method for testing of the Ethernet passive optical network equipment that the embodiment of the present invention provides, the described communication interface by described down channel and up channel also comprises after described unicast data frames being looped back to the step of up channel:
Resolve described unicast data frames, from described unicast data frames, extract described LLID.
Alternatively, on the basis of embodiment corresponding to Fig. 1 and embodiment corresponding to Fig. 1, in another embodiment of the method for testing of the Ethernet passive optical network equipment that the embodiment of the present invention provides, described before described up channel is to the step of described unicast data frames decapsulation, also comprise:
Detect the type of the Frame of described uplink channel transmission;
When the type of described Frame is not unicast data frames, described Frame is sent to processor and processes.
The self-test process of several embodiment Ethernet passive optical network equipment that describes specifically above, compared with the method for testing by configuring optical module, tester of the prior art, the method of testing that the embodiment of the present invention provides, can be realized from loopback test by optical network device self, simplify the complexity of test, reduce testing cost.
For the ease of understanding, below for several concrete application scenarios, the test process of detailed description Ethernet passive optical network equipment of the present invention:
Consult Fig. 2, after getting test instruction, start test job pattern, virtual interpolation optical network unit ONU registration is reached the standard grade, and gives ONU assignment logic link identification and the fixed-bandwidth of described virtual interpolation;
The up-downgoing channel of Ethernet passive optical network equipment 20 passes through 1G, 10G short circuit loopback optical module 30 communicates to connect, in close Ethernet service process chip 10 side, 10G rate test frame generation module 200 and 1G rate test frame generation module 210 is provided with in Ethernet passive optical network equipment 20, after 10G rate test frame generation module 200 or 1G rate test frame generation module 210 produce test packet, test packet is pushed to the downlink processing module 220 of down channel, after downlink processing module 220 receives test packet, in test job mode module 2202, test packet is encapsulated as unicast data frames, LLID is carried in this unicast data frames, after EPON frame processing module 2204 identifies described unicast data frames, according to described fixed-bandwidth, described unicast data frames is sent to 10G medium education (MAC, Media Access Control) sending module 2205 or 1G medium education sending module 2206, unicast data frames is sent to 10G deserializer 240 by 10G medium education sending module 2205, described unicast data frames is sent to 1G deserializer 230 by 1G medium education sending module 2206, be arranged on unicast data frames is looped back to up channel by descending 10G deserializer 240 or 1G deserializer 230 10G deserializer 260 or 1G deserializer 250 by short circuit optical module 30, described unicast data frames is made to be sent to uplink processing module 270, 10GMAC receiver module 2706 in uplink processing module 270 and 1GMAC receiver module 2705 receive unicast data frames respectively, the unicast data frames received detects data type through up EPON frame processing module 2704, after detection puts unicast data frames in place, be sent to test job mode module 2702, test job mode module 2702 carries out decapsulation to described unicast data frames, and the test packet after decapsulation is pushed out up channel, test packet enters 10G rate test frame check module 280 or 1G rate test frame check module 290 verifies, when 10G rate test frame check module 280 or 1G rate test frame check module 290 detect that described test packet is identical with the test packet of generation, export described Ethernet passive optical network testing of equipment and respond normally.
Consult Fig. 3, an embodiment of the Ethernet passive optical network equipment that the embodiment of the present invention provides comprises:
The interface of up channel of described Ethernet passive optical network equipment is connected with the interface communication of down channel, and described Ethernet passive optical network equipment comprises:
Acquiring unit 201, for obtaining test instruction;
Virtual registration unit 202, for after described acquiring unit 201 gets test instruction, virtual interpolation optical network unit ONU registration is reached the standard grade;
Allocation units 203, for giving ONU assignment logic link identification and the fixed-bandwidth of the virtual interpolation of described virtual registration unit 202;
Push unit 204, for after described allocation units 203 assignment logic link identification and fixed-bandwidth, is pushed to down channel by ethernet test message;
Frame encapsulation unit 205, for the test packet that described push unit 204 promotes being packaged into unicast data frames at down channel, and carries described LLID in described unicast data frames;
Downlink transfer unit 206, for transmitting the unicast data frames of described frame encapsulation unit 205 encapsulation on described fixed-bandwidth;
Loopback unit 207, is looped back to described up channel for the communication interface by described down channel and up channel by the unicast data frames that described uplink unit 206 is transferred to described down channel port;
According to described loopback unit 207 LLID be looped back in the unicast data frames of described up channel, determining unit 208, for determining whether the ONU that described LLID is corresponding exists;
Uplink unit 209, for determine the ONU existence that described LLID is corresponding in described determining unit 208 after, described up channel transmits described unicast data frames with described fixed-bandwidth;
Decapsulation unit 210, for the unicast data frames decapsulation transmitted described downlink transfer unit 209 at described up channel;
Described push unit 204, for pushing out described up channel by the test packet after the decapsulation of described decapsulation unit 210;
Whether detecting unit 211 is identical with the test packet being pushed to described down channel for the test packet that described push unit 204 pushes out from up channel being detected;
Output unit 212, during for detecting that at described detecting unit 211 the described test packet pushed out from up channel is identical with the test packet being pushed to described down channel, exporting described Ethernet passive optical network testing of equipment and responding normally.
In the embodiment of the present invention, acquiring unit 201 obtains test instruction; Virtual registration unit 202 is after described acquiring unit 201 gets test instruction, and virtual interpolation optical network unit ONU registration is reached the standard grade; Allocation units 203 give ONU assignment logic link identification and the fixed-bandwidth of the virtual interpolation of described virtual registration unit 202; Ethernet test message, after described allocation units 203 assignment logic link identification and fixed-bandwidth, is pushed to down channel by push unit 204; The test packet that described push unit 204 promotes is packaged into unicast data frames at down channel by frame encapsulation unit 205, and carries described LLID in described unicast data frames; Uplink unit 206 transmits the unicast data frames of described frame encapsulation unit 205 encapsulation on described fixed-bandwidth; The unicast data frames that described uplink unit 206 is transferred to described down channel port is looped back to described up channel by the communication interface of described down channel and up channel by loopback unit 207; According to described loopback unit 207 LLID be looped back in the unicast data frames of described up channel, determining unit 208 determines whether the ONU that described LLID is corresponding exists; Downlink transfer unit 209, after described determining unit 208 determines the ONU existence that described LLID is corresponding, described up channel transmits described unicast data frames with described fixed-bandwidth; The unicast data frames decapsulation that decapsulation unit 210 is transmitted described downlink transfer unit 209 at described up channel; Test packet after the decapsulation of described decapsulation unit 210 is pushed out described up channel by described push unit 204; Detecting unit 211 detects that whether the test packet that described push unit 204 pushes out from up channel is identical with the test packet being pushed to described down channel; Output unit 212, during for detecting that at described detecting unit 211 the described test packet pushed out from up channel is identical with the test packet being pushed to described down channel, exporting described Ethernet passive optical network testing of equipment and responding normally.With in prior art by compared with the method for testing that configures optical module, tester, the Ethernet passive optical network equipment that the embodiment of the present invention provides, can realize from loopback test, simplifies the complexity of test, reduces testing cost.
On the basis of embodiment corresponding to above-mentioned Fig. 3, consult Fig. 4, another embodiment of the Ethernet passive optical network equipment that the embodiment of the present invention provides also comprises:
Adding device 213, the LLID for being distributed by described allocation units 203 adds in LLID table, and described LLID table registers LLID corresponding to the ONU that reaches the standard grade for storing.
On the basis of embodiment corresponding to above-mentioned Fig. 4, in another embodiment of the Ethernet passive optical network equipment that the embodiment of the present invention provides,
Described determining unit 208, for searching described LLID in described LLID table, when finding described LLID at described logical links table, determines that the ONU that described LLID is corresponding exists.
On the basis of embodiment corresponding to above-mentioned Fig. 4, consult Fig. 5, another embodiment of the Ethernet passive optical network equipment that the embodiment of the present invention provides also comprises:
Resolution unit 214, for after described unicast data frames is looped back to up channel by described loopback unit 207, resolves described unicast data frames, from described unicast data frames, extracts described LLID.
On the basis of embodiment corresponding to above-mentioned Fig. 4, in another embodiment of the Ethernet passive optical network equipment that the embodiment of the present invention provides,
Described detecting unit 211, also for detecting the type of the Frame of described uplink channel transmission;
Described output unit 212, also for when the type that described detecting unit 211 detects described Frame is not unicast data frames, is sent to processor by described Frame and processes.
Above, the Ethernet passive optical network equipment that the multiple embodiment of the present invention provides, can realize from loopback test, simplify the complexity of test, reduce testing cost.
Present invention also offers a kind of computer-readable storage medium, wherein, this computer-readable storage medium has program stored therein, and comprises the some or all of step in the method for testing of the Ethernet passive optical network equipment as recorded in above-described embodiment when this program performs.
Consult Fig. 6, the optical network device that the embodiment of the present invention provides an embodiment comprise: for receive the input unit 100 of test instruction, output device 200, for stored program memory 300 and processor 400, described processor 400 calls the program in described memory 300, and performs treatment step according to described program;
Input unit 100, output device 200, memory 300 can be connected by bus or other modes with process 400;
Wherein, described processor 400 for:
After getting test instruction, virtual interpolation optical network unit ONU registration is reached the standard grade, and gives ONU assignment logic link identification and the fixed-bandwidth of described virtual interpolation;
Ethernet test message is pushed to down channel, and at down channel, described test packet is packaged into unicast data frames, and carry described LLID in described unicast data frames;
Described fixed-bandwidth transmits described unicast data frames, and by the communication interface of described down channel and up channel, described unicast data frames is looped back to described up channel;
After described up channel determines the ONU existence that described LLID is corresponding according to described LLID, described up channel transmits described unicast data frames with described fixed-bandwidth;
At described up channel to described unicast data frames decapsulation, and the test packet after decapsulation is pushed out described up channel;
Described output device 200 for:
When detecting that the described test packet pushed out from up channel is identical with the test packet being pushed to described down channel, exporting described Ethernet passive optical network testing of equipment and responding normally.
In some embodiments of the invention, described processor 400 is also for adding in LLID table by described LLID, and described LLID table registers LLID corresponding to the ONU that reaches the standard grade for storing.
In some embodiments of the invention, described processor 400 also for searching described LLID in described LLID table; When finding described LLID in described logical links table, determine that the ONU that described LLID is corresponding exists.
In some embodiments of the invention, described processor 400 also for resolving described unicast data frames, extracts described LLID from described unicast data frames.
In some embodiments of the invention, described Frame, also for detecting the type of the Frame of described uplink channel transmission, when the type of described Frame is not unicast data frames, is sent to processor and processes by described processor 400.
Above, the Ethernet passive optical network equipment that the multiple embodiment of the present invention provides, can realize from loopback test, simplify the complexity of test, reduce testing cost.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is that the hardware that can carry out instruction relevant by program has come, this program can be stored in a computer-readable recording medium, and storage medium can comprise: ROM, RAM, disk or CD etc.
Above the method for testing of the Ethernet passive optical network equipment that the embodiment of the present invention provides and equipment are described in detail, apply specific case herein to set forth principle of the present invention and execution mode, the explanation of above embodiment just understands method of the present invention and core concept thereof for helping; Meanwhile, for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.

Claims (15)

1. a method of testing for Ethernet passive optical network equipment, is characterized in that, comprising:
After getting test instruction, virtual interpolation optical network unit ONU registration is reached the standard grade, and gives ONU assignment logic link identification and the fixed-bandwidth of described virtual interpolation;
Ethernet test message is pushed to down channel, and at down channel, described test packet is packaged into unicast data frames, and carry described LLID in described unicast data frames;
Described fixed-bandwidth transmits described unicast data frames, and by the communication interface of described down channel and up channel, described unicast data frames is looped back to described up channel;
After described up channel determines the ONU existence that described LLID is corresponding according to described LLID, described up channel transmits described unicast data frames with described fixed-bandwidth;
At described up channel to described unicast data frames decapsulation, and the test packet after decapsulation is pushed out described up channel;
When detecting that the test packet pushed out from described up channel is identical with the test packet being pushed to described down channel, exporting described Ethernet passive optical network testing of equipment and responding normally.
2. method of testing according to claim 1, is characterized in that, described to after the ONU assignment logic link identification of described virtual interpolation, also comprises:
Added to by described LLID in LLID table, described LLID table registers LLID corresponding to the ONU that reaches the standard grade for storing.
3. method of testing according to claim 2, is characterized in that, determines that the ONU that described LLID is corresponding exists, specifically comprise at described up channel according to described LLID:
Described LLID is searched in described LLID table;
When inquire store described LLID in described logical links table time, determine that ONU corresponding to described LLID exists.
4. the method for testing according to claims 1 to 3 any one, is characterized in that, the described communication interface by described down channel and up channel also comprises after described unicast data frames being looped back to the step of up channel:
Resolve described unicast data frames, from described unicast data frames, extract described LLID.
5. the method for testing according to claims 1 to 3 any one, is characterized in that, described before described up channel is to the step of described unicast data frames decapsulation, also comprises:
Detect the type of the Frame of described uplink channel transmission;
When the type of described Frame is not unicast data frames, described Frame is outputted to processor and processes.
6. an Ethernet passive optical network equipment, is characterized in that, comprising:
Acquiring unit, for obtaining test instruction;
Virtual registration unit, for after described acquiring unit gets test instruction, virtual interpolation optical network unit ONU registration is reached the standard grade;
Allocation units, for giving ONU assignment logic link identification and the fixed-bandwidth of the virtual interpolation of described virtual registration unit;
Push unit, for after described allocation units assignment logic link identification and fixed-bandwidth, is pushed to down channel by ethernet test message;
Frame encapsulation unit, for the test packet that described push unit promotes being packaged into unicast data frames at down channel, and carries described LLID in described unicast data frames;
Downlink transfer unit, for transmitting the unicast data frames of described frame encapsulation unit encapsulation on described fixed-bandwidth;
Loopback unit, is looped back to described up channel for the communication interface by described down channel and up channel by the unicast data frames that described uplink unit is transferred to described down channel port;
According to the described loopback cell rings LLID got back in the unicast data frames of described up channel, determining unit, for determining whether the ONU that described LLID is corresponding exists;
Uplink unit, for determine the ONU existence that described LLID is corresponding in described determining unit after, described up channel transmits described unicast data frames with described fixed-bandwidth;
Decapsulation unit, for the unicast data frames decapsulation transmitted described downlink transfer unit at described up channel;
Described push unit, for pushing out described up channel by the test packet after described decapsulation unit decapsulation;
Whether detecting unit is identical with the test packet being pushed to described down channel for the test packet that described push unit pushes out from up channel being detected;
Output unit, during for detecting that at described detecting unit the described test packet pushed out from up channel is identical with the test packet being pushed to described down channel, exporting described Ethernet passive optical network testing of equipment and responding normally.
7. equipment according to claim 6, is characterized in that, also comprises:
Adding device, the LLID for being distributed by described allocation units adds in LLID table, and described LLID table registers LLID corresponding to the ONU that reaches the standard grade for storing.
8. equipment according to claim 7, is characterized in that,
Described determining unit, for searching described LLID in described LLID table, when finding described LLID at described logical links table, determines that the ONU that described LLID is corresponding exists.
9. the equipment according to claim 6 ~ 8 any one, is characterized in that, described equipment also comprises:
Resolution unit, for after described unicast data frames is looped back to up channel by described loopback unit, resolves described unicast data frames, from described unicast data frames, extracts described LLID.
10. the equipment according to claim 6 ~ 8 any one, is characterized in that,
Described detecting unit, also for detecting the type of the Frame of described uplink channel transmission;
Described output unit, time also for detecting that when described detecting unit the type of described Frame is not unicast data frames, being sent to processor by described Frame and processing.
11. 1 kinds of optical network devices, it is characterized in that, the interface of the up channel of described optical network device is connected with the interface communication of down channel, described optical network device comprises: for receive the input unit of test instruction, output device, for stored program memory and processor, described processor calls the program in described memory, and performs treatment step according to described program;
Wherein, described processor is used for:
After getting test instruction, virtual interpolation optical network unit ONU registration is reached the standard grade, and gives ONU assignment logic link identification and the fixed-bandwidth of described virtual interpolation;
Ethernet test message is pushed to down channel, and at down channel, described test packet is packaged into unicast data frames, and carry described LLID in described unicast data frames;
Described fixed-bandwidth transmits described unicast data frames, and by the communication interface of described down channel and up channel, described unicast data frames is looped back to described up channel;
After described up channel determines the ONU existence that described LLID is corresponding according to described LLID, described up channel transmits described unicast data frames with described fixed-bandwidth;
At described up channel to described unicast data frames decapsulation, and the test packet after decapsulation is pushed out described up channel;
Described output device is used for:
When detecting that the test packet pushed out from described up channel is identical with the test packet being pushed to described down channel, exporting described Ethernet passive optical network testing of equipment and responding normally.
12. optical network devices according to claim 11, is characterized in that,
Described processor is also for adding in LLID table by described LLID, and described LLID table registers LLID corresponding to the ONU that reaches the standard grade for storing.
13. optical network devices according to claim 12, is characterized in that,
Described processor also for searching described LLID in described LLID table; When finding described LLID in described logical links table, determine that the ONU that described LLID is corresponding exists.
14. optical network devices according to claim 11 ~ 13 any one, is characterized in that,
Described processor also for resolving described unicast data frames, extracts described LLID from described unicast data frames.
15. optical network devices according to claim 11 ~ 13 any one, is characterized in that,
Described Frame, also for detecting the type of the Frame of described uplink channel transmission, when the type of described Frame is not unicast data frames, is sent to processor and processes by described processor.
CN201210424890.XA 2012-10-30 2012-10-30 Method and device for testing Ethernet passive optical network devices Active CN102917285B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210424890.XA CN102917285B (en) 2012-10-30 2012-10-30 Method and device for testing Ethernet passive optical network devices

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210424890.XA CN102917285B (en) 2012-10-30 2012-10-30 Method and device for testing Ethernet passive optical network devices

Publications (2)

Publication Number Publication Date
CN102917285A CN102917285A (en) 2013-02-06
CN102917285B true CN102917285B (en) 2015-05-27

Family

ID=47615489

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210424890.XA Active CN102917285B (en) 2012-10-30 2012-10-30 Method and device for testing Ethernet passive optical network devices

Country Status (1)

Country Link
CN (1) CN102917285B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015085468A1 (en) * 2013-12-09 2015-06-18 华为技术有限公司 Apparatus and method for detecting optical network uplink signal
CN103957053A (en) * 2014-05-20 2014-07-30 重庆邮电大学 Link testing device and method based on EPON
CN104301176B (en) * 2014-09-29 2018-09-28 上海斐讯数据通信技术有限公司 A kind of more ONU equipment test system and methods
CN104917568A (en) * 2015-05-22 2015-09-16 国家电网公司 Electric power optical network unit with display
CN106253972A (en) * 2016-07-07 2016-12-21 上海光维通信技术股份有限公司 Optic communication test system and optic communication test terminal
CN107317624B (en) * 2017-06-05 2021-12-07 深圳市飞鸿光电子有限公司 Passive optical network ranging method and system
CN107947851B (en) * 2017-11-13 2020-07-14 深圳市飞鸿光电子有限公司 Method and system for detecting rogue optical network unit of passive optical network
CN107835110B (en) * 2017-12-15 2021-06-08 四川天邑康和通信股份有限公司 ONU one-stop type flow test system and method
CN108337581A (en) * 2018-02-06 2018-07-27 凌云天博光电科技股份有限公司 Optical line terminal bearing capacity test method, device, system
CN111385679B (en) * 2018-12-29 2022-08-02 达发科技(苏州)有限公司 Automatic test system for optical network unit

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20080103778A (en) * 2007-05-25 2008-11-28 주식회사 다산네트웍스 Optical network terminal having a self diagnosis
CN101753211A (en) * 2008-12-18 2010-06-23 华为技术有限公司 A kind of method of testing and device
CN102131130A (en) * 2010-09-13 2011-07-20 华为技术有限公司 Signal processing method, signal processing device and signal processing system for passive optical network (PON)
CN102388566A (en) * 2011-09-26 2012-03-21 华为技术有限公司 Method, device and system for converting identifier of terminal device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20080103778A (en) * 2007-05-25 2008-11-28 주식회사 다산네트웍스 Optical network terminal having a self diagnosis
CN101753211A (en) * 2008-12-18 2010-06-23 华为技术有限公司 A kind of method of testing and device
CN102131130A (en) * 2010-09-13 2011-07-20 华为技术有限公司 Signal processing method, signal processing device and signal processing system for passive optical network (PON)
CN102388566A (en) * 2011-09-26 2012-03-21 华为技术有限公司 Method, device and system for converting identifier of terminal device

Also Published As

Publication number Publication date
CN102917285A (en) 2013-02-06

Similar Documents

Publication Publication Date Title
CN102917285B (en) Method and device for testing Ethernet passive optical network devices
US9673897B2 (en) Optical network test instrument including optical network unit identifier capture capability from downstream signals
ES2909149T3 (en) Procedure, apparatus and registration system of an optical network unit, ONU
CN112887851B (en) Household all-optical network system and implementation method thereof
US8774623B2 (en) Passive optical network system and method for detecting fault in optical network terminal
JP5556921B1 (en) Subscriber side apparatus registration method and optical network system
JP2015033003A (en) Network system, and subscriber device
US20160112136A1 (en) Optical device, optical distribution network and respective methods performed thereby
RU2765991C1 (en) Communication network and associated apparatuses
US9002199B2 (en) Apparatus and method for monitoring optical line
CN103477582A (en) Passive optical network optical network terminal apparatus and configuration method
US10798472B2 (en) Data transmission method, data receiving method, optical line terminal and optical network unit
JP5067610B2 (en) Station side terminal equipment in PON system
WO2018039034A1 (en) Line rate ethernet traffic testing
US20090022493A1 (en) PON equipment capablel of displaying connection state and logical link identifier
KR20170104788A (en) Ethernet passive optical network sorting sequence of frame
EP3602840B1 (en) Control and management of passive optical network reach extenders
CN101753211A (en) A kind of method of testing and device
Pfeiffer PON architecture enhancements
CN115209245A (en) Data transmission method, optical line terminal, optical network unit and communication system
JP5761415B1 (en) Subscriber side device registration method
JP5482931B1 (en) Subscriber side apparatus registration method and optical network system
WO2024041160A1 (en) Optical power testing method and apparatus
KR102033719B1 (en) Apparatus and system for providing Fiber Access Platform for expansion and coexistence of communication bandwidth in Fiber To The Home service
CN105812964A (en) Method for sharing BOSA by PON terminal devices, and PON system

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