CN109194394A - A kind of device for detecting code error - Google Patents

A kind of device for detecting code error Download PDF

Info

Publication number
CN109194394A
CN109194394A CN201810974620.3A CN201810974620A CN109194394A CN 109194394 A CN109194394 A CN 109194394A CN 201810974620 A CN201810974620 A CN 201810974620A CN 109194394 A CN109194394 A CN 109194394A
Authority
CN
China
Prior art keywords
module
error
error code
detection
data
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.)
Pending
Application number
CN201810974620.3A
Other languages
Chinese (zh)
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.)
Permanent Safe Technology Co Ltd Of Leading In Wuhan
Original Assignee
Permanent Safe Technology Co Ltd Of Leading In Wuhan
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 Permanent Safe Technology Co Ltd Of Leading In Wuhan filed Critical Permanent Safe Technology Co Ltd Of Leading In Wuhan
Priority to CN201810974620.3A priority Critical patent/CN109194394A/en
Publication of CN109194394A publication Critical patent/CN109194394A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/07Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems
    • H04B10/075Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems using an in-service signal
    • H04B10/079Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems using an in-service signal using measurements of the data signal
    • H04B10/0795Performance monitoring; Measurement of transmission parameters
    • H04B10/07953Monitoring or measuring OSNR, BER or Q

Abstract

The present invention relates to a kind of device for detecting code error, including user terminal, control module, detection module, clock crystal oscillator module, Serdes module and optical module;User terminal is used to send operational order to detection module by control module;Clock crystal oscillator module is for generating the first reference clock or N reference clock;Detection module is used to be initialized according to the first reference clock activation system, system default the first operating mode of corresponding starting, and carries out the first error code testing or N error code testing according to operational order, sends corresponding pseudo-random code sequence to optical module;Its operation result for being also used to receive optical module transmission acquires error code data;Optical module sends operation result to detection module for receiving pseudo-random code sequence, the rear of operation.The beneficial effects of the present invention are: hardware cost is low, easy to operate, error detection is high-efficient, can be used in the error detection of the optic communication product of a variety of rates, to reduce production cost.

Description

