CN104580459A - Avionics target hardware equipment Ethernet data loading method - Google Patents

Avionics target hardware equipment Ethernet data loading method Download PDF

Info

Publication number
CN104580459A
CN104580459A CN201510003456.8A CN201510003456A CN104580459A CN 104580459 A CN104580459 A CN 104580459A CN 201510003456 A CN201510003456 A CN 201510003456A CN 104580459 A CN104580459 A CN 104580459A
Authority
CN
China
Prior art keywords
uint8
data
file
tftp
uint16
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.)
Pending
Application number
CN201510003456.8A
Other languages
Chinese (zh)
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.)
CETC Avionics Co Ltd
Original Assignee
CETC Avionics 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 CETC Avionics Co Ltd filed Critical CETC Avionics Co Ltd
Priority to CN201510003456.8A priority Critical patent/CN104580459A/en
Publication of CN104580459A publication Critical patent/CN104580459A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention belongs to the technical field of data transmission and particularly relates to an avionics target hardware equipment Ethernet data loading method. A data loading module, a FIND processing module, a TFTP protocol module, an ARINC665-3 protocol file processing module, a log module and a state reporting module are used for achieving the avionics target hardware equipment Ethernet data loading method. Compared with the prior art, the avionics target hardware equipment Ethernet data loading method can meet the file transmission requirements of different Ethernet environments of avionics, effective file transmission under the avionics Ethernet environment is achieved, data transmission operation can be controlled according to the specific operation situation of target equipment, flexibility is high, received loading file format and integrity can be checked, and accordingly the safety of needed data is high.

Description

