CN105550382A - AFDX (Avionics Full Duplex Switched Ethernet) data sampling rerecording equipment and method - Google Patents

AFDX (Avionics Full Duplex Switched Ethernet) data sampling rerecording equipment and method Download PDF

Info

Publication number
CN105550382A
CN105550382A CN201510930649.8A CN201510930649A CN105550382A CN 105550382 A CN105550382 A CN 105550382A CN 201510930649 A CN201510930649 A CN 201510930649A CN 105550382 A CN105550382 A CN 105550382A
Authority
CN
China
Prior art keywords
module
data
sampling
configuration
afdx
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.)
Granted
Application number
CN201510930649.8A
Other languages
Chinese (zh)
Other versions
CN105550382B (en
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.)
Xian Xiangteng Microelectronics Technology Co Ltd
Original Assignee
Xian Aeronautics Computing Technique Research Institute of AVIC
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 Xian Aeronautics Computing Technique Research Institute of AVIC filed Critical Xian Aeronautics Computing Technique Research Institute of AVIC
Priority to CN201510930649.8A priority Critical patent/CN105550382B/en
Publication of CN105550382A publication Critical patent/CN105550382A/en
Application granted granted Critical
Publication of CN105550382B publication Critical patent/CN105550382B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F17/00Digital computing or data processing equipment or methods, specially adapted for specific functions
    • G06F17/40Data acquisition and logging
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B17/00Systems involving the use of models or simulators of said systems
    • G05B17/02Systems 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

The invention discloses AFDX (Avionics Full Duplex Switched Ethernet) data sampling rerecording equipment. Through a timing data sampling mechanism, a data acquisition process and a data output process are transferred to acquisition equipment without occupying the processing performance of application software, and data acquisition instantaneity is guaranteed while the resource consumption of a host processor is reduced. In addition, an acquired data store process and a sampling data output process are isolated through a double-buffering mechanism of a first storage module and a second storage module, data integrity is guaranteed, and meanwhile, different sampling points are supported to acquire data on different positions of the same frame. The AFDX data sampling rerecording method can store one flow which contains effective data (sampling data), and is convenient for application analysis. Meanwhile, through the double-buffering mechanism of the first storage module and the second storage module, different sampling points can be supported to acquire the data on different positions of the same data frame, and therefore, the application software can be flexibly designed.

Description

