CN113645082A - AS5643 network dynamic simulation test method and device - Google Patents

AS5643 network dynamic simulation test method and device Download PDF

Info

Publication number
CN113645082A
CN113645082A CN202110988740.0A CN202110988740A CN113645082A CN 113645082 A CN113645082 A CN 113645082A CN 202110988740 A CN202110988740 A CN 202110988740A CN 113645082 A CN113645082 A CN 113645082A
Authority
CN
China
Prior art keywords
node
simulation
message
information
module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110988740.0A
Other languages
Chinese (zh)
Inventor
代志远
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN202110988740.0A priority Critical patent/CN113645082A/en
Publication of CN113645082A publication Critical patent/CN113645082A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/14Network analysis or design
    • H04L41/145Network analysis or design involving simulating, designing, planning or modelling of a network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements

Abstract

The AS5643 network dynamic simulation test method and device provided by the present disclosure can import an interface control file, wherein the interface control file includes node attribute configuration information of each simulation node, node message information, and at least one message variable information corresponding to the node message information. And generating a node configuration file based on the node attribute configuration information in the interface control file, and generating an equipment model based on the node message information in the interface control file and the message variable information corresponding to the node message information. And based on the node configuration files of the simulation nodes, accessing the equipment models corresponding to the simulation nodes into an AS5643 network for dynamic simulation test to obtain simulation test results. According to the method, the simulation node height simulates a real working scene, the AS5643 network is subjected to dynamic simulation test, an accurate simulation test result can be obtained, and the AS5643 network is optimized according to the simulation test result.

Description

