CN115442267A - ICMP method based on ARINC664 protocol - Google Patents

ICMP method based on ARINC664 protocol Download PDF

Info

Publication number
CN115442267A
CN115442267A CN202211001812.9A CN202211001812A CN115442267A CN 115442267 A CN115442267 A CN 115442267A CN 202211001812 A CN202211001812 A CN 202211001812A CN 115442267 A CN115442267 A CN 115442267A
Authority
CN
China
Prior art keywords
icmp
header
message
data
sending
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
CN202211001812.9A
Other languages
Chinese (zh)
Other versions
CN115442267B (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 Xiangteng Microelectronics Technology Co Ltd
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 Xiangteng Microelectronics Technology Co Ltd filed Critical Xian Xiangteng Microelectronics Technology Co Ltd
Priority to CN202211001812.9A priority Critical patent/CN115442267B/en
Publication of CN115442267A publication Critical patent/CN115442267A/en
Application granted granted Critical
Publication of CN115442267B publication Critical patent/CN115442267B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0811Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking connectivity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/10Active monitoring, e.g. heartbeat, ping or trace-route
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L2012/40267Bus for use in transportation systems
    • H04L2012/4028Bus for use in transportation systems the transportation system being an aircraft

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Health & Medical Sciences (AREA)
  • Cardiology (AREA)
  • General Health & Medical Sciences (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention relates to an ICMP method based on ARINC664 protocol. The invention comprises the following steps: 1) An implementation to send an ICMP request message; 2) Response processing of the received ICMP message. Aiming at the reliability and safety requirements of an AFDX bus network, the invention manages the network state information by the ICMP method, can meet various requirements of AFDX terminal communication and bus test, and effectively improves the test guarantee capability of a new generation aviation data bus.

Description

