CN105550382B - A kind of AFDX data sampling recording equipment and method - Google Patents
A kind of AFDX data sampling recording equipment and method Download PDFInfo
- Publication number
- CN105550382B CN105550382B CN201510930649.8A CN201510930649A CN105550382B CN 105550382 B CN105550382 B CN 105550382B CN 201510930649 A CN201510930649 A CN 201510930649A CN 105550382 B CN105550382 B CN 105550382B
- Authority
- CN
- China
- Prior art keywords
- module
- data
- sampling
- configuration
- nucleus
- 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.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F17/00—Digital computing or data processing equipment or methods, specially adapted for specific functions
- G06F17/40—Data acquisition and logging
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B17/00—Systems involving the use of models or simulators of said systems
- G05B17/02—Systems involving the use of models or simulators of said systems electric
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Mathematical Physics (AREA)
- Software Systems (AREA)
- Computer Hardware Design (AREA)
- Automation & Control Theory (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Small-Scale Networks (AREA)
Abstract
AFDX data sampling recording equipment of the present invention, mechanism is sampled by a kind of timing data, so that data acquisition, data output process are transferred to acquisition equipment, no longer occupies application software process performance, while reducing host processor resources consumption, guarantee the real-time of acquisition data;Acquired data storage is exported process with sampled data by the double buffers of the first memory module and the second memory module and is isolated by the another present invention, ensure that the integrality of data, while different sampled points being supported to acquire the data of same data frame different location.AFDX data sampling recording method of the invention can store portion only comprising the stream of valid data (sampled data), be convenient for applied analysis;Different sampled points will be supported to acquire the data of same data frame different location by the double buffers of the first memory module and the second memory module simultaneously, so that the design of application software is more flexible.
Description
Technical field
The invention belongs to computer application technologies, are related to a kind of AFDX data sampling recording equipment.
Background technique
In tradition acquisition equipment, the acquisition and recording process of target data is to need to adopt to receive data and update as trigger point
The data segment of collection, while all bus datas are recorded, last state is kept to guarantee to select parameter, but is at a time obtained
To same frame on the data of different location may be from different data frame, and the sampled point for recording data is based on inquiry, protects
While card data are complete, also cause consumption resource excessive.
Summary of the invention
The purpose of the present invention: the present invention provides a kind of AFDX data sampling recording equipment, to solve traditional acquisition and recording
Technical problem present in equipment.
The technical solution of the invention is as follows:
A kind of AFDX data sampling recording equipment, is characterized in that, including configuration module, MAC nucleus module, data are adopted
Egf block core, timer module and data export nucleus module;Wherein, the configuration module connects outer input interface;
For configuring period, time migration, message identifier, sampling location, sampling width and output position;The MAC nucleus module, connects
The data from AFDX network are received, give data sampling nucleus module by output after redundancy management and filtering;The data sampling
Nucleus module stores the data from MAC nucleus module according to the message identifier of configuration module, and updates the storage;It is described fixed
When device module, timer is started according to cycle interruption, generates Interruption according to the time migration of configuration module, and will be in timing
Break signal, which is exported, exports nucleus module to data;The data export nucleus module, receive in the timing from timer module
Break signal, and configured with reference to the time migration of Current interrupt and the data of data sampling nucleus module are sent to target terminal;
The data sampling nucleus module includes enquiry module, the first memory module and the first update module;Wherein, described
Enquiry module is configured for receiving the data from the filtering module according to data search;First memory module, root
The data from the filtering module are filtered according to the message identifier of the configuration module, and filtered data are saved to first
Memory module;First update module is for updating first memory module;
The data output nucleus module includes the second memory module, the second update module and output module;Wherein, described
Second memory module, for being deposited according to the sampling location of the configuration module, sampling width and output position filtering described first
The data of module are stored up, and filtered data are saved to the second memory module;Second update module, it is described for updating
Second memory module;The output module, for exporting data to target terminal.
Above-mentioned MAC nucleus module includes integrity checking A module, integrity checking B module, redundancy management module and filtering
Module;Wherein, the redundancy management module, for managing the output of integrity checking A module and integrity checking B module;Institute
Filtering module is stated, data sampling nucleus module is connected to.
Above-mentioned timer module includes cycle interruption module, timing module and Interruption module;Wherein, in the period
Disconnected module generates the first interrupt signal according to the period of the configuration module;The timing module is sentenced according to the first interrupt signal
The starting and reset of disconnected timer;The Interruption module generates second according to the time migration of the configuration module and interrupts
Signal, and the second interrupt signal is exported and exports nucleus module to the data.
Above-mentioned first update module is described for updating for updating first memory module and the second update module
Second memory module is the mapping address of update module.
A kind of AFDX data sampling recording method, includes the following steps:
Step 1: if there is no configuration file, then configuration module is written into configuration file;
Step 2: checking configuration file, and look-up table is established according to configuration;Memory block is distributed for message, initializes all moulds
Block makes equipment completion be initialized into normal operating conditions;
Step 3: sending the data for needing to sample to acquisition and recording device using AFDX emulator;
Step 4: data submit " data sampling core " after " PHY chip ", " MAC core " verification;" the MAC core
The heart " verification includes IP fragmentation recombination function;
Step 5: " data sampling core " basis receives data header information query messages look-up table, and needs are sampled
Data storage updates buffer pointer to corresponding message memory block;The data header information includes hierarchical information and fragment
Location;
Step 6: when Interruption generates, copying data to adopting from information storage area according to the configuration of current time offset
Storage output buffer updates buffer area, is ready to complete signal to application software reported data;
Step 7: when application software, which receives data preparation completion timing, interrupts, reading and deposit from collector output buffer
Storage acquisition data;
Step 8: data are exported by configuration file and analyze result by application software.
In above-mentioned steps 2, look-up table is established according to configuration, specifically:
Step 2.1: having been positioned according to " message lookup table " that " virtual link ", " IP address ", " UDP port number " information are established
Whole message;
Step 2.2: according to " virtual link ", " IP address ", " IP fragmentation mark " information establish " fragmental messages look-up table is fixed
Position frament reassembling message ".
The present invention has the advantage that:
1, the present invention provides a kind of AFDX data sampling recording equipment, samples mechanism by a kind of timing data, makes total
It is transferred to acquisition equipment according to acquisition, data output process, no longer occupancy application software process performance, reduces host processor resources
While consumption, guarantee the real-time of acquisition data;The another present invention is delayed by the first memory module and the double of the second memory module
It rushes mechanism and acquired data storage is isolated with sampled data output process, ensure that the integrality of data, while difference being supported to adopt
Sampling point acquires the data of same data frame different location.
2, AFDX data sampling recording method of the invention, can store a only includes valid data (sampled data)
Stream is convenient for applied analysis;Difference will be supported by the double buffers of the first memory module and the second memory module simultaneously
Sampled point acquires the data of same data frame different location, so that the design of application software is more flexible.
Detailed description of the invention
Fig. 1 is the principle of the present invention figure.
Specific embodiment
As shown in Figure 1, the present invention provides a kind of AFDX data acquisition equipment, including configuration module, MAC nucleus module, number
Nucleus module is exported according to sampling module, timer module and data;Wherein:
Configuration module connects outer input interface;For configuring the period, time migration, message identifier, sampling location, adopting
Sample width and output position;
MAC nucleus module connects AFDX network interface, receives the data from AFDX network, and data are exported to number
According to sampling nucleus module;MAC nucleus module, including integrity checking A module, integrity checking B module, redundancy management module and
Filtering module;Wherein, redundancy management module, for managing the output of integrity checking A module and integrity checking B module;It crosses
Module is filtered, data sampling nucleus module is connected to.
Data core sampling module receives the data from MAC nucleus module, and according to the message identifier mistake of configuration module
Filter data, and filtered data are saved and updated;Data sampling nucleus module, including enquiry module, the first storage
Module, the first update module;Enquiry module is configured for receiving the data from filtering module, and according to data search;First
Memory module, according to the message identifier of configuration module filter the data from filtering module, and by filtered data save to
First memory module;First update module, for updating the first memory module.
Interrupt signal is exported and exports nucleus module to data by timer module;Including cycle interruption module, timing module
With Interruption module;Wherein, cycle interruption module generates the first interrupt signal according to the period of configuration module;Timing module,
The starting and reset of timer are judged according to the first interrupt signal;Interruption module is produced according to the time migration of configuration module
Raw second interrupt signal, and the second interrupt signal is exported and exports nucleus module to data.
Data export nucleus module, receive the timing interrupts from timer module, and send the data to target
Terminal.Data export nucleus module, including the second memory module, the second update module and output module;Wherein, the second storage mould
Block, for the data according to the first memory module of the sampling location of configuration module, sampling width and output position filtering, and incited somebody to action
Data after filter are saved to the second memory module;Second update module, for updating the second memory module;Output module is used for
Data are exported to target terminal.
In practical application, AFDX data sampling recording equipment provided by the invention: " MAC nucleus module " to AFDX data into
" data sampling core " is submitted to after row integrity checking, redundancy management, filtering;" data sampling core " checks sampling configuration,
The data frame for meeting sampling request is sampled, and storing data data frame is for " data output core " reading, memory block
Using double buffers to avoid sampled data damage;When sampling time point reaches, " data output core " will according to configuration
Data preparation to output buffer and notify application software read sampled data, output buffer equally use double buffers with
Ensure that application software reads data integrity;When application software receives sampled data signal, data are stored to sampled data stream.
The present invention provides a kind of AFDX data sampling recording equipment, and processing step is as follows:
Step 1: if there is no configuration file, then configuration module should be written in configuration file;
Step 2: checking configuration file, and look-up table is established according to configuration;Memory block is distributed for message, initializes all moulds
Block, so that equipment completion is initialized into normal operating conditions;
In step 2, look-up table is established according to configuration, specifically:
Step 2.1: basis " virtual link ", " IP address ", " UDP port number " information for positioning full message are established
" message lookup table ";
Step 2.2: for positioning basis " virtual link ", " IP address ", " IP fragmentation mark " information of frament reassembling message
" the fragmental messages look-up table " established;
Step 3: sending data (data for needing to sample) to acquisition and recording device using AFDX emulator;
Step 4: data by " PHY chip (physical chip) ", " MAC core (medium access core) " verification (including
IP fragmentation recombination function) submit " data sampling core " afterwards;
Step 5: " data sampling core " basis receives data header information query messages look-up table, and needs are sampled
Data storage updates buffer pointer to corresponding message memory block;
Step 6: when Interruption generates, copying data to defeated from information storage area according to the configuration of current time offset
Buffer area out updates buffer area, is ready to complete signal to application software reported data;
Step 7: when application software, which receives data preparation, to be completed to interrupt, reading and store from collector output buffer and adopt
Collect data;
Step 8: data are exported by configuration file and analyze result by application software.
Claims (6)
1. a kind of AFDX data sampling recording equipment, it is characterised in that: including configuration module, MAC nucleus module, data sampling mould
Block core, timer module and data export nucleus module;Wherein, the configuration module connects outer input interface;For
Configure period, time migration, message identifier, sampling location, sampling width and output position;The MAC nucleus module receives and
From the data of AFDX network, data sampling nucleus module is given by output after redundancy management and filtering;The data sampling core
Module stores the data from MAC nucleus module according to the message identifier of configuration module, and updates the storage;The timer
Module starts timer according to cycle interruption, generates Interruption according to the time migration of configuration module, and Interruption is believed
Number output give data export nucleus module;The data export nucleus module, receive the Interruption letter from timer module
Number, and configured with reference to the time migration of Current interrupt and the data of data sampling nucleus module are sent to target terminal;
The data sampling nucleus module, including enquiry module, the first memory module and the first update module;Wherein, described to look into
Module is ask for receiving the data from the filtering module, and is configured according to data search;First memory module, according to
The message identifier of the configuration module filters the data from the filtering module, and filtered data are saved to first and are deposited
Store up module;First update module is for updating first memory module;
The data export nucleus module, including the second memory module, the second update module and output module;Wherein, described
Two memory modules, for according to the sampling location of the configuration module, sampling width and output position filtering first storage
The data of module, and filtered data are saved to the second memory module;Second update module, for updating described
Two memory modules;The output module, for exporting data to target terminal.
2. AFDX data sampling recording equipment according to claim 1, it is characterised in that: the MAC nucleus module includes
Integrity checking A module, integrity checking B module, redundancy management module and filtering module;Wherein, the redundancy management module,
For managing the output of integrity checking A module and integrity checking B module;The filtering module is connected to data sampling core
Core module.
3. AFDX data sampling recording equipment according to claim 1, it is characterised in that: the timer module, including
Cycle interruption module, timing module and Interruption module;Wherein, the cycle interruption module, according to the configuration module
Period generates the first interrupt signal;The timing module judges the starting and reset of timer according to the first interrupt signal;It is described
Interruption module generates the second interrupt signal according to the time migration of the configuration module, and the second interrupt signal is exported
Nucleus module is exported to the data.
4. AFDX data sampling recording equipment according to claim 1, it is characterised in that: first update module is used for
First memory module and the second update module are updated, is reflecting for update module for updating second memory module
Penetrate address.
5. a kind of AFDX data sampling recording method, characterized by the following steps:
Step 1: if there is no configuration file, then configuration module is written into configuration file;
Step 2: checking configuration file, and look-up table is established according to configuration;Memory block is distributed for message, initializes all modules,
Equipment completion is set to be initialized into normal operating conditions;
Step 3: sending the data for needing to sample to acquisition and recording device using AFDX emulator;
Step 4: data submit " data sampling core " after " PHY chip ", " MAC core " verification;" MAC core " school
It tests including IP fragmentation recombination function;
Step 5: " data sampling core " basis receives data header information query messages look-up table, and the data that needs are sampled
Corresponding message memory block is stored, buffer pointer is updated;The data header information includes hierarchical information and fragment address;
Step 6: when Interruption generates, copying data to collector from information storage area according to the configuration of current time offset
Output buffer updates buffer area, is ready to complete signal to application software reported data;
Step 7: when application software, which receives data preparation completion timing, interrupts, reading and store from collector output buffer and adopt
Collect data;
Step 8: data are exported by configuration file and analyze result by application software.
6. AFDX data sampling recording method according to claim 5, it is characterised in that: in the step 2, set up according to matching
Vertical look-up table, specifically:
Step 2.1: " message lookup table " positioning established according to " virtual link ", " IP address ", " UDP port number " information completely disappears
Breath;
Step 2.2: " the fragmental messages look-up table positioning point established according to " virtual link ", " IP address ", " IP fragmentation mark " information
Piece recombinates message ".
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510930649.8A CN105550382B (en) | 2015-12-12 | 2015-12-12 | A kind of AFDX data sampling recording equipment and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510930649.8A CN105550382B (en) | 2015-12-12 | 2015-12-12 | A kind of AFDX data sampling recording equipment and method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105550382A CN105550382A (en) | 2016-05-04 |
CN105550382B true CN105550382B (en) | 2019-03-05 |
Family
ID=55829571
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510930649.8A Active CN105550382B (en) | 2015-12-12 | 2015-12-12 | A kind of AFDX data sampling recording equipment and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105550382B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108615270A (en) * | 2016-12-12 | 2018-10-02 | 中国航空工业集团公司西安航空计算技术研究所 | Data record method is safeguarded in flight based on ARINC717 agreements |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102541810A (en) * | 2011-12-29 | 2012-07-04 | 中国航空工业集团公司第六三一研究所 | Miniature low-power consumption comprehensive kernel processor based on avionics full duplex switched Ethernet (AFDX) |
CN103092106A (en) * | 2012-12-25 | 2013-05-08 | 中国航空工业集团公司第六三一研究所 | Remote intelligent interface unit and control method |
CN103684894A (en) * | 2012-09-07 | 2014-03-26 | 北京旋极信息技术股份有限公司 | Data acquisition method |
CN104486112A (en) * | 2014-12-09 | 2015-04-01 | 中国航空工业集团公司第六三一研究所 | Receiving processing method for data frame |
-
2015
- 2015-12-12 CN CN201510930649.8A patent/CN105550382B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102541810A (en) * | 2011-12-29 | 2012-07-04 | 中国航空工业集团公司第六三一研究所 | Miniature low-power consumption comprehensive kernel processor based on avionics full duplex switched Ethernet (AFDX) |
CN103684894A (en) * | 2012-09-07 | 2014-03-26 | 北京旋极信息技术股份有限公司 | Data acquisition method |
CN103092106A (en) * | 2012-12-25 | 2013-05-08 | 中国航空工业集团公司第六三一研究所 | Remote intelligent interface unit and control method |
CN104486112A (en) * | 2014-12-09 | 2015-04-01 | 中国航空工业集团公司第六三一研究所 | Receiving processing method for data frame |
Non-Patent Citations (1)
Title |
---|
基于FPGA的AFDX端系统设计;罗西;《中国硕士学位论文全文数据库(电子期刊)信息科技辑》;20120115;对比文件1的摘要,第三章,第四章 |
Also Published As
Publication number | Publication date |
---|---|
CN105550382A (en) | 2016-05-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7860943B2 (en) | Enhanced network direct attached storage controller | |
CN110213143B (en) | 1553B bus IP core and monitoring system | |
US8457128B2 (en) | Capturing packets with parallel capture engines | |
CN102761466B (en) | IEEE (Institute of Electrical and Electronics Engineers) 1394 bus data record processing system and method | |
CN113810791B (en) | Method for improving intelligent network card/DPU network telemetering technology performance | |
CN103384274B (en) | Public network based on http agreement connects the communication means of inner net computer | |
CN204425370U (en) | A kind of FC switch supervisory circuit | |
WO2012089079A1 (en) | Mobile terminal and method for processing test log thereof | |
CN103984662B (en) | A kind of method and apparatus of reading and writing data, storage system | |
CN110320891A (en) | Rail vehicle braking system CAN bus message maintenance monitoring system and monitoring method | |
CN107040405B (en) | Passive type various dimensions host Fingerprint Model construction method and its device under network environment | |
JP2010268434A (en) | Traffic receiver using parallel capture engines | |
CN102930614A (en) | Integrated vehicle equipment recorder and its recording method | |
CN104965676B (en) | A kind of access method of random access memory, device and control chip | |
JP5039292B2 (en) | Network adapter, communication system, and communication method | |
CN105993148B (en) | Network interface | |
CN105550382B (en) | A kind of AFDX data sampling recording equipment and method | |
CN111107050A (en) | Distributed wave recording method and device for power distribution network dynamic simulation system | |
CN110493085A (en) | Statistical method, system, electronic equipment and the medium of IPv6 active users | |
CN101539765B (en) | High-speed acquisition method and system of industrial process data | |
WO2023125056A1 (en) | Network data control method and apparatus, and storage medium and electronic device | |
CN114363304B (en) | RTP video stream storage and playing method and device | |
CN109089301A (en) | network data processing system and method | |
CN112566096B (en) | Method, device and equipment for acquiring LTE user position change information | |
CN106713008B (en) | The method that a kind of pair of EOC local-side device is tested for the property |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right |
Effective date of registration: 20221010 Address after: Room S303, Innovation Building, No. 25, Gaoxin 1st Road, Xi'an, Shaanxi 710075 Patentee after: XI'AN XIANGTENG MICROELECTRONICS TECHNOLOGY Co.,Ltd. Address before: No. 15, Jinye Second Road, Xi'an, Shaanxi 710065 Patentee before: AVIC XI''AN AERONAUTICS COMPUTING TECHNIQUE RESEARCH INSTITUTE |
|
TR01 | Transfer of patent right |