AS5643 network dynamic simulation test method and device
Technical Field
The present disclosure relates to the field of AS5643 network protocol technologies, and in particular, to a method and an apparatus for testing dynamic simulation of an AS5643 network.
Background
AS5643 is used for 1394B interfaces on board aircraft, adding deterministic constraints to the transmission for the IEEE-1394B specification protocol to meet the requirements of avionics systems for high bandwidth, high certainty and high reliability. The AS5643 network has complex topology, and the configuration of a control node (CC) and each Remote Node (RN) needs to be considered during system design, so that the real-time performance and the reliability of the AS5643 network are ensured. And after the design is finished, the hardware is verified after the design is finished, and the AS5643 network is ensured to be in the optimal design according to the iterative design of the verification result.
At present, the design of the AS5643 network is a complicated problem, and if the AS5643 network is not properly designed, the problems of certainty, reliability and the like cannot be met in the communication process. After the AS5643 network is designed, the bandwidth of the entire AS5643 network is estimated, typically using a static estimation method, and then network bandwidth verification is performed until all devices are developed. However, the bandwidth estimated by the static estimation method does not take into account the performance of the device and the characteristics of the physical layer of the 1394B interface, so that the bandwidth is not expected to be accurate. If the load of the remote node or the AS5643 bus is too high, the topology of the whole system needs to be changed, so that continuous iteration of design, research and development and test is caused, the period is long, and the workload is large.
Disclosure of Invention
In view of the foregoing problems, the present disclosure provides a method and an apparatus for dynamic simulation testing of an AS5643 network, which overcome the foregoing problems or at least partially solve the foregoing problems, and the technical solution is AS follows:
a dynamic simulation test method of an AS5643 network comprises the following steps:
importing an interface control file, wherein the interface control file comprises node attribute configuration information of each simulation node, at least one node message information and at least one message variable information corresponding to the node message information;
respectively generating node configuration files corresponding to the simulation nodes based on the node attribute configuration information of the simulation nodes;
respectively generating an equipment model corresponding to each simulation node based on the at least one node message information of each simulation node and at least one message variable information corresponding to the node message information;
and accessing the equipment model corresponding to each simulation node into an AS5643 network for dynamic simulation test based on the node configuration file of each simulation node to obtain a simulation test result.
Optionally, the node packet information at least includes a message ID and a message ICD, and the generating device models corresponding to the simulation nodes based on the at least one node packet information of each simulation node and the at least one packet variable information corresponding to the node packet information respectively includes:
establishing an incidence relation between the message ID and the message ICD based on the message ID and the message ICD in the at least one node message information of each simulation node;
respectively generating message configuration files corresponding to the node message information based on the at least one node message information of each simulation node; generating a Simulink message read-write module corresponding to the message configuration file according to the message configuration file, and determining that the identifier of the Simulink message read-write module is the message ID in the node message information corresponding to the message configuration file;
generating a packing module and a unpacking module corresponding to the message variable information based on the at least one message variable information corresponding to the node message information, and determining that the identifications of the packing module and the unpacking module are the ICDs in the node message information corresponding to the message variable information;
according to the incidence relation between the message ID and the message ICD, establishing read-write association between the Simulink message read-write module corresponding to the same node message information and the packing module and the unpacking module;
for any of the simulation nodes: and combining the packing module and the unpacking module corresponding to the simulation node to generate an equipment model corresponding to the simulation node.
Optionally, the AS5643 network dynamic simulation testing method further includes:
based on the at least one message variable information corresponding to the node message information, a variable input pin and a variable output pin corresponding to each message variable information are respectively created in the Simulink message read-write module corresponding to the node message information.
Optionally, at any one of the pair of simulation nodes: combining the packing module and the unpacking module corresponding to the simulation node, and after generating the device model corresponding to the simulation node, the method further comprises:
and adding a load counting module to the equipment model so as to enable the load counting module to count the network load information of the node interface.
Optionally, the load statistics module includes a statistics write bandwidth module and a statistics read bandwidth module, and adding the load statistics module to the device model includes:
adding the statistical write bandwidth module to the packing module in the equipment model so that the statistical write bandwidth module performs statistics on the write bandwidth of the equipment model;
and adding the statistical reading bandwidth module to the unpacking module in the equipment model so as to enable the statistical reading bandwidth module to perform statistics on the reading bandwidth of the equipment model.
Optionally, the accessing, based on the node configuration file of each simulation node, the device model corresponding to each simulation node to an AS5643 network for performing a dynamic simulation test to obtain a simulation test result, where the method includes:
respectively configuring hardware parameters of the AS5643 simulation board card corresponding to each simulation node based on the node configuration file of each simulation node;
and accessing the equipment model corresponding to each simulation node into an AS5643 network for dynamic simulation test through each AS5643 simulation board card configured with hardware parameters to obtain a simulation test result.
Optionally, the node attribute configuration information at least includes a node type, a node identifier, a node rate, and frame start packet information.
Optionally, the node types include a control type and a remote type, and the accessing, based on the node configuration file of each simulation node, the device model corresponding to each simulation node to an AS5643 network for performing a dynamic simulation test to obtain a simulation test result includes:
determining the simulation node with the node type as the control type as a simulation main node, and determining the simulation node with the node type as the remote type as a simulation slave node;
downloading the equipment model corresponding to the simulation main node to a first simulation computer based on the node configuration file of the simulation main node;
downloading the device model corresponding to the simulation slave node into a second simulation computer based on the node profile of the simulation slave node;
and accessing the first simulation computer and the second simulation computer to an AS5643 network for dynamic simulation test to obtain a simulation test result.
Optionally, the AS5643 network dynamic simulation testing method further includes:
configuring a monitoring node; and accessing the monitoring node to the AS5643 network so AS to count the bandwidth data of the AS5643 network in each preset period.
An AS5643 network dynamic simulation test device comprises: an interface control file importing unit, a node configuration file generating unit, an equipment model generating unit and a simulation testing unit,
the interface control file importing unit is used for importing an interface control file, wherein the interface control file comprises node attribute configuration information of each simulation node, at least one node message information and at least one message variable information corresponding to the node message information;
the node configuration file generating unit is configured to generate node configuration files corresponding to the simulation nodes respectively based on the node attribute configuration information of the simulation nodes;
the device model generating unit is configured to generate device models corresponding to the simulation nodes respectively based on the at least one node packet information of each simulation node and at least one packet variable information corresponding to the node packet information;
the simulation testing unit is configured to access the device model corresponding to each simulation node to an AS5643 network for dynamic simulation testing based on the node configuration file of each simulation node, so AS to obtain a simulation testing result.
By means of the technical scheme, the AS5643 network dynamic simulation test method and device provided by the disclosure can import the interface control file, wherein the interface control file comprises node attribute configuration information of each simulation node, node message information and at least one message variable information corresponding to the node message information. And generating a node configuration file based on the node attribute configuration information in the interface control file, and generating an equipment model based on the node message information in the interface control file and the message variable information corresponding to the node message information. And based on the node configuration files of the simulation nodes, accessing the equipment models corresponding to the simulation nodes into an AS5643 network for dynamic simulation test to obtain simulation test results. According to the method, the simulation node height simulates a real working scene, dynamic simulation test is carried out on the AS5643 network, an accurate simulation test result is obtained, and then the AS5643 network is optimized according to the simulation test result.
The foregoing description is only an overview of the technical solutions of the present disclosure, and the embodiments of the present disclosure are described below in order to make the technical means of the present disclosure more clearly understood and to make the above and other objects, features, and advantages of the present disclosure more clearly understandable.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the disclosure. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1 is a schematic diagram illustrating an embodiment of a method for dynamically simulating and testing an AS5643 network provided by fig. 1 according to an embodiment of the present disclosure;
FIG. 2 is a schematic diagram illustrating another implementation of the AS5643 network dynamic simulation test method provided in FIG. 1 for an embodiment of the present disclosure;
FIG. 3 is a schematic diagram illustrating another implementation of the AS5643 network dynamic simulation test method provided in FIG. 1 for an embodiment of the present disclosure;
FIG. 4 is a schematic diagram illustrating another implementation of the AS5643 network dynamic simulation test method provided in FIG. 1 for an embodiment of the present disclosure;
fig. 5 shows a schematic structural diagram of an AS5643 network dynamic simulation test apparatus provided in an embodiment of the present disclosure;
fig. 6 shows a schematic structural diagram of an electronic device provided in an embodiment of the present disclosure.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
Fig. 1 is a schematic diagram of an implementation manner of an AS5643 network dynamic simulation testing method provided in an embodiment of the present disclosure, where the AS5643 network dynamic simulation testing method includes:
s100, importing an interface control file, wherein the interface control file comprises node attribute configuration information of each simulation node, at least one node message information and at least one message variable information corresponding to the node message information.
After the AS5643 network is designed, the AS5643 network generates a corresponding Interface Control file (ICD). The embodiment of the disclosure can import the interface control file after the AS5643 network design is completed. The interface control file may include node attribute configuration information of each simulation node, at least one node packet information, and at least one packet variable information corresponding to the node packet information. The interface control file may also include connection information between the simulation nodes. The connection information is used for describing the connection relationship between the simulation nodes.
Optionally, the node attribute configuration information may include at least a node type, a node identifier, a node rate, and start of frame packet information. The node type may include a control type and a remote type, among others. It is to be understood that the start-of-frame packet information is used to describe the configuration of the start-of-frame packet, and may specifically include information such as the transmission period of the start-of-frame packet. The simulation node with the node type as the control type is a control (CC) node, and the simulation node with the node type as the remote type is a Remote (RN) node. In general, the interface control file includes information about at least one control node and at least one remote node.
It is understood that in the interface control file, one emulation node may have multiple node message information. Optionally, the node packet information may include at least a message ID and a message ICD. The node packet information may also include the number of messages.
It is understood that one node message information may correspond to a plurality of message variable information. The message variable information may include an input/output direction of a variable, a type of the variable, and offset information of the variable in node message information corresponding to the message variable information.
And S200, respectively generating node configuration files corresponding to the simulation nodes based on the node attribute configuration information of the simulation nodes.
And the node configuration file corresponding to the simulation node at least comprises the node type, the node rate and the size of the frame start packet sending period of the simulation node. According to the embodiment of the disclosure, the hardware parameters related to the AS5643 simulation board card corresponding to the simulation node can be configured according to the node configuration file of the simulation node. The AS5643 emulation board card is also called AS5643 emulation card, and is an interface board which adopts 1394B interface physical layer and is used for communication between AS5643 and IEEE1394 data bus.
The embodiment of the disclosure generates the node configuration file by using the node attribute configuration information of the simulation node in the interface control file, and realizes the hardware configuration of the AS5643 simulation board card according to the node configuration file, so that the hardware parameters of the real device accessed to the AS5643 network are more approximate when the AS5643 network is subjected to dynamic simulation test.
S300, respectively generating equipment models corresponding to the simulation nodes based on at least one node message information of each simulation node and at least one message variable information corresponding to the node message information.
Specifically, based on the AS5643 network dynamic simulation test method shown in fig. 1, AS shown in fig. 2, a schematic diagram of another implementation manner in the AS5643 network dynamic simulation test method provided in the embodiment of the present disclosure, step S300 may include:
s310, establishing an incidence relation between the message ID and the message ICD based on the message ID and the message ICD in at least one node message information of each simulation node.
Specifically, the embodiment of the present disclosure may establish an association relationship between a message ID and a message ICD in one node packet information, so as to form a corresponding table of the message ID and the message ICD.
And S320, respectively generating message configuration files corresponding to the message information of each node based on at least one node message information of each simulation node.
The message configuration files correspond to the node message information one by one. According to the node message information, the message configuration file corresponding to the node message information can be generated. It can be understood that the message configuration files of the same simulation node have a corresponding relationship with the node configuration files.
S330, generating a Simulink message read-write module corresponding to the message configuration file according to the message configuration file, and determining that the identifier of the Simulink message read-write module is the message ID in the node message information corresponding to the message configuration file.
Specifically, the embodiment of the present disclosure may automatically generate, according to the message configuration file, the Simulink message read-write module corresponding to the message configuration file. The Simulink message read-write module is designed based on a visual simulation tool in MATLAB and can be used for dynamic simulation. After the Simulink message read-write module is generated, the embodiment of the present disclosure determines that the message ICD in the node message information corresponding to the Simulink message read-write module is used as the unique identifier of the Simulink message read-write module.
The embodiment of the disclosure generates the Simulink message read-write module by using the node message information in the interface control file, so that the related hardware corresponding to the simulation node can perform read-write operation by using the Simulink message read-write module.
S340, generating a packing module and a unpacking module corresponding to the message variable information based on at least one message variable information corresponding to the node message information, and determining that the identifier of the packing module and the unpacking module is the ICD (interface control document) in the node message information corresponding to the message variable information.
Optionally, in the embodiment of the present disclosure, the packet module and the decapsulation module corresponding to the message variable information may be generated based on the type of the variable in the message variable information and offset information of the variable in the node message information corresponding to the message variable information.
The packing module can be used for simulating the process of transmitting data by real equipment, and the unpacking module can be used for simulating the process of receiving data by the real equipment.
Optionally, in the embodiment of the present disclosure, based on at least one message variable information corresponding to the node message information, a variable input pin and a variable output pin corresponding to each message variable information may be respectively created in the Simulink message read-write module corresponding to the node message information.
Optionally, in the embodiment of the present disclosure, based on the input and output directions of the variables in the message variable information, a variable input pin and a variable output pin corresponding to the message variable information are respectively created in the Simulink message read-write module corresponding to the node message information corresponding to the message variable information, so that the variables corresponding to the message variable information are input into the Simulink message read-write module and output from the Simulink message read-write module.
And S350, establishing read-write association between the Simulink message read-write module and the packing module and the unpacking module corresponding to the message information of the same node according to the association relationship between the message ID and the message ICD.
The embodiment of the disclosure generates a corresponding packing module and unpacking module for a corresponding Simulink message read-write module by using message variable information in an interface control file, and establishes read-write association between the Simulink message read-write module and the packing module and the unpacking module according to the association relationship between the message ID and the message ICD, so that the simulation node has the function of a device connected to an AS5643 network in a real working scene.
S360, for any simulation node: and combining the packing module and the unpacking module corresponding to the simulation node to generate an equipment model corresponding to the simulation node.
It is understood that the plant model corresponding to the control node may be referred to as a control model and the plant model corresponding to the remote node may be referred to as a remote model. The disclosed embodiment can combine the equipment models corresponding to the simulation nodes into an interface model corresponding to the interface control file, and under a normal condition, the interface model comprises a control model and a plurality of remote models. The number of remote models in the interface model is determined according to the number of simulation nodes of which the node types are remote types in the interface control file. The control model may be used to simulate control nodes of real plant, and the remote model may be used to simulate remote nodes of real plant.
Optionally, based on the AS5643 network dynamic simulation testing method shown in fig. 2, AS shown in fig. 3, in a schematic diagram of another implementation manner of the AS5643 network dynamic simulation testing method provided in the embodiment of the present disclosure, after step S360, the method further includes:
and S370, adding a load counting module to the equipment model so that the load counting module counts the network load information of the node interface.
Optionally, the load statistics module includes a statistics write bandwidth module and a statistics read bandwidth module.
Specifically, the embodiment of the present disclosure may add a statistics write bandwidth module to a packing module in the device model, so that the statistics write bandwidth module performs statistics on the write bandwidth of the device model. The embodiment of the disclosure can add a statistical read bandwidth module to the unpacking module in the device model, so that the statistical read bandwidth module performs statistics on the read bandwidth of the device model.
According to the embodiment of the disclosure, the write-in bandwidth of the device model after being connected to the AS5643 network is counted by the write-in bandwidth counting module, and the read bandwidth of the device model after being connected to the AS5643 network is counted by the read bandwidth counting module, so that the network load information of the simulation node corresponding to the device model can be obtained.
And S400, based on the node configuration files of the simulation nodes, accessing the equipment models corresponding to the simulation nodes into an AS5643 network for dynamic simulation test to obtain a simulation test result.
Optionally, based on the AS5643 network dynamic simulation testing method shown in fig. 1, AS shown in fig. 4, a schematic diagram of another implementation manner of the AS5643 network dynamic simulation testing method provided in the embodiment of the present disclosure, step S400 may include:
and S410, respectively configuring hardware parameters of the AS5643 simulation board card corresponding to each simulation node based on the node configuration file of each simulation node.
And S420, accessing the equipment model corresponding to each simulation node into an AS5643 network for dynamic simulation test through each AS5643 simulation board card configured with hardware parameters to obtain a simulation test result.
Specifically, the simulation node with the node type as the control type may be determined as the simulation master node, and the simulation node with the node type as the remote type may be determined as the simulation slave node. And downloading the equipment model corresponding to the simulation main node to the first simulation computer based on the node configuration file of the simulation main node. And downloading the equipment model corresponding to the simulation slave node into a second simulation computer based on the node configuration file of the simulation slave node. And accessing the first simulation computer and the second simulation computer to an AS5643 network for dynamic simulation test to obtain a simulation test result.
According to the embodiment of the disclosure, the device model is downloaded to the simulation computer for semi-physical simulation, so that the scene of the real device accessing the AS5643 network can be simulated to the greatest extent, and a more accurate simulation test result can be obtained.
Optionally, the embodiment of the present disclosure may further configure a monitoring node. And accessing the monitoring node to the AS5643 network so AS to count the bandwidth data of the AS5643 network in each preset period. The node type of the monitoring node may be a remote type. The monitoring station does not filter any messages alone. The embodiment of the disclosure can count data information such AS the maximum value, the minimum value, the average value and the like of the bandwidth of the AS5643 network in each preset time period through the monitoring node.
The dynamic simulation test of the AS5643 network can be rapidly carried out based on the interface control file after the AS5643 network is designed, the dynamic simulation test is infinitely close to a real scene, and the load condition of each node and the condition of an AS5643 hardware layer can be fully considered in the whole test process. According to the embodiment of the disclosure, the effectiveness of the AS5643 network can be visually determined through load analysis of each node and bandwidth analysis of the AS5643 network, so that the iteration cycle of design-research-development-test related to the AS5643 network is reduced, and the system integration risk is reduced. Meanwhile, the equipment model automatically generated based on the interface control file in the embodiment of the disclosure avoids the deviation caused by manually building a simulation model to the test consistency, is convenient for repeated tests, and is also beneficial to comparing the network bandwidth and the node load under different test configurations, thereby carrying out optimization design on the AS5643 network.
The AS5643 network dynamic simulation test method provided by the present disclosure can import an interface control file, wherein the interface control file includes node attribute configuration information of each simulation node, node message information, and at least one message variable information corresponding to the node message information. And generating a node configuration file based on the node attribute configuration information in the interface control file, and generating an equipment model based on the node message information in the interface control file and the message variable information corresponding to the node message information. And based on the node configuration files of the simulation nodes, accessing the equipment models corresponding to the simulation nodes into an AS5643 network for dynamic simulation test to obtain simulation test results. According to the method, the simulation node height simulates a real working scene, dynamic simulation test is carried out on the AS5643 network, an accurate simulation test result is obtained, and then the AS5643 network is optimized according to the simulation test result.
Although the operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous.
It should be understood that the various steps recited in the method embodiments of the present disclosure may be performed in a different order, and/or performed in parallel. Moreover, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
Corresponding to the above method embodiment, the embodiment of the present disclosure further provides an AS5643 network dynamic simulation testing apparatus, a structure of which is shown in fig. 5, where the AS5643 network dynamic simulation testing apparatus includes: an interface control file importing unit 100, a node configuration file generating unit 200, an apparatus model generating unit 300, and a simulation testing unit 400.
An interface control file importing unit 100, configured to import an interface control file, where the interface control file includes node attribute configuration information of each simulation node, at least one node packet information, and at least one packet variable information corresponding to the node packet information.
And a node configuration file generating unit 200, configured to generate node configuration files corresponding to the simulation nodes, respectively, based on the node attribute configuration information of the simulation nodes.
The device model generating unit 300 is configured to generate device models corresponding to the simulation nodes respectively based on at least one node packet information of each simulation node and at least one packet variable information corresponding to the node packet information.
And the simulation testing unit 400 is configured to access the device model corresponding to each simulation node to the AS5643 network for dynamic simulation testing based on the node configuration file of each simulation node, so AS to obtain a simulation testing result.
Optionally, the node packet information at least includes a message ID and a message ICD, and the device model generating unit 300 includes: the system comprises a message association relation establishing subunit, a message configuration file generating subunit, a Simulink message reading and writing module generating subunit, a unpacking module generating subunit, a reading and writing association establishing subunit and an equipment model generating subunit.
And the message incidence relation establishing subunit is used for establishing incidence relation between the message ID and the message ICD based on the message ID and the message ICD in the message information of at least one node of each simulation node.
And the message configuration file generation subunit is used for respectively generating the message configuration files corresponding to the message information of each node based on at least one node message information of each simulation node.
And the Simulink message read-write module generation subunit is used for generating a Simulink message read-write module corresponding to the message configuration file according to the message configuration file and determining that the identifier of the Simulink message read-write module is the message ID in the node message information corresponding to the message configuration file.
And the unpacking module generating subunit is used for generating a packing module and an unpacking module corresponding to the message variable information based on at least one message variable information corresponding to the node message information, and determining that the identifier of the packing module and the unpacking module is the ICD (interface control document) in the node message information corresponding to the message variable information.
And the read-write association establishing subunit is used for establishing read-write association between the Simulink message read-write module and the packing module and the unpacking module corresponding to the message information of the same node according to the association relationship between the message ID and the message ICD.
An equipment model generation subunit, configured to, for any simulation node: and combining the packing module and the unpacking module corresponding to the simulation node to generate an equipment model corresponding to the simulation node.
Optionally, the AS5643 network dynamic simulation testing apparatus may further include: a variable pin creation unit.
And the variable pin creating unit is used for respectively creating a variable input pin and a variable output pin corresponding to each message variable information in the Simulink message read-write module corresponding to the node message information based on at least one message variable information corresponding to the node message information.
Optionally, the AS5643 network dynamic simulation testing apparatus may further include: and a load statistic adding unit.
The load statistics adding unit is used for the equipment model generation subunit to perform the following steps on any simulation node: and combining the packing module and the unpacking module corresponding to the simulation node, generating an equipment model corresponding to the simulation node, and adding a load counting module to the equipment model so that the load counting module counts the network load information of the node interface.
Optionally, the load statistics module includes a statistics write bandwidth module and a statistics read bandwidth module, and the load statistics adding unit is specifically configured to add the statistics write bandwidth module to the packing module in the device model, so that the statistics write bandwidth module performs statistics on the write bandwidth of the device model. And adding a statistical reading bandwidth module to the unpacking module in the equipment model so as to enable the statistical reading bandwidth module to perform statistics on the reading bandwidth of the equipment model.
Optionally, the simulation test unit 400 may include: the simulation board card hardware configuration subunit and the simulation test subunit.
And the simulation board card hardware configuration subunit is used for respectively configuring the hardware parameters of the AS5643 simulation board card corresponding to each simulation node based on the node configuration file of each simulation node.
And the simulation test subunit is used for accessing the equipment model corresponding to each simulation node into an AS5643 network for dynamic simulation test through each AS5643 simulation board card configured with the hardware parameters to obtain a simulation test result.
Optionally, the node attribute configuration information at least includes a node type, a node identifier, a node rate, and start-of-frame packet information.
Optionally, the node type includes a control type and a remote type. The simulation test unit 400 is specifically configured to determine a simulation node with a node type of a control type as a simulation master node, and determine a simulation node with a node type of a remote type as a simulation slave node. And downloading the equipment model corresponding to the simulation main node to the first simulation computer based on the node configuration file of the simulation main node. And downloading the equipment model corresponding to the simulation slave node into a second simulation computer based on the node configuration file of the simulation slave node. And accessing the first simulation computer and the second simulation computer to an AS5643 network for dynamic simulation test to obtain a simulation test result.
Optionally, the AS5643 network dynamic simulation testing apparatus may further include: a monitoring node configuration unit and a monitoring point access unit.
And the monitoring node configuration unit is used for configuring the monitoring node.
And the monitoring and point-checking access unit is used for accessing the monitoring node into the AS5643 network so AS to count the bandwidth data of the AS5643 network in each preset time period.
The AS5643 network dynamic simulation test device provided by the present disclosure can import an interface control file, wherein the interface control file includes node attribute configuration information of each simulation node, node message information, and at least one message variable information corresponding to the node message information. And generating a node configuration file based on the node attribute configuration information in the interface control file, and generating an equipment model based on the node message information in the interface control file and the message variable information corresponding to the node message information. And based on the node configuration files of the simulation nodes, accessing the equipment models corresponding to the simulation nodes into an AS5643 network for dynamic simulation test to obtain simulation test results. According to the method, the simulation node height simulates a real working scene, dynamic simulation test is carried out on the AS5643 network, an accurate simulation test result is obtained, and then the AS5643 network is optimized according to the simulation test result.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
The AS5643 network dynamic simulation testing device includes a processor and a memory, the interface control file importing unit 100, the node configuration file generating unit 200, the device model generating unit 300, the simulation testing unit 400, and the like are all stored in the memory AS program units, and the processor executes the program units stored in the memory to implement corresponding functions.
The processor comprises a kernel, and the kernel calls the corresponding program unit from the memory. One or more than one kernel can be set, the kernel parameters are adjusted to simulate a real working scene through the height of the simulation nodes, dynamic simulation test is carried out on the AS5643 network, an accurate simulation test result is obtained, and then the AS5643 network is optimized according to the simulation test result.
The disclosed embodiment provides a computer readable storage medium, on which a program is stored, which when executed by a processor implements the AS5643 network dynamic simulation test method.
The embodiment of the disclosure provides a processor, and the processor is used for running a program, wherein the AS5643 network dynamic simulation test method is executed when the program runs.
As shown in fig. 6, an embodiment of the present disclosure provides an electronic device 500, where the electronic device 500 includes at least one processor 501, and at least one memory 502 and a bus 503 connected to the processor 501; the processor 501 and the memory 502 complete communication with each other through the bus 503; the processor 501 is used for calling the program instructions in the memory 502 to execute the AS5643 network dynamic simulation test method described above. The electronic device 500 herein may be a server, a PC, a PAD, a cell phone, etc.
The present disclosure also provides a computer program product adapted to execute a program initialized with the steps of the AS5643 network dynamic simulation test method described above, when executed on an electronic device.
The present disclosure is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus, electronic devices (systems), and computer program products according to embodiments of the disclosure. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, an electronic device includes one or more processors (CPUs), memory, and a bus. The electronic device may also include input/output interfaces, network interfaces, and the like.
The memory may include volatile memory in a computer readable medium, Random Access Memory (RAM) and/or nonvolatile memory such as Read Only Memory (ROM) or flash memory (flash RAM), and the memory includes at least one memory chip. The memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in the process, method, article, or apparatus that comprises the element.
As will be appreciated by one skilled in the art, embodiments of the present disclosure may be provided as a method, system, or computer program product. Accordingly, the present disclosure may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present disclosure may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and so forth) having computer-usable program code embodied therein.
The above are merely examples of the present disclosure, and are not intended to limit the present disclosure. Various modifications and variations of this disclosure will be apparent to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present disclosure should be included in the scope of the claims of the present disclosure.