ICMP method based on ARINC664 protocol
Technical Field
The invention belongs to the computer application technology, and particularly relates to an ICMP (Internet control protocol) method based on an ARINC664 protocol.
Background
The ICMP is a subprotocol of TCP/IP protocol cluster, which has an extremely important meaning for network security, and is mainly used for transferring control information between a host and a router, including error information reporting, restricted control and network state information exchanging, and the like. The control messages do not transmit user data, but play an important role in the transmission of the user data, and ensure the safety and reliability of network data.
An avionics full-duplex switched Ethernet (AFDX) references the mature technology of a commercial Ethernet, adapts to the requirements of network transmission delay certainty, safety, reliability and maintainability of an airborne avionics system and is successfully applied to large-scale passenger planes and transport planes. With the increasingly application of the AFDX bus technology in the field of airborne data buses, the test guarantee of the AFDX bus airborne equipment is also increasingly important.
Disclosure of Invention
In order to solve the technical problems in the background art, the invention provides an ICMP method based on ARINC664 protocol, and provides a test method for solving the problem of uncertain system equipment connection state in an AFDX bus network.
The technical solution of the invention is as follows: the invention relates to an ICMP method based on ARINC664 protocol, which is characterized in that: the method comprises the following steps:
1) An implementation to send an ICMP request message;
2) Response processing of the received ICMP message.
Further, the specific steps of step 1) are as follows:
1.1 Obtaining ICMP request message configuration information;
1.2 Construct an ICMP request message packet;
1.3 ICMP message is sent after the check message is successful.
Further, the specific steps of step 1.1) are as follows:
1.1.1 An end system acquires a Target IP, a data load address and a data length of an ICMP frame from a PCI Target0 register;
1.1.2 Wait to acquire the idle bitmap Fn.
Further, the specific steps of step 1.2) are as follows:
1.2.1 Carrying ICMP data to be sent to a corresponding address of a sending DPRAM through DMA on a PCI, and then carrying the ICMP data to an on-chip SDRAM;
1.2.2 Obtaining virtual link used for sending from ICMP configuration table, filling MAC frame head according to virtual link number, edge, domain and position;
1.2.3 Filling an IP frame header according to a local IP and a target IP, wherein the type of the filled ICMP field is 0x8, and the code is 0x0, and the frame header construction is completed.
Further, the specific steps of step 1.3) are as follows:
1.3.1 The) end system performs check operation on the IP header and the ICMP header in the ICMP message, stores the operation result into an IP frame header check bit and an ICMP frame header check bit, and writes the data packet into a sending buffer area;
1.3.2 Configure the transmit VLFIFO register to complete the data transmission.
Further, the specific steps of step 2) are as follows:
2.1 CRC checking a header of a received message and a message load;
2.2 According to ICMP frame header information, searching replied virtual link from ICMP configuration table;
2.3 Construct an ICMP response packet and complete the transmission.
Further, the specific steps of step 2.1) are as follows:
2.1.1 After receiving ICMP message, the end system stores frame head and message data in SDRAM;
2.1.2 Call ICMP frame check function to perform CRC check on frame header and data payload.
Further, the specific steps of step 2.2) are as follows:
2.2.1 Obtaining a message type from a header of a received message, wherein the received message type is 0x8 and a target IP in the header of the received message is a local IP message;
2.2.2 Searching ICMP configuration with the destination IP address equal to the source IP address in the frame header of the received frame in the ICMP configuration table, acquiring a replied virtual link, and searching for a received idle bitmap Fn.
Further, the specific steps of step 2.3) are as follows:
2.3.1 Constructing an ICMP response packet, wherein the destination MAC address is a source MAC address in the frame header, the destination IP address is a source IP address in the frame header, the virtual link is the searched virtual link, the type in the ICMP domain is filled with 0x0, and the code is filled with 0x0;
2.3.2 Obtain the buffer address of the sending message according to FN number, store the received data into the sending buffer, calculate IP header checksum, ICMP header checksum;
2.3.3 Store the operation result in the IP frame header check bit and ICMP frame header check bit, configure the sending virtual link to send out the response packet.
Further, the sending idle bitmap in step 1.1) represents an idle state for representing sending the DPRAM; the whole transmission DPRAM is divided into a storage unit, the bit corresponding to the bitmap register is 1 to represent that the block storage unit occupies, and the bit corresponding to the bitmap register is 0 to represent that the block storage unit is idle; when data is to be sent, the ARM reads the bitmap register to find out an idle storage unit, and after the data to be sent is written into the idle storage unit, the ARM reads the corresponding position 1 of the bitmap register; ARM does not work with writing 0 to the bitmap register; after the data is sent, the sending controller clears the corresponding bit of the bitmap register; the received idle bitmap Fn in the step 2.2) is used to mark the storage states of the header DPRAM and the payload DPRAM, and provide addresses of the header DPRAM and the payload DPRAM for the MAC receiving module.
The ICMP method based on ARINC664 protocol provided by the invention is realized by sending ICMP request message; and response processing of the received ICMP message is performed to manage the network state information, so that the requirement of the AFDX bus network on the system reliability is met. Therefore, the invention aims at the reliability and safety requirements of the AFDX bus network, manages the network state information by the ICMP method, can meet various requirements of AFDX terminal communication and bus test, and effectively improves the test guarantee capability of a new generation aviation data bus.
Detailed Description
The technical solution of the present invention is further described in detail with reference to the specific embodiments.
The invention provides an ICMP method based on ARINC664 protocol, which comprises the following steps:
1) An implementation to send an ICMP request message;
1.1 Obtaining ICMP request message configuration information;
1.1.1 An end system acquires a Target IP, a data load address and a data length of an ICMP frame from a PCI Target0 register;
1.1.2 Waiting for an idle bitmap Fn to be acquired;
sending an idle bitmap to indicate an idle state for sending the DPRAM; the whole transmission DPRAM is divided into a storage unit, the bit corresponding to the bitmap register is 1 to represent that the block storage unit occupies, and the bit corresponding to the bitmap register is 0 to represent that the block storage unit is idle; when data is to be sent, the ARM reads the bitmap register to find out an idle storage unit, and after the data to be sent is written into the idle storage unit, the ARM reads the corresponding position 1 of the bitmap register; ARM does not work with writing 0 to the bitmap register; after the data is sent, the sending controller clears the corresponding bit of the bitmap register;
1.2 Construct an ICMP request message packet;
1.2.1 Carrying ICMP data to be sent to a corresponding address of a sending DPRAM through DMA on a PCI, and then carrying the ICMP data to an on-chip SDRAM;
1.2.2 Obtaining virtual link used for sending from ICMP configuration table, filling MAC frame head according to virtual link number, edge, domain and position;
1.2.3 Filling an IP frame header according to a local IP and a target IP, wherein the type of the filled ICMP domain is 0x8, and the code is 0x0, and completing frame header construction;
1.3 ICMP message is sent after the check message is successful.
1.3.1 The) end system performs check operation on the IP header and the ICMP header in the ICMP message, stores the operation result into an IP frame header check bit and an ICMP frame header check bit, and writes the data packet into a sending buffer area;
1.3.2 Configure the transmit VLFIFO register to complete data transmission;
2) Response processing of the received ICMP message.
2.1 Performing CRC on the header and the load of the received message;
2.1.1 After receiving ICMP message, the end system stores frame head and message data in SDRAM;
2.1.2 Invoke an ICMP frame check function to perform CRC check on the frame header and the data load;
2.2 According to ICMP frame header information, searching replied virtual link from ICMP configuration table;
2.2.1 Obtaining a message type from a header of a received message, wherein the received message type is 0x8 and a target IP in the header of the received message is a local IP message;
2.2.2 Searching ICMP configuration with the destination IP address equal to the source IP address in the frame header of the received frame in the ICMP configuration table, acquiring a replied virtual link, and searching for a received idle bitmap Fn;
the received idle bitmap Fn is used for marking the storage states of the header DPRAM and the payload DPRAM, and provides the addresses of the header DPRAM and the payload DPRAM for the MAC receiving module.
2.3 Constructs an ICMP response packet and completes transmission.
2.3.1 Constructing an ICMP response packet, wherein the destination MAC address is a source MAC address in the frame header, the destination IP address is a source IP address in the frame header, the virtual link is the searched virtual link, the type in the ICMP domain is filled with 0x0, and the code is filled with 0x0;
2.3.2 Obtaining a sending message buffer address according to the FN number, storing the received data into a sending buffer area, and calculating an IP header check sum and an ICMP header check sum;
2.3.3 Store the operation result in the IP frame header check bit and ICMP frame header check bit, configure the sending virtual link to send out the response packet.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. An ICMP method based on ARINC664 protocol, characterized in that: the method comprises the following steps:
1) An implementation to send an ICMP request message;
2) Response processing of the received ICMP message.
2. An ICMP method based on ARINC664 protocol according to claim 1, characterized in that: the specific steps of the step 1) are as follows:
1.1 Obtaining ICMP request message configuration information;
1.2 Construct an ICMP request message packet;
1.3 ICMP message is sent after the check message is successful.
3. An ICMP method based on ARINC664 protocol according to claim 2, characterized in that: the specific steps of step 1.1) are as follows:
1.1.1 An end system acquires a destination IP, a data load address and a data length of an ICMP frame from a PCI Target0 register;
1.1.2 Wait to acquire the idle bitmap Fn.
4. An ICMP method based on the ARINC664 protocol according to claim 3, characterized in that: the specific steps of step 1.2) are as follows:
1.2.1 Carrying ICMP data to be sent to a corresponding address of a sending DPRAM through DMA on a PCI, and then carrying the ICMP data to an on-chip SDRAM;
1.2.2 Obtaining virtual link used for sending from ICMP configuration table, filling MAC frame head according to virtual link number, edge, domain and position;
1.2.3 Filling an IP frame header according to a local IP and a target IP, wherein the type of the filled ICMP field is 0x8, and the code is 0x0, and the frame header construction is completed.
5. An ICMP method in accordance with the ARINC664 protocol of claim 4, wherein: the specific steps of step 1.3) are as follows:
1.3.1 The) end system performs check operation on the IP header and the ICMP header in the ICMP message, stores the operation result into an IP frame header check bit and an ICMP frame header check bit, and writes the data packet into a sending buffer area;
1.3.2 Configure the transmit VLFIFO register to complete the data transmission.
6. An ICMP method based on the ARINC664 protocol according to claim 5, characterized in that: the specific steps of the step 2) are as follows:
2.1 Performing CRC on the header and the load of the received message;
2.2 According to ICMP frame header information, searching replied virtual link from ICMP configuration table;
2.3 Constructs an ICMP response packet and completes transmission.
7. An ICMP method based on the ARINC664 protocol according to claim 6, characterized in that: the specific steps of step 2.1) are as follows:
2.1.1 After receiving ICMP message, the end system stores frame head and message data in SDRAM;
2.1.2 Call ICMP frame check function to CRC check the frame header and data payload.
8. An ICMP method in accordance with the ARINC664 protocol of claim 7, wherein: the specific steps of step 2.2) are as follows:
2.2.1 Obtaining a message type from a header of a received message, wherein the received message type is 0x8, and a target IP in the header of the received message is a local IP;
2.2.2 Searching ICMP configuration with the destination IP address equal to the source IP address in the frame header of the received frame in the ICMP configuration table, acquiring a replied virtual link, and searching for a received idle bitmap Fn.
9. An ICMP method based on the ARINC664 protocol according to claim 8, characterized in that: the specific steps of step 2.3) are as follows:
2.3.1 Constructing an ICMP response packet, wherein the destination MAC address is a source MAC address in the frame header, the destination IP address is a source IP address in the frame header, the virtual link is the searched virtual link, the type in the ICMP domain is filled with 0x0, and the code is filled with 0x0;
2.3.2 Obtaining a sending message buffer address according to the FN number, storing the received data into a sending buffer area, and calculating an IP header check sum and an ICMP header check sum;
2.3.3 Store the operation result in the IP frame header check bit and ICMP frame header check bit, configure the sending virtual link to send out the response packet.
10. An ICMP method based on ARINC664 protocol according to claim 9, characterized in that: the sending idle bitmap in the step 1.1) represents an idle state for representing sending DPRAM; the whole transmission DPRAM is divided into a storage unit, the bit corresponding to the bitmap register is 1 to represent that the block storage unit occupies, and the bit corresponding to the bitmap register is 0 to represent that the block storage unit is idle; when data is to be sent, the ARM reads the bitmap register to find out an idle storage unit, and after the data to be sent is written into the idle storage unit, the ARM reads the corresponding position 1 of the bitmap register; ARM does not work for writing 0 to the bitmap register; after the data is sent, the sending controller clears the corresponding bit of the bitmap register; the received idle bitmap Fn in the step 2.2) is used to mark the storage states of the header DPRAM and the payload DPRAM, and provide addresses of the header DPRAM and the payload DPRAM for the MAC receiving module.
CN202211001812.9A 2022-08-20 2022-08-20 ICMP method based on ARINC664 protocol Active CN115442267B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211001812.9A CN115442267B (en) 2022-08-20 2022-08-20 ICMP method based on ARINC664 protocol

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211001812.9A CN115442267B (en) 2022-08-20 2022-08-20 ICMP method based on ARINC664 protocol

