Real-time data acquisition method and device based on reflective memory network and middleware technology
A technology of real-time data acquisition and reflective memory network, applied in the field of avionics system simulation test, can solve the problems that the test data cannot meet the accuracy and timeliness, the data of each node cannot be transmitted normally, and the accuracy of the test results is affected. The effect of ensuring accuracy, low data transmission delay, and guaranteed reliability
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0048] Such as figure 1 as shown,
[0049] The real-time data acquisition method based on reflective memory network and middleware technology includes the following steps:
[0050] Step 100: Construct reflective memory network.
[0051] The reflective memory network is a fiber-based ultra-high-speed shared memory, real-time and deterministic network.
[0052] Step 110: Collect the data of the reflective memory network and write it into a pre-configured local cache space.
[0053] The size of the pre-configured local cache space is determined according to the address space of the reflective memory card to be used for real-time data collection.
[0054] Step 120: Analyze the data in the local cache space and write it into the pre-configured ring cache space according to the set period.
[0055] Step 130: Read the data in the ring buffer space and write it into the middleware.
[0056] Step 140: Read the middleware data and write it into the data monitoring node.
[0057] T...
Embodiment 2
[0059] Such as figure 2 As shown, the real-time data acquisition method based on reflective memory network and middleware technology includes the following steps:
[0060] Step 200: Designate the address of the reflective memory card to be used for real-time data collection in the reflective memory network.
[0061] The reflective memory network includes configuring reflective memory cards for hardware devices of each test node, and connecting all reflective memory cards with optical fibers.
[0062] Specify the data storage address of the data acquisition area in each reflective memory card, and the size of the data acquisition area is determined by the given data storage address value.
[0063] Step 210: Collect the data of the reflective memory network and write it into a pre-configured local cache space.
[0064] Arrange the given data storage addresses from small to large, and use the largest address plus the starting length of the address minus the smallest address as t...
Embodiment 3
[0074] image 3 It is a flow chart of reflective memory address data processing in the real-time data collection method based on reflective memory network and middleware technology. As shown in the figure, the reflection memory address data processing flow includes:
[0075] Step 300: Calculate the size mapsize of the space to be mapped from the given address, and the return value of the function is the length of the current mapping; that is, the size of the space to be mapped.
[0076] Step 310: Operate the hardware to map the space of mapsize, thereby obtaining specific data information of the space.
[0077] Configure a local cache space in the computer, the space size is equal to the return value of mapsize, used to store the address of the reflective memory card and the data stored at this address; create a routing table in the local cache space to store the reflective memory The address of the card and the data stored at that address.
[0078] Step 320: traverse the a...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


