Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

AFDX protocol stack construction method based on WinPcap

A construction method and protocol stack technology, applied in the field of avionics full-duplex switched Ethernet, can solve the problems of unusable TCP/IP protocol interface, difficulty in upgrading service, inconvenient movement, etc., so as to save related costs and facilitate deployment Effect

Inactive Publication Date: 2020-09-08
CHINESE AERONAUTICAL RADIO ELECTRONICS RES INST
View PDF3 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] At this stage, for the testing of AFDX network, it is generally necessary to customize professional AFDX test equipment to send and receive data through AFDX boards, and commercial boards rely on traditional slot-type interfaces to be installed on desktop hosts for work, which is inconvenient to move , expensive, and difficult to upgrade services
[0005] The AFDX protocol has carried out a lot of customization work based on the Ethernet protocol. From the perspective of the MAC layer, there is an extra Sequence Number in the AFDX protocol to verify the integrity and order of frame transmission, and the VL number is introduced to construct the destination MAC address. , which means that the TCP / IP protocol interface that comes with the original system cannot be used, and a complete protocol stack needs to be rebuilt by itself

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • AFDX protocol stack construction method based on WinPcap
  • AFDX protocol stack construction method based on WinPcap
  • AFDX protocol stack construction method based on WinPcap

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0021] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments.

[0022] The present embodiment relates to a kind of AFDX protocol stack construction method based on WinPcap, and its structure is as follows figure 1 As shown, it can be divided into application layer, kernel layer and physical layer.

[0023] 1. Application layer

[0024] The application layer completes the construction, sending and receiving, and parsing of AFDX data frames.

[0025] Construction of AFDX data frame:

[0026] see figure 2 In the structure of the AFDX data frame shown, the source MAC address includes three parts: fixed bits, user-defined bits, and A / B network identification bits. For the identification of the interface A / B network, 001 identifies the data of the A network, and 010 identifies the data of the B network. The source MAC address can be designed as: 02:00:00:XX:XX:00:20 or 02:00:00:XX:XX:00:40. The destinatio...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses an AFDX protocol stack construction method based on WinPcap, the construction, sending, receiving and analysis of AFDX data frames are completed in an application layer, and the method is characterized in that when the AFDX data frames are sent and received, firstly, a WinPcap library function pcap_finaldeves _ex() is used for searching for network card equipment of targetequipment; the selected network card is opened through pcap_opens(), and parameters such as effective reservation length and reading time of the captured data packet at the same time are set; and on the basis that the network card is successfully opened, the pcap_sendpacket()is subjected to calling to send the AFDX data frame, and the pcap_next_ex()is subjected to calling to receive the AFDX dataframe. According to the invention, the data frame in the network card is captured by using a common commercial computer WinPcap, and the data frame conforming to the AFDX protocol can be sent on the basis of not using an AFDX board card.

Description

technical field [0001] The invention relates to the field of avionics Full-duplex Switched Ethernet (AFDX for short), in particular to a WinPcap-based AFDX protocol stack construction method. Background technique [0002] AFDX network is an aviation data exchange network technology based on IEEE802.3 commercial Ethernet. AFDX network uses virtual link (Virtual Link, VL) to effectively and reasonably allocate and isolate the bandwidth of data transmission on the network. (Bandwidth Alllcation Gap, BAG) to control the minimum time interval of Ethernet data frames on the same virtual link, which increases the certainty of the network and effectively prevents network congestion and congestion. [0003] WinPcap (windows packet capture) is a free and public network access system under the windows platform. WinPcap can provide applications with the ability to access the bottom layer of the network, and it is used for direct network programming under the windows system. WinPcap is...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): H04L29/06
CPCH04L69/26H04L69/06
Inventor 周卓程培李天赋张玉杰姜轶彭俊潘超军
Owner CHINESE AERONAUTICAL RADIO ELECTRONICS RES INST
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products