A kind of device for detecting code error
Technical field
The present invention relates to technical field of photo communication more particularly to a kind of device for detecting code error.
Background technique
In recent years, during the optical communication system of multi tate is gradually being built, corresponding multi tate optical transceiver module is Mass production, their performance indicator need corresponding error code testing system to carry out error code testing to it;With operator and enterprise Industry net market to promoted network bandwidth there is an urgent need to demand of the market to multi tate optic communication product welcomes the increasing of explosion type It is long, but due to the price of multi tate optical communication instrument valuableness, optic communication enterprise faces huge cost pressure in production, And the error detection of multi tate optic communication product is the main cause that it is expensive;In addition, in actual engineer application In be easy to appear the mismatch of interface, go wrong in practical engineering applications, be unsatisfactory for wanting the bit error rate in communication protocol It asks, so while selecting optical module, it is necessary to be detected to the quality of optical module, test its bit error rate, to guarantee product Stability and reliability.
Summary of the invention
The technical problem to be solved by the present invention is in view of the drawbacks of the prior art, provide a kind of device for detecting code error.
The technical scheme to solve the above technical problems is that
A kind of device for detecting code error is provided, including user terminal, control module, detection module, clock crystal oscillator module, Serdes module and optical module;
The user terminal is used to send operational order to the detection module by the control module, is also used to receive The error code data that the detection module is sent;
The clock crystal oscillator module is defaulted for generating the first reference clock or N reference clock, and when system starting Generate the first reference clock;
The detection module is used to be initialized according to the first reference clock activation system, the corresponding starting of system default the One operating mode, and the first error code testing or N error code testing are carried out according to the operational order, pass through the Serdes mould Block sends corresponding pseudo-random code sequence to the optical module, wherein if the operational order is to carry out the first error code testing, Detection module configures the first operating mode of system, if the operational order is to carry out N error code testing, system is switched to correspondence N reference clock, and configure system N operating mode;It is also used to receive optical module by the Serdes module and send Operation result, error code data are acquired from the operation result, and analyze the error code data;
Wherein, the N is natural number;
The optical module sends operation knot to the detection module for receiving the pseudo-random code sequence, the rear of operation Fruit;
The Serdes module is arranged between the detection module and the optical module, for completing the detection module The change of the serioparallel exchange of interaction data and interaction data rate between the optical module, wherein the interaction data packet Include the pseudo-random code sequence and the operation result.
The beneficial effects of the present invention are: hardware cost of the present invention is low, easy to operate, error detection is high-efficient, activation system When, defaulted by clock crystal oscillator module and generate the first reference clock, carry out system initialization, then the corresponding starting of system default the One operating mode, and the first error code testing or N error code testing are carried out according to the operational order of user terminal, if the operation Instruction is to carry out the first error code testing, then detection module configures the first operating mode of system, if the operational order is to carry out N Error code testing, then system is switched to corresponding N reference clock, and configures system N operating mode, and system is carrying out error code survey Before examination, is initialized first with defaulting the first reference clock generated, the first error code is directly then carried out according to operational order Test, or it is switched to N operating mode, the system start-up initialisation time can be reduced, improves working efficiency, and can be used in The error detection of the optic communication product of a variety of rates, so that the production cost of high rate optical communication products is largely reduced, It can largely be assemblied on the production line of high rate optical communication products, the scheduling and planning for optic communication product.
Based on the above technical solution, the present invention can also be improved as follows.
Further, the detection module includes detection unit, transmission unit and receiving unit;
The detection unit is used for initial according to first reference clock or the second reference clock activation system Change, system default the first operating mode of corresponding starting, and is sent according to the operational order to the transmission unit and carry out first Error code testing or the instruction of N error code testing, wherein if the operational order is to carry out N error code testing, system is switched to Corresponding N reference clock and N operating mode;
The transmission unit is used to pass through institute according to the first error code testing of carry out or N the error code testing instruction received It states Serdes module and sends corresponding pseudo-random code sequence to the optical module;
The receiving unit is used to receive the operation result of the optical module by the Serdes module, and according to described Operation result analyzes error code data and alarm data.
The beneficial effect of above-mentioned further scheme is: test instruction is sent to transmission unit by detection unit, by connecing The operation result that unit receives optical module is received, and analyzes and acquire the error code data of pseudo-random code sequence simultaneously, and receive signal Corresponding alarm data when losing with losing lock, to improve the accuracy rate of error detection.
Further, the transmission unit includes that subelement occurs for pattern, the pattern occurs subelement and is used for by described Serdes module sends corresponding pseudo-random code sequence to the optical module.
The beneficial effect of above-mentioned further scheme is: by sending pseudo-random code sequence to optical module, to detect optical module Error code data in the process of running.
Further, the receiving unit includes pattern detection sub-unit and alarm-monitor subelement, pattern detection Unit is used to receive the operation result of the optical module by the Serdes module, and analyzes error code according to the operation result Data, and the error code data are sent to the detection unit;The alarm-monitor subelement is used for according to the error code data Alarm data is analyzed, and sends the alarm data to the detection unit.
The beneficial effect of above-mentioned further scheme is: during optical module runs pseudo-random code sequence, pattern detection Unit is used to carry out statistics and analysis to the error code data generated in operational process, when generation Received Loss Of Signal and receives signal When losing lock, alarm-monitor subelement generates corresponding alarm data.
Further, the error code data include that error code counts, current error rate and error code alert.
Further, the alarm data includes Received Loss Of Signal alarm and reception signal losing lock alarm.
Further, the priority of the alarm data is higher than the priority of the error code data.
The beneficial effect of above-mentioned further scheme is: issuing Received Loss Of Signal alarm in alarm-monitor subelement and receives When signal losing lock alerts, the acquisition and analysis to error code data can be stopped, in time to improve the accuracy of error code data.
Further, the control module includes micro-control unit and FPGA, the micro-control unit is real by the FPGA Now to the access control of the detection unit, the data interaction of the user terminal Yu the detection module is realized;The FPGA For realizing the conversion of communication protocol between the micro-control unit and the detection unit.
The beneficial effect of above-mentioned further scheme is: due to cannot directly be led between micro-control unit and detection unit Letter between micro-control unit and FPGA, uses different communication protocol between FPGA and detection unit, realize that two kinds lead to by FPGA Believe the mutual conversion between agreement, and then realizes the data interaction between micro-control unit, user terminal and detection unit.
Detailed description of the invention
Fig. 1 is the module principle figure of device for detecting code error of the present invention.
Specific embodiment
The principle and features of the present invention will be described below with reference to the accompanying drawings, and the given examples are served only to explain the present invention, and It is non-to be used to limit the scope of the invention.
As shown in Figure 1, a kind of device for detecting code error comprising user terminal, control module, detection module, clock crystal oscillator Module, Serdes module and optical module;
The user terminal is used to send operational order to the detection module by the control module, is also used to receive The error code data that the detection module is sent;
The clock crystal oscillator module is defaulted for generating the first reference clock or N reference clock, and when system starting Generate the first reference clock;
The detection module is used to be initialized according to the first reference clock activation system, the corresponding starting of system default the One operating mode, and the first error code testing or N error code testing are carried out according to the operational order, pass through the Serdes mould Block sends corresponding pseudo-random code sequence to the optical module, wherein if the operational order is to carry out the first error code testing, Detection module configures the first operating mode of system, if the operational order is to carry out N error code testing, system is switched to correspondence N reference clock, and configure system N operating mode;It is also used to receive optical module by the Serdes module and send Operation result, error code data are acquired from the operation result, and analyze the error code data;
Wherein, the N is natural number;
The optical module sends operation knot to the detection module for receiving the pseudo-random code sequence, the rear of operation Fruit;
The Serdes module is arranged between the detection module and the optical module, for completing the detection module The change of the serioparallel exchange of interaction data and interaction data rate between the optical module, wherein the interaction data packet Include the pseudo-random code sequence and the operation result.
First reference clock, first operating mode and first error code testing correspond, the N ginseng Clock, the N operating mode and the N error code testing is examined to correspond;First operating mode and the N work Mode respectively corresponds the operating mode under a kind of benchmark service rate, such as IEEE 802.3bm 40GE benchmark service rate, IEEE 4.4 OTU4 benchmark service rate of 802.3ba 100GE benchmark service rate and ITU OTL.
The detection module includes detection unit, transmission unit and receiving unit;
The detection unit is used to be initialized according to the first reference clock activation system, the corresponding starting of system default the One operating mode, and sent according to the operational order to the transmission unit and carry out the first error code testing or the survey of N error code Examination instruction, wherein if the operational order is to carry out N error code testing, system is switched to corresponding N reference clock, with And N operating mode;
The transmission unit is used to pass through institute according to the first error code testing of carry out or N the error code testing instruction received It states Serdes module and sends corresponding pseudo-random code sequence to the optical module;
The receiving unit is used to receive the operation result of the optical module by the Serdes module, and according to described Operation result analyzes error code data and alarm data.
The transmission unit includes that subelement occurs for pattern, and the pattern occurs subelement and is used to pass through the Serdes mould Block sends corresponding pseudo-random code sequence to the optical module.
The receiving unit includes pattern detection sub-unit and alarm-monitor subelement, and the pattern detection sub-unit is used for The operation result of the optical module is received by the Serdes module, and error code data are analyzed according to the operation result, and The error code data are sent to the detection unit;The alarm-monitor subelement is used to be analyzed according to the error code data and alert Data, and the alarm data is sent to the detection unit.
The error code data include that error code counts, current error rate and error code alert.
The alarm data includes Received Loss Of Signal alarm and reception signal losing lock alarm.
The priority of the alarm data is higher than the priority of the error code data.
The control module includes micro-control unit and FPGA, and the micro-control unit is realized by the FPGA to described The access control of detection unit realizes the data interaction of the user terminal Yu the detection module;The FPGA for realizing The conversion of communication protocol between the micro-control unit and the detection unit.
In the present embodiment, MDIO communication agreement, the microcontroller list are used between the FPGA and the detection unit It is first that SPI communication agreement is used between the FPGA;It cannot directly be carried out between the micro-control unit and the detection unit Communication so realizing the mutual conversion between MDIO communication agreement and SPI communication agreement by the FPGA, and then realizes that user is whole Data interaction between end and detection unit.
It further include power module, the power module is used to power to the detection module.
A kind of error detection operating process of device for detecting code error the following steps are included:
S01: clock crystal oscillator module default generates the first reference clock;
S02: detection module judges whether the first reference clock is ready to, if being not ready for, system starting failure is returned It returns step S01 and carries out step S03 if the first reference clock is ready;
S03: the initialization of detection module activation system, system default the first operating mode of corresponding starting;
S04: detection module judges whether system initialization succeeds, if not succeeding, system starting failure, and return step S01, if system initialization success, carries out step S05;
S05: detection module waits user terminal operations instruction, judges whether to the first error code testing, if so, carrying out Step S06, if it is not, then carrying out step S07;
S06: if carrying out the first error code testing, detection module configures the first operating mode of system;
S07: if without the first error code testing, detection module judges whether to N error code testing, if it is not, then Return step S05, if so, clock module switches N reference clock, detection module configures system N operating mode;
S08: detection module sends pseudo-random code sequence to optical module by Serdes module, and optical module receives pseudo noise code Sequence, and run;
S09: detection module receives optical module operation result by Serdes module, acquires error code from the operation result Data, and analyze the error code data;
S10: user terminal inquires error code data by control module;
Wherein, the N is natural number.
Specifically, step S02 relevant operation of detection module into step S09 is carried out by detection unit;
Wherein, the concrete operations process of the step S08 is that detection unit starts transmission unit, by transmission unit Pattern occurs subelement and sends pseudo-random code sequence to optical module by Serdes module, and optical module receives pseudo-random code sequence, And it runs;
The concrete operations process of the step S09 is that receiving unit receives the operation knot of optical module by Serdes module Fruit acquires error code data by pattern detection sub-unit from the operation result, and analyzes the error code data, by alarm-monitor Subelement analyzes alarm data according to the error code data;
In the step S10, the error code data that user terminal is inquired by control module include that error code is counted, currently missed Code rate and error code alarm, moreover it is possible to inquire the alarm number including Received Loss Of Signal alerts and receives the alarm of signal losing lock According to.
Wherein, the dedicated core of error code testing for the model VSC8248 that the detection unit is produced using Microsemi company Piece, working principle and electric connecting relation are existing well-known technique, and details are not described herein.
In the optical module operational process, the step S09 is synchronous real time execution with the step S10.
In the step S10, if alarm-monitor subelement to alarm data, i.e., Received Loss Of Signal alarm and receives signal Losing lock alarm, then pattern detection sub-unit stops analysis and update to error code data in the step S09, until alarm data It disappears.
When generating Received Loss Of Signal alarm and receiving the alarm of signal losing lock, Received Loss Of Signal pair can be locked immediately As, and reduce the influence that Received Loss Of Signal acquires error code data.
In the step S10, if user terminal inquires alarm data, user terminal can be according to Received Loss Of Signal Alarm and reception signal losing lock warning information position the measurand to break down, and the measurand is to transport in optical module Capable pseudo-random code sequence.
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all in spirit of the invention and Within principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.