A kind of avionics target hardware equipment Ethernet data loading method
Technical field
The invention belongs to technical field of data transmission, specifically, relate to a kind of avionics target hardware equipment Ethernet data loading method.
Background technology
Common TFTP (Trivial File Transfer Protocol, TFTP) be the agreement that in TCP/IP protocol suite one is used for carrying out between clients and a server simple files transmission, provide uncomplicated, file transfer services that expense is little.It realizes based on udp protocol.This Protocol Design carries out small documents transmission, therefore can only obtain or writing in files from file server, can not list catalogue, not carry out certification.TFTP form as shown in Figure 1.Opcode: command code, RRQ are 1, WRQ be 2, DATA be 3, ACK be 4, ERROR is 5; Filename: filename is NETASCII code character, terminates with 0; Mode: this interface is fixed as " octet "; Block number: start coding with 1, every data block adds 1, if be 65535, adds 1 again from 1; Data: data are defaulted as 512 byte-sized, but be as the criterion if consult new size in OPTION with OPTION negotiation size; Error code: the code concrete meaning of mistake is in table 1.Error message: the details of mistake, netascii type; TFTP option supports definition: blocksize option, file transfer size, timeoutinterval, part number, checksum option, port option.
Table 1 error code information table
Any transmission plays the request from a reading or writing in files, and this request is also connection request.If server ratifies this request, then server opens connection, and data are transmitted with fixed length (default is 512) byte number.Each packet comprises a blocks of data, and server must obtain the confirmation of client to a upper packet before sending next packet.If the size of a packet is less than fixed-length word joint number, then represent the end of transmission.If packet is lost in transmitting procedure, sender can transmit the data of last not confirmed after a time out again.
Avionics Ethernet data load follow ARINC615A-3 agreement, the file transfer of this agreement and the TFTP of standard different, in order to better improve efficiency and the function of Data import interface, certain expansion has been carried out to TFTP.Except search operation, institute's protocols having alternately all based on expansion TFTP protocol realization.Support that the TFTP of 5 types wraps: read request packet (RRQ), write request bag (WRQ), packet (DATA), response packet (ACK), erroneous packets (ERROR).Only support OCTET transmission mode.File reception end is followed ARINC665-3 and is carried out file format inspection, and in ARINC665-3 agreement, a typical load document structure as shown in Figure 2.
Summary of the invention
For solving the problems of the technologies described above, the invention provides the avionics target hardware equipment Ethernet data loading method of a kind of effective transmission and efficient reception.
A kind of avionics target hardware equipment Ethernet data loading method of the present invention, described data load method utilizes Data import module, FIND processing module, TFTP protocol module, ARINC665-3 document of agreement processing module, log pattern, state reporting module to realize; Described Data import module: call TFTP protocol module and accept loading command message packets that DLS sends and after this packet is resolved, according to the load application logic of destination end in the content specific implementation load operation in packet, include details and reply module, data upload module, load operation results replies to DLS by calling TFTP protocol module; Described FIND processing module: this module is run in the mode of independent task, is in UDP listening state, when after the broadcast request listening to the acquisition target hardware information that DLS sends, replys obtain destination end hardware information broadcast request to DLS; Described TFTP protocol module: realize with the form of function library file, provides expansion TFTP protocol application interface to loading protocol process module; Described ARINC665-3 document of agreement processing module: the inspection being responsible for data load process file form and file content, called by Data import module, only have the data file meeting ARINC665-3 agreement just can carry out Data import, and the function of the packet of discontented sufficient protocol requirement being carried out to protocol encapsulation is provided; Described log pattern: when DLT is in running, the various operation of record DLT and data message, when occurring abnormal, except writing except daily record by abnormal information, need the warning information transmitting running software exception to BIT simultaneously; Described state reporting module: be responsible for the state information of itself to be periodically sent in BIT.
A kind of avionics target hardware equipment Ethernet data loading method of the present invention, first described data load method replys the target hardware FIND acquisition of information broadcast request of data loader by FIND processing module; Then the file transfer operation of same data loader is provided by TFTP protocol module, this file comprises update software required for destination end and configuration file, this operation comprises details and obtains request reply operation and data upload operation, upload processing module by the details processing module in Data import processing module and data respectively to provide, these two kinds operations are because following ARINC615A-3 agreement, and the last layer DLP layer all based on TFTP agreement realizes; Described FIND information design is as table 2;
Table 2FIND information
Field Type Explanation
targetHardwareId char[15] Target hardware ID
targetTypeName char[8] Target type name
targetIp char[8] Target location
targetHardwareName char[20] Target hardware formal name
produceId char[3] Manufacturer's code
A kind of avionics target hardware equipment Ethernet data loading method of the present invention, the global variable of described TFTP comprises three parts: one be the TFTP option value, two that TFTP as shown in table 3 this locality is preserved is whether local TFTP client as shown in table 4 uses the mark of those options, three to be marks that local TFTP service end as shown in table 5 supports those options;
The option value that table 3TFTP preserves this locality
Field Type Explanation
g_waitTimeStr char* The stand-by period that TFTP preserves this locality
g_blkSizeStr char* The block size that TFTP preserves this locality
g_tSizeStr char* The transmission size that TFTP preserves this locality
g_portStr char* The port numbers that TFTP preserves this locality
g_timeOutStr char* The time-out time that TFTP preserves this locality
g_retryNumStr char* The number of retries that TFTP preserves this locality
Whether table 4TFTP client uses the mark of option
Table 5TFTP service end supports the mark of those options
A kind of avionics target hardware equipment Ethernet data loading method of the present invention, contains the REQ bag of the public pack arrangement body of use one, OACK bag, DATA wraps, ERROR wraps, ACK wraps in the transmission of described TFTP; This pack arrangement body designs in table 6, this pack arrangement body Zhong Youyige association, and association's design is in table 7;
Table 6TFTP pack arrangement body struct TTftpHdr design
Field Type Explanation
opCode uint16 Command code
u union U Co-ordinative construction
data char* Data
Association's design in table 7TFTP pack arrangement body
Field Type Explanation
blockNum uint16 Command code
errorCode union Error code
Buff char* Request bag filler
A kind of avionics target hardware equipment Ethernet data loading method of the present invention, the transmission standard of described TFTP comprises block size, time-out, retry, and these values can by by option negotiation or adopt that standard value: blkSize is 512, timeOut is 2 seconds, retryNum is 1 second; Preserve the structure design of the transmission standard of TFTP in table 8;
Table 8TFTP transmission standard structure struct TtransportStand design
Field Type Explanation
blkSize int32 Block number
timeOut int32 Time-out
retryNum int32 Number of retries
A kind of avionics target hardware equipment Ethernet data loading method of the present invention, the service end of described TFTP receives the request bag arrived to the band option of client, parses option information and is saved by option information, and the structure design of preservation is in table 9; The service end of described TFTP is preserved and the information of client is saved from after the request bag of client, and the structure design of preservation is in table 10; The file information structure body design of the client-requested transmission of described TFTP is in table 11;
Table 9TFTP option information structure struct TOptionInfo design
Field Type Explanation
blkSizeValueStr char* Block size
timeOutValueStr char* Time-out
retryNumValueStr char* Retry
pnValueStr char* Part number
checkSumNameStr char* Verification name
checkSumValueStr char* Check value
Table 10TFTP transmission information structure struct TInfo design
Field Type Explanation
reqPackage char* Request bag
clientAddr struct Client address
Table 11TFTP transfer files information structure struct TFileInfo design
Field Type Explanation
fileNameStr char* Filename
pn char* Part number
CRC uint16 Check value
A kind of avionics target hardware equipment Ethernet data loading method of the present invention, the initializtion protocol file data design that described details obtain is in table 12; The details document of agreement design data that described details obtain is in table 13; The status protocol file data design that described details obtain is in table 14;
Table 12<THW_ID_POS>.LCI file
Field name Type Explanation
fileLen uint32 File size
proVersion uint16 Protocol version
operStatCode uint16 Operation receive status code
statDesLen uint8 State description length
statDes uint8* State description
Table 13<THW_ID_POS>.LCL file
Field name Type Explanation
fileLen uint32 File size
proVersion uint16 Protocol version
targetHardwareNum uint16 Target hardware quantity
literalNameLen uint8 Word name length
literalName uint8* Word name
serialNumberLen uint8 Sequence number length
serialNumber uint8* Sequence number
partNumberNum uint16 Part number quantity
partNumberLen uint8 Part number length
partNumber uint8* Part number
amendmentLen uint8 Revise length
amendment uint8* Revise
partNameLen uint8 Component names length
partNameText uint8* Component names text
Table 14<THW_ID_POS>.LCS file
Field name Type Explanation
fileLen uint32 File size
proVersion uint16 Protocol version
counter uint16 Counting
infoOperStatCode uint16 Information operating conditional code
exceptTime uint16 Abnormal timer
estimateTime uint16 Scheduled time
statDesLen uint8 State description length
statDes uint8* State description
A kind of avionics target hardware equipment Ethernet data loading method of the present invention, the initializtion protocol file data design that described data are uploaded is in table 15; The list protocol file data design that described data are uploaded is in table 16; The status protocol file data design that described data are uploaded is in table 17;
Table 15<THW_ID_POS>.LUI file
Field name Type Explanation
fileLen uint32 File size
proVersion uint16 Protocol version
operStatCode uint16 Operation receive status code
statDesLen uint8 State description length
statDes uint8* State description
Table 16<THW_ID_POS>.LUR file
Field name Type Explanation
fileLen uint32 File size
proVersion uint16 Protocol version
headFileNum uint16 Header file quantity
headFileNameLen uint8 Header file name length
headFileName uint8* Header file name
loadPartNumberNameLen uint8 Loading unit piece number name length
loadPartNumberName uint8* Loading unit piece number name
Table 17<THW_ID_POS>.LUS file
Field name Type Explanation
fileLen uint32 File size
proVersion uint16 Protocol version
upOperStatCode uint16 Upload operation conditional code
upStatDesLen uint8 Uploads state descriptor length
upStatDes uint8* Uploads state describes
counter uint16 Counting
exceptTime uint16 Abnormal timer
estimateTime uint16 Expeced time
loadListRatio uint8* Load list ratio
headFileNum uint16 Header file quantity
headFileNameLen uint8 Header file name length
headFileName uint8* Header file name
loadPartNumberNameLen uint8 Loading unit piece number length
loadPartNumberName uint8* Loading unit piece number
loadRatio uint8* Load completed percentage
loadStat uint16 Stress state
loadStatDesLen uint8 Stress state describes length
loadStatDes uint8* Stress state describes
Compared with prior art, avionics target hardware equipment Ethernet data loading method of the present invention can realize the reliable Ethernet data transmission between data loader and target device, for the ethernet communication of avionics provides effective way; Its TFTP protocol module meets the requirement of avionics Ethernet file transfer standard ARINC615A-3 completely, has very high transplantability; Meet the Ethernet file transfer demand of target device, the data transport service of high efficient and reliable is provided; Can check load document form and integrality according to ARINC665-3, and send the ability of alarm and subsequent operation prompting; The correctness receiving data can be examined, thus obtain valid data.Therefore, the present invention can meet the file transfer requirement of the different ethernet environment of avionics, realizes the effective document transmission under avionics ethernet environment; Can control data transfer operation at any time according to the carrying out practically situation of target device, flexibility is higher; Can check the load document form received and integrality, thus make the fail safe of required data higher.
Accompanying drawing explanation
Fig. 1: TFTP packet format figure; Fig. 2 ARINC665-3 file format figure; Fig. 3: loaded targets end functional module divides block diagram; Fig. 4: DLP position figure; Fig. 5: details recovery process figure; Fig. 6: data upload operation flow chart.
Embodiment
Below in conjunction with specific embodiment, avionics target hardware equipment Ethernet data loading method of the present invention is described further, but protection scope of the present invention is not limited to this.
Embodiment 1
A kind of avionics target hardware equipment Ethernet data loading method, described data load method utilizes Data import module, FIND processing module, TFTP protocol module, ARINC665-3 document of agreement processing module, log pattern, state reporting module to realize; Described Data import module: call TFTP protocol module and accept loading command message packets that DLS sends and after this packet is resolved, according to the load application logic of destination end in the content specific implementation load operation in packet, include details and reply module, data upload module, load operation results replies to DLS by calling TFTP protocol module; Described FIND processing module: this module is run in the mode of independent task, is in UDP listening state, when after the broadcast request listening to the acquisition target hardware information that DLS sends, replys obtain destination end hardware information broadcast request to DLS; Described TFTP protocol module: realize with the form of function library file, provides expansion TFTP protocol application interface to loading protocol process module; Described ARINC665-3 document of agreement processing module: the inspection being responsible for data load process file form and file content, called by Data import module, only have the data file meeting ARINC665-3 agreement just can carry out Data import, and the function of the packet of discontented sufficient protocol requirement being carried out to protocol encapsulation is provided; Described log pattern: when DLT is in running, the various operation of record DLT and data message, when occurring abnormal, except writing except daily record by abnormal information, need the warning information transmitting running software exception to BIT simultaneously; Described state reporting module: be responsible for the state information of itself to be periodically sent in BIT; First described data load method replys the target hardware FIND acquisition of information broadcast request of data loader by FIND processing module; Then the file transfer operation of same data loader is provided by TFTP protocol module, this file comprises update software required for destination end and configuration file, this operation comprises details and obtains request reply operation and data upload operation, upload processing module by the details processing module in Data import processing module and data respectively to provide, these two kinds operations are because following ARINC615A-3 agreement, and the last layer DLP layer all based on TFTP agreement realizes; Described FIND information design is as table 2;
Table 2FIND information
Field Type Explanation
targetHardwareId char[15] Target hardware ID
targetTypeName char[8] Target type name
targetIp char[8] Target location
targetHardwareName char[20] Target hardware formal name
produceId char[3] Manufacturer's code
; The global variable of described TFTP comprises three parts: one be the TFTP option value, two that TFTP as shown in table 3 this locality is preserved is whether local TFTP client as shown in table 4 uses the mark of those options, three to be marks that local TFTP service end as shown in table 5 supports those options;
The option value that table 3TFTP preserves this locality
Field Type Explanation
g_waitTimeStr char* The stand-by period that TFTP preserves this locality
g_blkSizeStr char* The block size that TFTP preserves this locality
g_tSizeStr char* The transmission size that TFTP preserves this locality
g_portStr char* The port numbers that TFTP preserves this locality
g_timeOutStr char* The time-out time that TFTP preserves this locality
g_retryNumStr char* The number of retries that TFTP preserves this locality
Whether table 4TFTP client uses the mark of option
Table 5TFTP service end supports the mark of those options
; Contain the REQ bag of the public pack arrangement body of use one, OACK bag in the transmission of described TFTP, DATA wraps, ERROR wraps, ACK wraps; This pack arrangement body designs in table 6, this pack arrangement body Zhong Youyige association, and association's design is in table 7;
Table 6TFTP pack arrangement body struct TTftpHdr design
Field Type Explanation
opCode uint16 Command code
u union U Co-ordinative construction
data char* Data
Association's design in table 7TFTP pack arrangement body
Field Type Explanation
blockNum uint16 Command code
errorCode union Error code
Buff char* Request bag filler
; The transmission standard of described TFTP comprises block size, time-out, retry, and these values can by by option negotiation or adopt that standard value: blkSize is 512, timeOut is 2 seconds, retryNum is 1 second; Preserve the structure design of the transmission standard of TFTP in table 8;
Table 8TFTP transmission standard structure struct TtransportStand design
Field Type Explanation
blkSize int32 Block number
timeOut int32 Time-out
retryNum int32 Number of retries
; The service end of described TFTP receives the request bag arrived to the band option of client, parses option information and is saved by option information, and the structure design of preservation is in table 9; The service end of described TFTP is preserved and the information of client is saved from after the request bag of client, and the structure design of preservation is in table 10; The file information structure body design of the client-requested transmission of described TFTP is in table 11; Described details obtain request and reply operational flowchart as shown in Figure 5;
Table 9TFTP option information structure struct TOptionInfo design
Field Type Explanation
blkSizeValueStr char* Block size
timeOutValueStr char* Time-out
retryNumValueStr char* Retry
pnValueStr char* Part number
checkSumNameStr char* Verification name
checkSumValueStr char* Check value
Table 10TFTP transmission information structure struct TInfo design
Field Type Explanation
reqPackage char* Request bag
clientAddr struct Client address
Table 11TFTP transfer files information structure struct TFileInfo design
Field Type Explanation
fileNameStr char* Filename
pn char* Part number
CRC uint16 Check value
; The initializtion protocol file data design that described details obtain is in table 12; The details document of agreement design data that described details obtain is in table 13; The status protocol file data design that described details obtain is in table 14; Described data upload operation flow chart as shown in Figure 6;
Table 12<THW_ID_POS>.LCI file
Field name Type Explanation
fileLen uint32 File size
proVersion uint16 Protocol version
operStatCode uint16 Operation receive status code
statDesLen uint8 State description length
statDes uint8* State description
Table 13<THW_ID_POS>.LCL file
Field name Type Explanation
fileLen uint32 File size
proVersion uint16 Protocol version
targetHardwareNum uint16 Target hardware quantity
literalNameLen uint8 Word name length
literalName uint8* Word name
serialNumberLen uint8 Sequence number length
serialNumber uint8* Sequence number
partNumberNum uint16 Part number quantity
partNumberLen uint8 Part number length
partNumber uint8* Part number
amendmentLen uint8 Revise length
amendment uint8* Revise
partNameLen uint8 Component names length
partNameText uint8* Component names text
Table 14<THW_ID_POS>.LCS file
Field name Type Explanation
fileLen uint32 File size
proVersion uint16 Protocol version
counter uint16 Counting
infoOperStatCode uint16 Information operating conditional code
exceptTime uint16 Abnormal timer
estimateTime uint16 Scheduled time
statDesLen uint8 State description length
statDes uint8* State description
; The initializtion protocol file data design that described data are uploaded is in table 15; The list protocol file data design that described data are uploaded is in table 16; The status protocol file data design that described data are uploaded is in table 17;
Table 15<THW_ID_POS>.LUI file
Field name Type Explanation
fileLen uint32 File size
proVersion uint16 Protocol version
operStatCode uint16 Operation receive status code
statDesLen uint8 State description length
statDes uint8* State description
Table 16<THW_ID_POS>.LUR file
Field name Type Explanation
fileLen uint32 File size
proVersion uint16 Protocol version
headFileNum uint16 Header file quantity
headFileNameLen uint8 Header file name length
headFileName uint8* Header file name
loadPartNumberNameLen uint8 Loading unit piece number name length
loadPartNumberName uint8* Loading unit piece number name
Table 17<THW_ID_POS>.LUS file
Field name Type Explanation
fileLen uint32 File size
proVersion uint16 Protocol version
upOperStatCode uint16 Upload operation conditional code
upStatDesLen uint8 Uploads state descriptor length
upStatDes uint8* Uploads state describes
counter uint16 Counting
exceptTime uint16 Abnormal timer
estimateTime uint16 Expeced time
loadListRatio uint8* Load list ratio
headFileNum uint16 Header file quantity
headFileNameLen uint8 Header file name length
headFileName uint8* Header file name
loadPartNumberNameLen uint8 Loading unit piece number length
loadPartNumberName uint8* Loading unit piece number
loadRatio uint8* Load completed percentage
loadStat uint16 Stress state
loadStatDesLen uint8 Stress state describes length
loadStatDes uint8* Stress state describes
Compared with prior art, avionics target hardware equipment Ethernet data loading method of the present invention can realize the reliable Ethernet data transmission between data loader and target device, for the ethernet communication of avionics provides effective way; Its TFTP protocol module meets the requirement of avionics Ethernet file transfer standard ARINC615A-3 completely, has very high transplantability; Meet the Ethernet file transfer demand of target device, the data transport service of high efficient and reliable is provided; Can check load document form and integrality according to ARINC665-3, and send the ability of alarm and subsequent operation prompting; The correctness receiving data can be examined, thus obtain valid data.Therefore, the present invention can meet the file transfer requirement of the different ethernet environment of avionics, realizes the effective document transmission under avionics ethernet environment; Can control data transfer operation at any time according to the carrying out practically situation of target device, flexibility is higher; Can check the load document form received and integrality, thus make the fail safe of required data higher.