Claims (10)

1. A dynamic simulation test method for AS5643 network is characterized by comprising the following steps:
importing an interface control file, wherein the interface control file comprises node attribute configuration information of each simulation node, at least one node message information and at least one message variable information corresponding to the node message information;
respectively generating node configuration files corresponding to the simulation nodes based on the node attribute configuration information of the simulation nodes;
respectively generating an equipment model corresponding to each simulation node based on the at least one node message information of each simulation node and at least one message variable information corresponding to the node message information;
and accessing the equipment model corresponding to each simulation node into an AS5643 network for dynamic simulation test based on the node configuration file of each simulation node to obtain a simulation test result.
2. The method according to claim 1, wherein the node packet information at least includes a message ID and a message ICD, and the generating the device model corresponding to each simulation node based on the at least one node packet information of each simulation node and at least one packet variable information corresponding to the node packet information respectively comprises:
establishing an incidence relation between the message ID and the message ICD based on the message ID and the message ICD in the at least one node message information of each simulation node;
respectively generating message configuration files corresponding to the node message information based on the at least one node message information of each simulation node; generating a Simulink message read-write module corresponding to the message configuration file according to the message configuration file, and determining that the identifier of the Simulink message read-write module is the message ID in the node message information corresponding to the message configuration file;
generating a packing module and a unpacking module corresponding to the message variable information based on the at least one message variable information corresponding to the node message information, and determining that the identifications of the packing module and the unpacking module are the ICDs in the node message information corresponding to the message variable information;
according to the incidence relation between the message ID and the message ICD, establishing read-write association between the Simulink message read-write module corresponding to the same node message information and the packing module and the unpacking module;
for any of the simulation nodes: and combining the packing module and the unpacking module corresponding to the simulation node to generate an equipment model corresponding to the simulation node.
3. The method of claim 2, further comprising:
based on the at least one message variable information corresponding to the node message information, a variable input pin and a variable output pin corresponding to each message variable information are respectively created in the Simulink message read-write module corresponding to the node message information.
4. The method of claim 2, wherein, at said pair of any of said simulation nodes: combining the packing module and the unpacking module corresponding to the simulation node, and after generating the device model corresponding to the simulation node, the method further comprises:
and adding a load counting module to the equipment model so as to enable the load counting module to count the network load information of the node interface.
5. The method of claim 4, wherein the load statistics module comprises a statistical write bandwidth module and a statistical read bandwidth module, and wherein adding a load statistics module to the device model comprises:
adding the statistical write bandwidth module to the packing module in the equipment model so that the statistical write bandwidth module performs statistics on the write bandwidth of the equipment model;
and adding the statistical reading bandwidth module to the unpacking module in the equipment model so as to enable the statistical reading bandwidth module to perform statistics on the reading bandwidth of the equipment model.
6. The method of claim 1, wherein the accessing the device model corresponding to each simulation node into an AS5643 network for dynamic simulation testing based on the node configuration file of each simulation node to obtain a simulation test result comprises:
respectively configuring hardware parameters of the AS5643 simulation board card corresponding to each simulation node based on the node configuration file of each simulation node;
and accessing the equipment model corresponding to each simulation node into an AS5643 network for dynamic simulation test through each AS5643 simulation board card configured with hardware parameters to obtain a simulation test result.
7. The method of claim 1, wherein the node attribute configuration information comprises at least a node type, a node identification, a node rate, and start of frame packet information.
8. The method of claim 7, wherein the node types include a control type and a remote type, and wherein accessing the device model corresponding to each simulation node into an AS5643 network for dynamic simulation testing based on the node configuration file of each simulation node to obtain a simulation test result comprises:
determining the simulation node with the node type as the control type as a simulation main node, and determining the simulation node with the node type as the remote type as a simulation slave node;
downloading the equipment model corresponding to the simulation main node to a first simulation computer based on the node configuration file of the simulation main node;
downloading the device model corresponding to the simulation slave node into a second simulation computer based on the node profile of the simulation slave node;
and accessing the first simulation computer and the second simulation computer to an AS5643 network for dynamic simulation test to obtain a simulation test result.
9. The method of claim 1, further comprising:
configuring a monitoring node; and accessing the monitoring node to the AS5643 network so AS to count the bandwidth data of the AS5643 network in each preset period.
10. An AS5643 network dynamic simulation test device is characterized by comprising: an interface control file importing unit, a node configuration file generating unit, an equipment model generating unit and a simulation testing unit,
the interface control file importing unit is used for importing an interface control file, wherein the interface control file comprises node attribute configuration information of each simulation node, at least one node message information and at least one message variable information corresponding to the node message information;
the node configuration file generating unit is configured to generate node configuration files corresponding to the simulation nodes respectively based on the node attribute configuration information of the simulation nodes;
the device model generating unit is configured to generate device models corresponding to the simulation nodes respectively based on the at least one node packet information of each simulation node and at least one packet variable information corresponding to the node packet information;
the simulation testing unit is configured to access the device model corresponding to each simulation node to an AS5643 network for dynamic simulation testing based on the node configuration file of each simulation node, so AS to obtain a simulation testing result.
CN202110988740.0A 2021-08-26 2021-08-26 AS5643 network dynamic simulation test method and device Pending CN113645082A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110988740.0A CN113645082A (en) 2021-08-26 2021-08-26 AS5643 network dynamic simulation test method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110988740.0A CN113645082A (en) 2021-08-26 2021-08-26 AS5643 network dynamic simulation test method and device

