CN109617763B - Pressure testing method and device for FC-AE bus - Google Patents

Pressure testing method and device for FC-AE bus Download PDF

Info

Publication number
CN109617763B
CN109617763B CN201811573072.XA CN201811573072A CN109617763B CN 109617763 B CN109617763 B CN 109617763B CN 201811573072 A CN201811573072 A CN 201811573072A CN 109617763 B CN109617763 B CN 109617763B
Authority
CN
China
Prior art keywords
bus
data
message
feedback
processing performance
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
Application number
CN201811573072.XA
Other languages
Chinese (zh)
Other versions
CN109617763A (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 Runke General Technology Co Ltd
Original Assignee
Beijing Runke General 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 Runke General Technology Co Ltd filed Critical Beijing Runke General Technology Co Ltd
Priority to CN201811573072.XA priority Critical patent/CN109617763B/en
Publication of CN109617763A publication Critical patent/CN109617763A/en
Application granted granted Critical
Publication of CN109617763B publication Critical patent/CN109617763B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0817Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking functioning
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0876Network utilisation, e.g. volume of load or congestion level
    • H04L43/0894Packet rate
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/10Active monitoring, e.g. heartbeat, ping or trace-route
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/06Generation of reports
    • H04L43/067Generation of reports using time frame reporting

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Health & Medical Sciences (AREA)
  • Cardiology (AREA)
  • General Health & Medical Sciences (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Small-Scale Networks (AREA)

Abstract

The invention discloses a pressure testing method and a device for an FC-AE bus, which are applied to a programmable logic device, and the method comprises the following steps: packaging the test data acquired by the user control end according to the data format of the FC-AE bus to acquire a message; transmitting a message to an FC-AE bus according to the flow indicated by the flow control information sent by the user control end; receiving feedback primitives fed back after a tested network or equipment acquires a message, and marking a time label for each feedback primitive; comparing the time labels on the adjacent feedback primitives to obtain the time interval between the adjacent feedback primitives; and calculating to obtain the processing performance data of the tested network or equipment according to the time interval. The invention obtains the processing performance data of the tested network or equipment under the corresponding pressure of the FC-AE bus and provides accurate evaluation reference information for the tested network or equipment.

Description

Pressure testing method and device for FC-AE bus
Technical Field
The invention relates to the technical field of information testing, in particular to a pressure testing method and device for an FC-AE bus.
Background
The Fiber Channel Avionics Environment (FC-AE for short) is a high-speed communication bus technology, which is a cluster of protocols established by Fiber Channel (Fiber Channel) standard development organization and can support network communication protocols of various media and connection devices. The FC-AE bus has the advantages of high bandwidth, multimedia, long-distance transmission, high reliability, real-time performance, uniformity, expandability and the like, and is gradually and widely applied to the fields of military aerospace, vehicle electronics and the like. In the new generation of FC-AE bus, due to the location of its bus application, as a backbone network in network communication, it usually carries the highest bandwidth traffic and data flow in complex electronic systems, for example, including control commands, video signal transmission, etc., and the processing speed and processing performance under the corresponding pressure of these information have become one of the important indexes for measuring networks or devices. Based on this, performance at high bandwidth of FC-AE bus becomes a necessary verification item for network or device.
In the prior art, a real application scene is simulated through a network simulation technology, and then the flow of an FC-AE bus is controlled to perform corresponding pressure test, so that the performance verification of a network or equipment is completed.
However, because the communication bandwidth of the gigabyte level, the processing time of the network or the device and the bus delay are generally in the level of several microseconds, and the star-based network topology is added, for the bus with the high-speed bandwidth, the software-based network simulation technology cannot meet the requirement of simulating a real application scene, and cannot complete the pressure test, or even provide accurate evaluation reference information for the network or the device.
Disclosure of Invention
In view of the above problems, embodiments of the present invention provide a pressure testing method and apparatus for an FC-AE bus, which can implement flow control on the FC-AE bus, and can calculate processing performance data of a network or device under test under corresponding pressure to complete a pressure test, thereby providing accurate evaluation reference information for the network or device under test.
In order to achieve the above object, the embodiment of the present invention provides the following technical solutions:
a pressure test method for FC-AE bus is applied to a programmable logic device which is connected with a user control end in a communication way and is connected with a network or equipment to be tested through the FC-AE bus, and the method comprises the following steps:
acquiring test data through the user control terminal;
packaging the test data according to the data format of the FC-AE bus to obtain a message;
receiving flow control information from the user control end, and transmitting the message to the FC-AE bus according to the flow indicated by the flow control information;
receiving feedback primitives fed back by the tested network or equipment after the message is obtained, and marking a time label for each received feedback primitive;
comparing the time labels on the adjacent feedback primitives to obtain the time interval between the adjacent feedback primitives;
and calculating and obtaining the processing performance data of the tested network or equipment according to the time interval between the adjacent feedback primitives.
Optionally, the obtaining, by the user control terminal, test data includes:
receiving first data generated by the user control terminal, and using the first data as the test data;
or receiving configuration information generated by the user control terminal, generating second data according to the configuration information, and taking the second data as the test data.
Optionally, the transmitting the packet to the FC-AE bus according to the flow indicated by the flow control information includes:
determining the number of idle words among the messages according to the flow control information and the format of the idle words in the FC-AE bus;
combining the message with idle words corresponding to the number of the idle words, and transmitting the combined message to the FC-AE bus;
alternatively, the first and second electrodes may be,
calculating and obtaining the bandwidth occupied by the message in the FC-AE bus according to the message length;
determining the interval of the two messages in the FC-AE bus based on the bandwidth occupied by the messages in the FC-AE bus;
and transmitting the message to the FC-AE bus according to the interval.
Optionally, the calculating to obtain the processing performance data of the network under test or the device according to the time interval between the adjacent feedback primitives includes:
and carrying out statistical analysis on the time intervals between the adjacent feedback primitives to obtain the processing performance data of the tested network or equipment, wherein the processing performance data comprises the maximum value, the minimum value and the average value of the time intervals between the feedback primitives corresponding to the adjacent messages.
Optionally, the calculating to obtain the processing performance data of the network under test or the device according to the time interval between the adjacent feedback primitives includes:
and carrying out statistical analysis on time intervals between adjacent feedback primitives in time periods corresponding to different scenes to obtain processing performance data of the tested network or equipment, wherein the processing performance data comprises the maximum value, the minimum value and the average value of the time intervals between the feedback primitives corresponding to adjacent messages in each time period.
A pressure test device for FC-AE bus is applied to a programmable logic device which is connected with a user control end in a communication way and is connected with a network or equipment to be tested through the FC-AE bus, and the device comprises:
the data configuration module is used for acquiring test data through the user control terminal;
the message encapsulation module is used for encapsulating the test data according to the data format of the FC-AE bus to obtain a message;
a message sending module, configured to receive flow control information from the user control end, and transmit the message to the FC-AE bus according to a flow indicated by the flow control information;
a feedback primitive receiving module, configured to receive a feedback primitive fed back after the packet is obtained by the network or device under test, and mark a time tag on each received feedback primitive;
the time comparison module is used for comparing the time labels on the adjacent feedback primitives to obtain the time interval between the adjacent feedback primitives;
and the test statistic module is used for calculating and obtaining the processing performance data of the tested network or equipment according to the time interval between the adjacent feedback primitives.
Optionally, the data configuration module includes:
the data receiving unit is used for receiving first data generated by the user control terminal and taking the first data as the test data;
alternatively, the first and second electrodes may be,
and the test data configuration unit is used for receiving the configuration information generated by the user control terminal, generating second data according to the configuration information and taking the second data as the test data.
Optionally, the message sending module includes:
an idle word determining unit, configured to determine, according to the flow control information and a format of an idle word in the FC-AE bus, the number of idle words between the packets;
the first transmission unit is used for combining the message with idle words corresponding to the number of the idle words and transmitting the combined message to the FC-AE bus;
alternatively, the first and second electrodes may be,
the bandwidth calculating unit is used for calculating and obtaining the bandwidth occupied by the message in the FC-AE bus according to the length of the message;
an interval determining unit, configured to determine an interval between the two messages in the FC-AE bus based on a bandwidth occupied by the messages in the FC-AE bus;
and the second transmission unit is used for transmitting the message to the FC-AE bus according to the interval.
Optionally, the test statistic module includes:
and the first statistical analysis unit is used for performing statistical analysis on the time intervals between the adjacent feedback primitives to obtain processing performance data of the tested network or equipment, wherein the processing performance data comprises the maximum value, the minimum value and the average value of the time intervals between the feedback primitives corresponding to the adjacent messages.
Optionally, the test statistic module includes:
and the second statistical analysis unit is used for performing statistical analysis on the time intervals between the adjacent feedback primitives in the time periods corresponding to different scenes to obtain the processing performance data of the tested network or the tested equipment, wherein the processing performance data comprises the maximum value, the minimum value and the average value of the time intervals between the feedback primitives corresponding to the adjacent messages in each time period.
Compared with the prior art, the embodiment of the invention provides a pressure testing method and device for an FC-AE bus, which are applied to a programmable logic device, wherein the programmable logic device is in communication connection with a user control end and is connected with a network or equipment to be tested through the FC-AE bus. According to the technical scheme of the embodiment of the invention, the test data is packaged according to the data format of the FC-AE bus, after the message is obtained, the transmission of the message on the FC-AE bus can be controlled according to the flow control information by combining the characteristics of the FC-AE bus, the flow of the FC-AE bus is accurately controlled, and the processing performance data of the tested network or equipment is calculated and obtained based on the obtained time interval between adjacent feedback primitives. The flow control of the FC-AE bus is realized in the process, and the processing performance data under the corresponding pressure is obtained, so that the technical scheme based on the embodiment of the invention can simulate a real application scene to complete the pressure test, thereby providing accurate evaluation reference information for the network or equipment to be tested.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
FIG. 1 is a schematic flow chart of a pressure testing method for an FC-AE bus according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a pressure testing device for an FC-AE bus according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "first" and "second," and the like in the description and claims of the present invention and the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "comprising" and "having," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not set forth for a listed step or element but may include steps or elements not listed.
In an embodiment of the present invention, a pressure testing method for an FC-AE bus is provided, where the method corresponds to a pressure testing apparatus for an FC-AE bus provided in an embodiment of the present invention, and both of the methods are applied to a Programmable logic device (FPGA), and the FPGA is communicatively connected to a user control terminal and connected to a network or a device to be tested through the FC-AE bus, where the FPGA is communicatively connected to the user control terminal based on a communication interface thereof and connected to the network or the device to be tested through the FC-AE bus, and the FPGA may also be other electronic devices besides the FPGA, such as a Complex Programmable logic device (Complex Programmable logic L g device, CP L D), and the like, referring to fig. 1, the method may include the following steps:
and S101, obtaining test data through a user control terminal.
Here, connection between the user control terminal and the programmable logic device is described by taking an FPGA as an example, and the connection is performed through a communication interface of the FPGA, for example, the FPGA may complete information exchange with the user control terminal through an ethernet bus, a serial bus, a PCI (Peripheral Component Interconnect) bus, or a PCIE (Peripheral Component Interconnect express) bus, and the purpose of the information exchange is that the FPGA acquires test data through the user control terminal, receives flow control information from the user control terminal, and sends processing performance data to the user control terminal, and the like.
The test data is obtained through a user control terminal, and the specific obtaining mode is various. The following two ways are used for illustration:
first, first data generated by a user control terminal is received, the first data is directly used as test data, namely, a generation terminal of the test data is the user control terminal, and the first data generated by the user control terminal is directly used as test data to be sent to a programmable logic device for subsequent test work.
And secondly, receiving configuration information generated by the user control terminal, generating second data according to the configuration information, using the second data as test data, namely determining the configuration information corresponding to the configuration condition of the test data by the user control terminal, and then configuring the second data corresponding to the configuration information by the programmable logic device as the test data.
In the embodiment, the first mode is that the user control terminal generates test data in real time and transmits the test data to the programmable logic device, so that higher flexibility is realized; and the second mode is automatically generated by the programmable logic device according to the configuration information of the user, so that the efficiency is higher.
And S102, packaging the test data according to the data format of the FC-AE bus to obtain a message.
In order to enable the test data to be transmitted based on the FC-AE bus, the test data needs to be encapsulated according to the data format of the FC-AE bus, where the data encapsulation format of the FC-AE bus refers to the data format specification information corresponding to the FC-AE bus.
And S103, receiving the flow control information from the user control end, and transmitting a message to the FC-AE bus according to the flow indicated by the flow control information.
The programmable logic device can acquire the flow control information sent by the user control end through the communication interface to accurately control the flow of the FC-AE bus based on the flow control information so as to acquire the accurate pressure expected to be generated by the user control end in the current FC-AE bus. The flow indicated by the flow control information is determined by a user according to actual requirements, but the flow range indicated by the flow control information at least covers the flow range of the new generation of FC-AE bus in an actual application scene. For example, the flow rate control information indicates a minimum flow rate of zero and a maximum flow rate of the FC-AE bus of the new generation at the limit bandwidth. For another example, because the performance of the network or device under test can be guaranteed certainly when the traffic is small, and the maximum traffic in the actual application scenario does not reach the traffic in the limit bandwidth, the traffic indicated by the traffic control information may have a lower limit and an upper limit, where the lower limit corresponds to the minimum traffic that needs to be verified for the network or device under test, and the upper limit corresponds to the maximum traffic in the actual application scenario. In addition, although the embodiment of the invention is developed based on the verification requirement of a new generation FC-AE bus, the method and the device of the embodiment of the invention can also be applied to the performance verification of the FC-AE bus with smaller relative bandwidth.
In another embodiment of the present invention, a method for message transmission at a preset pressure (i.e., the precise pressure that the user control terminal is expected to generate) is also provided, in which there are two ways of generating pressure according to the characteristics of the FC-AE bus.
The first way is based on the format of idle words in the FC-AE bus, and the accurate control of the pressure can be realized by accurately controlling the idle words between the messages except for the 6 idle words inherent in the bus, that is:
determining the number of idle words among messages according to the flow control information and the format of the idle words in the FC-AE bus;
and combining the message with the idle words corresponding to the number of the idle words, and transmitting the combined message to an FC-AE bus.
The second mode is based on the percentage of the flow in the FC-AE bus, the bandwidth occupied by one message in the FC-AE bus is calculated according to the length of the message, and then the interval of two messages in the FC-AE bus is calculated according to the bandwidth, so that the pressure control is accurately realized, and the process of controlling the transmission of the message is as follows, corresponding to the second mode:
calculating and obtaining the bandwidth occupied by the message in the FC-AE bus according to the message length;
determining the interval of two messages in an FC-AE bus based on the bandwidth occupied by the messages in the FC-AE bus;
and transmitting the message to the FC-AE bus according to the interval.
S104, receiving feedback primitives fed back after the tested network or device obtains the message, and marking a time label for each received feedback primitive.
The message is transmitted through the FC-AE bus and then reaches the tested equipment or the network, and simultaneously receives a feedback primitive returned by the tested equipment or the network, wherein the feedback primitives and the message are in one-to-one correspondence, and when one message generated by the programmable logic device is sent to the tested equipment or the network through the FC-AE bus, one feedback primitive returned by the tested equipment or the network should be received. And the programmable logic device will mark a time tag for the feedback primitive at the first time when the feedback primitive is recognized, and the accuracy of the time tag is usually not less than 10ns in order to improve the statistical accuracy.
And S105, comparing the time labels on the adjacent feedback primitives to obtain the time interval between the adjacent feedback primitives.
And S106, calculating and obtaining the processing performance data of the tested network or equipment according to the time interval between the adjacent feedback primitives.
According to the received feedback primitives and the corresponding time labels thereof, the time intervals between two adjacent feedback primitives are compared, and the processing performance data of the tested device or the network under the current pressure can be calculated after statistical analysis, wherein the processing performance data can represent the processing time and the processing performance of the tested device or the network.
Correspondingly, in another embodiment of the invention, the processing performance data comprises a maximum value, a minimum value and an average value of a time interval between adjacent feedback primitives.
In practical applications, the processing performance data to be obtained may be processing time and processing performance of the network or device under test in different scenarios, and for this reason, in another embodiment of the present invention, step S106 may include: and carrying out statistical analysis on the time intervals between the adjacent feedback primitives in the time periods corresponding to different scenes to obtain the processing performance data of the tested network or equipment, wherein the processing performance data comprises the maximum value, the minimum value and the average value of the time intervals between the feedback primitives corresponding to the adjacent messages in each time period. In addition, in practical application, the time interval between the feedback primitives corresponding to the adjacent messages in the whole process may be first statistically analyzed to obtain the processing performance data of the network or the device to be tested in the whole process, and then the time interval between the feedback primitives corresponding to the adjacent messages in the time periods corresponding to different scenes may be statistically analyzed to obtain the processing performance data of the network or the device to be tested in each time period.
For example, the maximum value, the minimum value, and the average value in the time period may be counted according to different time periods (for example, in units of seconds) to obtain the processing time and the processing performance of the network under test or the device under test in different scenarios, where the different scenarios described may be different time periods during which the device under test or the network is in operation, and may also be time periods in different temperature states. Therefore, the processing speed and the processing performance of the tested device or network under the current FC-AE bus pressure are obtained, a test report can be generated based on the processing performance data, and the test report is fed back to the user control end through the communication interface. Therefore, the user control end can acquire the processing performance of the tested equipment or the network under different pressures, and accurate reference is provided for the evaluation of the equipment and the construction of the network.
The embodiment of the invention provides a pressure testing method for an FC-AE bus, which is applied to a programmable logic device, wherein the programmable logic device is in communication connection with a user control end and is connected with a network or equipment to be tested through the FC-AE bus. According to the technical scheme of the embodiment of the invention, the test data is packaged according to the data format of the FC-AE bus, after the message is obtained, the transmission of the message on the FC-AE bus can be controlled according to the flow control information by combining the characteristics of the FC-AE bus, the flow of the FC-AE bus is accurately controlled, and the processing performance data of the tested network or equipment is calculated and obtained based on the time interval between the obtained adjacent message feedback primitives. The flow control of the FC-AE bus is realized in the process, and the processing performance data under the corresponding pressure is obtained, so that the technical scheme based on the embodiment of the invention can simulate a real application scene to complete the pressure test, thereby providing accurate evaluation reference information for the network or equipment to be tested.
In another embodiment of the present invention, there is also provided a pressure testing apparatus for FC-AE bus, applied to a programmable logic device, the programmable logic device is connected to a user control end in communication, and is connected to a network or device under test through the FC-AE bus, referring to fig. 2, the apparatus includes:
a data configuration module 201, configured to obtain test data through the user control end;
a message encapsulation module 202, configured to encapsulate the test data according to the data format of the FC-AE bus, so as to obtain a message;
a message sending module 203, configured to receive flow control information from the user control end, and transmit the message to the FC-AE bus according to a flow indicated by the flow control information;
a feedback primitive receiving module 204, configured to receive a feedback primitive fed back by the network or device under test after obtaining the packet, and mark a time tag on each received feedback primitive;
a time comparison module 205, configured to compare time labels on adjacent feedback primitives to obtain a time interval between the adjacent feedback primitives;
and the test statistic module 206 is configured to calculate and obtain processing performance data of the network or device under test according to a time interval between adjacent feedback primitives.
In the pressure testing apparatus for an FC-AE bus provided in the embodiment of the present invention, the data configuration module 201 obtains test data, performs encapsulation by the packet encapsulation module 202 to obtain a packet, transmits the packet to the FC-AE bus in the packet transmission module 203 based on a flow rate indicated by the flow control information, and calculates and obtains processing performance data of a network or device to be tested based on a time interval between obtained feedback primitives of adjacent packets by the feedback primitive reception module 204, the time comparison module 205, and the test statistics module 206. The flow control of the FC-AE bus is realized in the process, and the processing performance data under the corresponding pressure is obtained, so that the technical scheme based on the embodiment of the invention can simulate a real application scene to complete the pressure test, thereby providing accurate evaluation reference information for the network or equipment to be tested.
On the basis of the above embodiment, the data configuration module 201 includes: a data receiving unit, or a test data configuration unit.
The data receiving unit is used for receiving first data generated by the user control terminal and taking the first data as the test data;
and the test data configuration unit is used for receiving the configuration information generated by the user control terminal, generating second data according to the configuration information and taking the second data as the test data.
On the basis of the above embodiment, the message sending module 203 includes: an idle word determination unit and a first transmission unit, or a bandwidth calculation unit, an interval determination unit and a second transmission unit.
An idle word determining unit, configured to determine, according to the flow control information and a format of an idle word in the FC-AE bus, the number of idle words between the packets;
the first transmission unit is used for combining the message with idle words corresponding to the number of the idle words and transmitting the combined message to the FC-AE bus;
alternatively, the first and second electrodes may be,
the bandwidth calculating unit is used for calculating and obtaining the bandwidth occupied by the message in the FC-AE bus according to the length of the message;
an interval determining unit, configured to determine an interval between the two messages in the FC-AE bus based on a bandwidth occupied by the messages in the FC-AE bus;
and the second transmission unit is used for transmitting the message to the FC-AE bus according to the interval.
On the basis of the above embodiment, the test statistic module 206 includes: a first statistical analysis unit.
And the first statistical analysis unit is used for performing statistical analysis on the time intervals between the adjacent feedback primitives to obtain the processing performance data of the tested network or equipment, wherein the processing performance data comprises the maximum value, the minimum value and the average value of the time intervals between the feedback primitives corresponding to the adjacent messages.
On the basis of the above embodiment, the test statistic module 206 includes: a second statistical analysis unit.
And the second statistical analysis unit is used for performing statistical analysis on the time intervals between the adjacent feedback primitives in the time periods corresponding to different scenes to obtain the processing performance data of the tested network or the tested equipment, wherein the processing performance data comprises the maximum value, the minimum value and the average value of the time intervals between the feedback primitives corresponding to the adjacent messages in each time period.
The testing device provided by the embodiment of the invention can be used in the fields of pressure testing and network performance testing of bus equipment or networks in FC-AE buses, and the like, can further perform statistical analysis according to the feedback of the tested equipment or networks, and can give accurate evaluation on the processing speed and performance of the tested equipment or networks.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A pressure test method for a fiber channel avionics environment FC-AE bus is characterized by being applied to a programmable logic device, wherein the programmable logic device is in communication connection with a user control end and is connected with a network or equipment to be tested through the FC-AE bus, and the method comprises the following steps:
acquiring test data through the user control terminal;
packaging the test data according to the data format of the FC-AE bus to obtain a message;
receiving flow control information from the user control end, and transmitting the message to the FC-AE bus according to the flow indicated by the flow control information;
receiving feedback primitives fed back by the tested network or equipment after the message is obtained, and marking a time label for each received feedback primitive;
comparing the time labels on the adjacent feedback primitives to obtain the time interval between the adjacent feedback primitives;
and calculating and obtaining the processing performance data of the tested network or equipment according to the time interval between the adjacent feedback primitives.
2. The method according to claim 1, wherein the obtaining test data by the user control terminal comprises:
receiving first data generated by the user control terminal, and using the first data as the test data;
alternatively, the first and second electrodes may be,
and receiving configuration information generated by the user control terminal, generating second data according to the configuration information, and taking the second data as the test data.
3. The method according to claim 1, wherein said transmitting the message to the FC-AE bus according to the flow indicated by the flow control information comprises:
determining the number of idle words among the messages according to the flow control information and the format of the idle words in the FC-AE bus;
combining the message with idle words corresponding to the number of the idle words, and transmitting the combined message to the FC-AE bus;
alternatively, the first and second electrodes may be,
calculating and obtaining the bandwidth occupied by the message in the FC-AE bus according to the message length;
determining the interval of the two messages in the FC-AE bus based on the bandwidth occupied by the messages in the FC-AE bus;
and transmitting the message to the FC-AE bus according to the interval.
4. The method according to claim 1, wherein said computing and obtaining processing performance data of the tested network or device according to the time interval between the adjacent feedback primitives comprises:
and carrying out statistical analysis on the time intervals between the adjacent feedback primitives to obtain the processing performance data of the tested network or equipment, wherein the processing performance data comprises the maximum value, the minimum value and the average value of the time intervals between the feedback primitives corresponding to the adjacent messages.
5. The method according to claim 1, wherein said computing and obtaining processing performance data of the tested network or device according to the time interval between the feedback primitives comprises:
and carrying out statistical analysis on time intervals between adjacent feedback primitives in time periods corresponding to different scenes to obtain processing performance data of the tested network or equipment, wherein the processing performance data comprises the maximum value, the minimum value and the average value of the time intervals between the feedback primitives corresponding to adjacent messages in each time period.
6. A pressure testing device for a fiber channel avionics environment FC-AE bus is characterized by being applied to a programmable logic device, wherein the programmable logic device is in communication connection with a user control end and is connected with a network or equipment to be tested through the FC-AE bus, and the pressure testing device comprises:
the data configuration module is used for acquiring test data through the user control terminal;
the message encapsulation module is used for encapsulating the test data according to the data format of the FC-AE bus to obtain a message;
a message sending module, configured to receive flow control information from the user control end, and transmit the message to the FC-AE bus according to a flow indicated by the flow control information;
a feedback primitive receiving module, configured to receive a feedback primitive fed back after the packet is obtained by the network or device under test, and mark a time tag on each received feedback primitive;
the time comparison module is used for comparing the time labels on the adjacent feedback primitives to obtain the time interval between the adjacent feedback primitives;
and the test statistic module is used for calculating and obtaining the processing performance data of the tested network or equipment according to the time interval between the adjacent feedback primitives.
7. The apparatus of claim 6, wherein the data configuration module comprises:
the data receiving unit is used for receiving first data generated by the user control terminal and taking the first data as the test data;
or, the test data configuration unit is configured to receive configuration information generated by the user control end, generate second data according to the configuration information, and use the second data as the test data.
8. The apparatus of claim 6, wherein the messaging module comprises:
an idle word determining unit, configured to determine, according to the flow control information and a format of an idle word in the FC-AE bus, the number of idle words between the packets;
the first transmission unit is used for combining the message with idle words corresponding to the number of the idle words and transmitting the combined message to the FC-AE bus;
alternatively, the first and second electrodes may be,
the bandwidth calculating unit is used for calculating and obtaining the bandwidth occupied by the message in the FC-AE bus according to the length of the message;
an interval determining unit, configured to determine an interval between the two messages in the FC-AE bus based on a bandwidth occupied by the messages in the FC-AE bus;
and the second transmission unit is used for transmitting the message to the FC-AE bus according to the interval.
9. The apparatus of claim 6, wherein the test statistics module comprises:
and the first statistical analysis unit is used for performing statistical analysis on the time intervals between the adjacent feedback primitives to obtain processing performance data of the tested network or equipment, wherein the processing performance data comprises the maximum value, the minimum value and the average value of the time intervals between the feedback primitives corresponding to the adjacent messages.
10. The apparatus of claim 6, wherein the test statistics module comprises:
and the second statistical analysis unit is used for performing statistical analysis on the time intervals between the adjacent feedback primitives in the time periods corresponding to different scenes to obtain the processing performance data of the tested network or the tested equipment, wherein the processing performance data comprises the maximum value, the minimum value and the average value of the time intervals between the feedback primitives corresponding to the adjacent messages in each time period.
CN201811573072.XA 2018-12-21 2018-12-21 Pressure testing method and device for FC-AE bus Active CN109617763B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811573072.XA CN109617763B (en) 2018-12-21 2018-12-21 Pressure testing method and device for FC-AE bus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811573072.XA CN109617763B (en) 2018-12-21 2018-12-21 Pressure testing method and device for FC-AE bus

Publications (2)

Publication Number Publication Date
CN109617763A CN109617763A (en) 2019-04-12
CN109617763B true CN109617763B (en) 2020-08-04

Family

ID=66010142

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811573072.XA Active CN109617763B (en) 2018-12-21 2018-12-21 Pressure testing method and device for FC-AE bus

Country Status (1)

Country Link
CN (1) CN109617763B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110290020B (en) * 2019-06-17 2020-10-13 北京挚友科技有限公司 High-precision flow percentage generation method and device for Ethernet tester
CN111447110B (en) * 2020-03-24 2023-03-10 北京润科通用技术有限公司 Data monitoring method and system
CN116723133B (en) * 2023-06-29 2024-03-22 无锡芯光互连技术研究院有限公司 Data transmitting and receiving equipment, network state information extraction method and device

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9755947B2 (en) * 2010-05-18 2017-09-05 Intel Corporation Hierarchical self-organizing classification processing in a network switch
CN102118230B (en) * 2011-03-23 2013-01-23 华中科技大学 Tree and tabular combined notation (TTCN)-based network protocol performance testing method
CN102662330B (en) * 2012-04-13 2014-04-02 哈尔滨工业大学 Fault simulation device of fiber channel avionics environment (FC-AE)-1533 device
CN104168162B (en) * 2014-08-20 2017-10-17 电子科技大学 A kind of software-hardware synergism realizes the traffic generator for interchanger validation test
CN104954217A (en) * 2015-05-05 2015-09-30 电子科技大学 Multi-NC (network controller) star topological structure on basis of FC-AE-1553 (fiber channel-avionics environment-1553) protocols
CN106598019B (en) * 2016-10-31 2019-02-19 航天东方红卫星有限公司 A kind of Star Service simulator and method for the exploitation test of micro-nano satellite control module
CN106506403A (en) * 2016-11-17 2017-03-15 中国电子科技集团公司第四十研究所 A kind of fiber channel protocol data method for generation with interaction capabilities
TWI638538B (en) * 2017-06-02 2018-10-11 佳世達科技股份有限公司 Method for determining stability of a wireless signal and system thereof
CN107707428A (en) * 2017-09-29 2018-02-16 北京润科通用技术有限公司 A kind of fault filling method and device of the buses of FC AE 1553
CN108322373A (en) * 2017-12-20 2018-07-24 北京旋极信息技术股份有限公司 Bus test card, test method and the bus test device of avionics system

Also Published As

Publication number Publication date
CN109617763A (en) 2019-04-12

Similar Documents

Publication Publication Date Title
CN109617763B (en) Pressure testing method and device for FC-AE bus
CN104184617B (en) InterWorking Equipment pre-add method for reconfiguration, device, system and the network equipment
CN105515708B (en) A kind of clock synchronization accuracy test device and method based on FC networks
CN105553885B (en) A kind of FC interchanger priority test method
CN112311628B (en) Network speed measuring method, system, network equipment and storage medium
CN105827476A (en) High-speed PING implementation method and PING testing method
CN103416022A (en) In-service throughput testing in distributed router/switch architectures
CN108023787A (en) Ethernet service test device and method based on FPGA
CN111585836A (en) Network testing method and device
CN105610641A (en) Switch testing system and testing method based on semi-physical simulation
CN110708206A (en) Method and equipment for measuring air interface time delay of base station
CN108712299A (en) A kind of method, apparatus, equipment and the computer storage media of monitoring live streaming delay
CN110417687B (en) Message sending and receiving method and device
CN113726592B (en) Transmission delay test method, system and related components of edge server
CN111935767B (en) Network simulation system
CN104734900A (en) Sending control method for communication protocol testing
CN114978960B (en) Ethernet frame header trigger
CN106375155B (en) The control method and control system of MAC simulating, verifying model
CN112838938B (en) Test system of Internet of things platform
CN104378256A (en) FPGA-based performance test data stream scheduling method and device
CN109981394B (en) Communication method and device based on enhanced CAN bus protocol analyzer
CN112738837A (en) WiFi AP equipment test system and method
EP3280077B1 (en) A method and apparatus for monitoring a performance of an ethernet data stream
CN109639528A (en) A kind of test method and device of log receptivity
CN100559797C (en) Determine the system and method for user terminal network site

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
GR01 Patent grant
GR01 Patent grant