CN101106444A - Method for real test of error code class in data transfer circuit - Google Patents

Method for real test of error code class in data transfer circuit Download PDF

Info

Publication number
CN101106444A
CN101106444A CNA2006100896772A CN200610089677A CN101106444A CN 101106444 A CN101106444 A CN 101106444A CN A2006100896772 A CNA2006100896772 A CN A2006100896772A CN 200610089677 A CN200610089677 A CN 200610089677A CN 101106444 A CN101106444 A CN 101106444A
Authority
CN
China
Prior art keywords
frame
data transmission
transmission circuit
data
total bit
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
Application number
CNA2006100896772A
Other languages
Chinese (zh)
Other versions
CN101106444B (en
Inventor
朱世雄
郭立华
申学军
杨洪斌
梁玉红
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
BEIJING CHANGTONGDA TELECOM TECHNOLOGY Co Ltd
Original Assignee
BEIJING CHANGTONGDA TELECOM TECHNOLOGY Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by BEIJING CHANGTONGDA TELECOM TECHNOLOGY Co Ltd filed Critical BEIJING CHANGTONGDA TELECOM TECHNOLOGY Co Ltd
Priority to CN2006100896772A priority Critical patent/CN101106444B/en
Publication of CN101106444A publication Critical patent/CN101106444A/en
Application granted granted Critical
Publication of CN101106444B publication Critical patent/CN101106444B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a method for real-time testing the error level in data transmission circuit, including: (1) in the designated time interval, measure the total bit mount of the valid data frames transmitted in the data transmission circuit, and simultaneously measure the error bit mount of the dummy frames transmitted in the designated time interval; (2) according to the designated time interval, the total transmission rate of the data transmission circuit and the measured total bit mount of the valid data frames, calculate the total bit mount of the dummy frames transmitted in the designated time interval; (3) according to the bit mount in the dummy frames and the calculated total bit mount transmitted in the dummy frames, calculate the quotient thereof to obtain the error rate at bit level in the data transmission circuit. The invention reduces the complexity of data processing, and the testing accuracy is high. The invention can realize the on-line monitoring of the error level of data circuit.

Description

The method of real test of error code class in the data transmission circuit
Technical field
The present invention relates to the method for testing of the error rate in a kind of transfer of data, relate in particular to the method for real test of error code class in a kind of data transmission circuit, monitor in real time to realize on-line monitoring.
Background technology
In digital communication, the error rate is a main standard of check data transmission equipment and channel work quality thereof, is to weigh the data index of transfer of data accuracy at the appointed time.In the conventional data communications circuit, custom waits with Packet Error Ratio (PER) carries out the circuit transmission quality evaluation.Though Packet Error Ratio also can not satisfy the requirement of client that quality test is had relatively high expectations to transmission circuit as the index of weighing the circuit transmission quality.
At present in the wired data communication system, HDLC (the High Level Data LinkControl that adopt more, High-Level Data Link Control) agreement, SDLC (Synchronous Data LinkControl, synchronous data-link control) agreement, PPP (Point to Point Protocol, point-to-point protocol) or frame relay protocol etc.Be to use Packet Error Ratio to wait to the estimation approach of the performance of the data transmission circuit that adopts above-mentioned agreement and estimate,, be difficult to it and traditional BIT error code equivalence because length of data package is unfixing.Bit error rate is meant the wrong amount of information that receives shared ratio in transmitting informational capacity, also is the amount of information probability that quilt is lost in transmission system of code element.And present data circuit, particularly the grade of service of big customer's data circuit is represented by the BIT error code class.Therefore, present service provider can not provide real-time online error code class data well, does not satisfy user's requirement.
At present, test for bit error rate in the data transmission circuit, all data volumes of transmission that adopt are added up more, and be the examination of broken string drive test, can not on-line testing, can't deny that such method of testing measuring accuracy is higher, but the rapid lifting that test mode can not provide online real-time testing to cause testing cost, this also is the main cause that the service provider is reluctant to provide BIT error code class parameter.
Summary of the invention
At existing problem and shortage in the test method for bit error rate in the above-mentioned available data transmission circuit, the purpose of this invention is to provide a kind of method that realizes real test of error code class in simple, the lower-cost data transmission circuit.
The present invention is achieved in that the method for real test of error code class in a kind of data transmission circuit, may further comprise the steps:
(1) in the time interval of setting, measures the total bit amount of the valid data frame that transmits in the described data transmission circuit, measure bit amount wrong in the empty Frame that transmits in the time interval of this setting simultaneously;
(2) according to setting-up time at interval, the overall transmission rate of data transmission circuit and the total bit amount of valid data frame measured calculate the total bit amount of transmission of empty Frame in time interval of described setting;
(3) according to the total bit amount of the transmission of the empty Frame that calculates in wrong bit amount and the step (2) in the empty Frame of measuring in the step (1), calculate its merchant and promptly draw the bit level error rate in the data transmission circuit.
Wherein, the total bit amount of the transmission of described step (2) hollow Frame obtains by following steps:
A, according to the average transmission rate of the total bit of the Frame of measuring in the step (1) amount calculated data frame and total speed of described data transmission circuit, calculate the ratio of this two speed, promptly draw the average channel occupancy of Frame in described data transmission circuit;
B, determine the average channel occupancy of empty Frame according to the channel seizure ratio that calculates in the steps A, and the average channel occupancy of calculating clearancen Frame, calculate the long-pending average transmission rate that promptly calculates the clearancen Frame of the average channel occupancy of total speed of described data transmission circuit and empty Frame again, calculate the total bit amount of transmission of empty Frame again according to the time interval amount of setting.
Wherein, the total bit amount of the transmission of described step (2) hollow Frame also can obtain by following steps:
A, to setting-up time at interval, the overall transmission rate quadrature of data transmission circuit, draw setting-up time at interval in total bit transmission quantity of data transmission circuit;
B, total bit transmission quantity of data transmission circuit and the total bit amount of valid data frame are made the total bit amount of transmission that difference promptly obtains the sky Frame.
Wherein, described data transmission circuit comprises the data transmission circuit of having used High level data link control, synchronous data link control, point-to-point protocol or frame relay protocol.
Wherein, the step that wrong bit measures in the total bit of measured data frame amount and the empty Frame in described data transmission circuit in the described step (1) is as follows:
A, be set in the time of measuring in the described data transmission circuit, simultaneously the data of transmitting in the described data transmission circuit judged,, then enter step B, otherwise enter step C if continuous OX7E byte occurs;
B, each byte in the byte stream of transmission is compared with OX7E respectively, measure bit wrong in the byte of transmission, the statistics that adds up finished up to the setting measurement time;
The quantity of the Frame in C, the measurement transmission data, the total bit that calculates transmission measures, and the statistics that adds up finished up to the setting measurement time.
When the BIT error rate of data transmission circuit was tested, the empty frame that sends when the present invention is directed to channel idle was added up, and utilized the BIT error rate in the empty frame transmission course as the transmission quality index of data transmission circuit.So just significantly reduced the complexity of data processing, and measuring accuracy is basic and the BIT error rate equivalence of valid data or whole data test.Present invention can be implemented in the error code class of line Monitoring Data circuit, business is not disconnected the back test and do not need to resemble traditional method, this method also can be used for the interrupting service test simultaneously.The present invention realizes simply, testing cost is lower.
Description of drawings
Fig. 1 is a BIT error rate test flow chart of the present invention.
Embodiment
The present invention is described in further detail below in conjunction with accompanying drawing.
As shown in Figure 1, the present invention includes following steps:
Step 101, flow process begins.
Step 102, the Measuring Time in the setting data transmission circuit; This Measuring Time can be unit Measuring Time (1 second), also can set arbitrarily as required; Specifically can realize time set by counter.
Step 103 is judged transmission data category in the data transmission circuit to be tested.The present invention utilizes cable data link transmission feature to judge, be HDLC (the High Level Data Link Control that the present invention is suitable for, High-Level Data Link Control) agreement, SDLC (Synchronous Data Link Control, synchronous data-link control) agreement, PPP (Pointto Point Protocol, point-to-point protocol) or the start of frame delimiter of the valid data frame of frame relay protocol etc. be that OX7E (01111110), end mark are similarly OX7E, if but the data transmission circuit free time then transmit the OX7E byte all the time.According to this feature, whether the present invention just can judge whether sending empty Frame at continuous transmission OX7E as long as differentiate data transmission circuit.If transmit OX7E in the data transmission circuit continuously, then link idle enters step 104, otherwise enters step 106.
Step 104 judges whether each byte data of transmission equals OX7E, then enters step 105 if having.
Step 105, should non-OX7E byte and OX7E (01111110) compare by turn, judging has several bit errors of transmission, and carries out wrong bit and add up.
Step 106, the quantity of the Frame that transmits in the calculated data transmission circuit draws the bit flow, and to its accumulated counts.
Step 107, after step 105,106 pairs of bit quantity added up, if then whether the Measuring Time that judgement is set then, then entered step 108, otherwise return step 103.
Step 108 according to the above-mentioned total bit flow that measures the valid data frame of total wrong bit quantity in the sky frame transmission course and transmission, calculates the bit error rate.Concrete computational methods are:
At first, calculate the Mean Speed V_use=N_use/T_test of valid data according to the Measuring Time T_test that sets and total bit flow N_use of valid data frame.
Calculate the average occupancy P_use of data of valid data frame again according to the setting speed V of data transmission circuit, then P_use=V_use/V.The average occupancy of empty Frame then be 1-P_use, and V * (1-P_use) then is that the total bit of empty data frame transfer measures.
Suppose that the mistake bit quantity that records in the Measuring Time T is N_errall, then mistake bit leads P_err=N_errall/ (V * (1-P_use)) in the data transmission circuit.
The bit error rate of the present invention also can be calculated by following method:
P_err=N_errall/ (N_all-N_use), wherein, N_errall is the total bit error code number in the testing time, and N_all is the total Bit data number in the testing time, and N_use is the total valid data frame Bit data number in the testing time.Wherein, the calculating of N_all has two kinds of methods:
1, accurate counting method is come actual count to the total bit in the testing time with counting module; Its advantage is that counting is accurate, and shortcoming is to increase some costs, needs count all BIT in the data transmission circuit, and this needs the overhead of processor.
2, the estimation technique is because the precision of existing track data speed still than higher, can be estimated with the product of testing time and line speed.Be N_all=V * T_test.Wherein T_test is the testing time, and V is the known speed of circuit.Advantage be implementation more simply, shortcoming be low precision a bit.
Step 109, flow process finishes.
Be the computational methods that mistake bit leads P_err in the example description of step 108 with the E1 circuit below.
Suppose that the N_err that records is 5, Measuring Time T is 1 second unit interval, and total bit flow N_use of the valid data frame that records is 2,000,000bit, and the speed of E1 circuit is 2M/s, P_use=2 then, 000,000 ÷ 2,048,000;
P_err=5÷(2048000×(1-2,000,000÷2,048,000))
=1.04E-4。
Perhaps, directly calculate by following formula:
P_err=5÷(2048000-2,000,000)=1.04E-4
The E1 circuit-line error rate of above-mentioned measurement is 1.04E-4, and error code class is-4.
Certainly; the present invention also can have other various embodiments; under the situation that does not deviate from spirit of the present invention and essence thereof; those skilled in the art work as can make various corresponding changes and distortion according to the present invention, but these corresponding changes and distortion all should belong to the protection range of the appended claim of the present invention.

Claims (5)

1. the method for real test of error code class in the data transmission circuit is characterized in that this method may further comprise the steps:
(1) in the time interval of setting, measures the total bit amount of the valid data frame that transmits in the described data transmission circuit, measure bit amount wrong in the empty Frame that transmits in the time interval of this setting simultaneously;
(2) according to setting-up time at interval, the overall transmission rate of data transmission circuit and the total bit amount of valid data frame measured calculate the total bit amount of transmission of empty Frame in time interval of described setting;
(3) according to the total bit amount of the transmission of the empty Frame that calculates in wrong bit amount and the step (2) in the empty Frame of measuring in the step (1), calculate its merchant and promptly draw the bit level error rate in the data transmission circuit.
2. definite method of error code class is characterized in that in the data transmission circuit according to claim 1, and the total bit amount of the transmission of described step (2) hollow Frame obtains by following steps:
A, according to the average transmission rate of the total bit of the Frame of measuring in the step (1) amount calculated data frame and total speed of described data transmission circuit, calculate the ratio of this two speed, promptly draw the average channel occupancy of Frame in described data transmission circuit;
B, determine the average channel occupancy of empty Frame according to the channel seizure ratio that calculates in the steps A, and the average channel occupancy of calculating clearancen Frame, calculate the long-pending average transmission rate that promptly calculates the clearancen Frame of the average channel occupancy of total speed of described data transmission circuit and empty Frame again, calculate the total bit amount of transmission of empty Frame again according to the time interval amount of setting.
3. definite method of error code class is characterized in that in the data transmission circuit according to claim 1, and the total bit amount of the transmission of described step (2) hollow Frame obtains by following steps:
A, to setting-up time at interval, the overall transmission rate quadrature of data transmission circuit, draw setting-up time at interval in total bit transmission quantity of data transmission circuit;
B, total bit transmission quantity of data transmission circuit and the total bit amount of valid data frame are made the total bit amount of transmission that difference promptly obtains the sky Frame.
4. according to definite method of error code class in claim 2 or the 3 described data transmission circuits, it is characterized in that described data transmission circuit comprises the data transmission circuit of having used High level data link control, synchronous data link control, point-to-point protocol or frame relay protocol.
5. according to the method for real test of error code class in claim 2 or the 3 described data transmission circuits, it is characterized in that the step that wrong bit measures in the total bit of measured data frame amount and the empty Frame in described data transmission circuit in the described step (1) is as follows:
A, be set in the time of measuring in the described data transmission circuit, simultaneously the data of transmitting in the described data transmission circuit judged,, then enter step B, otherwise enter step C if continuous OX7E byte occurs;
B, each byte in the byte stream of transmission is compared with OX7E respectively, measure bit wrong in the byte of transmission, the statistics that adds up finished up to the setting measurement time;
The quantity of the Frame in C, the measurement transmission data, the total bit that calculates transmission measures, and the statistics that adds up finished up to the setting measurement time.
CN2006100896772A 2006-07-11 2006-07-11 Method for real test of error code class in data transfer circuit Expired - Fee Related CN101106444B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2006100896772A CN101106444B (en) 2006-07-11 2006-07-11 Method for real test of error code class in data transfer circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2006100896772A CN101106444B (en) 2006-07-11 2006-07-11 Method for real test of error code class in data transfer circuit

Publications (2)

Publication Number Publication Date
CN101106444A true CN101106444A (en) 2008-01-16
CN101106444B CN101106444B (en) 2010-06-09

Family

ID=39000151

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2006100896772A Expired - Fee Related CN101106444B (en) 2006-07-11 2006-07-11 Method for real test of error code class in data transfer circuit

Country Status (1)

Country Link
CN (1) CN101106444B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101995500A (en) * 2009-08-12 2011-03-30 特克特朗尼克公司 Test and measurement instrument with bit-error detection
CN102594470A (en) * 2012-03-12 2012-07-18 哈尔滨工业大学 Method for obtaining data communication bit error rate in a real-time online manner
CN104579531A (en) * 2014-12-26 2015-04-29 中国电子科技集团公司第二十研究所 Data link unrepeatered networking method
CN106788675A (en) * 2016-12-05 2017-05-31 中国资源卫星应用中心 Using the method for null frame data statistics satellite in orbit initial data error code

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US3824548A (en) * 1973-01-15 1974-07-16 Us Navy Satellite communications link monitor
JP3123975B2 (en) * 1998-04-23 2001-01-15 埼玉日本電気株式会社 Bit error rate measuring method, measuring circuit, and receiving apparatus

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101995500A (en) * 2009-08-12 2011-03-30 特克特朗尼克公司 Test and measurement instrument with bit-error detection
CN101995500B (en) * 2009-08-12 2014-09-17 特克特朗尼克公司 Test and measurement instrument with bit-error detection
CN102594470A (en) * 2012-03-12 2012-07-18 哈尔滨工业大学 Method for obtaining data communication bit error rate in a real-time online manner
CN102594470B (en) * 2012-03-12 2014-01-08 哈尔滨工业大学 Method for obtaining data communication bit error rate in a real-time online manner
CN104579531A (en) * 2014-12-26 2015-04-29 中国电子科技集团公司第二十研究所 Data link unrepeatered networking method
CN104579531B (en) * 2014-12-26 2017-08-29 中国电子科技集团公司第二十研究所 The non-relay network-building method of Data-Link
CN106788675A (en) * 2016-12-05 2017-05-31 中国资源卫星应用中心 Using the method for null frame data statistics satellite in orbit initial data error code

Also Published As

Publication number Publication date
CN101106444B (en) 2010-06-09

Similar Documents

Publication Publication Date Title
US5946302A (en) System and method for response time measurement in high speed data transmission networks
CN101729197B (en) Method, device and system for detecting packet loss rate
CN112653636B (en) Network data intelligent distribution service system
CN101119237A (en) Network card testing method
CN101106444B (en) Method for real test of error code class in data transfer circuit
CN101964727B (en) Method and device for measuring available bandwidth by using mixed messages
CN102104502A (en) Ethernet equipment performance test platform based on Linux system
ATE409376T1 (en) MONITORING UNIT FOR MONITORING SERVICE QUALITY
CN101304344A (en) Apparatus and method for calibrating time delay of network performance tester
CN103457790B (en) The labeling method of a kind of time stamp and the detection method of time stamp, device and system
CN113965487B (en) Fault diagnosis system based on network flow data
CN101582738B (en) Device and method for measuring frame error rate in transmission link
CN101385292A (en) Quality-degraded portion estimating device, method, and program
CN103999396B (en) The subscriber station of bus system and the method for transmitting data between the subscriber station of bus system
CN102025571B (en) The method and apparatus that multipoint link packet loss is measured
CN109120479B (en) Network throughput testing method based on network message format
CN108900244B (en) FC optical interface data and related data monitoring and testing method thereof
CN104468255B (en) Air conduct measurement and the redundant data interactive system of management information transmission
CN104702385B (en) Network quality detection method, device and equipment
CN108494862B (en) RTDS data transmission system and method
WO2021227644A1 (en) Information sending and receiving method and apparatus, and device
CN107911259A (en) A kind of distribution power automation terminal communications status diagnostic method
CN103428011A (en) Node state detection method, system and device used in distributed system
CN103441818A (en) Method and device for detecting errors of data transmission
CN105141358B (en) Transformer station process layer optical fiber transmission delay measurement method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20100609

Termination date: 20150711

EXPY Termination of patent right or utility model