A kind of AFDX data sampling recording unit and method
Technical field
The invention belongs to Computer Applied Technology field, relate to a kind of AFDX data sampling recording unit.
Background technology
In traditional collecting device, the acquisition and recording process of target data receives the data segment of data for the collection of trigger point renewal needs, record all bus datas simultaneously, to ensure that choose parameters keeps last state, but the data of diverse location may from different pieces of information frame on the same frame at a time got, and the sampled point of record data is based on inquiry, while ensureing data integrity, also causes consumption of natural resource excessive.
Summary of the invention
Object of the present invention: the invention provides a kind of AFDX data sampling recording unit, in order to solve the technical matters existed in traditional acquisition and recording equipment.
Technical solution of the present invention is:
A kind of AFDX data sampling recording unit, its special character is, comprises configuration module, MAC nucleus module, data sampling module core, timer module and data and exports nucleus module; Wherein, described configuration module, connects outer input interface; For configuration cycle, time migration, message identifier, sampling location, sampling width and outgoing position; Described MAC nucleus module, receives the data from AFDX network, exports to data sampling nucleus module by redundancy management with after filtering; Described data sampling nucleus module, stores the data from MAC nucleus module according to the message identifier of configuration module, and upgrades this storage; Described timer module, starts timer according to cycle interruption, produces Interruption according to the time migration of configuration module, and timing interrupts is exported to data output nucleus module; Described data export nucleus module, receive the timing interrupts from timer module, and with reference to the time migration configuration of Current interrupt, the data of data sampling nucleus module are sent to target terminal.
Above-mentioned MAC nucleus module comprises integrity checking A module, integrity checking B module, redundancy management module and filtering module; Wherein, described redundancy management module, for managing the output of integrity checking A module and integrity checking B module; Described filtering module, is connected to data sampling nucleus module.
Above-mentioned data sampling nucleus module comprises enquiry module, the first memory module and the first update module; Wherein, described enquiry module for receiving the data from described filtering module, and configures according to data search; Described first memory module, filters the data from described filtering module according to the message identifier of described configuration module, and the data after filtering are saved to the first memory module; Described first update module is for upgrading described first memory module.
Above-mentioned timer module comprises cycle interruption module, time block and Interruption module; Wherein, described cycle interruption module, produces the first look-at-me according to the cycle of described configuration module; Described time block, judges startup and the reset of timer according to the first look-at-me; Described Interruption module, produces the second look-at-me according to the time migration of described configuration module, and the second look-at-me is exported to described data output nucleus module.
Above-mentioned data export nucleus module and comprise the second memory module, the second update module and output module; Wherein, described second memory module, filters the data of described first memory module for the sampling location according to described configuration module, sampling width and outgoing position, and the data after filtering are saved to the second memory module; Described second update module, for upgrading described second memory module; Described output module, for exporting to target terminal by data.
Above-mentioned first update module for upgrading described first memory module and the second update module, for upgrading the mapping address that described second memory module is all update module.
The recording method of a kind of AFDX data sampling, comprises the steps:
Step 1: if there is no configuration file, then write configuration module by configuration file;
Step 2: check configuration file, and set up look-up table according to configuration; For message allocate storage, all modules of initialization, make equipment complete initialization and enter normal operating conditions;
Step 3: use AFDX emulator to send the data needing sampling to acquisition and recording device;
Step 4: data are submitted to after " PHY chip ", " MAC core " verification " data sampling core "; Described " MAC core " verification comprises IP fragmentation recombination function;
Step 5: " data sampling core " according to receiving data header information query messages look-up table, and by needing the data of sampling to be stored into corresponding message memory block, upgrades buffer pointer; Described data header information comprises hierarchical information and burst address;
Step 6: when Interruption produces, according to the configuration of current time offset from information storage area copies data to collector output buffer, upgrades buffer zone, is ready to complete signal to application software reported data;
Step 7: when application software receives the interruption of data encasement completion timing, read and storage of collected data from collector output buffer;
Step 8: application software is pressed configuration file and data exported and analysis result.
In above-mentioned steps 2, set up look-up table according to configuration, be specially:
Step 2.1: locate full message according to " message look-up table " that " virtual link ", " IP address ", " UDP port number " information are set up;
Step 2.2: " the fragmental messages look-up table location IP fragmentation and reassembly message " set up according to " virtual link ", " IP address ", " IP fragmentation mark " information.
The advantage that the present invention has:
1, the invention provides a kind of AFDX data sampling recording unit, by a kind of timing data sampling mechanism, make data acquisition, data output process is transferred to collecting device, no longer take application software handling property, while reducing host processor resources consumption, ensure the real-time of image data; Acquired data storage and sampled data output procedure are isolated by the double buffers of the first memory module and the second memory module by another the present invention, ensure that the integrality of data, support that different sampled point gathers the data of same Frame diverse location simultaneously.
2, AFDX data sampling of the present invention recording method, can store the stream that portion only comprises valid data (sampled data), be convenient to applied analysis; Can support that different sampled point gathers the data of same Frame diverse location by the double buffers of the first memory module and the second memory module simultaneously, and make the design of application software more flexible.
Accompanying drawing explanation
Fig. 1 is schematic diagram of the present invention.
Embodiment
As shown in Figure 1, the invention provides a kind of AFDX data acquisition equipment, comprise configuration module, MAC nucleus module, data sampling module, timer module and data and export nucleus module; Wherein:
Configuration module, connects outer input interface; For configuration cycle, time migration, message identifier, sampling location, sampling width and outgoing position;
MAC nucleus module, connects AFDX network interface, receives the data from AFDX network, and data are exported to data sampling nucleus module; MAC nucleus module, comprises 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; Filtering module, is connected to data sampling nucleus module.
Data core sampling module, receives the data from MAC nucleus module, and according to the message identifier filtering data of configuration module, and the data after filtering are carried out preserving and upgrading; Data sampling nucleus module, comprises enquiry module, the first memory module, the first update module; Enquiry module, for receiving the data from filtering module, and configures according to data search; First memory module, filters the data from filtering module according to the message identifier of configuration module, and the data after filtering are saved to the first memory module; First update module, for upgrading the first memory module.
Timer module, exports to data and exports nucleus module by look-at-me; Comprise cycle interruption module, time block and Interruption module; Wherein, cycle interruption module, produces the first look-at-me according to the cycle of configuration module; Time block, judges startup and the reset of timer according to the first look-at-me; Interruption module, produces the second look-at-me according to the time migration of configuration module, and the second look-at-me is exported to data output nucleus module.
Data export nucleus module, receive the timing interrupts from timer module, and send the data to target terminal.Data export nucleus module, comprise the second memory module, the second update module and output module; Wherein, the second memory module, filters the data of the first memory module for the sampling location according to configuration module, sampling width and outgoing position, and the data after filtering are saved to the second memory module; Second update module, for upgrading the second memory module; Output module, for exporting to target terminal by data.
In practical application, AFDX data sampling recording unit provided by the invention: " MAC nucleus module " is submitted to " data sampling core " after carrying out integrity checking, redundancy management, filtration to AFDX data; " data sampling core " checks sampling configuration, samples to the Frame meeting sampling request, and stores Data Data frame for " data output core " reading, and memory block adopts double buffers to damage to avoid sampled data; When the sampling time point arrive time, " data output core " according to configuration by data encasement to output buffer and notify application software read sampled data, output buffer adopt equally double buffers with guarantee application software read data integrity; When application software receives sampled data signal, data are stored to sampled data stream.
The invention provides a kind of AFDX data sampling recording unit, treatment step is as follows:
Step 1: if there is no configuration file, then should write configuration module by configuration file;
Step 2: check configuration file, and set up look-up table according to configuration; For message allocate storage, all modules of initialization, so that equipment completes initialization enter normal operating conditions;
In step 2, set up look-up table according to configuration, be specially:
Step 2.1: for locating " the message look-up table " set up according to " virtual link ", " IP address ", " UDP port number " information of full message;
Step 2.2: for locating " the fragmental messages look-up table " set up according to " virtual link ", " IP address ", " IP fragmentation mark " information of IP fragmentation and reassembly message;
Step 3: use AFDX emulator to send data (needing the data of sampling) to acquisition and recording device;
Step 4: data through " PHY chip (physical chip) ", " MAC core (medium access core) " verification (comprising IP fragmentation recombination function) after submit to " data sampling core ";
Step 5: " data sampling core " according to receiving data header information query messages look-up table, and by needing the data of sampling to be stored into corresponding message memory block, upgrades buffer pointer;
Step 6: when Interruption produces, according to the configuration of current time offset from information storage area copies data to output buffer, upgrades buffer zone, is ready to complete signal to application software reported data;
Step 7: when application software receive data encasement complete interruption time, from collector output buffer read and storage of collected data;
Step 8: application software is pressed configuration file and data exported and analysis result.

