CN102917285A - Method and device for testing Ethernet passive optical network devices - Google Patents
Method and device for testing Ethernet passive optical network devices Download PDFInfo
- Publication number
- CN102917285A CN102917285A CN201210424890XA CN201210424890A CN102917285A CN 102917285 A CN102917285 A CN 102917285A CN 201210424890X A CN201210424890X A CN 201210424890XA CN 201210424890 A CN201210424890 A CN 201210424890A CN 102917285 A CN102917285 A CN 102917285A
- 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.)
- Granted
Links
Images
Landscapes
- Small-Scale Networks (AREA)
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
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 by the up-downgoing wavelength division multiplexing, realizes the single fiber bi-directional communication take optical fiber as transmission medium; By down direction broadcasting, the time-multiplexed technology of up direction has realized the 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, Optical Network Unit) three parts form, because EPON is a point-to-multi-point system, therefore the possibility that has network conflict is so adopt time-multiplexed way to allow a plurality of ONU share same optical channel transmission data in the EPON system.
For the compatibility that realizes 10G EPON and 1G EPON and the smooth evolution of network, IEEE 802.3av standard is having special consideration aspect Wavelength Assignment, the multiple spot controlling mechanism, to guarantee 10G EPON and the coexistence of 1G EPON system under same ODN.
In the EPON system, in order to realize the compatibility of 10G EPON and 1G EPON, aspect wavelength planning, 10G EPON does not use the downstream wavelength of the 1G EPON employed 1490nm of system, and 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 code 10Gbit/s signal is 1270nm(wave-length coverage 1260 ~ 1280nm), the two has overlapping, therefore can not adopt the WDM mode, can only adopt dual rate time division multiplexing access (TDMA, Time Division Multiple Access) mode.10G EPON OLT can find 10G/10G, 10G/1G and three kinds of ONU of 1G/1G simultaneously like this.
Prior art is each passive optical-fiber network (PON to the method for testing of 10G EPON equipment, Passive Optical Network) mouthful hang three types ONU under the optical splitter that connects and dock networking, use the ethernet traffic device testing authentication OLT that gives out a contract for a project that gives out a contract for a project whether normal.
The present inventor finds, for being detection 10G EPON 10G, 1G Serdes and the professional hardware corridor of PON MAC normal data, a standard 10G EPON port need be equipped with an optical module, a 1:4 or reach above splitting ratio optical splitter, three types test terminal in the prior art.For 4 mouthfuls of 10GEPON veneers, need at least to be equipped with 4 optical modules, 12 terminals and 4 optical splitters.Then need to be equipped with 24 terminals and 8 optical splitters for 8 mouthfuls of 10G EPON veneers.And flow instrument of each veneer needs, such test macro, test program is complicated, and testing cost is high.
Summary of the invention
The embodiment of the 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 invention first aspect provides a kind of method of testing of Ethernet passive optical network equipment, comprising:
After getting access to 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;
The ethernet test message is pushed to down channel, and at down channel described test packet is packaged into unicast data frames, and in described unicast data frames, carry described LLID;
Transmit described unicast data frames at described fixed-bandwidth, 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 that according to described LLID ONU corresponding to described LLID exists, on described up channel, transmit described unicast data frames with described fixed-bandwidth;
To described unicast data frames decapsulation, and the test packet after the decapsulation pushed out described up channel at described up channel;
When detecting the described test packet that pushes out from up channel when identical with the test packet that is pushed to described down channel, export described Ethernet passive optical network testing of equipment and respond normally.
In conjunction with first aspect, described to behind the ONU assignment logic link identification of described virtual interpolation in the possible implementation of the first, also comprise:
Described LLID is added in the LLID table, and described LLID table is used for LLID corresponding to ONU that the storage registration is reached the standard grade.
In conjunction with the possible implementation of first aspect the first, in the possible implementation of the second, describedly determine that according to described LLID ONU corresponding to described LLID exists, and specifically comprises at up channel:
In described LLID table, search described LLID;
When in inquiring described logical links table, storing described LLID, determine that ONU corresponding to described LLID exists.
In conjunction with first aspect, first aspect the first or the possible implementation of the second, in the third possible implementation, described communication interface by described down channel and up channel is looped back to described unicast data frames after the step of up channel, also comprises:
Resolve described unicast data frames, from described unicast data frames, extract described LLID.
In conjunction with first aspect, first aspect the first or the possible implementation of the second, described before the step of described up channel to described unicast data frames decapsulation in the 4th kind of possible implementation, also comprise:
Detect the type of the Frame of described up channel transmission;
When the type of described Frame is not unicast data frames, described Frame is outputed to processor process.
Embodiment of the invention second aspect provides a kind of Ethernet passive optical network equipment, comprising:
Acquiring unit is used for obtaining test instruction;
Virtual registering unit is used for after described acquiring unit gets access to test instruction, and virtual interpolation optical network unit ONU registration is reached the standard grade;
Allocation units are used for ONU assignment logic link identification and fixed-bandwidth to the virtual interpolation of described virtual registering unit;
Push unit is used for behind described allocation units assignment logic link identification and fixed-bandwidth the ethernet test message being pushed to down channel;
The frame encapsulation unit is used at down channel the test packet that described push unit promotes being packaged into unicast data frames, and carries described LLID in described unicast data frames;
The downlink transfer unit is used for the unicast data frames in the described frame encapsulation unit encapsulation of described fixed-bandwidth transmission;
The loopback unit is used for by the communication interface of described down channel and up channel the unicast data frames that described uplink unit is transferred to described down channel port being looped back to described up channel;
Determining unit is used for determining according to the LLID that described loopback cell rings is got back to the unicast data frames of described up channel whether ONU corresponding to described LLID exists;
The uplink unit is used for transmitting described unicast data frames with described fixed-bandwidth on described up channel after described determining unit determines that ONU corresponding to described LLID exists;
Decapsulation unit is used in the unicast data frames decapsulation of described up channel to the transmission of described downlink transfer unit;
Described push unit is used for the test packet after the described decapsulation unit decapsulation is pushed out described up channel;
Whether detecting unit is identical with the test packet that is pushed to described down channel for detection of the test packet that pushes out to described push unit from up channel;
Output unit is used for detecting the described test packet that pushes out from up channel when identical with the test packet that is pushed to described down channel at described detecting unit, exports described Ethernet passive optical network testing of equipment and responds normally.
In conjunction with second aspect, in the possible implementation of the first, described equipment also comprises:
Adding device is used for adding the LLID that described allocation units distribute to the LLID table, and described LLID table is used for LLID corresponding to ONU that the storage registration is reached the standard grade.
In conjunction with the possible implementation of second aspect the first, in the possible implementation of the second,
Described determining unit is used for searching described LLID at described LLID table, when when described logical links table finds described LLID, determines that ONU corresponding to described LLID exists.
In conjunction with second aspect, second aspect the first or the possible implementation of the second, in the third possible implementation, described equipment also comprises:
Resolution unit is used for resolving described unicast data frames after described loopback unit is looped back to up channel with described unicast data frames, extracts described LLID from described unicast data frames.
In conjunction with second aspect, second aspect the first or the possible implementation of the second, in the 4th kind of possible implementation, described detecting unit is also for detection of the type of the Frame of described up channel transmission;
Described output unit when also being not unicast data frames for the type that detects described Frame when described detecting unit, being sent to processor with described Frame and processing.
The embodiment of the invention third aspect provides a kind of computer-readable storage medium, and described computer-readable storage medium has program stored therein, and this program comprises the some or all of step of above-mentioned method of testing when carrying out.
Embodiment of the 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: be used for to receive test instruction input unit, output device, be used for stored program memory and processor, described processor calls the program in the described memory, and carries out treatment step according to described program;
Wherein, described processor is used for:
After getting access to 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;
The ethernet test message is pushed to down channel, and at down channel described test packet is packaged into unicast data frames, and in described unicast data frames, carry described LLID;
Transmit described unicast data frames at described fixed-bandwidth, 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 that according to described LLID ONU corresponding to described LLID exists, on described up channel, transmit described unicast data frames with described fixed-bandwidth;
To described unicast data frames decapsulation, and the test packet after the decapsulation pushed out described up channel at described up channel;
Described output device is used for:
When detecting the described test packet that pushes out from up channel when identical with the test packet that is pushed to described down channel, export described Ethernet passive optical network testing of equipment and respond normally.
In conjunction with fourth aspect, in the possible implementation of the first, described processor also is used for adding described LLID to the LLID table, and described LLID table is used for LLID corresponding to ONU that the storage registration is reached the standard grade.
In conjunction with the possible implementation of fourth aspect the first, described processor also is used for searching described LLID at described LLID table; When in described logical links table, finding described LLID, determine that ONU corresponding to described LLID exists.
In conjunction with fourth aspect, fourth aspect the first or the possible implementation of the second, in the third possible implementation, described processor also is used for resolving described unicast data frames, extracts described LLID from described unicast data frames.
In conjunction with fourth aspect, fourth aspect the first or the possible implementation of the second, in the 4th kind of possible implementation, described processor is also for detection of the type of the Frame of described up channel transmission, when the type of described Frame is not unicast data frames, described Frame is sent to processor processes.
After the embodiment of the invention adopted and gets access to test instruction, virtual interpolation optical network unit ONU registration was reached the standard grade, and gives ONU assignment logic link identification and the fixed-bandwidth of described virtual interpolation; The ethernet test message is pushed to down channel, and at down channel described test packet is packaged into unicast data frames, and in described unicast data frames, carry described LLID; Transmit described unicast data frames at described fixed-bandwidth, 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 that according to described LLID ONU corresponding to described LLID exists, on described up channel, transmit described unicast data frames with described fixed-bandwidth; To described unicast data frames decapsulation, and the test packet after the decapsulation pushed out described up channel at described up channel; When detecting the described test packet that pushes out from up channel when identical with the test packet that is pushed to described down channel, export described Ethernet passive optical network testing of equipment and respond normally.With compare by the method for testing of configuration optical module, tester in the prior art, the method for testing that the embodiment of the invention provides can be realized from loopback test by optical network device self, simplify the complexity of test, has reduced testing cost.
Description of drawings
In order to be illustrated more clearly in the technical scheme in the embodiment of the invention, the accompanying drawing of required use was done to introduce simply during the below will describe embodiment, apparently, accompanying drawing in the following describes only is some embodiments of the present invention, for those skilled in the art, under the prerequisite of not paying creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is an embodiment schematic diagram of the method for testing that provides of the embodiment of the invention;
Fig. 2 is application scenarios embodiment schematic diagram in the embodiment of the invention;
Fig. 3 is an embodiment schematic diagram of Ethernet passive optical network equipment in the embodiment of the invention;
Fig. 4 is another embodiment schematic diagram of Ethernet passive optical network equipment in the embodiment of the invention;
Fig. 5 is another embodiment schematic diagram of Ethernet passive optical network equipment in the embodiment of the invention;
Fig. 6 is an embodiment schematic diagram of optical network device in the embodiment of the invention.
Embodiment
The embodiment of the 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 invention also provides corresponding equipment.Below be elaborated respectively.
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those skilled in the art belong to the scope of protection of the invention not making the every other embodiment that obtains under the creative work prerequisite.
The Ethernet passive optical network equipment that the embodiment of the 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 invention provides comprises:
101, get access to test instruction after, the registration of virtual interpolation optical network unit ONU 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, the ethernet test message is pushed to down channel, and at down channel described test packet is packaged into unicast data frames, and in described unicast data frames, carry described LLID.
The ethernet test message can be a string data, also can be a sign.
103, in the described unicast data frames of described fixed-bandwidth transmission, 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 the up channel of the Ethernet passive optical network equipment in the embodiment of the invention is connected with the interface communication of down channel, can connect by wire communication, also can connect by radio communication.
104, after described up channel determines that according to described LLID ONU corresponding to described LLID exists, on described up channel, transmit described unicast data frames with described fixed-bandwidth.
105, at described up channel to described unicast data frames decapsulation, and the test packet after the decapsulation pushed out described up channel.
106, when detecting the described test packet that pushes out from up channel when identical with the test packet that is pushed to described down channel, export described Ethernet passive optical network testing of equipment and respond normally.
Do not change after test packet transmits a week through down channel and up channel, this is described, and too the test of net passive optical network equipment is normal, the normal response of output test.
After the embodiment of the invention adopted and gets access to test instruction, virtual interpolation optical network unit ONU registration was reached the standard grade, and gives ONU assignment logic link identification and the fixed-bandwidth of described virtual interpolation; The ethernet test message is pushed to down channel, and at down channel described test packet is packaged into unicast data frames, and in described unicast data frames, carry described LLID; Transmit described unicast data frames at described fixed-bandwidth, 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 that according to described LLID ONU corresponding to described LLID exists, on described up channel, transmit described unicast data frames with described fixed-bandwidth; To described unicast data frames decapsulation, and the test packet after the decapsulation pushed out described up channel at described up channel; When detecting the described test packet that pushes out from up channel when identical with the test packet that is pushed to described down channel, export described Ethernet passive optical network testing of equipment and respond normally.With compare by the method for testing of configuration optical module, tester in the prior art, the method for testing that the embodiment of the invention provides can be realized from loopback test by optical network device self, simplify the complexity of test, has reduced 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 invention provides also comprises:
Described to behind the ONU assignment logic link identification of described virtual interpolation, also comprise:
Described LLID is added in the LLID table, and described LLID table is used for LLID corresponding to ONU that the storage registration is reached the standard grade.
Alternatively, on the basis of optional embodiment corresponding to Fig. 1, among another embodiment of the method for testing of the Ethernet passive optical network equipment that the embodiment of the invention provides,
Describedly determine that according to described LLID ONU corresponding to described LLID exists, and specifically comprises at up channel:
In described LLID table, search described LLID;
When in inquiring described logical links table, storing described LLID, determine that ONU corresponding to described LLID exists.
Alternatively, on the basis of optional embodiment corresponding to embodiment corresponding to Fig. 1 and Fig. 1, among another embodiment of the method for testing of the Ethernet passive optical network equipment that the embodiment of the invention provides, described communication interface by described down channel and up channel is looped back to described unicast data frames after the step of up channel, also comprises:
Resolve described unicast data frames, from described unicast data frames, extract described LLID.
Alternatively, on the basis of optional embodiment corresponding to embodiment corresponding to Fig. 1 and Fig. 1, among another embodiment of the method for testing of the Ethernet passive optical network equipment that the embodiment of the invention provides, described before the step of described up channel to described unicast data frames decapsulation, also comprise:
Detect the type of the Frame of described up channel transmission;
When the type of described Frame is not unicast data frames, described Frame is sent to processor processes.
The explanation that above several embodiment is more detailed the self-test process of Ethernet passive optical network equipment, compare with the method for testing by configuration optical module, tester of the prior art, the method of testing that the embodiment of the invention provides, can be realized from loopback test by optical network device self, simplify the complexity of test, reduced testing cost.
For the ease of understanding, the below is take several concrete application scenarioss as example, the test process of detailed explanation Ethernet passive optical network equipment of the present invention:
Consult Fig. 2, get access to test instruction after, start the 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, 30 communication connections of 10G short circuit loopback optical module, in close Ethernet service process chip 10 1 sides, be provided with 10G rate test frame generation module 200 and 1G rate test frame generation module 210 in the 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, carries LLID in this unicast data frames; After the described unicast data frames of EPON frame processing module 2204 identifications, according to described fixed-bandwidth, described unicast data frames is sent to 10G media access control (MAC, Media Access Control) sending module 2205 or 1G media access control sending module 2206,10G media access control sending module 2205 sends to 10G deserializer 240 with unicast data frames, 1G media access control sending module 2206 sends to 1G deserializer 230 with described unicast data frames, be installed in 10G deserializer 260 or 1G deserializer 250 that descending 10G deserializer 240 or 1G deserializer 230 are looped back to unicast data frames by short circuit optical module 30 up channel, make described unicast data frames be sent to uplink processing module 270,10GMAC receiver module 2706 and 1GMAC receiver module 2705 in the uplink processing module 270 receive respectively unicast data frames, the unicast data frames that receives 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,2702 pairs of described unicast data frames of test job mode module are carried out decapsulation, and the test packet after the decapsulation is pushed out up channel; Test packet enters 10G rate test frame check module 280 or 1G rate test frame check module 290 is carried out verification, when 10G rate test frame check module 280 or 1G rate test frame check module 290 detect the test packet of described test packet and generation when identical, 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 invention provides comprises:
The interface of the 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 is used for obtaining test instruction;
Determining unit 208 is used for determining according to the LLID that described loopback unit 207 is looped back to the unicast data frames of described up channel whether ONU corresponding to described LLID exists;
Described push unit 204 is used for the test packet after described decapsulation unit 210 decapsulations is pushed out described up channel;
Whether detecting unit 211 is identical with the test packet that is pushed to described down channel for detection of the test packet that pushes out to described push unit 204 from up channel;
In the embodiment of the invention, acquiring unit 201 obtains test instruction; Virtual registering unit 202 is after described acquiring unit 201 gets access to test instruction, and virtual interpolation optical network unit ONU registration is reached the standard grade; Allocation units 203 are given ONU assignment logic link identification and the fixed-bandwidth of described virtual registering unit 202 virtual interpolations; Push unit 204 is pushed to down channel with the ethernet test message behind described allocation units 203 assignment logic link identifications and fixed-bandwidth; Frame encapsulation unit 205 is packaged into unicast data frames at down channel with the test packet that described push unit 204 promotes, and carries described LLID in described unicast data frames; Uplink unit 206 is in the unicast data frames of described frame encapsulation unit 205 encapsulation of described fixed-bandwidth transmission; Loopback unit 207 is looped back to described up channel by the communication interface of described down channel and up channel with the unicast data frames that described uplink unit 206 is transferred to described down channel port; The LLID that determining unit 208 is looped back to according to described loopback unit 207 in the unicast data frames of described up channel determines whether ONU corresponding to described LLID exists; Downlink transfer unit 209 transmits described unicast data frames with described fixed-bandwidth on described up channel after described determining unit 208 determines that ONU corresponding to described LLID exists; Decapsulation unit 210 is in the unicast data frames decapsulation of described up channel to 209 transmission of described downlink transfer unit; The test packet of described push unit 204 after with described decapsulation unit 210 decapsulations pushes out described up channel; Whether detecting unit 211 detects described push unit 204 identical with the test packet that is pushed to described down channel from the test packet that up channel pushes out; Output unit 212 is used for detecting the described test packet that pushes out from up channel when identical with the test packet that is pushed to described down channel at described detecting unit 211, exports described Ethernet passive optical network testing of equipment and responds normally.With compare by the method for testing of configuration optical module, tester in the prior art, the Ethernet passive optical network equipment that the embodiment of the invention provides can be realized from loopback test, has simplified the complexity of test, has reduced 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 invention provides also comprises:
Adding device 213 is used for adding the LLID that described allocation units 203 distribute to the LLID table, and described LLID table is used for LLID corresponding to ONU that the storage registration is reached the standard grade.
On the basis of embodiment corresponding to above-mentioned Fig. 4, among another embodiment of the Ethernet passive optical network equipment that the embodiment of the invention provides,
Described determining unit 208 is used for searching described LLID at described LLID table, when when described logical links table finds described LLID, determines that ONU corresponding to described LLID 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 invention provides also comprises:
On the basis of embodiment corresponding to above-mentioned Fig. 4, among another embodiment of the Ethernet passive optical network equipment that the embodiment of the invention provides,
Described detecting unit 211 is also for detection of the type of the Frame of described up channel transmission;
Described output unit 212 when also being not unicast data frames for the type that detects described Frame when described detecting unit 211, being sent to processor with described Frame and processing.
The Ethernet passive optical network equipment above, that a plurality of embodiment of the present invention provide can be realized from loopback test, has simplified the complexity of test, has reduced testing cost.
The present invention also provides a kind of computer-readable storage medium, and wherein, this computer-readable storage medium has program stored therein, and this program comprises when carrying out such as the some or all of step in the method for testing of the Ethernet passive optical network equipment of putting down in writing among the above-mentioned embodiment.
Consult Fig. 6, the optical network device that the embodiment of the invention provides an embodiment comprise: be used for to receive test instruction input unit 100, output device 200, be used for stored program memory 300 and processor 400, described processor 400 calls the program in the described memory 300, and carries out treatment step according to described program;
Wherein, described processor 400 is used for:
After getting access to 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;
The ethernet test message is pushed to down channel, and at down channel described test packet is packaged into unicast data frames, and in described unicast data frames, carry described LLID;
Transmit described unicast data frames at described fixed-bandwidth, 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 that according to described LLID ONU corresponding to described LLID exists, on described up channel, transmit described unicast data frames with described fixed-bandwidth;
To described unicast data frames decapsulation, and the test packet after the decapsulation pushed out described up channel at described up channel;
Described output device 200 is used for:
When detecting the described test packet that pushes out from up channel when identical with the test packet that is pushed to described down channel, export described Ethernet passive optical network testing of equipment and respond normally.
In some embodiments of the invention, described processor 400 also is used for adding described LLID to the LLID table, and described LLID table is used for LLID corresponding to ONU that the storage registration is reached the standard grade.
In some embodiments of the invention, described processor 400 also is used for searching described LLID at described LLID table; When in described logical links table, finding described LLID, determine that ONU corresponding to described LLID exists.
In some embodiments of the invention, described processor 400 also is used for resolving described unicast data frames, extracts described LLID from described unicast data frames.
In some embodiments of the invention, described processor 400 also for detection of the type of the Frame of described up channel transmission, when the type of described Frame is not unicast data frames, is sent to processor with described Frame and processes.
The Ethernet passive optical network equipment above, that a plurality of embodiment of the present invention provide can be realized from loopback test, has simplified the complexity of test, has reduced testing cost.
One of ordinary skill in the art will appreciate that all or part of step in the whole bag of tricks of above-described embodiment is to come the relevant hardware of instruction finish by program, this program can be stored in the computer-readable recording medium, and storage medium can comprise: ROM, RAM, disk or CD etc.
Method of testing and the equipment of the above Ethernet passive optical network equipment that the embodiment of the invention is provided are described in detail, used specific case herein principle of the present invention and execution mode are set forth, the explanation of above embodiment just is used for helping to understand method of the present invention and core concept thereof; Simultaneously, 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 (16)
1. the method for testing of an Ethernet passive optical network equipment is characterized in that, comprising:
After getting access to 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;
The ethernet test message is pushed to down channel, and at down channel described test packet is packaged into unicast data frames, and in described unicast data frames, carry described LLID;
Transmit described unicast data frames at described fixed-bandwidth, 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 that according to described LLID ONU corresponding to described LLID exists, on described up channel, transmit described unicast data frames with described fixed-bandwidth;
To described unicast data frames decapsulation, and the test packet after the decapsulation pushed out described up channel at described up channel;
When detecting the described test packet that pushes out from up channel when identical with the test packet that is pushed to described down channel, export described Ethernet passive optical network testing of equipment and respond normally.
2. method of testing according to claim 1 is characterized in that, and is described to behind the ONU assignment logic link identification of described virtual interpolation, also comprises:
Described LLID is added in the LLID table, and described LLID table is used for LLID corresponding to ONU that the storage registration is reached the standard grade.
3. method of testing according to claim 2 is characterized in that, describedly determines that according to described LLID ONU corresponding to described LLID exists, and specifically comprises at up channel:
In described LLID table, search described LLID;
When in inquiring described logical links table, storing described LLID, determine that ONU corresponding to described LLID exists.
4. the described method of testing of any one is characterized in that according to claim 1 ~ 3, and described communication interface by described down channel and up channel is looped back to described unicast data frames after the step of up channel, also comprises:
Resolve described unicast data frames, from described unicast data frames, extract described LLID.
5. the described method of testing of any one is characterized in that according to claim 1 ~ 3, and is described before the step of described up channel to described unicast data frames decapsulation, also comprises:
Detect the type of the Frame of described up channel transmission;
When the type of described Frame is not unicast data frames, described Frame is outputed to processor process.
6. an Ethernet passive optical network equipment is characterized in that, comprising:
Acquiring unit is used for obtaining test instruction;
Virtual registering unit is used for after described acquiring unit gets access to test instruction, and virtual interpolation optical network unit ONU registration is reached the standard grade;
Allocation units are used for ONU assignment logic link identification and fixed-bandwidth to the virtual interpolation of described virtual registering unit;
Push unit is used for behind described allocation units assignment logic link identification and fixed-bandwidth the ethernet test message being pushed to down channel;
The frame encapsulation unit is used at down channel the test packet that described push unit promotes being packaged into unicast data frames, and carries described LLID in described unicast data frames;
The downlink transfer unit is used for the unicast data frames in the described frame encapsulation unit encapsulation of described fixed-bandwidth transmission;
The loopback unit is used for by the communication interface of described down channel and up channel the unicast data frames that described uplink unit is transferred to described down channel port being looped back to described up channel;
Determining unit is used for determining according to the LLID that described loopback cell rings is got back to the unicast data frames of described up channel whether ONU corresponding to described LLID exists;
The uplink unit is used for transmitting described unicast data frames with described fixed-bandwidth on described up channel after described determining unit determines that ONU corresponding to described LLID exists;
Decapsulation unit is used in the unicast data frames decapsulation of described up channel to the transmission of described downlink transfer unit;
Described push unit is used for the test packet after the described decapsulation unit decapsulation is pushed out described up channel;
Whether detecting unit is identical with the test packet that is pushed to described down channel for detection of the test packet that pushes out to described push unit from up channel;
Output unit is used for detecting the described test packet that pushes out from up channel when identical with the test packet that is pushed to described down channel at described detecting unit, exports described Ethernet passive optical network testing of equipment and responds normally.
7. equipment according to claim 6 is characterized in that, also comprises:
Adding device is used for adding the LLID that described allocation units distribute to the LLID table, and described LLID table is used for LLID corresponding to ONU that the storage registration is reached the standard grade.
8. equipment according to claim 7 is characterized in that,
Described determining unit is used for searching described LLID at described LLID table, when when described logical links table finds described LLID, determines that ONU corresponding to described LLID exists.
9. the described equipment of any one is characterized in that according to claim 6 ~ 8, and described equipment also comprises:
Resolution unit is used for resolving described unicast data frames after described loopback unit is looped back to up channel with described unicast data frames, extracts described LLID from described unicast data frames.
10. the described equipment of any one is characterized in that according to claim 6 ~ 8,
Described detecting unit is also for detection of the type of the Frame of described up channel transmission;
Described output unit when also being not unicast data frames for the type that detects described Frame when described detecting unit, being sent to processor with described Frame and processing.
11. a computer-readable storage medium is characterized in that,
Described computer-readable storage medium has program stored therein, and this program comprises such as the described step of claim 1 ~ 5 any one when carrying out.
12. optical network device, 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: be used for to receive test instruction input unit, output device, be used for stored program memory and processor, described processor calls the program in the described memory, and carries out treatment step according to described program;
Wherein, described processor is used for:
After getting access to 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;
The ethernet test message is pushed to down channel, and at down channel described test packet is packaged into unicast data frames, and in described unicast data frames, carry described LLID;
Transmit described unicast data frames at described fixed-bandwidth, 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 that according to described LLID ONU corresponding to described LLID exists, on described up channel, transmit described unicast data frames with described fixed-bandwidth;
To described unicast data frames decapsulation, and the test packet after the decapsulation pushed out described up channel at described up channel;
Described output device is used for:
When detecting the described test packet that pushes out from up channel when identical with the test packet that is pushed to described down channel, export described Ethernet passive optical network testing of equipment and respond normally.
13. optical network device according to claim 12 is characterized in that,
Described processor also is used for adding described LLID to the LLID table, and described LLID table is used for LLID corresponding to ONU that the storage registration is reached the standard grade.
14. optical network device according to claim 13 is characterized in that,
Described processor also is used for searching described LLID at described LLID table; When in described logical links table, finding described LLID, determine that ONU corresponding to described LLID exists.
15. the described optical network device of any one is characterized in that according to claim 12 ~ 14,
Described processor also is used for resolving described unicast data frames, extracts described LLID from described unicast data frames.
16. the described optical network device of any one is characterized in that according to claim 12 ~ 14,
Described processor also for detection of the type of the Frame of described up channel transmission, when the type of described Frame is not unicast data frames, is sent to processor with described Frame and processes.
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 true CN102917285A (en) | 2013-02-06 |
CN102917285B 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) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103957053A (en) * | 2014-05-20 | 2014-07-30 | 重庆邮电大学 | Link testing device and method based on EPON |
CN104301176A (en) * | 2014-09-29 | 2015-01-21 | 上海斐讯数据通信技术有限公司 | System and method for testing multiple ONU devices |
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 |
CN107317624A (en) * | 2017-06-05 | 2017-11-03 | 深圳市飞鸿光电子有限公司 | A kind of EPON distance-finding method and system |
CN104919725B (en) * | 2013-12-09 | 2017-12-01 | 华为技术有限公司 | The detection means and method of optical network uplink signal |
CN107835110A (en) * | 2017-12-15 | 2018-03-23 | 四川天邑康和通信股份有限公司 | A kind of one-stop flow testing system of ONU and method |
CN107947851A (en) * | 2017-11-13 | 2018-04-20 | 深圳市飞鸿光电子有限公司 | The rogue's optical network unit detection method and system of a kind of passive optical network |
CN108337581A (en) * | 2018-02-06 | 2018-07-27 | 凌云天博光电科技股份有限公司 | Optical line terminal bearing capacity test method, device, system |
CN111385679A (en) * | 2018-12-29 | 2020-07-07 | 创发信息科技(苏州)有限公司 | Automatic test system for optical network unit |
Citations (4)
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 |
-
2012
- 2012-10-30 CN CN201210424890.XA patent/CN102917285B/en active Active
Patent Citations (4)
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 |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9859975B2 (en) | 2013-12-09 | 2018-01-02 | Huawei Technologies Co., Ltd. | Apparatus and method for detecting uplink optical signal |
CN104919725B (en) * | 2013-12-09 | 2017-12-01 | 华为技术有限公司 | The detection means and method of optical network uplink signal |
CN103957053A (en) * | 2014-05-20 | 2014-07-30 | 重庆邮电大学 | Link testing device and method based on EPON |
CN104301176A (en) * | 2014-09-29 | 2015-01-21 | 上海斐讯数据通信技术有限公司 | System and method for testing multiple ONU devices |
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 |
CN107317624A (en) * | 2017-06-05 | 2017-11-03 | 深圳市飞鸿光电子有限公司 | A kind of EPON distance-finding method and system |
CN107947851A (en) * | 2017-11-13 | 2018-04-20 | 深圳市飞鸿光电子有限公司 | The rogue's optical network unit detection method and system of a kind of passive optical network |
CN107835110A (en) * | 2017-12-15 | 2018-03-23 | 四川天邑康和通信股份有限公司 | A kind of one-stop flow testing system of ONU and method |
CN108337581A (en) * | 2018-02-06 | 2018-07-27 | 凌云天博光电科技股份有限公司 | Optical line terminal bearing capacity test method, device, system |
CN111385679A (en) * | 2018-12-29 | 2020-07-07 | 创发信息科技(苏州)有限公司 | Automatic test system for optical network unit |
CN111385679B (en) * | 2018-12-29 | 2022-08-02 | 达发科技(苏州)有限公司 | Automatic test system for optical network unit |
Also Published As
Publication number | Publication date |
---|---|
CN102917285B (en) | 2015-05-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102917285B (en) | Method and device for testing Ethernet passive optical network devices | |
CN101646106B (en) | Passive optical network system, optical multiplexing terminator and optical network terminal | |
JP7096364B2 (en) | Information transmission method in OLT, ONU, PON system, and PON system | |
US8774623B2 (en) | Passive optical network system and method for detecting fault in optical network terminal | |
CN103477582B (en) | Passive optical network optical network terminal apparatus and configuration method | |
JP5556921B1 (en) | Subscriber side apparatus registration method and optical network system | |
US10798472B2 (en) | Data transmission method, data receiving method, optical line terminal and optical network unit | |
EP3541037B1 (en) | Registration method for virtual optical network unit, system and storage medium | |
CN101018090B (en) | Device and method for detecting the light receiving power in the optical communication network | |
ES2955573T3 (en) | Communications network and related device | |
US20160112136A1 (en) | Optical device, optical distribution network and respective methods performed thereby | |
CN107666362B (en) | Power communication multi-service isolation access system and access method | |
JP5067610B2 (en) | Station side terminal equipment in PON system | |
CN104919725B (en) | The detection means and method of optical network uplink signal | |
CN101753211A (en) | A kind of method of testing and device | |
CN102143059B (en) | Uplink broadband allocation method, system and equipment for 10G Ethernet passive optical network (EPON) | |
US7218607B2 (en) | Signaling proxy device for automatically setting up standby paths in optical networks | |
JP6413484B2 (en) | Station-side terminator, optical access network, and communication method | |
JP5846007B2 (en) | Subscriber side apparatus registration method and optical network system | |
Pfeiffer | PON architecture enhancements | |
JP5761415B1 (en) | Subscriber side device registration method | |
US20100124420A1 (en) | Communication device and communication method | |
JP5482931B1 (en) | Subscriber side apparatus registration method and optical network system | |
JP2013207716A (en) | Optical network unit registration method | |
JP6088956B2 (en) | Optical line wavelength measurement system and optical test apparatus |
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 |