Claims (8)

1. a kind of device for detecting code error, it is characterised in that: including user terminal, control module, detection module, clock crystal oscillator mould Block, Serdes module and optical module;
The user terminal is used to send operational order to the detection module by the control module, is also used to receive described The error code data that detection module is sent;
For generating the first reference clock or N reference clock, and when system starting, default generates the clock crystal oscillator module First reference clock;
The detection module is used to be initialized according to the first reference clock activation system, system default the first work of corresponding starting Operation mode, and the first error code testing or N error code testing are carried out according to the operational order, by the Serdes module to The optical module sends corresponding pseudo-random code sequence, wherein if the operational order is to carry out the first error code testing, detects The first operating mode of module configuration system, if the operational order is to carry out N error code testing, system is switched to corresponding the N reference clock, and configure system N operating mode;It is also used to receive the fortune that optical module is sent by the Serdes module Row from the operation result as a result, acquire error code data, and analyze the error code data;
Wherein, the N is natural number;
The optical module sends operation result to the detection module for receiving the pseudo-random code sequence, the rear of operation;
The Serdes module is arranged between the detection module and the optical module, for completing the detection module and institute State the change of the serioparallel exchange of interaction data and interaction data rate between optical module, wherein the interaction data includes institute State pseudo-random code sequence and the operation result.
2. a kind of device for detecting code error according to claim 1, it is characterised in that: the detection module include detection unit, Transmission unit and receiving unit;
The detection unit is used to be initialized according to the first reference clock activation system, system default the first work of corresponding starting Operation mode, and referred to according to the operational order to transmission unit transmission the first error code testing of progress or N error code testing It enables, wherein if the operational order is to carry out N error code testing, system is switched to corresponding N reference clock and N Operating mode;
The transmission unit is used to be passed through according to the first error code testing of carry out or N the error code testing instruction received described Serdes module sends corresponding pseudo-random code sequence to the optical module;
The receiving unit is used to receive the operation result of the optical module by the Serdes module, and according to the operation Interpretation of result error code data and alarm data.
3. a kind of device for detecting code error according to claim 2, it is characterised in that: the transmission unit includes that son occurs for pattern Unit, the pattern occur subelement and are used to send corresponding pseudo noise code sequence to the optical module by the Serdes module Column.
4. a kind of device for detecting code error according to claim 2, it is characterised in that: the receiving unit includes pattern detection Unit and alarm-monitor subelement, the pattern detection sub-unit are used to receive the optical module by the Serdes module Operation result, and error code data are acquired according to the operation result, and send the error code data to the detection unit;It is described Alarm-monitor subelement is used to analyze alarm data according to the error code data, and sends the alarm number to the detection unit According to.
5. a kind of device for detecting code error according to claim 4, it is characterised in that: the error code data include error code count, Current error rate and error code alarm.
6. a kind of device for detecting code error according to claim 5, it is characterised in that: the alarm data includes receiving signal to lose It loses alarm and receives the alarm of signal losing lock.
7. a kind of device for detecting code error according to claim 6, it is characterised in that: the priority of the alarm data is higher than institute State the priority of error code data.
8. a kind of device for detecting code error according to claim 2, it is characterised in that: the control module includes micro-control unit And FPGA, the micro-control unit realize the access control to the detection unit by the FPGA, realize that the user is whole The data interaction at end and the detection module;The FPGA leads to for realizing between the micro-control unit and the detection unit Believe the conversion of agreement.
CN201810974620.3A 2018-08-24 2018-08-24 A kind of device for detecting code error Pending CN109194394A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810974620.3A CN109194394A (en) 2018-08-24 2018-08-24 A kind of device for detecting code error

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810974620.3A CN109194394A (en) 2018-08-24 2018-08-24 A kind of device for detecting code error