Claims (8)

1. an AFDX data sampling recording unit, is characterized in that: comprise configuration module, MAC nucleus module, data sampling module core, timer module and data and export nucleus module; Wherein, described configuration module, connects outer input interface; For configuration cycle, time migration, message identifier, sampling location, sampling width and outgoing position; Described MAC nucleus module, receives the data from AFDX network, exports to data sampling nucleus module by redundancy management with after filtering; Described data sampling nucleus module, stores the data from MAC nucleus module according to the message identifier of configuration module, and upgrades this storage; Described timer module, starts timer according to cycle interruption, produces Interruption according to the time migration of configuration module, and timing interrupts is exported to data output nucleus module; Described data export nucleus module, receive the timing interrupts from timer module, and with reference to the time migration configuration of Current interrupt, the data of data sampling nucleus module are sent to target terminal.
2. AFDX data sampling recording unit according to claim 1, is characterized in that: described MAC nucleus module comprises integrity checking A module, integrity checking B module, redundancy management module and filtering module; Wherein, described redundancy management module, for managing the output of integrity checking A module and integrity checking B module; Described filtering module, is connected to data sampling nucleus module.
3. AFDX data sampling recording unit according to claim 1, is characterized in that: described data sampling nucleus module, comprises enquiry module, the first memory module and the first update module; Wherein, described enquiry module for receiving the data from described filtering module, and configures according to data search; Described first memory module, filters the data from described filtering module according to the message identifier of described configuration module, and the data after filtering are saved to the first memory module; Described first update module is for upgrading described first memory module.
4. AFDX data sampling recording unit according to claim 1, is characterized in that: described timer module, comprises cycle interruption module, time block and Interruption module; Wherein, described cycle interruption module, produces the first look-at-me according to the cycle of described configuration module; Described time block, judges startup and the reset of timer according to the first look-at-me; Described Interruption module, produces the second look-at-me according to the time migration of described configuration module, and the second look-at-me is exported to described data output nucleus module.
5. AFDX data sampling recording unit according to claim 1, is characterized in that: described data export nucleus module, comprise the second memory module, the second update module and output module; Wherein, described second memory module, filters the data of described first memory module for the sampling location according to described configuration module, sampling width and outgoing position, and the data after filtering are saved to the second memory module; Described second update module, for upgrading described second memory module; Described output module, for exporting to target terminal by data.
6. the AFDX data sampling recording unit according to claim 3 or 5, it is characterized in that: described first update module for upgrading described first memory module and the second update module, for upgrading the mapping address that described second memory module is all update module.
7. an AFDX data sampling recording method, is characterized in that: comprise the steps:
Step 1: if there is no configuration file, then write configuration module by configuration file;
Step 2: check configuration file, and set up look-up table according to configuration; For message allocate storage, all modules of initialization, make equipment complete initialization and enter normal operating conditions;
Step 3: use AFDX emulator to send the data needing sampling to acquisition and recording device;
Step 4: data are submitted to after " PHY chip ", " MAC core " verification " data sampling core "; Described " MAC core " verification comprises IP fragmentation recombination function;
Step 5: " data sampling core " according to receiving data header information query messages look-up table, and by needing the data of sampling to be stored into corresponding message memory block, upgrades buffer pointer; Described data header information comprises hierarchical information and burst address;
Step 6: when Interruption produces, according to the configuration of current time offset from information storage area copies data to collector output buffer, upgrades buffer zone, is ready to complete signal to application software reported data;
Step 7: when application software receives the interruption of data encasement completion timing, read and storage of collected data from collector output buffer;
Step 8: application software is pressed configuration file and data exported and analysis result.
8. AFDX data sampling recording method according to claim 7, is characterized in that: in described step 2, set up look-up table according to configuration, be specially:
Step 2.1: locate full message according to " message look-up table " that " virtual link ", " IP address ", " UDP port number " information are set up;
Step 2.2: " the fragmental messages look-up table location IP fragmentation and reassembly message " set up according to " virtual link ", " IP address ", " IP fragmentation mark " information.
CN201510930649.8A 2015-12-12 2015-12-12 A kind of AFDX data sampling recording equipment and method Active CN105550382B (en)

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 true CN105550382A (en) 2016-05-04
CN105550382B 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)

