CN107566085A - A kind of bit error code method of testing and system based on FC buses - Google Patents

A kind of bit error code method of testing and system based on FC buses Download PDF

Info

Publication number
CN107566085A
CN107566085A CN201710783835.2A CN201710783835A CN107566085A CN 107566085 A CN107566085 A CN 107566085A CN 201710783835 A CN201710783835 A CN 201710783835A CN 107566085 A CN107566085 A CN 107566085A
Authority
CN
China
Prior art keywords
data
test
bit error
module
error code
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
CN201710783835.2A
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.)
CETC 41 Institute
Original Assignee
CETC 41 Institute
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 CETC 41 Institute filed Critical CETC 41 Institute
Priority to CN201710783835.2A priority Critical patent/CN107566085A/en
Publication of CN107566085A publication Critical patent/CN107566085A/en
Pending legal-status Critical Current

Links

Abstract

The present invention provides a kind of bit error code method of testing and system based on FC buses, and wherein system includes test data generation module, bit error code test module, data transmission blocks and data reception module interconnection and mutually communication;Wherein module occurs for test data, for test data to be deposited in the payload section of FC data frames, judges whether to need scrambler according to current test rate;Bit error code test module, judge whether to need to descramble according to test rate, then can determine whether synchronization, whether have bit error code, and calculate bit error rate;Data transmission blocks, the FC data frames that test data to that module generation occur are transmitted;Data reception module, for carrying out receiving capture and storage to data frame.Using such scheme, it is possible to achieve reach the bit error code test that various speed are realized on the FC bus test instruments of more than 8.5Gb/s and compatible low rate in a flank speed.

Description