Publications (1)

Publication Number Publication Date
CN109194394A true CN109194394A (en) 2019-01-11

Family

ID=64919830

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810974620.3A Pending CN109194394A (en) 2018-08-24 2018-08-24 A kind of device for detecting code error

Country Status (1)

Country Link
CN (1) CN109194394A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113259000A (en) * 2021-07-13 2021-08-13 深圳市力子光电科技有限公司 Optical module testing arrangement

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060200708A1 (en) * 2002-03-18 2006-09-07 Paul Gentieu System and method for network error rate testing
CN101132245A (en) * 2006-08-22 2008-02-27 中兴通讯股份有限公司 Digital synchronization series simple instrument implementing device
CN106059723A (en) * 2016-08-03 2016-10-26 索尔思光电(成都)有限公司 Signal source, error code tester, signal generation method and error code test method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060200708A1 (en) * 2002-03-18 2006-09-07 Paul Gentieu System and method for network error rate testing
CN101132245A (en) * 2006-08-22 2008-02-27 中兴通讯股份有限公司 Digital synchronization series simple instrument implementing device
CN106059723A (en) * 2016-08-03 2016-10-26 索尔思光电(成都)有限公司 Signal source, error code tester, signal generation method and error code test method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113259000A (en) * 2021-07-13 2021-08-13 深圳市力子光电科技有限公司 Optical module testing arrangement
CN113259000B (en) * 2021-07-13 2022-03-04 深圳市力子光电科技有限公司 Optical module testing arrangement