Claims (8)

1. an avionics target hardware equipment Ethernet data loading method, it is characterized in that, described data load method utilizes Data import module, FIND processing module, TFTP protocol module, ARINC665-3 document of agreement processing module, log pattern, state reporting module to realize; Described Data import module: call TFTP protocol module and accept loading command message packets that DLS sends and after this packet is resolved, according to the load application logic of destination end in the content specific implementation load operation in packet, include details and reply module, data upload module, load operation results replies to DLS by calling TFTP protocol module; Described FIND processing module: this module is run in the mode of independent task, is in UDP listening state, when after the broadcast request listening to the acquisition target hardware information that DLS sends, replys obtain destination end hardware information broadcast request to DLS; Described TFTP protocol module: realize with the form of function library file, provides expansion TFTP protocol application interface to loading protocol process module; Described ARINC665-3 document of agreement processing module: the inspection being responsible for data load process file form and file content, called by Data import module, only have the data file meeting ARINC665-3 agreement just can carry out Data import, and the function of the packet of discontented sufficient protocol requirement being carried out to protocol encapsulation is provided; Described log pattern: when DLT is in running, the various operation of record DLT and data message, when occurring abnormal, except writing except daily record by abnormal information, need the warning information transmitting running software exception to BIT simultaneously; Described state reporting module: be responsible for the state information of itself to be periodically sent in BIT.
2. a kind of avionics target hardware equipment Ethernet data loading method according to claim 1, is characterized in that, first described data load method replys the target hardware FIND acquisition of information broadcast request of data loader by FIND processing module; Then the file transfer operation of same data loader is provided by TFTP protocol module, this file comprises update software required for destination end and configuration file, this operation comprises details and obtains request reply operation and data upload operation, upload processing module by the details processing module in Data import processing module and data respectively to provide, these two kinds operations are because following ARINC615A-3 agreement, and the last layer DLP layer all based on TFTP agreement realizes; Described FIND information design is as table 2;
Table 2FIND information
Field Type Explanation targetHardwareId char[15] Target hardware ID targetTypeName char[8] Target type name targetIp char[8] Target location targetHardwareName char[20] Target hardware formal name produceId char[3] Manufacturer's code
3. a kind of avionics target hardware equipment Ethernet data loading method according to claim 1, it is characterized in that, the global variable of described TFTP comprises three parts: one be the TFTP option value, two that TFTP as shown in table 3 this locality is preserved is whether local TFTP client as shown in table 4 uses the mark of those options, three to be marks that local TFTP service end as shown in table 5 supports those options;
The option value that table 3TFTP preserves this locality
Field Type Explanation g_waitTimeStr char* The stand-by period that TFTP preserves this locality g_blkSizeStr char* The block size that TFTP preserves this locality g_tSizeStr char* The transmission size that TFTP preserves this locality g_portStr char* The port numbers that TFTP preserves this locality g_timeOutStr char* The time-out time that TFTP preserves this locality g_retryNumStr char* The number of retries that TFTP preserves this locality
Whether table 4TFTP client uses the mark of option
Table 5TFTP service end supports the mark of those options
4. a kind of avionics target hardware equipment Ethernet data loading method according to claim 1, is characterized in that, contains the REQ bag of the public pack arrangement body of use one, OACK bag, DATA wraps, ERROR wraps, ACK wraps in the transmission of described TFTP; This pack arrangement body designs in table 6, this pack arrangement body Zhong Youyige association, and association's design is in table 7;
Table 6TFTP pack arrangement body struct TTftpHdr design
Field Type Explanation opCode uint16 Command code u union U Co-ordinative construction data char* Data
Association's design in table 7TFTP pack arrangement body
Field Type Explanation blockNum uint16 Command code errorCode union Error code Buff char* Request bag filler
5. a kind of avionics target hardware equipment Ethernet data loading method according to claim 1, it is characterized in that, the transmission standard of described TFTP comprises block size, time-out, retry, and these values can by by option negotiation or adopt that standard value: blkSize is 512, timeOut is 2 seconds, retryNum is 1 second; Preserve the structure design of the transmission standard of TFTP in table 8;
Table 8TFTP transmission standard structure struct TtransportStand design
Field Type Explanation blkSize int32 Block number timeOut int32 Time-out retryNum int32 Number of retries
6. a kind of avionics target hardware equipment Ethernet data loading method according to claim 1, it is characterized in that, the service end of described TFTP receives the request bag arrived to the band option of client, parses option information and is saved by option information, and the structure design of preservation is in table 9; The service end of described TFTP is preserved and the information of client is saved from after the request bag of client, and the structure design of preservation is in table 10; The file information structure body design of the client-requested transmission of described TFTP is in table 11;
Table 9TFTP option information structure struct TOptionInfo design
Field Type Explanation blkSizeValueStr char* Block size timeOutValueStr char* Time-out retryNumValueStr char* Retry pnValueStr char* Part number checkSumNameStr char* Verification name checkSumValueStr char* Check value
Table 10TFTP transmission information structure struct TInfo design
Field Type Explanation reqPackage char* Request bag clientAddr struct Client address
Table 11TFTP transfer files information structure struct TFileInfo design
Field Type Explanation fileNameStr char* Filename pn char* Part number CRC uint16 Check value
7. a kind of avionics target hardware equipment Ethernet data loading method according to claim 2, is characterized in that, the initializtion protocol file data design that described details obtain is in table 12; The details document of agreement design data that described details obtain is in table 13; The status protocol file data design that described details obtain is in table 14;
Table 12<THW_ID_POS>.LCI file
Field name Type Explanation fileLen uint32 File size proVersion uint16 Protocol version operStatCode uint16 Operation receive status code statDesLen uint8 State description length statDes uint8* State description
Table 13<THW_ID_POS>.LCL file
Field name Type Explanation fileLen uint32 File size proVersion uint16 Protocol version targetHardwareNum uint16 Target hardware quantity literalNameLen uint8 Word name length literalName uint8* Word name serialNumberLen uint8 Sequence number length serialNumber uint8* Sequence number partNumberNum uint16 Part number quantity partNumberLen uint8 Part number length partNumber uint8* Part number amendmentLen uint8 Revise length amendment uint8* Revise partNameLen uint8 Component names length partNameText uint8* Component names text
Table 14<THW_ID_POS>.LCS file
Field name Type Explanation fileLen uint32 File size proVersion uint16 Protocol version counter uint16 Counting infoOperStatCode uint16 Information operating conditional code exceptTime uint16 Abnormal timer estimateTime uint16 Scheduled time statDesLen uint8 State description length statDes uint8* State description
8. a kind of avionics target hardware equipment Ethernet data loading method according to claim 2, is characterized in that, the initializtion protocol file data design that described data are uploaded is in table 15; The list protocol file data design that described data are uploaded is in table 16; The status protocol file data design that described data are uploaded is in table 17;
Table 15<THW_ID_POS>.LUI file
Field name Type Explanation fileLen uint32 File size proVersion uint16 Protocol version operStatCode uint16 Operation receive status code statDesLen uint8 State description length statDes uint8* State description
Table 16<THWIDPOS>.LUR file
Field name Type Explanation fileLen uint32 File size proVersion uint16 Protocol version headFileNum uint16 Header file quantity headFileNameLen uint8 Header file name length headFileName uint8* Header file name loadPartNumberNameLen uint8 Loading unit piece number name length loadPartNumberName uint8* Loading unit piece number name
Table 17<THW_ID_POS>.LUS file
Field name Type Explanation fileLen uint32 File size proVersion uint16 Protocol version upOperStatCode uint16 Upload operation conditional code upStatDesLen uint8 Uploads state descriptor length upStatDes uint8* Uploads state describes counter uint16 Counting exceptTime uint16 Abnormal timer estimateTime uint16 Expeced time loadListRatio uint8* Load list ratio headFileNum uint16 Header file quantity headFileNameLen uint8 Header file name length headFileName uint8* Header file name loadPartNumberNameLen uint8 Loading unit piece number length loadPartNumberName uint8* Loading unit piece number loadRatio uint8* Load completed percentage loadStat uint16 Stress state loadStatDesLen uint8 Stress state describes length loadStatDes uint8* Stress state describes
CN201510003456.8A 2015-01-06 2015-01-06 Avionics target hardware equipment Ethernet data loading method Pending CN104580459A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510003456.8A CN104580459A (en) 2015-01-06 2015-01-06 Avionics target hardware equipment Ethernet data loading method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510003456.8A CN104580459A (en) 2015-01-06 2015-01-06 Avionics target hardware equipment Ethernet data loading method

