CN109617763A - A kind of method for testing pressure and device for FC-AE bus - Google Patents

A kind of method for testing pressure and device for FC-AE bus Download PDF

Info

Publication number
CN109617763A
CN109617763A CN201811573072.XA CN201811573072A CN109617763A CN 109617763 A CN109617763 A CN 109617763A CN 201811573072 A CN201811573072 A CN 201811573072A CN 109617763 A CN109617763 A CN 109617763A
Authority
CN
China
Prior art keywords
message
bus
primitive
data
feedback
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
CN201811573072.XA
Other languages
Chinese (zh)
Other versions
CN109617763B (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

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

Abstract

The invention discloses a kind of method for testing pressure and device for FC-AE bus, are applied to programmable logic device, this method comprises: being packaged to the test data obtained by user's control end according to the data format of FC-AE bus, obtain message;Flow indicated by the flow control information sent according to user's control end is to FC-AE bus transfer message;It receives tested network or equipment gets the feedback primitive fed back after message, and stamp time tag for each feedback primitive;The time tag on adjacent feedback primitive is compared, the time interval between adjacent feedback primitive is obtained;According to the time interval, the process performance data for obtaining tested network or equipment are calculated.The present invention has obtained the process performance data of tested network or equipment under FC-AE bus relevant pressure, provides accurate assessment reference information for tested network or device network or equipment.

Description

A kind of method for testing pressure and device for FC-AE bus
Technical field
The present invention relates to information the field of test technology, more particularly to a kind of method for testing pressure for FC-AE bus And device.
Background technique
Optical-fibre channel aviation electronics environment (Fibre Channel Avionics Environment, abbreviation FC-AE) is A kind of high speed communication bussing technique, it is the cluster protocol suite that optical-fibre channel (Fiber Channel) standards development organizations are formulated, It can support the network communication protocol of various kinds of media and interface unit.FC-AE bus have high bandwidth, more media, can grow away from From a variety of advantages such as transmission, high reliability, real-time, uniformity and scalability, gradually in military aviation space flight, vehicle electric Equal fields are more and more widely used.A new generation FC-AE bus in, due to its bus application positioning, as Core network in network communication usually carries the highest business of bandwidth and data flow in Complex Electronic Systems Based, it may for example comprise Control instruction, video signal transmission etc., and the processing speed and process performance under these information corresponding pressures have become weighing apparatus Measure one of network or the important indicator of equipment.Based on this, the performance under FC-AE bus high bandwidth just becomes a kind of network or sets Standby necessary verification item.
In the prior art, true application scenarios are simulated by networks simulation technology, then controls the flow of FC-AE bus Corresponding pressure test is carried out, to complete the performance verification of network or equipment.
However, the processing time of network or equipment and bus delay generally all exist due to the communication bandwidth of Gb The delicate ranks of number, along with based on star-like network topology, for the bus of this high speed bandwidth, software-based network simulation Technology is no longer satisfied the demand for simulating true application scenarios, is also just unable to complete pressure test, it is even more impossible to for network or Equipment provides accurate assessment reference information.
Summary of the invention
It is directed to the above problem, the embodiment of the present invention provides a kind of method for testing pressure and device for FC-AE bus, It can be realized the flow control to FC-AE bus, and the process performance number of tested network or equipment under relevant pressure can be calculated According to complete pressure test, to provide accurate assessment reference information for tested network or device network or equipment.
To achieve the goals above, the embodiment of the invention provides following technical solutions:
A kind of method for testing pressure for FC-AE bus is applied to programmable logic device, the programmable logic device Part is connect with user's control end communication, and is connect by the FC-AE bus with tested network or equipment, this method comprises:
Test data is obtained by the user's control end;
The test data is packaged according to the data format of the FC-AE bus, obtains message;
Flow control information is received from the user's control end, according to flow indicated by the flow control information to institute State message described in FC-AE bus transfer;
It receives the tested network or equipment gets the feedback primitive fed back after the message, and is each to receive A feedback primitive stamps time tag;
The time tag on adjacent feedback primitive is compared, the time interval between adjacent feedback primitive is obtained;
According to the time interval between the adjacent feedback primitive, the treatability for obtaining the tested network or equipment is calculated It can data.
It is optionally, described that test data is obtained by the user's control end, comprising:
The first data that the user's control end generates are received, using first data as the test data;
Alternatively, receiving the configuration information that the user's control end generates, the second data are generated according to the configuration information, it will Second data are as the test data.
Optionally, described to be reported according to flow indicated by the flow control information to described in the FC-AE bus transfer Text, comprising:
According to the format of free word in the flow control information and the FC-AE bus, determine between the message Idle number of words;
The message and free word corresponding with the free time number of words are combined, Xiang Suoshu FC-AE bus transfer Message after combination;
Alternatively,
According to the message length, calculates and obtain the bandwidth that the message occupies in the FC-AE bus;
Based on the bandwidth that the message occupies in the FC-AE bus, determine that two messages are total in the FC-AE Interval in line;
It is spaced according to described to message described in the FC-AE bus transfer.
Optionally, the time interval according between the adjacent feedback primitive, calculate obtain the tested network or The process performance data of equipment, comprising:
It is for statistical analysis to the time interval between the adjacent feedback primitive, obtain the tested network or equipment Process performance data, the process performance data include the maximum of the time interval between the corresponding feedback primitive of adjacent message Value, minimum value and average value.
Optionally, the time interval according between the adjacent feedback primitive, calculate obtain the tested network or The process performance data of equipment, comprising:
The time interval corresponded between the adjacent feedback primitive under the period to different scenes is for statistical analysis, obtains institute State the process performance data of tested network or equipment, the process performance data include in each period adjacent message it is corresponding anti- Present maximum value, minimum value and the average value of the time interval between primitive.
A kind of pressure test device for FC-AE bus is applied to programmable logic device, the programmable logic device Part is connect with user's control end communication, and is connect by the FC-AE bus with tested network or equipment, which includes:
Data configuration module, for obtaining test data by the user's control end;
Message package module is obtained for being packaged to the test data according to the data format of the FC-AE bus Obtain message;
Message sending module is believed for receiving flow control information from the user's control end according to the flow control Indicated flow is ceased to message described in the FC-AE bus transfer;
Primitive receiving module is fed back, gets the feedback fed back after the message for receiving the tested network or equipment Primitive, and time tag is stamped for each the feedback primitive received;
Time contrast module obtains between adjacent feedback primitive for comparing the time tag on adjacent feedback primitive Time interval;
Test statistics module, for calculating and obtaining described be tested according to the time interval between the adjacent feedback primitive The process performance data of network or equipment.
Optionally, the data configuration module includes:
Data receipt unit, the first data generated for receiving the user's control end, using first data as The test data;
Alternatively,
Test data configuration unit, the configuration information generated for receiving the user's control end match confidence according to described Breath generates the second data, using second data as the test data.
Optionally, the message sending module includes:
Free word determination unit, for the format according to free word in the flow control information and the FC-AE bus, Determine the idle number of words between the message;
First transmission unit, for the message and free word corresponding with the free time number of words to be combined, to Message after the FC-AE bus transfer combination;
Alternatively,
Bandwidth calculation unit, for calculating the acquisition message and being accounted in the FC-AE bus according to the message length Bandwidth;
It is spaced determination unit, the bandwidth for being occupied in the FC-AE bus based on the message is determined described in two Interval of the message in the FC-AE bus;
Second transmission unit, for being spaced according to described to message described in the FC-AE bus transfer.
Optionally, the test statistics module includes:
First statistical analysis unit, for it is described it is adjacent feedback primitive between time interval it is for statistical analysis, obtain The process performance data of the tested network or equipment are obtained, the process performance data include the corresponding feedback primitive of adjacent message Between time interval maximum value, minimum value and average value.
Optionally, the test statistics module, comprising:
Second statistical analysis unit, for different scenes are corresponded to the time between the adjacent feedback primitive under the period Every for statistical analysis, the process performance data of the tested network or equipment are obtained, when the process performance data include each Between time interval in section between the corresponding feedback primitive of adjacent message maximum value, minimum value and average value.
Compared to the prior art, the embodiment of the invention provides a kind of method for testing pressure and dress for FC-AE bus It sets, is applied to programmable logic device, which connect with user's control end communication, and passes through the FC-AE Bus is connect with tested network or equipment.The technical solution of the embodiment of the present invention, by test data according to the data of FC-AE bus Format is packaged, and after obtaining message, can control FC-AE bus according to flow control information in conjunction with the characteristics of FC-AE bus The transmission of upper message, realization FC-AE flow bus is precisely controlled, and based between the adjacent feedback primitive got when Between be spaced, calculate the process performance data for obtaining tested network or equipment.Due to realizing the stream to FC-AE bus during this Amount control, has obtained the process performance data under relevant pressure, therefore, the technical solution based on the embodiment of the present invention can be simulated True application scenarios complete pressure test, to provide accurate assessment reference letter for tested network or device network or equipment Breath.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this The embodiment of invention for those of ordinary skill in the art without creative efforts, can also basis The attached drawing of offer obtains other attached drawings.
Fig. 1 is a kind of flow diagram of the method for testing pressure for FC-AE bus provided in an embodiment of the present invention;
Fig. 2 is a kind of structural schematic diagram of the pressure test device for FC-AE bus provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
Term " first " and " second " in description and claims of this specification and above-mentioned attached drawing etc. are for area Not different objects, rather than for describing specific sequence.Furthermore term " includes " and " having " and their any deformations, It is intended to cover and non-exclusive includes.Such as it contains the process, method of a series of steps or units, system, product or sets It is standby not to be set in listed step or unit, but may include the step of not listing or unit.
A kind of method for testing pressure for FC-AE bus is provided in embodiments of the present invention, and this method corresponds to this The pressure test device for FC-AE bus that inventive embodiments provide, the two are applied to programmable logic device, may be programmed Logical device is connect with user's control end communication, and is connect by FC-AE bus with tested network or equipment.It such as can be applied to existing Field editable gate array (Field-Programmable Gate Array, FPGA), FPGA are based on its communication interface and user Control terminal carries out communication connection, and is connect by FC-AE bus with tested network or equipment, and certain programmable logic device can also Think other electronic equipments other than FPGA, such as complicated programmable logic device (Complex Programmable Logic Device, CPLD) etc..Referring to Fig. 1, this method be may comprise steps of:
S101, test data is obtained by user's control end.
Here the connection at user's control end and programmable logic device is illustrated by taking FPGA as an example, passes through the logical of FPGA Communication interface and user's control end carry out communication connection, for example, FPGA can pass through industry ethernet, serial bus, PCI (Peripheral Component Interconnect, Peripheral Component Interconnect standard) bus or PCIE (peripheral Component interconnect express, high speed serialization computer expansion bus standard) bus is completed and user's control The information exchange at end, the purpose of the information exchange is that FPGA obtains test data by user's control end, from user's control end It receives flow control information and FPGA and process performance data is sent to user's control end etc..
Test data is obtained by user's control end, and there are many specific acquisition modes.Below by following two mode It is illustrated:
First, being the first data for receiving user's control end and generating, by first data directly as test data, i.e., should The generation end of test data is user's control end, is sent to by the first data that user's control end generates directly as test data Programmable logic device is used for subsequent test job.
Second, being the configuration information for receiving user's control end and generating, the second data are generated according to configuration information, by the second number According to as test data, i.e., the corresponding configuration information of test data configuration condition is determined by user's control end, then may be programmed and patrol It collects device and configures the second data corresponding with the configuration information, as test data.
First way is to generate test data in real time by user's control end, and be transmitted to programmable patrol in this embodiment It collects in device, there is higher flexibility;And the second way, be by programmable logic device according to the configuration information of user from Movable property is raw, has higher efficiency.
S102, test data is packaged according to the data format of FC-AE bus, obtains message.
In order to enable test data can be transmitted based on FC-AE bus, need test data according to FC-AE bus Data format be packaged, wherein the data encapsulation format of the bus of FC-AE referring to corresponding data format provide believe Breath, is not particularly limited, in embodiments of the present invention as long as can satisfy the data format requirement of FC-AE bus transfer.
S103, flow control information is received from user's control end, according to flow indicated by flow control information to FC-AE Bus transfer message.
Programmable logic device can obtain the flow control information that user's control end is sent by communication interface, to be based on this Flow control information accurately controls the flow of FC-AE bus, generates to obtain user's control end expectation in current FC-AE bus Accurate pressure.Wherein, flow indicated by flow control information is determined according to actual needs by user, but flow control information The range of flow that can be indicated should at least cover range of flow of the FC-AE bus of new generation under practical application scene.For example, stream Flow minimum zero indicated by amount control information, is up to flow of the FC-AE bus of new generation under extreme bandwidth.Example again The performance of tested network or equipment can guarantee certainly when such as, due to flow very little, and the maximum under practical application scene The flow that flow will not reach capacity under bandwidth, therefore, flow indicated by flow control information can have a lower limit and One upper limit, lower limit is corresponding with the minimum discharge for needing to verify tested network or equipment, under the upper limit and practical application scene most Big flow is corresponding.In addition, though the embodiment of the present invention is that the verifying demand based on FC-AE bus of new generation is developed, but this hair The method and apparatus of bright embodiment can also apply to before relative bandwidth lesser FC-AE bus performance verifying in.
It is additionally provided in another embodiment of the invention by preset pressure (the i.e. accurate pressure of user's control end expectation generation Power) method that carries out message transmissions, in the method according to FC-AE bus the characteristics of, pressure is generated there are two types of mode.
First way is the format based on free word in FC-AE bus, usually in addition to 6 free words intrinsic in bus Except, the free word between message can be controlled accurately to realize the accurate control of pressure, it may be assumed that
According to the format of free word in flow control information and FC-AE bus, the idle number of words between message is determined;
Message and free word corresponding with idle number of words are combined, the message to after the combination of FC-AE bus transfer.
The second way is the percentage based on flow in FC-AE bus, and calculates a report according to the length gauge of message Then the bandwidth that text occupies in FC-AE bus calculates interval of two messages in FC-AE bus, thus accurately accordingly Realize the control of pressure, the corresponding second way controls the process of the message transmissions are as follows:
According to message length, calculates and obtain the bandwidth that message occupies in FC-AE bus;
Based on the bandwidth that message occupies in FC-AE bus, interval of two messages in FC-AE bus is determined;
Foundation is spaced to FC-AE bus transfer message.
S104, reception tested network or equipment get the feedback primitive fed back after message, and each to receive Feedback primitive stamps time tag.
Message can reach equipment under test or network after FC-AE bus transfer, while can receive equipment under test or net The feedback primitive that network returns, wherein feed back primitive and message is one-to-one, programmable logic device one message of every generation When being sent to equipment under test or network by FC-AE bus, the feedback that equipment under test or network return should be all received Primitive.And programmable logic device can stamp a time mark in the first time for recognizing feedback primitive for feedback primitive Label, in order to improve statistical accuracy, the precision of the time tag is usually less than 10ns.
Time tag on S105, the adjacent feedback primitive of comparison, obtains the time interval between adjacent feedback primitive.
S106, according to the time interval between adjacent feedback primitive, calculate the process performance for obtaining tested network or equipment Data.
According to the feedback primitive received time tag corresponding with its, the time between adjacent two feedbacks primitive is compared It is spaced, the process performance data of equipment under test or network under current pressure can be calculated after statistical analysis, wherein the processing Performance data can characterize processing time and the process performance of equipment under test or network.
It is corresponding, in an alternative embodiment of the invention, process performance data include it is adjacent feedback primitive between time between Every maximum value, minimum value and average value.
In practical applications, the process performance data for needing to obtain may be tested network or equipment under different scenes Time and process performance are handled, for this purpose, step S106 may include: to different scenes pair in another embodiment of the present invention It answers the time interval between the adjacent feedback primitive under the period for statistical analysis, obtains the treatability of tested network or equipment Energy data, the process performance data include the maximum of the time interval in each period between the corresponding feedback primitive of adjacent message Value, minimum value and average value.In addition, in practical applications, can also first feedback corresponding to adjacent message in whole process it is former Time interval between language is for statistical analysis, obtains the process performance data of tested network or equipment in whole process, then The time interval corresponded to again to different scenes between the corresponding feedback primitive of adjacent message under the period is for statistical analysis, obtains Obtain the process performance data of tested network or equipment in each period.
For example, maximum value, the minimum in the period can be counted according to different period (such as in seconds) Average value in value and period, to obtain the processing time and process performance of tested network or equipment under different scenes, Wherein, described different scenes can be the different time sections of equipment under test or network in operation, or not equality of temperature Period under degree state.Just obtain accordingly the processing speed of equipment under test or network under the total line pressure of current FC-AE and Process performance, and test report can be generated based on these process performance data, test report is fed back to by communication interface User's control end.So that user's control end obtains the process performance of equipment under test or network at various pressures, To which the assessment for equipment, building for network provide accurate reference.
The embodiment of the invention provides a kind of method for testing pressure for FC-AE bus, are applied to programmable logic Device, the programmable logic device are connect with user's control end communication, and are connected by the FC-AE bus and tested network or equipment It connects.Test data is packaged by the technical solution of the embodiment of the present invention according to the data format of FC-AE bus, obtains message Afterwards, the transmission that can control message in FC-AE bus according to flow control information in conjunction with the characteristics of FC-AE bus, is realized to FC- AE flow bus is precisely controlled, and based on the time interval between the adjacent message feedback primitive got, is calculated and obtained quilt The process performance data of survey grid network or equipment.Due to realizing the flow control to FC-AE bus during this, obtain corresponding Process performance data under pressure, therefore, it is complete that the technical solution based on the embodiment of the present invention can simulate true application scenarios At pressure test, to provide accurate assessment reference information for tested network or device network or equipment.
A kind of pressure test device for FC-AE bus is additionally provided in another embodiment of the invention, is applied to Programmable logic device, the programmable logic device are connect with user's control end communication, and pass through the FC-AE bus and quilt Survey grid network or equipment connection, referring to fig. 2, which includes:
Data configuration module 201, for obtaining test data by the user's control end;
Message package module 202, for being sealed to the test data according to the data format of the FC-AE bus Dress obtains message;
Message sending module 203, for receiving flow control information from the user's control end, according to the flow control Flow indicated by information is to message described in the FC-AE bus transfer;
Primitive receiving module 204 is fed back, for receiving the tested network or equipment gets and feeds back after the message Primitive is fed back, and stamps time tag for each the feedback primitive received;
Time contrast module 205 obtains between adjacent feedback primitive for comparing the time tag on adjacent feedback primitive Time interval;
Test statistics module 206, for it is described by survey grid to calculate acquisition according to the time interval between adjacent feedback primitive The process performance data of network or equipment.
In the pressure test device provided in an embodiment of the present invention for FC-AE bus, data configuration module 201, which obtains, to be surveyed Data are tried, acquisition message is packaged by message package module 202, are believed in message sending module 203 based on flow control The indicated flow of breath feeds back primitive receiving module 204, time contrast module 205 and test system to FC-AE bus transfer message Meter module 206 is calculated based on the time interval between the adjacent message feedback primitive got and is obtained tested network or equipment Process performance data.Due to realizing the flow control to FC-AE bus during this, the treatability under relevant pressure has been obtained Energy data, therefore, the technical solution based on the embodiment of the present invention can simulate true application scenarios and complete pressure test, thus Accurate assessment reference information is provided for tested network or device network or equipment.
On the basis of the above embodiments, data configuration module 201 includes: that data receipt unit or test data are matched Set unit.
Data receipt unit, the first data generated for receiving the user's control end, using first data as The test data;
Test data configuration unit, the configuration information generated for receiving the user's control end match confidence according to described Breath generates the second data, using second data as the test data.
On the basis of the above embodiments, message sending module 203 includes: that free word determination unit and the first transmission are single Member or bandwidth calculation unit, interval determination unit and the second transmission unit.
Free word determination unit, for the format according to free word in the flow control information and the FC-AE bus, Determine the idle number of words between the message;
First transmission unit, for the message and free word corresponding with the free time number of words to be combined, to Message after the FC-AE bus transfer combination;
Alternatively,
Bandwidth calculation unit, for calculating the acquisition message and being accounted in the FC-AE bus according to the message length Bandwidth;
It is spaced determination unit, the bandwidth for being occupied in the FC-AE bus based on the message is determined described in two Interval of the message in the FC-AE bus;
Second transmission unit, for being spaced according to described to message described in the FC-AE bus transfer.
On the basis of the above embodiments, test statistics module 206 includes: the first statistical analysis unit.
First statistical analysis unit, for for statistical analysis, the acquisition institute to the time interval between adjacent feedback primitive The process performance data of tested network or equipment are stated, the process performance data include between the corresponding feedback primitive of adjacent message Time interval maximum value, minimum value and average value.
On the basis of the above embodiments, test statistics module 206, comprising: the second statistical analysis unit.
Second statistical analysis unit, for different scenes are corresponded to the time between the adjacent feedback primitive under the period Every for statistical analysis, the process performance data of the tested network or equipment are obtained, when the process performance data include each Between time interval in section between the corresponding feedback primitive of adjacent message maximum value, minimum value and average value.
The test device provided in the embodiment of the present invention can be used for the pressure in FC-AE bus to bus apparatus or network The fields such as power test and applied in network performance test, can further statistically analyze according to the feedback of equipment under test or network, provide The accurate evaluation of the processing speed and performance of equipment under test or network.
The apparatus embodiments described above are merely exemplary, wherein described, unit can as illustrated by the separation member It is physically separated with being or may not be, component shown as a unit may or may not be physics list Member, it can it is in one place, or may be distributed over multiple network units.It can be selected according to the actual needs In some or all of the modules achieve the purpose of the solution of this embodiment.Those of ordinary skill in the art are not paying creativeness Labour in the case where, it can understand and implement.
Each embodiment in this specification is described in a progressive manner, the highlights of each of the examples are with other The difference of embodiment, the same or similar parts in each embodiment may refer to each other.For device disclosed in embodiment For, since it is corresponded to the methods disclosed in the examples, so being described relatively simple, related place is said referring to method part It is bright.
The foregoing description of the disclosed embodiments enables those skilled in the art to implement or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, as defined herein General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, of the invention It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one The widest scope of cause.

Claims (10)

1. a kind of method for testing pressure for FC-AE bus, which is characterized in that be applied to programmable logic device, it is described can Programmed logic device is connect with user's control end communication, and is connect by the FC-AE bus with tested network or equipment, the party Method includes:
Test data is obtained by the user's control end;
The test data is packaged according to the data format of the FC-AE bus, obtains message;
Flow control information is received from the user's control end, according to flow indicated by the flow control information to described Message described in FC-AE bus transfer;
Receive the tested network or equipment get the feedback primitive fed back after the message, and for receive each is anti- Feedback primitive stamps time tag;
The time tag on adjacent feedback primitive is compared, the time interval between adjacent feedback primitive is obtained;
According to the time interval between the adjacent feedback primitive, the process performance number for obtaining the tested network or equipment is calculated According to.
2. the method according to claim 1, wherein it is described by the user's control end obtain test data, Include:
The first data that the user's control end generates are received, using first data as the test data;
Alternatively,
The configuration information that the user's control end generates is received, the second data are generated according to the configuration information, by described second Data are as the test data.
3. the method according to claim 1, wherein described according to flow indicated by the flow control information To message described in the FC-AE bus transfer, comprising:
According to the format of free word in the flow control information and the FC-AE bus, the free time between the message is determined Number of words;
The message and free word corresponding with the free time number of words are combined, the combination of Xiang Suoshu FC-AE bus transfer Message afterwards;
Alternatively,
According to the message length, calculates and obtain the bandwidth that the message occupies in the FC-AE bus;
Based on the bandwidth that the message occupies in the FC-AE bus, determine two messages in the FC-AE bus Interval;
It is spaced according to described to message described in the FC-AE bus transfer.
4. the method according to claim 1, wherein between the time according between the adjacent feedback primitive Every calculating obtains the process performance data of the tested network or equipment, comprising:
It is for statistical analysis to the time interval between the adjacent feedback primitive, obtain the processing of the tested network or equipment Performance data, the process performance data include the maximum value, most of the time interval between the corresponding feedback primitive of adjacent message Small value and average value.
5. the method according to claim 1, wherein it is described according to it is described feedback primitive between time interval, Calculate the process performance data for obtaining the tested network or equipment, comprising:
The time interval corresponded between the adjacent feedback primitive under the period to different scenes is for statistical analysis, obtains the quilt The process performance data of survey grid network or equipment, the process performance data include the corresponding feedback original of adjacent message in each period Maximum value, minimum value and the average value of time interval between language.
6. a kind of pressure test device for FC-AE bus, which is characterized in that be applied to programmable logic device, it is described can Programmed logic device is connect with user's control end communication, and is connect by the FC-AE bus with tested network or equipment, the dress It sets and includes:
Data configuration module, for obtaining test data by the user's control end;
Message package module is reported for being packaged to the test data according to the data format of the FC-AE bus Text;
Message sending module, for receiving flow control information from the user's control end, according to the flow control information institute The flow of instruction is to message described in the FC-AE bus transfer;
Primitive receiving module is fed back, gets the feedback fed back after message original for receiving the tested network or equipment Language, and time tag is stamped for each the feedback primitive received;
Time contrast module obtains the time between adjacent feedback primitive for comparing the time tag on adjacent feedback primitive Interval;
Test statistics module, for calculating and obtaining the tested network according to the time interval between the adjacent feedback primitive Or the process performance data of equipment.
7. device according to claim 6, which is characterized in that the data configuration module includes:
Data receipt unit, the first data generated for receiving the user's control end, using first data as described in Test data;
Alternatively, test data configuration unit, the configuration information generated for receiving the user's control end match confidence according to described Breath generates the second data, using second data as the test data.
8. device according to claim 6, which is characterized in that the message sending module includes:
Free word determination unit is determined for the format according to free word in the flow control information and the FC-AE bus Idle number of words between the message;
First transmission unit, for the message and free word corresponding with the free time number of words to be combined, Xiang Suoshu Message after the combination of FC-AE bus transfer;
Alternatively,
Bandwidth calculation unit, for calculating and obtaining what the message occupied in the FC-AE bus according to the message length Bandwidth;
It is spaced determination unit, the bandwidth for occupying in the FC-AE bus based on the message determines two messages Interval in the FC-AE bus;
Second transmission unit, for being spaced according to described to message described in the FC-AE bus transfer.
9. device according to claim 6, which is characterized in that the test statistics module includes:
First statistical analysis unit, for for statistical analysis, the acquisition institute to the time interval between the adjacent feedback primitive The process performance data of tested network or equipment are stated, the process performance data include between the corresponding feedback primitive of adjacent message Time interval maximum value, minimum value and average value.
10. device according to claim 6, which is characterized in that the test statistics module, comprising:
Second statistical analysis unit, for different scenes are corresponded to the time interval between the adjacent feedback primitive under the period into Row statistical analysis, obtains the process performance data of the tested network or equipment, the process performance data include each period Corresponding maximum value, minimum value and the average value for feeding back the time interval between primitive of interior adjacent message.
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 true CN109617763A (en) 2019-04-12
CN109617763B 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)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110290020A (en) * 2019-06-17 2019-09-27 北京挚友科技有限公司 A kind of ethernet test instrument high-precision flow percentage production method and device
CN111447110A (en) * 2020-03-24 2020-07-24 北京润科通用技术有限公司 Data monitoring method and system
CN116723133A (en) * 2023-06-29 2023-09-08 无锡芯光互连技术研究院有限公司 Data transmitting and receiving equipment, network state information extraction method and device

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102118230A (en) * 2011-03-23 2011-07-06 华中科技大学 Tree and tabular combined notation (TTCN)-based network protocol performance testing method
CN102662330A (en) * 2012-04-13 2012-09-12 哈尔滨工业大学 Fault simulation device of fiber channel avionics environment (FC-AE)-1533 device
US20130142205A1 (en) * 2010-05-18 2013-06-06 Lsi Corporation Hierarchical Self-Organizing Classification Processing in a Network Switch
CN104168162A (en) * 2014-08-20 2014-11-26 电子科技大学 Traffic generator for interchanger verification testing by software-hardware cooperation achieving
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
CN106506403A (en) * 2016-11-17 2017-03-15 中国电子科技集团公司第四十研究所 A kind of fiber channel protocol data method for generation with interaction capabilities
CN106598019A (en) * 2016-10-31 2017-04-26 航天东方红卫星有限公司 Satellite housekeeping simulator and simulation method for development and test of micro-nano satellite control module
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
US20180352455A1 (en) * 2017-06-02 2018-12-06 Qisda Corporation Method for Determining Stability of a Wireless Signal and System Thereof

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130142205A1 (en) * 2010-05-18 2013-06-06 Lsi Corporation Hierarchical Self-Organizing Classification Processing in a Network Switch
CN102118230A (en) * 2011-03-23 2011-07-06 华中科技大学 Tree and tabular combined notation (TTCN)-based network protocol performance testing method
CN102662330A (en) * 2012-04-13 2012-09-12 哈尔滨工业大学 Fault simulation device of fiber channel avionics environment (FC-AE)-1533 device
CN104168162A (en) * 2014-08-20 2014-11-26 电子科技大学 Traffic generator for interchanger verification testing by software-hardware cooperation achieving
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
CN106598019A (en) * 2016-10-31 2017-04-26 航天东方红卫星有限公司 Satellite housekeeping simulator and simulation method for development and 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
US20180352455A1 (en) * 2017-06-02 2018-12-06 Qisda Corporation 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

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110290020A (en) * 2019-06-17 2019-09-27 北京挚友科技有限公司 A kind of ethernet test instrument high-precision flow percentage production method and device
CN111447110A (en) * 2020-03-24 2020-07-24 北京润科通用技术有限公司 Data monitoring method and system
CN116723133A (en) * 2023-06-29 2023-09-08 无锡芯光互连技术研究院有限公司 Data transmitting and receiving equipment, network state information extraction method and device
CN116723133B (en) * 2023-06-29 2024-03-22 无锡芯光互连技术研究院有限公司 Data transmitting and receiving equipment, network state information extraction method and device

Also Published As

Publication number Publication date
CN109617763B (en) 2020-08-04

Similar Documents

Publication Publication Date Title
CN109617763A (en) A kind of method for testing pressure and device for FC-AE bus
CN105337674B (en) A kind of space TTC & DT Systems integration test verification platform
US20030172177A1 (en) System and method for verifying a device
CN107579836A (en) A kind of parameter verification method and apparatus and NM server
CN103560829A (en) Method and system for automatic testing of UNI ports
CN112491634B (en) Full-link intelligent fault simulation and assessment defense method in micro-service scene
CN101873351A (en) Pressure test method and system for automobile remote monitoring system
CN106787199A (en) A kind of portable substation simulated testing system and method
CN105827476A (en) High-speed PING implementation method and PING testing method
KR101081023B1 (en) Apparatus and method for testing of interoperability communication performance of smartgrid intelligent electronic device
CN103326901A (en) Method and system for testing broadband network performance of power system
CN110532191A (en) A kind of method for testing pressure, system and cluster
US11153193B2 (en) Method of and system for testing a computer network
Rösch et al. Combined simulation and virtualization approach for interconnected substation automation
CN111935767B (en) Network simulation system
CN109596915A (en) A kind of remote calibration system and method for electric automobile charging pile
CN106375154B (en) A kind of latency measurement verification method, apparatus and system
CN210090591U (en) Test equipment for speed regulator of generator
RU2532714C2 (en) Method of acquiring data when evaluating network resources and apparatus therefor
CN116055373A (en) Industrial terminal and network communication quality test evaluation system
CN109120479A (en) A kind of network throughput testing approach based on network message format
CN104378256A (en) FPGA-based performance test data stream scheduling method and device
CN106841842A (en) The method of testing and device in the empty loop of secondary device
CN114003549B (en) 5G radio frequency unit testing method and device based on heterogeneous SOC
CN101980479B (en) Method and system for testing performance of very high frequency data chain mode-two air ground communication system

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