Publications (2)

Publication Number Publication Date
CN115442267A true CN115442267A (en) 2022-12-06
CN115442267B CN115442267B (en) 2023-11-10

Family

ID=84243434

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211001812.9A Active CN115442267B (en) 2022-08-20 2022-08-20 ICMP method based on ARINC664 protocol

Country Status (1)

Country Link
CN (1) CN115442267B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0736805A (en) * 1993-07-19 1995-02-07 Hitachi Ltd Receiving frame data processing system
CN106534168A (en) * 2016-12-06 2017-03-22 中国电子科技集团公司第三十二研究所 TCPIP protocol stack safety processing system based on FPGA
CN110109852A (en) * 2019-04-03 2019-08-09 华东计算技术研究所(中国电子科技集团公司第三十二研究所) System and method for realizing TCP _ IP protocol by hardware
CN114489840A (en) * 2022-01-14 2022-05-13 南京邮电大学 TCP/IP hardware unloading system based on FPGA and implementation method thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0736805A (en) * 1993-07-19 1995-02-07 Hitachi Ltd Receiving frame data processing system
CN106534168A (en) * 2016-12-06 2017-03-22 中国电子科技集团公司第三十二研究所 TCPIP protocol stack safety processing system based on FPGA
CN110109852A (en) * 2019-04-03 2019-08-09 华东计算技术研究所(中国电子科技集团公司第三十二研究所) System and method for realizing TCP _ IP protocol by hardware
CN114489840A (en) * 2022-01-14 2022-05-13 南京邮电大学 TCP/IP hardware unloading system based on FPGA and implementation method thereof

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
张志;翟正军;姚方圆;: "基于FPGA的AFDX端系统协议芯片的设计与实现", 计算机测量与控制, no. 02 *