Publications (1)

Publication Number Publication Date
CN104580459A true CN104580459A (en) 2015-04-29

Family

ID=53095616

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510003456.8A Pending CN104580459A (en) 2015-01-06 2015-01-06 Avionics target hardware equipment Ethernet data loading method

Country Status (1)

Country Link
CN (1) CN104580459A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105491118A (en) * 2015-12-29 2016-04-13 中国航空无线电电子研究所 Avionic Ethernet data loading system
CN105530301A (en) * 2015-12-12 2016-04-27 中国航空工业集团公司西安航空计算技术研究所 Airborne network ARINC615A data loading unloading control method
CN107707537A (en) * 2017-09-27 2018-02-16 中电科航空电子有限公司 A kind of method that air environment safeguards self-test
CN112286591A (en) * 2020-10-28 2021-01-29 中国航空工业集团公司西安航空计算技术研究所 Data loading method based on airborne network server
CN113391832A (en) * 2021-06-11 2021-09-14 中电科航空电子有限公司 Airborne software upgrading method, upgrading package loading method, device and equipment
CN114448971A (en) * 2021-12-29 2022-05-06 中国航空工业集团公司西安航空计算技术研究所 Data loading method of airborne embedded system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020111720A1 (en) * 2001-02-13 2002-08-15 William Holst Method and apparatus to support remote and automatically initiated data loading and data acquisition of airborne computers using a wireless spread spectrum aircraft data services link
US20140059242A1 (en) * 2012-08-22 2014-02-27 Ge Aviation Systems Limited Method and system of implementing data load protocols
CN103684869A (en) * 2013-12-21 2014-03-26 中电科航空电子有限公司 Method and device for reporting status information of multi-interface airborne equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020111720A1 (en) * 2001-02-13 2002-08-15 William Holst Method and apparatus to support remote and automatically initiated data loading and data acquisition of airborne computers using a wireless spread spectrum aircraft data services link
US20140059242A1 (en) * 2012-08-22 2014-02-27 Ge Aviation Systems Limited Method and system of implementing data load protocols
CN103684869A (en) * 2013-12-21 2014-03-26 中电科航空电子有限公司 Method and device for reporting status information of multi-interface airborne equipment

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
ARINC: "《SOFTWARE DATA LOADER USING ETHERNET INTERFACE》", 《ARINC REPORT 615A-3》 *
常于敏: "《基于AFDX网络的ARINC615A数据加卸载协议分析》", 《硅谷》 *

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105530301A (en) * 2015-12-12 2016-04-27 中国航空工业集团公司西安航空计算技术研究所 Airborne network ARINC615A data loading unloading control method
CN105530301B (en) * 2015-12-12 2018-12-25 中国航空工业集团公司西安航空计算技术研究所 A kind of onboard networks ARINC615A data add the control method of unloading
CN105491118A (en) * 2015-12-29 2016-04-13 中国航空无线电电子研究所 Avionic Ethernet data loading system
CN105491118B (en) * 2015-12-29 2018-07-24 中国航空无线电电子研究所 A kind of avionics Ethernet data loading system
CN107707537A (en) * 2017-09-27 2018-02-16 中电科航空电子有限公司 A kind of method that air environment safeguards self-test
CN107707537B (en) * 2017-09-27 2020-12-01 中电科航空电子有限公司 Method for self-checking maintenance of airborne electronic equipment
CN112286591A (en) * 2020-10-28 2021-01-29 中国航空工业集团公司西安航空计算技术研究所 Data loading method based on airborne network server
CN113391832A (en) * 2021-06-11 2021-09-14 中电科航空电子有限公司 Airborne software upgrading method, upgrading package loading method, device and equipment
CN114448971A (en) * 2021-12-29 2022-05-06 中国航空工业集团公司西安航空计算技术研究所 Data loading method of airborne embedded system
CN114448971B (en) * 2021-12-29 2024-01-19 中国航空工业集团公司西安航空计算技术研究所 Data loading method of airborne embedded system