Publications (1)

Publication Number Publication Date
CN113645082A true CN113645082A (en) 2021-11-12

Family

ID=78424026

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110988740.0A Pending CN113645082A (en) 2021-08-26 2021-08-26 AS5643 network dynamic simulation test method and device

Country Status (1)

Country Link
CN (1) CN113645082A (en)

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040199370A1 (en) * 2003-04-01 2004-10-07 Microsoft Corp. Flexible network simulation tools and related methods
WO2009105459A2 (en) * 2008-02-18 2009-08-27 Ita Software, Inc. Methods and systems to test airline information systems
US7826381B1 (en) * 2008-05-30 2010-11-02 Spirent Communications, Inc. Method and device test data streams bound to emulated devices
CN102480467A (en) * 2010-11-25 2012-05-30 上海宇芯科技有限公司 SOC (System on a Chip) software and hardware collaborative simulation verification method based on network communication protocol
CN104765709A (en) * 2015-03-10 2015-07-08 中国电子科技集团公司第十研究所 Multi-channel bus data simulation system
CN106982140A (en) * 2017-03-31 2017-07-25 北京润科通用技术有限公司 A kind of information flow emulation mode and system
CN107241234A (en) * 2017-08-09 2017-10-10 北京润科通用技术有限公司 A kind of AS5643 network simulation methods and system
CN108170569A (en) * 2017-12-13 2018-06-15 中国航空工业集团公司成都飞机设计研究所 A kind of integrated form 1394B bus network emulators
US20190096275A1 (en) * 2017-09-26 2019-03-28 The Boeing Company Flight simulator and method of use
CN110502795A (en) * 2019-07-23 2019-11-26 中国航空无线电电子研究所 External simulation model accesses middleware
CN112286512A (en) * 2020-10-30 2021-01-29 西南电子技术研究所(中国电子科技集团公司第十研究所) UI management subsystem of avionics simulation test platform
CN113050920A (en) * 2021-04-25 2021-06-29 中航机载系统共性技术有限公司 Reliability analysis method for reconfigurable system

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040199370A1 (en) * 2003-04-01 2004-10-07 Microsoft Corp. Flexible network simulation tools and related methods
WO2009105459A2 (en) * 2008-02-18 2009-08-27 Ita Software, Inc. Methods and systems to test airline information systems
US7826381B1 (en) * 2008-05-30 2010-11-02 Spirent Communications, Inc. Method and device test data streams bound to emulated devices
CN102480467A (en) * 2010-11-25 2012-05-30 上海宇芯科技有限公司 SOC (System on a Chip) software and hardware collaborative simulation verification method based on network communication protocol
CN104765709A (en) * 2015-03-10 2015-07-08 中国电子科技集团公司第十研究所 Multi-channel bus data simulation system
CN106982140A (en) * 2017-03-31 2017-07-25 北京润科通用技术有限公司 A kind of information flow emulation mode and system
CN107241234A (en) * 2017-08-09 2017-10-10 北京润科通用技术有限公司 A kind of AS5643 network simulation methods and system
US20190096275A1 (en) * 2017-09-26 2019-03-28 The Boeing Company Flight simulator and method of use
CN108170569A (en) * 2017-12-13 2018-06-15 中国航空工业集团公司成都飞机设计研究所 A kind of integrated form 1394B bus network emulators
CN110502795A (en) * 2019-07-23 2019-11-26 中国航空无线电电子研究所 External simulation model accesses middleware
CN112286512A (en) * 2020-10-30 2021-01-29 西南电子技术研究所(中国电子科技集团公司第十研究所) UI management subsystem of avionics simulation test platform
CN113050920A (en) * 2021-04-25 2021-06-29 中航机载系统共性技术有限公司 Reliability analysis method for reconfigurable system

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
HAOWEI BAI: "Analysis of a SAE AS5643 Mil-1394b Based High-Speed Avionics Network Architecture for Space and Defense Applications", 《 2007 IEEE AEROSPACE CONFERENCE》 *
王晓梅;: "基于AS5463协议的飞行管理仿真系统的设计", 《现代电子技术》, no. 02 *
韩一鹏等: "一种SAE AS5643三节点仿真设备设计与实现", 《万方数据库》 *

