CN101488892B - Method and apparatus for testing forwording time delay of equipment - Google Patents
Method and apparatus for testing forwording time delay of equipment Download PDFInfo
- Publication number
- CN101488892B CN101488892B CN2009100779414A CN200910077941A CN101488892B CN 101488892 B CN101488892 B CN 101488892B CN 2009100779414 A CN2009100779414 A CN 2009100779414A CN 200910077941 A CN200910077941 A CN 200910077941A CN 101488892 B CN101488892 B CN 101488892B
- Authority
- CN
- China
- Prior art keywords
- time
- frame
- bit
- under test
- transmitting
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Abstract
The present invention provides method and device for testing forwarding time delay of apparatus. The method comprises the following steps: a transmitting port of an apparatus to be tested acquires the transmitting time delay T1 according to the length of the transmitted data frame and the transmitting velocity of the transmitting port; the transmitting port adds the transmitting time T2 of the data frame to the transmitting time delay T1 and bears the obtained time information T4 in the data frame transmitted to the receiving port; after the receiving port receives the data frame transmitted by the transmitting port, the receiving port acquires the time information T4 born in the data frame and records the receiving time of the data frame, and the receiving time T3 and the time information T4 subtract to obtain a difference value as the forwarding time delay of the apparatus to be tested. According to the invention, the error of the apparatus in the forwarding time delay test caused by the data transmission time delay can be reduced.
Description
Technical field
The present invention relates to the avionics field, particularly a kind of to based on the equipment of ARINC-664 () the method and apparatus tested of forwarding time delay.
Background technology
ARINC664 (aeronautical radio incorporated, US Airways wireless provider) standard is the communication bus protocol of the comprehensive avionics of a new generation.Be mainly used in the electronic system in the interconnection aviation aircraft, as engine, flight-control component, navigation system etc.
ARINC664 provides highly reliable real-time certainty avionic electronic communication network by using virtual link.When transmitting delay testing based on the equipment under test of ARINC-664, because Frame has certain length, to last bit that sends Frame, there is a time delay from first bit of sending Frame in the transmit port of equipment under test in the middle of this.
In the prior art equipment under test is transmitted in the process of delay testing, do not considered above-mentioned time delay, thereby cause forwarding delay testing inaccurate of equipment under test.
Summary of the invention
Embodiments of the invention provide a kind of method and apparatus that the forwarding time delay of equipment is tested, to solve the inaccurate problem of forwarding delay testing of equipment under test in the prior art.
A kind of method that the forwarding time delay of equipment is tested comprises:
The length of the Frame that the transmit port of equipment under test transmits as required, and the transmission rate of the transmit port of equipment under test is obtained the propagation delay time T1 of described Frame;
The transmit port of equipment under test adds the above propagation delay time T1 with the transmitting time T2 of Frame, the temporal information T4 that obtains is carried in the Frame that the receiving port of equipment under test sends, and the transmitting time T2 of described Frame is the transmitting time of first bit of described Frame;
The receiving port of equipment under test is after receiving described Frame fully, obtain the described temporal information T4 that carries in this Frame, behind first bit of the Frame that the transmit port that receives described equipment under test sends, write down the time of reception T3 of this first bit, described time of reception T3 and described temporal information T4 are subtracted each other, with the difference that obtains forwarding time delay as described equipment under test.
A kind of method that the forwarding time delay of equipment is tested comprises:
The transmit port of equipment under test is carried on the transmitting time T5 of Frame in the Frame that the receiving port to equipment under test sends, and the transmitting time T5 of described Frame is the transmitting time of first bit of described Frame;
The receiving port of equipment under test is after receiving described Frame fully, obtain the transmitting time T5 of described first bit that carries in this Frame, behind first bit of the Frame that the transmit port that receives described equipment under test sends, write down the time of reception T6 of this first bit;
The receiving port of described equipment under test is according to the length of described Frame, and the transmission rate of the transmit port of equipment under test is obtained the propagation delay time T7 of described Frame, the transmitting time T5 of described Frame is added the above propagation delay time T7 obtain time value T8, the time of reception T6 of first bit of described Frame is subtracted each other with described time value T8 again, with the difference that obtains data forwarding latency as described equipment under test.
A kind of device that the forwarding time delay of equipment is tested comprises:
The first transmit port module, the length of the Frame that is used for transmitting as required, and the transmission rate of transmit port is obtained the propagation delay time T1 of described Frame; The transmitting time T2 of Frame is added the above propagation delay time T1, the temporal information T4 that obtains is carried in the Frame that receiving port sends, the transmitting time T2 of described Frame is the transmitting time of first bit of described Frame;
The first receiving port module, be used for after receiving described Frame fully, obtain the described temporal information T4 that carries in this Frame, behind first bit of the Frame that receives described transmit port transmission, write down the time of reception T3 of this first bit, described time of reception T3 and described temporal information T4 are subtracted each other, with the difference that obtains forwarding time delay as described equipment under test.
A kind of device that the forwarding time delay of equipment is tested comprises:
The second transmit port module is used for the transmitting time T5 of Frame is carried on the Frame that sends to receiving port, and the transmitting time T5 of described Frame is the transmitting time of first bit of described Frame;
The second receiving port module, be used for after receiving described Frame fully, obtain the transmitting time T5 of described first bit that carries in this Frame, behind first bit of the Frame that receives described transmit port transmission, write down the time of reception T6 of this first bit;
The described second receiving port module is according to the length of described Frame, and the transmission rate of transmit port is obtained the propagation delay time T7 of described Frame, the transmitting time T5 of described Frame is added the above propagation delay time T7 obtain time value T8, the time of reception T6 of first bit of described Frame is subtracted each other with described time value T8 again, with the difference that obtains data forwarding latency as described equipment under test.
The technical scheme that is provided by the embodiment of the invention described above as can be seen, the embodiment of the invention is by calculating the propagation delay time of Frame at transmit port or receiving port, and in the transmitting time of Frame, add this propagation delay time, reduced the error in the forwarding delay testing of the equipment that causes because of data transmission delay.
Description of drawings
In order to be illustrated more clearly in the technical scheme of the embodiment of the invention, the accompanying drawing of required use is done to introduce simply in will describing embodiment below, apparently, accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
The process chart of the method that Fig. 1 tests for the forwarding time delay to equipment that the embodiment of the invention one proposes;
The process chart of the method that Fig. 2 tests for the forwarding time delay to equipment that the embodiment of the invention two proposes;
The structure chart of a kind of device that the forwarding time delay of equipment is tested that Fig. 3 proposes for the embodiment of the invention;
The structure chart of the device that the another kind that Fig. 4 proposes for the embodiment of the invention is tested the forwarding time delay of equipment.
Embodiment
For ease of understanding, be that example is further explained explanation below in conjunction with accompanying drawing with several specific embodiments, and each embodiment does not constitute the qualification to the embodiment of the invention to the embodiment of the invention.
Embodiment one
The handling process of the method that the forwarding time delay to equipment that this embodiment proposes is tested comprises following treatment step as shown in Figure 1:
In embodiments of the present invention, the transmit port of equipment under test is sent time to time of last bit that sends Frame of first bit of Frame, between time delay be called the propagation delay time of Frame.
In the data forwarding latency process of test equipment under test, can be in the transmit port length of Frame of transmission as required in advance, and the transmission rate of transmit port, obtain the propagation delay time T1 of above-mentioned Frame.
Such as, the length of Frame is that the short frame of 64byte adds 8byte frame preamble position, is total to 72byte=576bit, and transmission rate is 100M, and then the propagation delay time T1 of above-mentioned Frame is: 576bit/100M=5.76us.
Transmit port adds above-mentioned propagation delay time T1 among the transmitting time T2 of carrying Frame in advance in the Frame that sends after having calculated above-mentioned propagation delay time, the temporal information T4 that obtains is carried in the above-mentioned Frame that receiving port sends.
The transmitting time T2 of above-mentioned Frame can be first bit or last bit of Frame, and the transmitting time of other designated bit, and present embodiment is that the transmitting time of first bit of Frame illustrates with the transmitting time of above-mentioned Frame.
Such as, the delivery time of first bit of Frame is T2, then above-mentioned temporal information T4 is T2+T1 (5.76us).
Receiving port writes down the time of reception T3 (i.e. system time at that time) of this first bit behind first bit of the Frame that receives above-mentioned transmit port transmission.
Receiving port obtains the above-mentioned temporal information T4 that carries in this Frame after receiving above-mentioned Frame fully, this temporal information T3 and above-mentioned temporal information T4 are subtracted each other, and the difference that obtains (T3-T4) is the data forwarding latency of equipment under test.
Embodiment two
The another kind of handling process of the method that the forwarding time delay to equipment that this embodiment proposes is tested comprises following treatment step as shown in Figure 2:
The transmitting time of first bit of step 21, transmit port record data frame, and in the Frame that sends, carry above-mentioned temporal information.
The transmitting time T5 of first bit of transmit port record data frame, such as, the delivery time of first bit of Frame is T5.
Transmit port sends to receiving port with above-mentioned Frame by bit, and carries the transmitting time T5 of above-mentioned first bit in the Frame that sends.
Receiving port writes down the time of reception T6 (i.e. system time at that time) of this first bit behind first bit of the Frame that receives above-mentioned transmit port transmission.
Receiving port obtains the transmitting time T5 of above-mentioned first bit that carries in this Frame after receiving above-mentioned Frame fully.
Receiving port is according to the length of above-mentioned Frame, and the transmission rate of transmit port, obtains the propagation delay time T7 of above-mentioned Frame.
Such as, the length of Frame is that the short frame of 64byte adds 8byte frame preamble position, is total to 72byte=576bit, and transmission rate is 100M, and then the propagation delay time of above-mentioned Frame is: 576bit/100M=5.76us.
Receiving port adds above-mentioned propagation delay time T7 with the transmitting time T5 of first bit of carrying in the above-mentioned Frame that obtains and obtains time value T8, the time of reception T6 of described Frame is subtracted each other with described time value T8 again, with the difference (T6-T8) that obtains data forwarding latency as described equipment under test.
In actual applications, first bit of above-mentioned Frame can also be the bit of last bit or other appointment.
The embodiment of the invention also provides a kind of device that the forwarding time delay of equipment is tested, and its concrete structure schematic diagram comprises as shown in Figure 3 as lower module:
The first transmit port module, the length of the Frame that is used for transmitting as required, and the transmission rate of transmit port is obtained the propagation delay time T1 of described Frame; The transmitting time T2 of Frame is added the above propagation delay time T1, the temporal information T4 that obtains is carried in the Frame that receiving port sends;
The first receiving port module, be used for behind the Frame that receives described transmit port module transmission, obtain the described temporal information T4 that carries in the described Frame, and write down the time of reception T3 of described Frame, described time of reception T3 and described temporal information T4 are subtracted each other, with the difference that obtains forwarding time delay as described equipment under test.
The embodiment of the invention also provides the another kind of device that the forwarding time delay of equipment is tested, and its concrete structure schematic diagram comprises as shown in Figure 4 as lower module:
The second transmit port module is used for the transmitting time T5 of Frame is carried on the Frame that sends to receiving port;
The second receiving port module is used for obtaining the transmitting time T5 of the described Frame that carries in the described Frame, and writing down the time of reception T6 of described Frame behind the Frame that receives described transmit port module transmission; Length according to described Frame, and the transmission rate of transmit port is obtained the propagation delay time T7 of described Frame, the transmitting time T5 of described Frame is added the above propagation delay time T7 obtain time value T8, the time of reception T6 of described Frame is subtracted each other with described time value T8 again, with the difference that obtains data forwarding latency as described equipment under test.
The described method and apparatus of the embodiment of the invention can be applied in the equipment of following the ARINC664 standard.
In sum, the embodiment of the invention is by calculating the propagation delay time of Frame at transmit port or receiving port, and adds this propagation delay time in the transmitting time of Frame, reduced the error in the forwarding delay testing of the equipment that causes because of data transmission delay.Thereby improved the measuring accuracy of the forwarding time delay of equipment such as ARINC664 compatible equipment.
The above; only for the preferable embodiment of the present invention, but protection scope of the present invention is not limited thereto, and anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; the variation that can expect easily or replacement all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of claim.
Claims (6)
1. the method that the forwarding time delay of equipment is tested is characterized in that, comprising:
The length of the Frame that the transmit port of equipment under test transmits as required, and the transmission rate of the transmit port of equipment under test is obtained the propagation delay time T1 of described Frame;
The transmit port of equipment under test adds the above propagation delay time T1 with the transmitting time T2 of Frame, the temporal information T4 that obtains is carried in the Frame that the receiving port of equipment under test sends, and the transmitting time T2 of described Frame is the transmitting time of first bit of described Frame;
The receiving port of equipment under test is after receiving described Frame fully, obtain the described temporal information T4 that carries in this Frame, behind first bit of the Frame that the transmit port that receives described equipment under test sends, write down the time of reception T3 of this first bit, described time of reception T3 and described temporal information T4 are subtracted each other, with the difference that obtains forwarding time delay as described equipment under test.
2. the method that the forwarding time delay of equipment is tested according to claim 1 is characterized in that described equipment under test comprises the equipment of following based on US Airways wireless provider ARINC664 standard.
3. the method that the forwarding time delay of equipment is tested is characterized in that, comprising:
The transmit port of equipment under test is carried on the transmitting time T5 of Frame in the Frame that the receiving port to equipment under test sends, and the transmitting time T5 of described Frame is the transmitting time of first bit of described Frame;
The receiving port of equipment under test is after receiving described Frame fully, obtain the transmitting time T5 of described first bit that carries in this Frame, behind first bit of the Frame that the transmit port that receives described equipment under test sends, write down the time of reception T6 of this first bit;
The receiving port of described equipment under test is according to the length of described Frame, and the transmission rate of the transmit port of equipment under test is obtained the propagation delay time T7 of described Frame, the transmitting time T5 of described Frame is added the above propagation delay time T7 obtain time value T8, the time of reception T6 of first bit of described Frame is subtracted each other with described time value T8 again, with the difference that obtains data forwarding latency as described equipment under test.
4. the method that the forwarding time delay of equipment is tested according to claim 3 is characterized in that described equipment under test comprises the equipment of following based on US Airways wireless provider ARINC664 standard.
5. the device that the forwarding time delay of equipment is tested is characterized in that, comprising:
The first transmit port module, the length of the Frame that is used for transmitting as required, and the transmission rate of transmit port is obtained the propagation delay time T1 of described Frame; The transmitting time T2 of Frame is added the above propagation delay time T1, the temporal information T4 that obtains is carried in the Frame that receiving port sends, the transmitting time T2 of described Frame is the transmitting time of first bit of described Frame;
The first receiving port module, be used for after receiving described Frame fully, obtain the described temporal information T4 that carries in this Frame, behind first bit of the Frame that receives described transmit port transmission, write down the time of reception T3 of this first bit, described time of reception T3 and described temporal information T4 are subtracted each other, with the difference that obtains forwarding time delay as described equipment under test.
6. the device that the forwarding time delay of equipment is tested is characterized in that, comprising:
The second transmit port module is used for the transmitting time T5 of Frame is carried on the Frame that sends to receiving port, and the transmitting time T5 of described Frame is the transmitting time of first bit of described Frame;
The second receiving port module, be used for after receiving described Frame fully, obtain the transmitting time T5 of described first bit that carries in this Frame, behind first bit of the Frame that receives described transmit port transmission, write down the time of reception T6 of this first bit;
The described second receiving port module is according to the length of described Frame, and the transmission rate of transmit port is obtained the propagation delay time T7 of described Frame, the transmitting time T5 of described Frame is added the above propagation delay time T7 obtain time value T8, the time of reception T6 of first bit of described Frame is subtracted each other with described time value T8 again, with the difference that obtains data forwarding latency as described equipment under test.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2009100779414A CN101488892B (en) | 2009-02-04 | 2009-02-04 | Method and apparatus for testing forwording time delay of equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2009100779414A CN101488892B (en) | 2009-02-04 | 2009-02-04 | Method and apparatus for testing forwording time delay of equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101488892A CN101488892A (en) | 2009-07-22 |
CN101488892B true CN101488892B (en) | 2011-07-06 |
Family
ID=40891578
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2009100779414A Active CN101488892B (en) | 2009-02-04 | 2009-02-04 | Method and apparatus for testing forwording time delay of equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101488892B (en) |
Families Citing this family (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101997774A (en) * | 2010-11-03 | 2011-03-30 | 华为数字技术有限公司 | Recoding method for forwarding time delay and router |
CN102088335B (en) * | 2010-12-23 | 2014-11-05 | 中兴通讯股份有限公司 | Method and device for determining time delay of data service |
CN102984032A (en) * | 2012-12-12 | 2013-03-20 | 中国联合网络通信集团有限公司 | Transmission delay testing method, device and system |
CN103888306A (en) * | 2012-12-19 | 2014-06-25 | 阿里巴巴集团控股有限公司 | Message forwarding system performance test method and performance test device |
FR3033967B1 (en) * | 2015-03-16 | 2018-04-20 | Schneider Electric Industries Sas | METHOD OF MONITORING COMMUNICATION BETWEEN TRANSMITTING EQUIPMENT AND RECEIVER EQUIPMENT |
JP6772294B2 (en) | 2016-05-11 | 2020-10-21 | オッポ広東移動通信有限公司Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Communication method and communication device |
CN108809762A (en) * | 2018-06-13 | 2018-11-13 | 郑州云海信息技术有限公司 | A kind of server network performance test methods and system |
CN115473550B (en) * | 2022-09-06 | 2024-01-23 | 深圳桐汭科技有限公司 | Communication method of low-power consumption Bluetooth and Bluetooth equipment thereof |
CN115914038B (en) * | 2022-11-11 | 2024-04-09 | 中国联合网络通信集团有限公司 | Degradation forwarding device detection method, device, equipment and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6272539B1 (en) * | 1998-11-18 | 2001-08-07 | International Business Machines Corporation | Methods, systems and computer program products for determining and visually representing a user's overall network delay in collaborative applications |
CN1614939A (en) * | 2003-11-06 | 2005-05-11 | 华为技术有限公司 | Realizing method for time-delaying test |
CN101102131A (en) * | 2006-07-03 | 2008-01-09 | 中兴通讯股份有限公司 | Transmission delay measurement method of remote RF unit |
-
2009
- 2009-02-04 CN CN2009100779414A patent/CN101488892B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6272539B1 (en) * | 1998-11-18 | 2001-08-07 | International Business Machines Corporation | Methods, systems and computer program products for determining and visually representing a user's overall network delay in collaborative applications |
CN1614939A (en) * | 2003-11-06 | 2005-05-11 | 华为技术有限公司 | Realizing method for time-delaying test |
CN101102131A (en) * | 2006-07-03 | 2008-01-09 | 中兴通讯股份有限公司 | Transmission delay measurement method of remote RF unit |
Also Published As
Publication number | Publication date |
---|---|
CN101488892A (en) | 2009-07-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101488892B (en) | Method and apparatus for testing forwording time delay of equipment | |
CN110213143B (en) | 1553B bus IP core and monitoring system | |
EP2983324A1 (en) | Timestamp generating method, device and system | |
CN104022828B (en) | A kind of optical fiber data transmission method based on asynchronous communication model | |
CN108777649B (en) | Network interception device, system and method | |
CN101227263B (en) | On-line malfunction detecting system, device and method | |
EP3474499B1 (en) | Network performance detection method and apparatus | |
KR101215388B1 (en) | Testing equipment and transmitter | |
CN105827476A (en) | High-speed PING implementation method and PING testing method | |
CN113067750A (en) | Bandwidth measuring method and device and electronic device | |
CN105530154B (en) | 1553B and synchronous 485 communication protocol converter | |
CN109462530B (en) | Airplane digital audio transmission method based on RS422 bus and Slip protocol | |
US11281611B2 (en) | General purpose interface bus (GPIB) sniffer system and method | |
CN107517094B (en) | FPGA-based S-mode secondary radar information server and working method thereof | |
CN115514682A (en) | Data transmission method, device, equipment and storage medium | |
CN102984032A (en) | Transmission delay testing method, device and system | |
CN111193650B (en) | Node receiving and dispatching control device based on SAE AS5643 standard | |
Jose et al. | Design of 1553 protocol controller for reliable data transfer in aircrafts | |
CN106130829A (en) | A kind of bus test method and device | |
CN1801690B (en) | Method, system, and apparatus for link latency management | |
CN110943856A (en) | Large-queue message transmission independence realization method based on fiber channel | |
CN220108004U (en) | A429 and A717 bus communication board card of MPCIE specification | |
Jose | An FPGA implementation of 1553 protocol controller | |
CN101980479B (en) | Method and system for testing performance of very high frequency data chain mode-two air ground communication system | |
CN202872811U (en) | A data acquiring device |
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 |