Also Published As

Publication number Publication date
CN115442267B (en) 2023-11-10

Similar Documents

Publication Publication Date Title
US11792114B2 (en) System and method for facilitating efficient management of non-idempotent operations in a network interface controller (NIC)
US7996583B2 (en) Multiple context single logic virtual host channel adapter supporting multiple transport protocols
US7817634B2 (en) Network with a constrained usage model supporting remote direct memory access
CN107483370B (en) Method for transmitting IP and CAN service on FC network
US11431624B2 (en) Communication method and network interface card
US7865633B2 (en) Multiple context single logic virtual host channel adapter
US20060274748A1 (en) Communication device, method, and program
US20080059686A1 (en) Multiple context single logic virtual host channel adapter supporting multiple transport protocols
CN106603420B (en) It is a kind of in real time and failure tolerance network-on-chip router
CN113852656B (en) Data transmission method, processor system and memory access system
US20110085451A1 (en) Testing device and testing method
US20140143454A1 (en) Reducing size of completion notifications
US7606967B2 (en) Frame transfer method and apparatus
US10178018B2 (en) Transmission and reception devices
CN107579894B (en) FPGA-based EBR1553 bus protocol implementation device
US8804543B2 (en) Test method for network system
CN113259273B (en) Switch control method, switch, computer device, and storage medium
US6578080B1 (en) Mechanism for run time programming of hardware resources with least interference with continued operation
CN115442267B (en) ICMP method based on ARINC664 protocol
CN114726883B (en) Embedded RDMA system
CN115514682B (en) Data transmission method, device, equipment and storage medium
CN115334173B (en) MODBUS and CC-Link protocol conversion device and method
CN103139061B (en) For the method for aviation special full duplex switched ethernet terminal system
US20240146806A1 (en) Intermediate apparatus, communication method, and program
WO2019015487A1 (en) Data retransmission method, rlc entity and mac entity

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant