CN117909190A - Distributed joint simulation standard test model construction and evaluation method - Google Patents

Distributed joint simulation standard test model construction and evaluation method Download PDF

Info

Publication number
CN117909190A
CN117909190A CN202311860559.7A CN202311860559A CN117909190A CN 117909190 A CN117909190 A CN 117909190A CN 202311860559 A CN202311860559 A CN 202311860559A CN 117909190 A CN117909190 A CN 117909190A
Authority
CN
China
Prior art keywords
model
data
simulation
distributed
standard test
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
CN202311860559.7A
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.)
AVIC First Aircraft Institute
Original Assignee
AVIC First Aircraft Institute
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 AVIC First Aircraft Institute filed Critical AVIC First Aircraft Institute
Priority to CN202311860559.7A priority Critical patent/CN117909190A/en
Publication of CN117909190A publication Critical patent/CN117909190A/en
Pending legal-status Critical Current

Links

Landscapes

  • Computer And Data Communications (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application belongs to the field of distributed joint simulation, and relates to a method for constructing and evaluating a standard test model of distributed joint simulation, wherein in the process of system integrated simulation, models established by different software are distributed on different computing resources, and interactive connection is established through data communication; aiming at the distributed simulation model, constructing a star-shaped interactive communication test model; aiming at the interactive communication test model, establishing a test data sending/receiving rule; when the emphasis test is needed, only the number of the multi-port interaction variables of each model is increased, and the data transmission/reception rule is unchanged; whether all the interactive variable port data are transmitted correctly or not can be detected through the distributed test model, the correctness of the simulation result is detected, the rationality of interface, communication step length and simulation step length configuration is detected, and the calculation efficiency of the distributed joint simulation model is improved.

Description

Distributed joint simulation standard test model construction and evaluation method
Technical Field
The application belongs to the field of distributed joint simulation, and particularly relates to a distributed joint simulation standard test model construction and evaluation method.
Background
In the field of large-system integrated simulation application, models established by different software are distributed on different computing resources, and the large-system multi-source heterogeneous joint simulation integration is realized through data communication suggestion interactive connection, so that the method is a popular technical solution at present.
In recent years, corresponding joint simulation tools are gradually emerging, and how to evaluate the tools in a test and confirm the simulation precision performance is a troublesome problem. The distributed joint simulation standard test model construction and evaluation method can strictly reflect the performance result of the distributed joint simulation and solve the problem of difficult evaluation of simulation tools and simulation performance.
Disclosure of Invention
The application aims to provide a distributed joint simulation standard test model construction and evaluation method, which aims to solve the problem that the simulation precision performance is difficult to evaluate accurately and efficiently.
The technical scheme of the application is as follows: a distributed joint simulation standard test model construction and evaluation method comprises the following steps: the method comprises the steps of obtaining models used in an integrated simulation process of all systems, respectively arranging different models on different computing resources, and numbering each model;
The computing resources corresponding to any model acquire address information of computing resources corresponding to other models, register and set interfaces, and store different interface functions for different computing resources respectively; after any model sends out data, different interface functions are respectively called to the data of all other models, and then each model receives corresponding data through different interface functions.
Preferably, a model sending out data is used as a release model, before any model sends out data, the numbers of the release model and the target model are obtained, and then the amplitude/magnitude is set according to the order of the numbers of the target model and the release model.
Preferably, when the data sent by any model is a fixed value, the magnitude of the data is set according to the sequence of the numbers of the target model and the release model; if the frequency of the transmitted data changes, the magnitude is set according to the sequence of the number of the target model and the release model.
Preferably, when the emphasis test is performed, each model increases the number of multi-port interaction variables, and when any model receives or transmits data at one time, the multi-port interaction variable value is set behind the numbers of the target model and the release model; when any model receives or transmits data again, the multi-port interaction variable value is overlapped and arranged behind the numbers of the target model and the release model.
Preferably, after any model receives the data, judging whether all interface data arrive correctly, if so, judging that the detection simulation result is correct; and then interface detection, communication step length detection and simulation step length configuration detection are respectively carried out.
Preferably, the number of models is set to 5.
According to the distributed joint simulation standard test model construction and evaluation method, in the system integrated simulation process, models established by different software are distributed on different computing resources, and interactive connection is established through data communication; aiming at the distributed simulation model, constructing a star-shaped interactive communication test model; aiming at the interactive communication test model, establishing a test data sending/receiving rule; when the emphasis test is needed, only the number of the multi-port interaction variables of each model is increased, and the data transmission/reception rule is unchanged; whether all the interactive variable port data are transmitted correctly or not can be detected through the distributed test model, the correctness of the simulation result is detected, the rationality of interface, communication step length and simulation step length configuration is detected, and the calculation efficiency of the distributed joint simulation model is improved.
Drawings
In order to more clearly illustrate the technical solution provided by the present application, the following description will briefly refer to the accompanying drawings. It will be apparent that the figures described below are merely some embodiments of the application.
FIG. 1 is a schematic diagram of a model interaction relationship tested by the present application;
FIG. 2 is a schematic diagram of the coding rule of the sending/receiving data of the model of the present application;
Fig. 3 is a schematic diagram of the transmit/receive data coding rule of the emphasis model according to the present application.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
A distributed joint simulation standard test model construction and evaluation method is provided, wherein models used in all system integrated simulation processes are obtained, different models are respectively arranged on different computing resources, and each model is numbered.
The computing resources corresponding to any model acquire address information of computing resources corresponding to other models, register and set interfaces, and store different interface functions for different computing resources respectively; after any model sends out data, different interface functions are respectively called to the data of all other models, and then each model receives corresponding data through different interface functions.
Preferably, 5 mutually independent models are set, each model transmits data to the other 4 models and receives data transmitted by the other 4 models, namely, a star-shaped interactive communication test model is constructed, and the interaction relation of the test models is shown in fig. 1.
Therefore, when the test evaluation is carried out, each model can synchronously evaluate all other models, meanwhile, the simulation precision is evaluated, and the evaluation method only needs to adopt the existing method, so that the evaluation efficiency and accuracy are effectively improved, and meanwhile, the structure is stable and the configuration is simple.
Each model may be numbered 1-5.
Preferably, the amplitude/magnitude of the data transmitted by each model follows a specific coding rule, the model transmitting the data is used as a release model, the numbers of the release model and the target model are acquired before any model transmits the data, and then the amplitude/magnitude is set according to the order of the numbers of the target model and the release model.
In one specific example, as shown in FIG. 2, model "1" sends a data magnitude or amplitude of "12" to model "2", and model "3" sends a data magnitude or amplitude of "13", and so on. Conversely, model "1" receives a data magnitude or amplitude value of "21" from model "2", a data magnitude or amplitude value of "31" from model "3", and so on. I.e., the source and destination of the data is determined from the magnitude or amplitude of the data transmitted.
Preferably, the transmitted data can be set arbitrarily, and when the data transmitted by any model is a fixed value, the magnitude of the data is set according to the sequence of the number of the target model and the number of the release model; if the frequency of sending data changes, the magnitude is set according to the sequence of the number of the target model and the release model, so that the efficiency of data transmission is improved.
Preferably, when the emphasis test is performed, each model increases the number of multi-port interaction variables, and when any model receives or transmits data at one time, the multi-port interaction variable value is set behind the numbers of the target model and the release model; when any model receives or transmits data again, the multi-port interaction variable value is overlapped and arranged behind the numbers of the target model and the release model. The transmit data amplitude/magnitude coding rule is shown in fig. 3.
Preferably, after any model receives the data, judging whether all interface data arrive correctly, if so, judging that the detection simulation result is correct; and then, interface detection, communication step length detection and simulation step length configuration are respectively carried out for rationality detection, and the unreasonable configuration is adjusted to improve the calculation efficiency.
Finally, it should be noted that: in the drawings of the disclosed embodiments, only the structures related to the embodiments of the present disclosure are referred to, and other structures can refer to the common design, so that the same embodiment and different embodiments of the present disclosure can be combined with each other under the condition of no conflict;
Finally: the foregoing description of the preferred embodiments of the invention is not intended to limit the invention to the precise form disclosed, and any such modifications, equivalents, and alternatives falling within the spirit and principles of the invention are intended to be included within the scope of the invention.

Claims (6)

1. A distributed joint simulation standard test model construction and evaluation method is characterized by comprising the following steps: the method comprises the steps of obtaining models used in an integrated simulation process of all systems, respectively arranging different models on different computing resources, and numbering each model;
The computing resources corresponding to any model acquire address information of computing resources corresponding to other models, register and set interfaces, and store different interface functions for different computing resources respectively; after any model sends out data, different interface functions are respectively called to the data of all other models, and then each model receives corresponding data through different interface functions.
2. The distributed joint simulation standard test model construction and evaluation method as claimed in claim 1, wherein: and taking the model sending out the data as a release model, acquiring the numbers of the release model and the target model before any model sends out the data, and setting the amplitude/magnitude according to the sequence of the numbers of the target model and the release model.
3. The method for constructing and evaluating the distributed joint simulation standard test model according to claim 2, wherein when the data transmitted by any one model is a fixed value, the magnitude of the data is set according to the sequence of the number of the target model and the number of the release model; if the frequency of the transmitted data changes, the magnitude is set according to the sequence of the number of the target model and the release model.
4. The method for constructing and evaluating the distributed joint simulation standard test model according to claim 1, wherein each model increases the number of multi-port interaction variables when the weighting test is performed, and sets the multi-port interaction variable value behind the numbers of the target model and the release model when any model receives or transmits data at one time; when any model receives or transmits data again, the multi-port interaction variable value is overlapped and arranged behind the numbers of the target model and the release model.
5. The method for constructing and evaluating the distributed joint simulation standard test model according to claim 1, wherein after any model receives data, whether all interface data arrive correctly is judged, if so, the detection simulation result is judged to be correct; and then interface detection, communication step length detection and simulation step length configuration detection are respectively carried out.
6. The distributed joint simulation standard test model construction and evaluation method according to claim 1, wherein the number of models is set to 5.
CN202311860559.7A 2023-12-31 2023-12-31 Distributed joint simulation standard test model construction and evaluation method Pending CN117909190A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311860559.7A CN117909190A (en) 2023-12-31 2023-12-31 Distributed joint simulation standard test model construction and evaluation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311860559.7A CN117909190A (en) 2023-12-31 2023-12-31 Distributed joint simulation standard test model construction and evaluation method

Publications (1)

Publication Number Publication Date
CN117909190A true CN117909190A (en) 2024-04-19

Family

ID=90693095

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311860559.7A Pending CN117909190A (en) 2023-12-31 2023-12-31 Distributed joint simulation standard test model construction and evaluation method

Country Status (1)

Country Link
CN (1) CN117909190A (en)

Similar Documents

Publication Publication Date Title
US7996818B1 (en) Method for testing using client specified references
CN108092854B (en) Test method and device for train-level Ethernet equipment based on IEC61375 protocol
CN111859832B (en) Chip simulation verification method and device and related equipment
CN103023708A (en) Method and system for testing communication protocol interface
CN105117345A (en) Interface testing method and device for application program
CN110798386B (en) Configurable CAN bus protocol transceiving test method and system
CN102707710A (en) Diagnosis function verification method and system for automobile electronic control unit
CN117909190A (en) Distributed joint simulation standard test model construction and evaluation method
CN115657646B (en) Test method and device of CAN controller
CN104866640A (en) Full FIFO (first in, first out) circuit design method and universal test bench of method
CN103368786A (en) Test method and test device of controller area network bus data
CN112866897B (en) Positioning measurement method, terminal and network node
CN113645052B (en) Firmware debugging method and related equipment
CN113835946A (en) Pressure testing method for data exchange
CN113986600A (en) Test method and device for chip serial interface and chip
CN109981394B (en) Communication method and device based on enhanced CAN bus protocol analyzer
CN112882069A (en) Single-flow multi-index test evaluation method and system for satellite navigation terminal
CN112764071B (en) Differential positioning system, differential positioning method, differential positioning device, storage medium and server
CN114189454B (en) Evaluation method, framework, device and electronic equipment of network scheduling strategy
CN114564135B (en) Aviation onboard software interactive communication node time delay testing tool
KR20120021855A (en) Integrated design method of communication protocols with sdl-opnet co-simmulation technique
CN117785720A (en) Method and device for testing CAN data consistency
CN117156475A (en) Wireless network reconnaissance interference semi-physical simulation device and method based on OPNET and USRPB210
CN116737227A (en) RTE interface document generation method and device
US7835354B2 (en) Modeling broadcast, multicast, point to point, and handshake communications over the same channel in a spin model checker

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