0-1 dynamic data transmission and storage method and system based on reflective memory network

文档序号:1270531 发布日期:2020-08-25 浏览:2次 中文

阅读说明:本技术 基于反射内存网的0-1动态数据传输与存储方法及系统 (0-1 dynamic data transmission and storage method and system based on reflective memory network ) 是由 张业鑫 黄杉 徐啸 王立权 闫宏雁 柳超杰 程禹 郝恩义 柴娟芳 刘晓娟 于 2020-03-30 设计创作,主要内容包括:本发明提供了一种基于反射内存网的0-1动态数据传输与存储方法及系统,包括:仿真系统成员装订初值;仿真接口计算机触发实时仿真中断,进行0-1模式的计数,将中断和计数值发送给仿真系统成员;仿真系统成员在预设仿真周期内根据计数值计算VMIC数据读取和写入地址,读取数据进行解算,并将数据写入VMIC对应地址;数据存储计算机根据解算出的VMIC数据写入地址,实时读取当前地址上的数据,并将数据存储到计算机本地空间;仿真模型计算机在预设仿真周期内完成任务,判断是否满足预设仿真结束条件。本发明在确保仿真系统稳定性的条件下,有效地解决了仿真系统数据量受限的问题,提高了仿真系统的可扩展性。(The invention provides a method and a system for transmitting and storing 0-1 dynamic data based on a reflective memory network, wherein the method comprises the following steps: binding an initial value by a simulation system member; the simulation interface computer triggers real-time simulation interruption, counts in a 0-1 mode, and sends the interruption and the count value to a simulation system member; the simulation system member calculates VMIC data reading and writing addresses according to the count value in a preset simulation period, reads data for resolving, and writes the data into corresponding addresses of the VMIC; the data storage computer writes in the address according to VMIC data calculated out, read the data on the present address in real time, and store the data to the local space of the computer; and the simulation model computer completes the task in a preset simulation period and judges whether a preset simulation ending condition is met. The invention effectively solves the problem of limited data volume of the simulation system under the condition of ensuring the stability of the simulation system, and improves the expandability of the simulation system.)

1. A0-1 dynamic data transmission and storage method based on a reflective memory network is characterized by comprising the following steps:

step M1: binding an initial value by a simulation system member to complete initialization;

step M2: the simulation interface computer triggers real-time simulation interruption, counts in a 0-1 mode, and broadcasts the interruption and the count value to the members of the simulation system;

step M3: the simulation system member calculates the required VMIC reflective memory network data reading and writing address according to the count value in a preset simulation period, reads the data for resolving, and writes the resolved data into the corresponding address of the VMIC reflective memory network;

step M4: the data storage computer reads data on the current address in real time according to the solved VMIC reflective memory network data write-in address and stores the data in the local space of the computer;

step M5: the simulation model computer completes data calculation in a preset simulation period and writes the calculated data into a corresponding VMIC reflective memory network, judges whether a preset simulation ending condition is met or not according to the data calculated by the simulation model computer, and if the preset simulation ending condition is met, the broadcast transmission simulation is interrupted, the work is stopped, and the simulation is ended; if the preset simulation end condition is not met, sending a work completion mark and an interrupt to the simulation interface computer in a point-to-point mode, and repeatedly executing the steps M2 to M5 until the simulation is ended;

the 0-1 mode is a count mode;

the point-to-point mode is a communication mode between the computers, the two computers independently send interrupt to communicate with each other, and the point-to-point mode is used for preventing the computers sending interrupt signals from influencing the normal work of the computers without responding and interrupting except the computers;

the simulation system members include a simulation model computer, a simulation interface computer, a target control computer, a turntable control computer, and/or a data storage computer.

2. The reflective memory network-based 0-1 dynamic data transmission and storage method according to claim 1, wherein the step M2 comprises: the real-time simulation system triggers a simulation time sequence through an accurate clock of an RTX real-time operating system of the simulation interface computer, generates a count value in real time, and broadcasts and sends the count value to members of the simulation system in real time through a VMIC reflective memory network.