A kind of bit error code method of testing and system based on FC buses
Technical field
The invention belongs to FC bus test technical fields, more particularly to a kind of bit error code test based on FC buses Method and system.
Background technology
With the development of FC buses, its speed has developed from earliest 1.0625Gb/s, 2.125Gb/s, 4.25Gb/s To 8.5Gb/s even more highs.Although FC buses have higher stability, but still it cannot be guaranteed that not going out during bus transfer Existing error code.Bit error code test can actively insert bit error code in data transmission procedure, and ratio is produced during analogue transmission The situation of special error code, with this judge bus transmission performance and system under test (SUT) to there is the response disposal ability of bit error code. The principle of error code testing is that sender produces test data, is loaded into standard testing frame, is sent to system under test (SUT), system under test (SUT) The data received are decoded, test data is taken out, is contrasted with the normal data to prestore by bit, are counted after synchronous Go out two groups of different bit numbers of data, draw the bit error rate.The existing FC bus test instrument products for supporting bit error code test Speed is mostly 4.25Gb/s and following, and also no highest test rate can reach 8.5Gb/s and backward compatible a variety of speed, The FC bus test instrument products that bit error code can also be supported to test simultaneously.
Therefore, the prior art is defective, it is necessary to improve.
The content of the invention
The technical problems to be solved by the invention are in view of the shortcomings of the prior art, there is provided a kind of bit based on FC buses Error-code testing method and system.
Technical scheme is as follows:
A kind of bit error code test system based on FC buses, wherein, including module occurs for test data, bit error code is surveyed Die trial block, data transmission blocks and data reception module are connected with each other and mutually communication;Wherein module occurs for test data, is used for Test data is deposited in the payload section of FC data frames, judge whether to need scrambler according to current test rate;Bit error code Test module, judge whether to need to descramble according to test rate, then can determine whether synchronization, whether have bit error code, and count Calculate bit error rate;Data transmission blocks, the FC data frames that test data to that module generation occur are transmitted;Data receiver Module, for carrying out receiving capture and storage to data frame.
Furthermore, module occurs for the test data, and the FC data frame frame lengths of FC consensus standards are met for producing Degree can be set, and test data includes pseudo-random binary sequence, full 0, complete 1 or any customized data, and test data is deposited It is put in the payload section of FC data frames, judges whether to need scrambler according to current test rate.
Furthermore, the resolution chart of the bit error code test module is identical with test data generation module, comprising Pseudo-random binary sequence, full 0, complete 1 or any customized data.
Furthermore, the transmission process of the data transmission blocks will meet FC agreements.
Furthermore, the data reception module:It is additionally operable to carry out FC protocol-decodings to the data of capture.
A kind of method of testing of the bit error code test system based on FC buses, comprises the following steps:
Step 101:Test data occurs module and produces test data, and test data is deposited in into FC data
The payload section of frame, while bit error code test module sets identical test data as pre-stored data;
Step 102:Test data occurs module and current test rate is judged;
Step 103:If speed be 8.5Gb/s and more than, into step 104;If speed is 4.25Gb/s
And it is following, then without scrambler, into step 105;
Step 104:Data frame is subjected to scrambler;
Step 105:Then data frame is sent according to FC agreements by data transmission blocks;Now by
Examining system should be arranged to direct mode operation, that is, the data for needing to receive are then forwarded to bit error code test
Module;
Step 106:Data reception module captures to data frame;
Step 107:Bit error code test module is judged current test rate;
Step 108:If speed be 8.5Gb/s and more than, into step 109;If speed is 4.25Gb/s and following, Into step 110;
Step 109:The data frame of capture is descrambled;
Step 110:Data reception module is decoded according to FC agreements to data frame, and frame head is peeled off, by payload Area's data are taken out;
Step 111:Bit error code test module sets synchronous thresholding, by the data of the payload section separated in step 110 Contrasted with the pre-stored data in step 101, judge whether synchronization, if synchronous unsuccessful, continue to judge, until synchronization into Untill work(;If synchronous success, into step 112;
Step 112:After synchronously success, by the data of payload section and pre-stored data by every bit one by one compared with, Count bit error code number;
Step 113:Calculate bit error rate, the number of the bit error code for being calculated as counting of bit error rate divided by The bit total number of payload section data in the data frame received after synchronous.
Using such scheme, it is possible to achieve the FC for reaching more than 8.5Gb/s and compatible low rate in a flank speed is total The bit error code test of various speed is realized on line tester.
Brief description of the drawings
Fig. 1 is one of embodiments of the invention flow chart.
Fig. 2 is the two of embodiments of the invention flow chart.
Embodiment
Below in conjunction with the drawings and specific embodiments, the present invention is described in detail.
Embodiment 1
As shown in figure 1,
Sending module of the present invention is deposited in test data in the payload section of FC standard frames, is carried out according to current test rate Judge, if 8.5Gb/s and more than, then to send data frame carry out scrambler, otherwise directly transmit data frame;Receiving module is by phase Same test data is judged, if 8.5Gb/s and the above then to receiving as pre-stored data after receiving data according to speed Data descrambled.
The present invention proposes a kind of bit error code test system based on FC buses, and it comprises at least following functional module:
1) module occurs for test data:The FC data frames frame length that generation meets FC consensus standards can set (payload section length Can not be that 0), test data includes pseudo-random binary sequence, full 0, complete 1 or any customized data, by test data Deposit in the payload section of FC data frames, judge whether to need scrambler according to current test rate.
2) bit error code test module:This module judges whether to need to descramble according to test rate, then can determine whether Synchronously, whether there is bit error code, and calculate bit error rate.The resolution chart of bit error code test module is sent out with test data Raw module is identical, also comprising pseudo-random binary sequence, full 0, complete 1 or any customized data, is surveyed by bit error code After trying resume module, bit error rate can be calculated.
3) data transmission blocks:The FC data frames that test data to that module generation occur are transmitted, and test rate can be set Put, transmission process will meet FC agreements.
4) data reception module:For carrying out receiving capture and storage to data frame, FC can be carried out to the data of capture Protocol-decoding.
Bit error code method of testing proposed by the present invention based on FC buses, such as Fig. 1 and as shown in Figure 2:
Step 101:Test data occurs module and produces test data, and test data is deposited in the payload of FC data frames Area, while bit error code test module sets identical test data as pre-stored data;
Step 102:Test data occurs module and current test rate is judged;
Step 103:If speed be 8.5Gb/s and more than, into step 104;If speed is 4.25Gb/s and following, Without scrambler, into step 105;
Step 104:Data frame is subjected to scrambler;
Step 105:Then data frame is sent according to FC agreements by data transmission blocks;Now system under test (SUT) should be set Direct mode operation is set to, that is, the data for needing to receive are then forwarded to bit error code test module;
Step 106:Data reception module captures to data frame;
Step 107:Bit error code test module is judged current test rate;
Step 108:If speed be 8.5Gb/s and more than, into step 109;If speed is 4.25Gb/s and following, Into step 110;
Step 109:The data frame of capture is descrambled;
Step 110:Data reception module is decoded according to FC agreements to data frame, and frame head is peeled off, by payload Area's data are taken out;
Step 111:Bit error code test module sets synchronous thresholding, by the data of the payload section separated in step 110 Contrasted with the pre-stored data in step 101, judge whether synchronization, if synchronous unsuccessful, continue to judge, until synchronization into Untill work(;If synchronous success, into step 112;
Step 112:After synchronously success, by the data of payload section and pre-stored data by every bit one by one compared with, Count bit error code number;
Step 113:Calculate bit error rate, the number of the bit error code for being calculated as counting of bit error rate divided by The bit total number of payload section data in the data frame received after synchronous.
Using such scheme, it is possible to achieve the FC for reaching more than 8.5Gb/s and compatible low rate in a flank speed is total The bit error code test of various speed is realized on line tester.
It should be appreciated that for those of ordinary skills, can according to the above description be improved or converted, And all these modifications and variations should all belong to the protection domain of appended claims of the present invention.

Claims (6)

1. a kind of bit error code test system based on FC buses, it is characterised in that module occurs including test data, bit misses Code test module, data transmission blocks and data reception module are connected with each other and mutually communication;Wherein module occurs for test data, For test data to be deposited in the payload section of FC data frames, judge whether to need scrambler according to current test rate;Bit Error code testing module, judge whether to need to descramble according to test rate, then can determine whether synchronization, whether have bit error code, And calculate bit error rate;Data transmission blocks, the FC data frames that test data to that module generation occur are transmitted;Data Receiving module, for carrying out receiving capture and storage to data frame.
2. the bit error code test system based on FC buses as claimed in claim 1, it is characterised in that the test data hair Raw module, the FC data frames frame length of FC consensus standards is met for producing to be set, and test data includes pseudo-random binary sequence Row, full 0, complete 1 or any customized data, test data are deposited in the payload section of FC data frames, are surveyed according to current Examination speed judges whether to need scrambler.
3. the bit error code test system based on FC buses as claimed in claim 1, it is characterised in that the bit error code is surveyed It is identical that module occurs for the resolution chart of die trial block and test data, comprising pseudo-random binary sequence, full 0, complete 1 or it is any from The data of definition.
4. the bit error code test system based on FC buses as claimed in claim 1, it is characterised in that the data send mould The transmission process of block will meet FC agreements.
5. the bit error code test system based on FC buses as claimed in claim 1, it is characterised in that the data reception Block:It is additionally operable to carry out FC protocol-decodings to the data of capture.
A kind of 6. method of testing of the bit error code test system based on FC buses as claimed in claim 1, it is characterised in that Comprise the following steps:
Step 101:Test data occurs module and produces test data, test data is deposited in the payload section of FC data frames, together When bit error code test module identical test data is set as pre-stored data;
Step 102:Test data occurs module and current test rate is judged;
Step 103:If speed be 8.5Gb/s and more than, into step 104;If speed is 4.25Gb/s and following, do not enter Row scrambler, into step 105;
Step 104:Data frame is subjected to scrambler;
Step 105:Then data frame is sent according to FC agreements by data transmission blocks;Now system under test (SUT) should be arranged to Direct mode operation, that is, the data for needing to receive are then forwarded to bit error code test module;
Step 106:Data reception module captures to data frame;
Step 107:Bit error code test module is judged current test rate;
Step 108:If speed be 8.5Gb/s and more than, into step 109;If speed is 4.25Gb/s and following, enter Step 110;
Step 109:The data frame of capture is descrambled;
Step 110:Data reception module is decoded according to FC agreements to data frame, and frame head is peeled off, by payload section number According to taking-up;
Step 111:Bit error code test module sets synchronous thresholding, by the data and step of the payload section separated in step 110 Pre-stored data in rapid 101 is contrasted, and judges whether synchronization, if synchronous unsuccessful, continues to judge, until being successfully synchronously Only;If synchronous success, into step 112;
Step 112:After synchronously success, by the data of payload section and pre-stored data by every bit one by one compared with, count Go out bit error code number;
Step 113:Calculate bit error rate, the number of the bit error code for being calculated as counting of bit error rate divided by synchronization The bit total number of payload section data in the data frame received afterwards.
CN201710783835.2A 2017-09-04 2017-09-04 A kind of bit error code method of testing and system based on FC buses Pending CN107566085A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710783835.2A CN107566085A (en) 2017-09-04 2017-09-04 A kind of bit error code method of testing and system based on FC buses

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710783835.2A CN107566085A (en) 2017-09-04 2017-09-04 A kind of bit error code method of testing and system based on FC buses

Publications (1)

Publication Number Publication Date
CN107566085A true CN107566085A (en) 2018-01-09

Family

ID=60978887

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710783835.2A Pending CN107566085A (en) 2017-09-04 2017-09-04 A kind of bit error code method of testing and system based on FC buses

Country Status (1)

Country Link
CN (1) CN107566085A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108900244A (en) * 2018-06-27 2018-11-27 电子科技大学 A kind of FC optical interface data and its method of related data monitoring and test
CN109787723A (en) * 2019-01-04 2019-05-21 武汉邮电科学研究院有限公司 A kind of detection method of the bit error rate, detection system and high order modulation communication system
CN111722832A (en) * 2020-06-19 2020-09-29 西安微电子技术研究所 Satellite load data simulation source testing method and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040153267A1 (en) * 2002-10-31 2004-08-05 Finisar Corporation System and method of testing a transceiver
WO2004097576A3 (en) * 2003-04-24 2004-12-23 Finisar Corp System and method for network error rate testing
CN104467956A (en) * 2014-12-26 2015-03-25 国家电网公司 Fiber protecting channel testing system
CN106341181A (en) * 2016-08-26 2017-01-18 成都九洲迪飞科技有限责任公司 Fiber link test system
CN106559286A (en) * 2016-11-15 2017-04-05 中国电子科技集团公司第四十研究所 A kind of error-code testing method and system based on CAN
CN106713065A (en) * 2016-11-17 2017-05-24 中国电子科技集团公司第四十研究所 Handheld FC bus tester

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040153267A1 (en) * 2002-10-31 2004-08-05 Finisar Corporation System and method of testing a transceiver
WO2004097576A3 (en) * 2003-04-24 2004-12-23 Finisar Corp System and method for network error rate testing
CN104467956A (en) * 2014-12-26 2015-03-25 国家电网公司 Fiber protecting channel testing system
CN106341181A (en) * 2016-08-26 2017-01-18 成都九洲迪飞科技有限责任公司 Fiber link test system
CN106559286A (en) * 2016-11-15 2017-04-05 中国电子科技集团公司第四十研究所 A kind of error-code testing method and system based on CAN
CN106713065A (en) * 2016-11-17 2017-05-24 中国电子科技集团公司第四十研究所 Handheld FC bus tester

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108900244A (en) * 2018-06-27 2018-11-27 电子科技大学 A kind of FC optical interface data and its method of related data monitoring and test
CN108900244B (en) * 2018-06-27 2021-02-26 电子科技大学 FC optical interface data and related data monitoring and testing method thereof
CN109787723A (en) * 2019-01-04 2019-05-21 武汉邮电科学研究院有限公司 A kind of detection method of the bit error rate, detection system and high order modulation communication system
CN109787723B (en) * 2019-01-04 2021-08-24 武汉邮电科学研究院有限公司 Detection method and detection system for bit error rate and high-order modulation communication system
CN111722832A (en) * 2020-06-19 2020-09-29 西安微电子技术研究所 Satellite load data simulation source testing method and device
CN111722832B (en) * 2020-06-19 2022-08-02 西安微电子技术研究所 Satellite load data simulation source testing method and device

Similar Documents

Publication Publication Date Title
CN101267210B (en) Data decoding and coding and receiving/transmission method and device
CN107566085A (en) A kind of bit error code method of testing and system based on FC buses
CN103634074B (en) The speed matching method and device of downlink data
CN103309780B (en) The analog of load data processor and its implementation
CN109426636B (en) Method and device for transmitting high-bit-width data between FPGA (field programmable Gate array) chips
US7050468B2 (en) Multiplexed signal transmitter/receiver, communication system, and multiplexing transmission method
CN106559286A (en) A kind of error-code testing method and system based on CAN
EP2228930A3 (en) Fram generating apparatus and frame generating method
WO2016000371A1 (en) Multi-channel synchronisation method, synchronisation device and system, and computer storage medium
CN108075937A (en) A kind of method and apparatus of adaptive network speed matching process
US20120233341A1 (en) Microcontroller with can bus module and auto speed detect
US9702935B2 (en) Packet based integrated circuit testing
CN109347598A (en) Check code processing method, electronic equipment and storage connect medium
EP1720280B1 (en) Offset test pattern apparatus and method
CN106598889A (en) SATA (Serial Advanced Technology Attachment) master controller based on FPGA (Field Programmable Gate Array) sandwich plate
WO2017012517A1 (en) Hybrid physical coding sub-layer and method for transmitting and receiving data, and storage medium
CN106533603A (en) Time synchronizing method and device for distributed system
CN104541536B (en) Method, user equipment and base station for detecting device to device signals
CN1893387A (en) Encapsulation of e1-type frames under ethernet
US20180034590A1 (en) Coding Scheme and Multiframe Transmission in Optical Networks
CN108011690B (en) Ethernet physical layer device with integrated physical coding and forward error correction sublayer
CN1148455A (en) Data transmitting device and method, and video camera syslem using them
CN1112003C (en) Loop back device of packet communication T1 network
JP2008263451A (en) Optical transmitter, scrambling method and descrambling method
CN2684471Y (en) Optical transmitter and receiver with embedded error code testing function

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20180109