Similar Documents

Publication Publication Date Title
CN109039450B (en) Multi-rate error code detection device and detection method thereof
EP2903213B1 (en) Throughput test method and apparatus
CN106789430B (en) A kind of point-to-point link fault detection method
CN108462601B (en) Multi-protection-group switching method and device applied to optical transmission network and network element equipment
EP3809636B1 (en) Time delay measuring method and network device
US9705777B2 (en) System and method for monitoring encoded signals in a network
US8065571B2 (en) Storage area network (SAN) link integrity tester
CN110784339B (en) LACP message overtime fault detection method and device, and electronic equipment
CN109194393A (en) A kind of multi tate error code testing device and its test method
CN109194394A (en) A kind of device for detecting code error
CN109194392A (en) A kind of multi tate error detection system and its detection method
CN109194391A (en) A kind of error detection system and its detection method
US20130336129A1 (en) Multipurpose Use of Delay Measurement Message Buffer for Software Processing of Delay Measurement Response
CN109217921B (en) Error code testing device and testing method thereof
CN113810238A (en) Network monitoring method, electronic device and storage medium
CN113271612A (en) Reporting method and device for telemetering iFIT detection information along with flow information
CN112312376B (en) Method and system for remotely and interactively managing multifunctional electric meter
CN109067457B (en) Multi-rate error code analysis detector
CN107135039A (en) A kind of error rate test device and method based on HCA cards
CN112636825A (en) Method, device and system for measuring time delay in optical transport network
CN113037584B (en) Node state detection method, device, equipment and storage medium
CN114003549B (en) 5G radio frequency unit testing method and device based on heterogeneous SOC
CN117014341B (en) Virtual switch testing method and system
EP2898630B1 (en) Network services testing with pluggable transceivers
US20090296796A1 (en) Method and apparatus for improved storage area network link integrity testing

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20190111

RJ01 Rejection of invention patent application after publication