3. The reflective memory network-based 0-1 dynamic data transmission and storage method according to claim 1, wherein the step M3 comprises: specifying a reflective memory space region of a simulation system member according to a simulation communication address required to be executed in simulation, obtaining a base address according to the reflective memory space region of the simulation system member, and calculating corresponding VMIC reflective memory network data reading and writing addresses in real time according to the count value and the base address of the simulation system member in a preset simulation period;

write address a + n × m + l (1)

Wherein a represents a base address specified by the emulated communication protocol; n denotes the total length of data of one simulation cycle, m is 0 or 1, l denotes an address offset, and l is {0,1, 2.

4. The reflective memory network based 0-1 dynamic data transmission and storage method according to claim 1, wherein the target control computer is responsible for receiving a target control command calculated by the simulation model computer to simulate the motion of a control target;

and the turntable control computer is used for receiving the turntable control command which is calculated by the simulation model computer to drive the turntable to move.

5. A0-1 dynamic data transmission and storage system based on reflective memory network, comprising:

module M1: binding an initial value by a simulation system member to complete initialization;

module M2: the simulation interface computer triggers real-time simulation interruption, counts in a 0-1 mode, and broadcasts the interruption and the count value to the members of the simulation system;

module M3: the simulation system member calculates the required VMIC reflective memory network data reading and writing address according to the count value in a preset simulation period, reads the data for resolving, and writes the resolved data into the corresponding address of the VMIC reflective memory network;

module M4: the data storage computer reads data on the current address in real time according to the solved VMIC reflective memory network data write-in address and stores the data in the local space of the computer;

module M5: the simulation model computer completes data calculation in a preset simulation period and writes the calculated data into a corresponding VMIC reflective memory network, judges whether a preset simulation ending condition is met or not according to the data calculated by the simulation model computer, and if the preset simulation ending condition is met, the broadcast transmission simulation is interrupted, the work is stopped, and the simulation is ended; if the preset simulation end condition is not met, sending a work completion mark and an interrupt to the simulation interface computer in a point-to-point mode, and repeatedly triggering the module M2 to the module M5 to execute until the simulation is ended;

the 0-1 mode is a count mode;

the point-to-point mode is a communication mode between the computers, the two computers independently send interrupt to communicate with each other, and the point-to-point mode is used for preventing the computers sending interrupt signals from influencing the normal work of the computers without responding and interrupting except the computers;

the simulation system members include a simulation model computer, a simulation interface computer, a target control computer, a turntable control computer, and/or a data storage computer.

6. The reflective memory network based 0-1 dynamic data transmission and storage system according to claim 5, wherein said module M2 comprises: the real-time simulation system triggers a simulation time sequence through an accurate clock of an RTX real-time operating system of the simulation interface computer, generates a count value in real time, and broadcasts and sends the count value to members of the simulation system in real time through a VMIC reflective memory network.

7. The reflective memory network based 0-1 dynamic data transmission and storage system according to claim 5, wherein said module M3 comprises: specifying a reflective memory space region of a simulation system member according to a simulation communication address required to be executed by simulation, obtaining a base address according to the reflective memory space region of the simulation system member, and calculating corresponding VMIC reflective memory network data reading and writing addresses in real time according to the count value, the base address and the single-frame data length of the simulation system member in a preset simulation period;

write address a + n × m + l (1)

Wherein a represents a base address specified by the emulated communication protocol; n denotes the total length of data of one simulation cycle, m is 0 or 1, l denotes an address offset, and l is {0,1, 2.

8. The reflective memory network based 0-1 dynamic data transmission and storage system as claimed in claim 5, wherein said target control computer is responsible for receiving target control commands calculated by said simulation model computer to simulate the movement of a control target;

and the turntable control computer is used for receiving the turntable control command which is calculated by the simulation model computer to drive the turntable to move.

9. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 4.

10. A method for transmitting and storing data of a guidance control semi-physical simulation system in real time, which is characterized in that the guidance control semi-physical simulation system realizes the steps of the method of any one of claims 1 to 4.

Technical Field

The invention relates to the technical field of real-time simulation control, in particular to a 0-1 dynamic data transmission and storage method and a system based on a reflective memory network, and more particularly relates to a data real-time transmission and storage method of a guidance control semi-physical simulation system.

Background

The existing guidance control semi-physical simulation real-time system mostly adopts a VMIC reflection memory to transmit data, the data storage space of a VMIC reflection memory board card is 128M, the existing communication protocol classifies the simulation data and utilizes the 128M data space of the reflection memory to open up a plurality of shared intervals, each simulation subsystem reads the data from the reflection memory or writes the data into the reflection memory according to the communication protocol, and the simulation data are sequentially stored backwards from the starting address along with the promotion of the simulation process. However, with the development of missile technology, the missile range is longer and longer, the simulation data is more and more, the simulation data of one trajectory is hundreds of megabytes at a glance, and the defects of the existing transmission protocol are gradually revealed. When the originally allocated data space is not enough to accommodate the simulation data of the long trajectory, the mutual coverage of various simulation data occurs, which affects the data analysis after the test is finished, and even affects the test process. Therefore, under the existing communication protocol framework, the onboard memory size cannot meet the requirement of long trajectory simulation.

Aiming at the problem, a VMIC-based 0-1 dynamic data transmission and storage method is provided, the technology is mainly used for improving the service efficiency of a VMIC reflective memory card on-board memory, and the problem that the on-board memory is insufficient in the existing data transmission mode is solved.

Patent document CN109542346A (application number: 201811375264.X) discloses a dynamic data cache allocation method, apparatus, computer device and storage medium, wherein the method comprises: acquiring a dynamic data cache allocation request; preprocessing the dynamic data cache allocation request; splitting a management node according to the preprocessing result, and dynamically allocating a data cache for the management node; constructing a data transmission request, and writing the HOST data into a data cache dynamically allocated by the corresponding management node; and issuing the management node, and sending SG information to a flash memory management module so that the flash memory management module fills in a descriptor to read data from a data cache and write the data into a flash memory.

Disclosure of Invention

Aiming at the defects in the prior art, the invention aims to provide a method and a system for transmitting and storing '0-1' dynamic data based on a reflective memory network.

The invention provides a '0-1' dynamic data transmission and storage method based on a reflective memory network, which comprises the following steps:

step M1: binding an initial value by a simulation system member to complete initialization;

step M2: the simulation interface computer triggers real-time simulation interruption, counts in a '0-1' mode, and broadcasts the interruption and the count value to the members of the simulation system;

step M3: the simulation system member calculates the required VMIC reflective memory network data reading and writing address according to the count value in a preset simulation period, reads the data for resolving, and writes the resolved data into the corresponding address of the VMIC reflective memory network;

step M4: the data storage computer reads data on the current address in real time according to the solved VMIC reflective memory network data write-in address and stores the data in the local space of the computer;

step M5: the simulation model computer completes data calculation in a preset simulation period and writes the calculated data into a corresponding VMIC reflective memory network, judges whether a preset simulation ending condition is met or not according to the data calculated by the simulation model computer, and if the preset simulation ending condition is met, broadcasts and sends a simulation ending interrupt, stops working and ends the simulation; if the preset simulation end condition is not met, sending a work completion flag and an interrupt to the simulation interface computer in a point-to-point mode, and repeatedly executing the steps M2 to M5 until the simulation is ended;

the "0-1" mode is a counting mode;

the 'point-to-point' mode is a communication mode between computers, two computers independently send interrupts to communicate with each other, and the 'point-to-point' mode is used for preventing the computers sending interrupt signals from influencing the normal work of the computers without responding and interrupting except the computers;

the simulation system members include a simulation model computer, a simulation interface computer, a target control computer, a turntable control computer, and/or a data storage computer.

Preferably, the step M2 includes: the real-time simulation system triggers a simulation time sequence through an accurate clock of an RTX real-time operating system of the simulation interface computer, generates a count value in real time, and broadcasts and sends the count value to members of the simulation system in real time through a VMIC reflective memory network.

Preferably, the step M3 includes: specifying a reflective memory space region of a simulation system member according to a simulation communication address required to be executed by simulation, obtaining a base address according to the reflective memory space region of the simulation system member, and calculating corresponding VMIC reflective memory network data reading and writing addresses in real time according to the count value, the base address and the single-frame data length of the simulation system member in a preset simulation period;

write address a + n × m + l (1)

Wherein a represents a base address specified by the emulated communication protocol; n denotes the total length of data of one simulation cycle, m is 0 or 1, l denotes an address offset, and l is {0,1, 2.

Preferably, the target control computer is responsible for receiving the target control command calculated by the simulation model computer to simulate the movement of the control target;

and the turntable control computer is used for receiving the turntable control command which is calculated by the simulation model computer to drive the turntable to move.

The invention provides a '0-1' dynamic data transmission and storage system based on a reflective memory network, which comprises:

module M1: binding an initial value by a simulation system member to complete initialization;

module M2: the simulation interface computer triggers real-time simulation interruption, counts in a '0-1' mode, and broadcasts the interruption and the count value to the members of the simulation system;

module M3: the simulation system member calculates the required VMIC reflective memory network data reading and writing address according to the count value in a preset simulation period, reads the data for resolving, and writes the resolved data into the corresponding address of the VMIC reflective memory network;

module M4: the data storage computer reads data on the current address in real time according to the solved VMIC reflective memory network data write-in address and stores the data in the local space of the computer;

module M5: the simulation model computer completes data calculation in a preset simulation period and writes the calculated data into a corresponding VMIC reflective memory network, judges whether a preset simulation ending condition is met or not according to the data calculated by the simulation model computer, and if the preset simulation ending condition is met, broadcasts and sends a simulation ending interrupt, stops working and ends the simulation; if the preset simulation end condition is not met, sending a work completion mark and an interrupt to the simulation interface computer in a point-to-point mode, and repeatedly triggering the execution of the modules M2 to M5 until the simulation is ended;

the "0-1" mode is a counting mode;

the 'point-to-point' mode is a communication mode between computers, two computers independently send interrupts to communicate with each other, and the 'point-to-point' mode is used for preventing the computers sending interrupt signals from influencing the normal work of the computers without responding and interrupting except the computers;

the simulation system members include a simulation model computer, a simulation interface computer, a target control computer, a turntable control computer, and/or a data storage computer.

Preferably, said module M2 comprises: the real-time simulation system triggers a simulation time sequence through an accurate clock of an RTX real-time operating system of the simulation interface computer, generates a count value in real time, and broadcasts and sends the count value to members of the simulation system in real time through a VMIC reflective memory network.

Preferably, said module M3 comprises: specifying a reflective memory space region of a simulation system member according to a simulation communication address required to be executed by simulation, obtaining a base address according to the reflective memory space region of the simulation system member, and calculating corresponding VMIC reflective memory network data reading and writing addresses in real time according to the count value, the base address and the single-frame data length of the simulation system member in a preset simulation period;

write address a + n × m + l (1)

Wherein a represents a base address specified by the emulated communication protocol; n denotes the total length of data of one simulation cycle, m is 0 or 1, l denotes an address offset, and l is {0,1, 2.

Preferably, the target control computer is responsible for receiving the target control command calculated by the simulation model computer to simulate the movement of the control target;

and the turntable control computer is used for receiving the turntable control command which is calculated by the simulation model computer to drive the turntable to move.

According to the present invention, a computer-readable storage medium is provided, in which a computer program is stored, which, when being executed by a processor, carries out the steps of the method as described above.

According to the data real-time transmission and storage method of the guidance control semi-physical simulation system, the guidance control semi-physical simulation system realizes the steps of the method.

Compared with the prior art, the invention has the following beneficial effects:

1. the original simulation method adopts a sequential accumulation mode of counting values, makes full use of VMIC reflective memory space, can read data from a fixed data address and store the data after simulation is finished, is limited by the VMIC reflective memory space, and cannot normally operate a simulation system if the simulation data volume exceeds the reflective memory space. The '0-1' dynamic data transmission and storage method based on the VMIC adopts a '0-1' circulation mode for counting values, reasonably utilizes the VMIC reflective memory space, and adopts dynamic addresses to transmit and store data in real time in the simulation process;

2. the invention is an improvement of VMIC-based time sequence control in semi-physical simulation, and under the condition of ensuring the stability of a simulation system, the data volume which can be accommodated by the simulation system is not limited by a reflective memory space, thereby greatly improving the expandability of the simulation system;

3. the invention realizes real-time simulation by accurately timing the RTX real-time operating system, realizes data interaction among simulation system members based on the VMIC reflective memory, adopts a '0-1' counting mode, and reasonably utilizes the limited VMIC reflective memory space. The invention is characterized in that the real-time dynamic transmission and storage of simulation data are realized by using a '0-1' counting mode, and the data on the VMIC reflective memory space address is dynamically updated in real time in the simulation process.

Drawings

Other features, objects and advantages of the invention will become more apparent upon reading of the detailed description of non-limiting embodiments with reference to the following drawings:

FIG. 1 is a diagram illustrating a physical structure of a simulation member in a real-time simulation system according to the present invention;

FIG. 2 is a flow chart of a VMIC-based "0-1" dynamic data transfer and storage method described in the present invention;

FIG. 3 is a schematic diagram of an embodiment of a VMIC-based "0-1" dynamic data transfer and storage method according to the present invention.

Detailed Description

The present invention will be described in detail with reference to specific examples. The following examples will assist those skilled in the art in further understanding the invention, but are not intended to limit the invention in any way. It should be noted that it would be obvious to those skilled in the art that various changes and modifications can be made without departing from the spirit of the invention. All falling within the scope of the present invention.

As shown in fig. 1 and fig. 2, the method for transmitting and storing "0-1" dynamic data based on a reflective memory network according to the present invention includes:

step M1: binding an initial value by a simulation system member to complete initialization;

step M2: the simulation interface computer triggers real-time simulation interruption, counts in a '0-1' mode, and broadcasts the interruption and the count value to the members of the simulation system;

specifically, the step M2 includes: the Real-time simulation system triggers a simulation time sequence through an RTX (Real-time extension) Real-time operating system accurate clock of a simulation interface computer, generates a count value in Real time, and transmits the count value to a simulation system member through a VMIC reflective memory network in Real time broadcasting.

Step M3: the simulation system member calculates the required VMIC reflective memory network data reading and writing address according to the count value in a preset simulation period, reads the data for resolving, and writes the resolved data into the corresponding address of the VMIC reflective memory network;

specifically, the step M3 includes: specifying a reflective memory space region of a simulation system member according to a simulation communication address required to be executed by simulation, obtaining a base address according to the reflective memory space region of the simulation system member, and calculating corresponding VMIC reflective memory network data reading and writing addresses in real time according to the count value, the base address and the single-frame data length of the simulation system member in a preset simulation period;

write address a + n × m + l (1)

Wherein a represents a base address specified by the emulated communication protocol; n denotes the total length of data of one simulation cycle, m is 0 or 1, l denotes an address offset, and l is {0,1, 2.

Step M4: the data storage computer reads data on the current address in real time according to the solved VMIC reflective memory network data write-in address and stores the data in the local space of the computer;

step M5: the simulation model computer completes data calculation in a preset simulation period and writes the calculated data into a corresponding VMIC reflective memory network, judges whether a preset simulation ending condition is met or not according to the data calculated by the simulation model computer, and if the preset simulation ending condition is met, broadcasts and sends a simulation ending interrupt, stops working and ends the simulation; if the preset simulation end condition is not met, sending a work completion flag and an interrupt to the simulation interface computer in a point-to-point mode, and repeatedly executing the steps M2 to M5 until the simulation is ended;

the "0-1" mode is a counting mode;

the 'point-to-point' mode is a communication mode between computers, two computers independently send interrupts to communicate with each other, and the 'point-to-point' mode is used for preventing the computers sending interrupt signals from influencing the normal work of the computers without responding and interrupting except the computers;

the simulation system members include a simulation model computer, a simulation interface computer, a target control computer, a turntable control computer, and/or a data storage computer.

Specifically, the target control computer is responsible for receiving a target control instruction calculated by the simulation model computer to simulate the motion of a control target;

and the turntable control computer is used for receiving the turntable control command which is calculated by the simulation model computer to drive the turntable to move.

The working principle of the invention is as follows: the invention realizes real-time simulation by accurately timing the RTX real-time operating system, realizes data interaction among simulation system members based on the VMIC reflective memory, adopts a '0-1' counting mode, and reasonably utilizes the limited VMIC reflective memory space. The invention is characterized in that the real-time dynamic transmission and storage of simulation data are realized by using a '0-1' counting mode, and the data on the VMIC reflective memory space address is dynamically updated in real time in the simulation process.

As shown in fig. 1 and fig. 2, the present invention provides a "0-1" dynamic data transmission and storage system based on reflective memory network, which includes:

module M1: binding an initial value by a simulation system member to complete initialization;

module M2: the simulation interface computer triggers real-time simulation interruption, counts in a '0-1' mode, and broadcasts the interruption and the count value to the members of the simulation system;

specifically, the module M2 includes: the Real-time simulation system triggers a simulation time sequence through an RTX (Real-time extension) Real-time operating system accurate clock of a simulation interface computer, generates a count value in Real time, and transmits the count value to a simulation system member through a VMIC reflective memory network in Real time broadcasting.

Module M3: the simulation system member calculates the required VMIC reflective memory network data reading and writing address according to the count value in a preset simulation period, reads the data for resolving, and writes the resolved data into the corresponding address of the VMIC reflective memory network;

specifically, the module M3 includes: specifying a reflective memory space region of a simulation system member according to a simulation communication address required to be executed by simulation, obtaining a base address according to the reflective memory space region of the simulation system member, and calculating corresponding VMIC reflective memory network data reading and writing addresses in real time according to the count value, the base address and the single-frame data length of the simulation system member in a preset simulation period;

write address a + n × m + l (1)

Wherein a represents a base address specified by the emulated communication protocol; n denotes the total length of data of one simulation cycle, m is 0 or 1, l denotes an address offset, and l is {0,1, 2.

Module M4: the data storage computer reads data on the current address in real time according to the solved VMIC reflective memory network data write-in address and stores the data in the local space of the computer;

module M5: the simulation model computer completes data calculation in a preset simulation period and writes the calculated data into a corresponding VMIC reflective memory network, judges whether a preset simulation ending condition is met or not according to the data calculated by the simulation model computer, and if the preset simulation ending condition is met, broadcasts and sends a simulation ending interrupt, stops working and ends the simulation; if the preset simulation end condition is not met, sending a work completion mark and an interrupt to the simulation interface computer in a point-to-point mode, and repeatedly triggering the execution of the modules M2 to M5 until the simulation is ended;

the "0-1" mode is a counting mode;

the 'point-to-point' mode is a communication mode between computers, two computers independently send interrupts to communicate with each other, and the 'point-to-point' mode is used for preventing the computers sending interrupt signals from influencing the normal work of the computers without responding and interrupting except the computers;

the simulation system members include a simulation model computer, a simulation interface computer, a target control computer, a turntable control computer, and/or a data storage computer.

Specifically, the target control computer is responsible for receiving a target control instruction calculated by the simulation model computer to simulate the motion of a control target;

and the turntable control computer is used for receiving the turntable control command which is calculated by the simulation model computer to drive the turntable to move.

The working principle of the invention is as follows: the invention realizes real-time simulation by accurately timing the RTX real-time operating system, realizes data interaction among simulation system members based on the VMIC reflective memory, adopts a '0-1' counting mode, and reasonably utilizes the limited VMIC reflective memory space. The invention is characterized in that the real-time dynamic transmission and storage of simulation data are realized by using a '0-1' counting mode, and the data on the VMIC reflective memory space address is dynamically updated in real time in the simulation process.

According to the present invention, a computer-readable storage medium is provided, in which a computer program is stored, which, when being executed by a processor, carries out the steps of the method as described above.

According to the data real-time transmission and storage method of the guidance control semi-physical simulation system, the guidance control semi-physical simulation system realizes the steps of the method.

The following examples illustrate the invention in further detail:

the embodiment is described with reference to fig. 3, and the embodiment is a specific implementation process of the VMIC-based "0-1" dynamic data transmission and storage method specifically described:

referring to fig. 3, the core of the implementation of the VMIC-based "0-1" dynamic data transmission and storage method is to reuse the VMIC reflective memory space through a "0-1" mode triggering mechanism, and dynamically switch the VMIC reflective memory address in real time. The data interaction and storage process is as follows:

the simulation system member reads a count value m in real time through a VMIC reflective memory, wherein the count value m is obtained through (k mod 2), and the (k mod 2) represents a remainder obtained by dividing k by 2; m is the dynamic switching back and forth between 0 and 1, the corresponding reflective memory address can also be dynamically switched back and forth, and k represents the kth simulation cycle;

the simulation system member combines the real-time reading count value m through a simulation communication protocol formulated by a simulation system designer to calculate the corresponding VMIC reflection memory data reading and writing address in real time, and the specific numerical formula of the address is as follows:

write address a + n × m + l (1)

Wherein a represents a base address specified by the emulated communication protocol; n denotes the total length of data of one simulation cycle, m is 0 or 1, l denotes an address offset, and l is {0,1, 2.

The simulation system member obtains real-time input data from the resolved VMIC reflective memory data reading address, correspondingly processes the data, completes the work of the simulation system member, and outputs the processed data to the resolved VMIC reflective memory data writing address;

the data storage computer writes the address according to the calculated VMIC reflection memory data, reads the data on the address in real time, and stores the data in the local space of the computer;

a VMIC-based 0-1 dynamic data transmission and storage method repeatedly utilizes a VMIC reflection memory space, and data of a k +2 simulation period can cover data of a k simulation period, so that a data storage computer is required to read and store the data in real time before the data of the k simulation period is covered.

Part members of the simulation system can read data written by other simulation system members through the VMIC reflective memory, and in order to prevent read-write conflict of the same VMIC reflective memory address, the specified data reads data from the address corresponding to the count value (1-m), and writes data in the address corresponding to the count value m.

A VMIC-based 0-1 dynamic data transmission and storage method relates to the technical field of real-time simulation control and solves the problem of limitation of data transmission and storage caused by limited reflective memory space of a VMIC in the existing real-time simulation system. The real-time simulation system triggers a simulation time sequence through an accurate clock of an RTX real-time operating system of the simulation interface computer, generates a count value in real time, and sends the count value to members in the simulation system in real time through a VMIC reflective memory network, and the members in the simulation system calculate data reading and storage addresses according to the real-time count value. The original simulation method adopts a sequential accumulation mode of counting values, makes full use of VMIC reflective memory space, can read data from a fixed data address and store the data after simulation is finished, is limited by the VMIC reflective memory space, and cannot normally operate a simulation system if the simulation data volume exceeds the reflective memory space. A count value of a 0-1 dynamic data transmission and storage method based on the VMIC adopts a 0-1 circulation mode, a VMIC reflection memory space is reasonably utilized, and dynamic addresses are adopted to transmit and store data in real time in a simulation process.

Those skilled in the art will appreciate that, in addition to implementing the systems, apparatus, and various modules thereof provided by the present invention in purely computer readable program code, the same procedures can be implemented entirely by logically programming method steps such that the systems, apparatus, and various modules thereof are provided in the form of logic gates, switches, application specific integrated circuits, programmable logic controllers, embedded microcontrollers and the like. Therefore, the system, the device and the modules thereof provided by the present invention can be considered as a hardware component, and the modules included in the system, the device and the modules thereof for implementing various programs can also be considered as structures in the hardware component; modules for performing various functions may also be considered to be both software programs for performing the methods and structures within hardware components.

The foregoing description of specific embodiments of the present invention has been presented. It is to be understood that the present invention is not limited to the specific embodiments described above, and that various changes or modifications may be made by one skilled in the art within the scope of the appended claims without departing from the spirit of the invention. The embodiments and features of the embodiments of the present application may be combined with each other arbitrarily without conflict.

12页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种数据存储方法、设备、计算机程序及存储介质

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类