Similar Documents

Publication Publication Date Title
Couvillion et al. Performability modeling with UltraSAN
CN111813869B (en) Distributed data-based multi-task model training method and system
CN113434355B (en) Module verification method, UVM verification platform, electronic device and storage medium
CN108572823A (en) Front and back end development management method and system based on interface engine
CN109254922A (en) A kind of automated testing method and device of server B MC Redfish function
CN109379299A (en) A kind of method for limiting of data traffic, device and system
CN111159897B (en) Target optimization method and device based on system modeling application
CN110941934A (en) FPGA prototype verification development board segmentation simulation system, method, medium and terminal
CN108427635A (en) Quickly method, server and the computer readable storage medium of test web page
CN113645082A (en) AS5643 network dynamic simulation test method and device
CN111182006B (en) Method and device for mapping physical cluster into cloud computing resource
CN112947907A (en) Method for creating code branch
CN106033211B (en) A kind of method and device of control gluing board rubber head cleaning
CN113807969A (en) Parallel verification method for service system and related equipment
CN112114931B (en) Deep learning program configuration method and device, electronic equipment and storage medium
CN114021715A (en) Deep learning training method based on Tensorflow framework
CN109426559B (en) Command issuing method and device, storage medium and processor
CN110442501A (en) The method, apparatus and electronic equipment of analog service exception
CN109901990B (en) Method, device and equipment for testing service system
CN113987725B (en) Automatic generation method for variable logic relationship of DCS transparent transmission network of nuclear power station
CN110956672A (en) Marketing strategy construction method and device
CN117130946B (en) Test scene generation method and device, electronic equipment and readable storage medium
CN109428743A (en) QoS is configured with the method for virtual machine (vm) migration, server, interchanger and system
CN114006848A (en) Method, system, equipment and storage medium for monitoring equipment clone simulation
CN114826994A (en) User environment playback method, system, electronic device and readable storage medium

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