Cited By (1)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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

Patent Citations (4)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
Title
罗西: "基于FPGA的AFDX端系统设计", 《中国硕士学位论文全文数据库(电子期刊)信息科技辑》 *

Cited By (1)

* Cited by examiner, † Cited by third party
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

Also Published As

Publication number Publication date
CN105550382B (en) 2019-03-05

Similar Documents

Publication Publication Date Title
US7860943B2 (en) Enhanced network direct attached storage controller
US9740409B2 (en) Virtualized storage systems
CN102761466B (en) IEEE (Institute of Electrical and Electronics Engineers) 1394 bus data record processing system and method
CN103384274B (en) Public network based on http agreement connects the communication means of inner net computer
CN211376201U (en) Command read-write device and memory
US20030110340A1 (en) Tracking deferred data transfers on a system-interconnect bus
CN108090003A (en) A kind of method, the system of the promotion WEB server performance based on zero-copy
CN106844249A (en) RAID storage system and method based on RapidIO bus
RU2686016C2 (en) Network interface
CN102629235A (en) Method for increasing read-write speed of double data rate (DDR) memory
CN104317747A (en) Data caching and sending device and method of network receiver
WO2014094529A1 (en) Unified system networking with cee-pcie tunneling
CN105550382A (en) AFDX (Avionics Full Duplex Switched Ethernet) data sampling rerecording equipment and method
US20130013755A1 (en) Diskless pc network communication agent system
US11882038B2 (en) Transaction analyzer for communication bus traffic
CN103533075A (en) Method for importing data into iSCSI target and iSCSI starter
CN108108149B (en) Performance statistics circuit based on separation statistics is high-efficient to be collected
US20120136958A1 (en) Method for analyzing protocol data unit of internet small computer systems interface
CN103544079B (en) Flash memory chip data recovery achieving system and method based on programmable logic controller
CN106126452B (en) The method that (SuSE) Linux OS based on IIC agreement is communicated with bare machine
US10977201B1 (en) Per IO direct memory access redirection
CN105701060A (en) FPGA-based high-speed real-time data recording system
CN112116730A (en) Data storage method of universal airborne data acquisition and recording device
CN106911715B (en) A kind of communication control unit and communication control method separating Read-write Catrol
CN104331352A (en) Out-of-band reading detection method and out-of-band reading detection device for cache consistency chip address

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
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