Similar Documents

Publication Publication Date Title
CN104580459A (en) Avionics target hardware equipment Ethernet data loading method
US9003053B2 (en) Message acceleration
CN101682635B (en) Multiplexed data stream protocol
CN101682634B (en) File protocol for transaction based communication
JP5215413B2 (en) Status report for retransmission protocol
CN111190747A (en) Message loss detection method and device for message queue
CN104025550B (en) The method and device of information is obtained from data item
CN107360177B (en) A kind of message transmitting method and device based on UDP
CN107888277B (en) File transmission service communication method for airplane-ground network system
US7984166B2 (en) Trivial file transfer protocol (TFTP) file segment and file address options
US20220264684A1 (en) Communication of Segmented Radio Resource Control Messages
CN109688208B (en) Data loading method based on FC-AE-ASM message
CN101409727A (en) Document transmission method and apparatus
US9485114B2 (en) MAC abstraction sub-layer and MAC table for a communication system and related communication device
US20090323682A1 (en) Method for Identifying the Transmission Control Protocol Stack of a Connection
US20130275837A1 (en) Packet forward error correction
US7313136B2 (en) Method and system establishing a data link layer protocol on a I2C™ physical layer connection
US9025531B2 (en) Mobile device driven information exchange
US10476919B2 (en) System and method for reliable messaging between application sessions across volatile networking conditions
CN111200588B (en) Data transmission method based on protocol architecture of transmission layer and electronic equipment
US8429474B2 (en) Multiple protocol data transport
CN109309647B (en) Transmission protocol negotiation method, device and system
US7212532B1 (en) Message re-sending protocol for a wireless communications system
CN112653627B (en) Data transmission method, device and system, computer equipment and computer readable storage medium
EP2405627B1 (en) Method for operating a remote procedure call handler in a client and a server and computer system comprising the same

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20150429