CN103139101A - Implementation method of queuing port for aviation dedicated full-duplex exchange type Ethernet terminal system - Google Patents

Implementation method of queuing port for aviation dedicated full-duplex exchange type Ethernet terminal system Download PDF

Info

Publication number
CN103139101A
CN103139101A CN2011103760332A CN201110376033A CN103139101A CN 103139101 A CN103139101 A CN 103139101A CN 2011103760332 A CN2011103760332 A CN 2011103760332A CN 201110376033 A CN201110376033 A CN 201110376033A CN 103139101 A CN103139101 A CN 103139101A
Authority
CN
China
Prior art keywords
port
message
main frame
terminal
implementation method
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
CN2011103760332A
Other languages
Chinese (zh)
Other versions
CN103139101B (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
AVIC No 631 Research Institute
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 AVIC No 631 Research Institute filed Critical AVIC No 631 Research Institute
Priority to CN201110376033.2A priority Critical patent/CN103139101B/en
Publication of CN103139101A publication Critical patent/CN103139101A/en
Application granted granted Critical
Publication of CN103139101B publication Critical patent/CN103139101B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention relates to and provides an implementation method of a queuing port for an aviation dedicated full-duplex exchange type Ethernet terminal system. The implementation method of the queuing port for the aviation dedicated full-duplex exchange type Ethernet terminal system includes the following steps that (1) a host creates the queuing port which achieves communication with external and (2) the host achieves interaction with external data through the established queuing port. The implementation method of the queuing port for the aviation dedicated full-duplex exchange type Ethernet terminal system has the advantages of being high in reliability, good in real-time performance and scalable.

Description

The implementation method that is used for the formation port of the special-purpose full duplex switched ethernet of aviation terminal system
Technical field
The invention belongs to the Computer Applied Technology field, relate to a kind of implementation method of the formation port for the special-purpose full duplex switched ethernet of aviation terminal system.
Background technology
Along with the high speed development of microelectric technique and information technology, huge variation has occured in the avionics system structure, and the performance requirement of communication network is improved constantly, and the intelligent degree of air environment also improves constantly.The avionics system of a new generation should be able to provide the Real-time Decision consulting for the pilot, all types of target is carried out automatic classification identify, and various offensive weapons is carried out emission in real time calculate, provide target component and guiding control etc.The degree of share of mobile system resource is more and more higher, and what transmit on avionic electronic communication network is not only order and status data, also has a large amount of intermediate object program data, requires communication network to have better real-time, reliability and extensibility.
Summary of the invention
In order to solve the above-mentioned technical problem that exists in background technology, the invention provides the implementation method of high, the real-time and extendible formation port for the special-purpose full duplex switched ethernet of aviation terminal system of a kind of reliability.
Technical solution of the present invention is: the invention provides a kind of implementation method of the formation port for the special-purpose full duplex switched ethernet of aviation terminal system, its special character is: said method comprising the steps of:
1) main frame creates the formation port of writing to each other with outside realization;
2) main frame is realized mutual by formation port and the external data of having set up.
Above-mentioned steps 1) specific implementation is:
1.1) main frame establishment communication table; Described communication table comprises ES terminal configuration table, sends the SAP port configuration list, receives the SAP port configuration list, sends the VL port configuration list, receives VL port configuration list, RTC allocation list, ICMP allocation list, 615A allocation list and SNMP allocation list;
1.2) main frame by interrupt notification ES terminal loads by step 1.1) in the communication table that creates of main frame;
1.3) the ES terminal is according to step 1.1) and in physical layer and the link layer of the communication table configuration ES terminal that created by main frame;
1.4) main frame is according to the transmission VL port configuration list in communication table and receive the VL port configuration list to sending the VL port and receiving the reception of VL port assignment and send memory space.
Above-mentioned steps 1.2) specific implementation is: described main frame calls LoadCfg (U32escfg according to communication table, U32 ESID) function, for all send the VL port and receive the continuous address space of VL port assignment, and carry out size end conversion, and the communication table that is created by main frame by interrupt notification ES terminal loads.
Above-mentioned steps 1.3) specific implementation is:
Described ES terminal is received step 1.2) have no progeny in the loading that sent by main frame, call LoadCfg (U32escfg, U32ESID) function will be loaded into by the communication table that main frame creates local memory space, then all transmission VL ports that are created of poll and receive the VL port successively.
Above-mentioned steps 1.4) specific implementation is: described main frame is according to sending the VL port configuration list and receiving the VL port configuration list, call afdxCreateQPort (char*esname, unsigned int PortCfgID, unsigned int*portid, unsigned int addrsum) function creates all formation ports, and gives to send the VL port and receive the VL port according to port id and carry out the assignment messages memory space.
Above-mentioned steps 2) comprise the following steps:
2.1) message that build to need sends of main frame and by the ES terminal with this message transmission;
2.2) receive external message and this external message is write main frame by the ES terminal.
Above-mentioned steps 2.1) comprise the following steps:
2.1.1) main frame calls afdxQPortSndMsg (unsigned int portid, char*data, unsigned int datalen) function sends the message that needs transmission: described main frame arrives the message stores space that sends the VL port to the message copying that needs send according to sending the VL port id, and the modification head pointer; Described Portid is port id number, and described * data is host memory address, and described datalen is message-length;
2.1.2) described ES terminal starts the upper DMA of PCI according to Port_ID message size is taken out from host memory, again start DMA and message is carried to from host memory sends FIFO, and revise tail pointer; Described ES terminal is called the message that Convey_From_Host_Queue (U16 Port_ID, U32 Start_Addr, U16 FlagID, U8MoreFlag) function sends needs transmission.
Above-mentioned steps 2.2) comprise the following steps:
2.2.1) the ES terminal calls RcvMsgFromQue () function and receive external message, and verification is carried out in the message packet header that receives, if verification is passed through, detect receiving the VL port; If verification is not passed through, abandon external message; Exist if receive the VL port, this message is gone up DMA by PCI and copy host memory to, and revise tail pointer; Do not exist if receive the VL port, abandon external message;
2.2.2) main frame calls afdxQPortRcvMsg (unsigned int portid, char*data, unsigned int * datalen) function receives external message, described main frame is copied out external message according to the ID that receives the VL port from the message stores space that receives the VL port, and revises head pointer; Described portid is port id number, and described * data is host memory address, and described * datalen is message-length.
Advantage of the present invention is:
The invention provides a kind of implementation method of the formation port for the special-purpose full duplex switched ethernet of aviation terminal system, the main key of the method is to design according to the specific demand of the AFDX formation port formation port to end system in AFDX, the main realization that is created to ES internal agreement stack from host port, the method provides effective and feasible solution for high performance avionics network service, and the research of this technology will lay the foundation for realizing the large aircraft avionic electronic communication network.
Embodiment
Relate to a kind of design and realization of the formation port for the special-purpose full duplex switched ethernet of aviation terminal system in present technique.For high performance avionics network service provides effective and feasible solution, the research of this technology will lay the foundation for realizing the large aircraft avionic electronic communication network.
(1) the formation port is a communication object, allows the communication channel under a regional addressing lining up mode.
(2) message stores in FIFO, has variable-length.
(3) main frame and end system adopt Target0 and the Target1 passage of PCI to communicate, in the Target0 passage, realized the register of various functions, in the Target1 passage, realized the information interaction between main frame and terminal system, the rule that adopts is: a main frame maintaining head pointer, ES only safeguards tail pointer.
(4) also has the main channel that to carry out the DMA transfer function in pci interface, the ES terminal system can be used as the main equipment on pci bus, initiatively with pci bus on host memory carry out exchanges data, be to be managed for configuration by ES inside for DMA reference address and size of data.
(5) main frame calls LoadCfg (U32 escfg according to ES allocation list, transmission allocation list, reception allocation list, transmission VL allocation list, reception VL allocation list etc., U32 ESID) function, for all of the port distributes continuous address space, and carry out the conversion of size end, then load allocation list by interrupt notification ES.
(6) main frame is according to port configuration list, call afdxCreateQPort (char*esname, unsigned int PortCfgID, unsigned int*portid, unsigned int addrsum) function creates all formation ports, and carries out the assignment messages memory space for this port according to port id.
(7) ES receives in loading and has no progeny, call LoadCfg (U32 escfg, U32 ESID) function, with the ES allocation list, send allocation list, receive allocation list, send the VL allocation list, receive VL allocation list etc. and be loaded into local memory space, all ports that are created of poll successively then.
(8) main frame calls afdxQPortSndMsg (unsigned int portid, char*data, unsigned int datalen) function sends message, and message copying is arrived the message stores space of this port according to port id, then revises head pointer.Portid is port id number, and * data is host memory address, and datalen is message-length.
(9) ES intrinsic call Convey_From_Host_Queue (U16 Port_ID, U32 Start_Addr, U16 FlagID, U8 MoreFlag) function sends message, starting the upper DMA of PCI according to Port_ID takes out message size from host memory, and then start DMA and message is carried to from host memory sends FIFO, then revise tail pointer.
(10) ES intrinsic call RcvMsgFromQue () function comes receipt message, verification is carried out in the message packet header that receives, if by again port being detected, copy host memory to if this port existence is gone up DMA with this message by PCI, then revise tail pointer.
(11) main frame calls afdxQPortRcvMsg (unsigned int portid, char*data, unsigned int*datalen) function comes receipt message, and according to port id, message is copied out from the message stores space of this port, then revises head pointer.Portid is port id number, and * data is host memory address, and * datalen is message-length.

Claims (8)

1. implementation method that is used for the formation port of the special-purpose full duplex switched ethernet of aviation terminal system is characterized in that: the implementation method of described formation port for the special-purpose full duplex switched ethernet of aviation terminal system comprises the following steps:
1) main frame creates the formation port of writing to each other with outside realization;
2) main frame is realized mutual by formation port and the external data of having set up.
2. the implementation method of the formation port for the special-purpose full duplex switched ethernet of aviation terminal system according to claim 1, it is characterized in that: specific implementation described step 1) is:
1.1) main frame establishment communication table; Described communication table comprises ES terminal configuration table, sends the SAP port configuration list, receives the SAP port configuration list, sends the VL port configuration list, receives VL port configuration list, RTC allocation list, ICMP allocation list, 615A allocation list and SNMP allocation list;
1.2) main frame by interrupt notification ES terminal loads by step 1.1) in the communication table that creates of main frame;
1.3) the ES terminal is according to step 1.1) and in physical layer and the link layer of the communication table configuration ES terminal that created by main frame;
1.4) main frame is according to the transmission VL port configuration list in communication table and receive the VL port configuration list to sending the VL port and receiving the reception of VL port assignment and send memory space.
3. the implementation method of the formation port for the special-purpose full duplex switched ethernet of aviation terminal system according to claim 2, it is characterized in that: specific implementation described step 1.2) is: described main frame calls LoadCfg (U32 escfg according to communication table, U32 ESID) function, for all send the VL port and receive the continuous address space of VL port assignment, and carry out size end conversion, and the communication table that is created by main frame by interrupt notification ES terminal loads.
4. the implementation method of the formation port for the special-purpose full duplex switched ethernet of aviation terminal system according to claim 3, it is characterized in that: specific implementation described step 1.3) is:
Described ES terminal is received step 1.2) have no progeny in the loading that sent by main frame, call LoadCfg (U32escfg, U32 ESID) function, to be loaded into by the communication table that main frame creates local memory space, then all transmission VL ports that are created of poll and receive the VL port successively.
5. the implementation method of the formation port for the special-purpose full duplex switched ethernet of aviation terminal system according to claim 4, it is characterized in that: specific implementation described step 1.4) is: described main frame is according to sending the VL port configuration list and receiving the VL port configuration list, call afdxCreateQPort (char * esname, unsigned int PortCfgID, unsigned int*portid, unsigned int addrsum) function creates all formation ports, and give to send the VL port and receive the VL port according to port id and carry out the assignment messages memory space.
6. the implementation method of the described formation port for the special-purpose full duplex switched ethernet of aviation terminal system of according to claim 1-5 arbitrary claims is characterized in that: described step 2) comprise the following steps:
2.1) message that build to need sends of main frame and by the ES terminal with this message transmission;
2.2) receive external message and this external message is write main frame by the ES terminal.
7. the implementation method of the formation port for the special-purpose full duplex switched ethernet of aviation terminal system according to claim 6 is characterized in that: described step 2.1) comprise the following steps:
2.1.1) main frame calls afdxQPortSndMsg (unsigned int portid, char*data, unsigned int datalen) function sends the message that needs transmission: described main frame arrives the message stores space that sends the VL port to the message copying that needs send according to sending the VL port id, and the modification head pointer; Described Portid is port id number, and described * data is host memory address, and described datalen is message-length;
2.1.2) described ES terminal starts the upper DMA of PCI according to Port_ID message size is taken out from host memory, again start DMA and message is carried to from host memory sends FIFO, and revise tail pointer; Described ES terminal is called the message that Convey_From_Host_Queue (U16 Port_ID, U32 Start_Addr, U16 FlagID, U8MoreFlag) function sends needs transmission.
8. the implementation method of the formation port for the special-purpose full duplex switched ethernet of aviation terminal system according to claim 7 is characterized in that: described step 2.2) comprise the following steps:
2.2.1) the ES terminal calls RcvMsgFromQue () function and receive external message, and verification is carried out in the message packet header that receives, if verification is passed through, detect receiving the VL port; If verification is not passed through, abandon external message; Exist if receive the VL port, this message is gone up DMA by PCI and copy host memory to, and revise tail pointer; Do not exist if receive the VL port, abandon external message;
2.2.2) main frame calls afdxQPortRcvMsg (unsigned int portid, char*data, unsigned int*datalen) function receives external message, described main frame is copied out external message according to the ID that receives the VL port from the message stores space that receives the VL port, and revises head pointer; Described portid is port id number, and described * data is host memory address, and described * datalen is message-length.
CN201110376033.2A 2011-11-23 2011-11-23 Implementation method of queuing port for aviation dedicated full-duplex exchange type Ethernet terminal system Active CN103139101B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110376033.2A CN103139101B (en) 2011-11-23 2011-11-23 Implementation method of queuing port for aviation dedicated full-duplex exchange type Ethernet terminal system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110376033.2A CN103139101B (en) 2011-11-23 2011-11-23 Implementation method of queuing port for aviation dedicated full-duplex exchange type Ethernet terminal system

Publications (2)

Publication Number Publication Date
CN103139101A true CN103139101A (en) 2013-06-05
CN103139101B CN103139101B (en) 2015-07-22

Family

ID=48498425

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110376033.2A Active CN103139101B (en) 2011-11-23 2011-11-23 Implementation method of queuing port for aviation dedicated full-duplex exchange type Ethernet terminal system

Country Status (1)

Country Link
CN (1) CN103139101B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103617132A (en) * 2013-11-29 2014-03-05 中国航空无线电电子研究所 Ethernet terminal sending achieving method based on shared storage and terminal device
CN104281539A (en) * 2013-07-10 2015-01-14 北京旋极信息技术股份有限公司 Cache managing method and device
CN109542653A (en) * 2018-12-04 2019-03-29 中国航空工业集团公司西安航空计算技术研究所 A kind of queue port communication means based on port list
CN114024844A (en) * 2021-11-19 2022-02-08 北京润科通用技术有限公司 Data scheduling method, data scheduling device and electronic equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101604162A (en) * 2009-07-02 2009-12-16 北京航空航天大学 A kind of comprehensively modularized core processing system for civil avionics
CN101902504A (en) * 2009-05-27 2010-12-01 北京神州飞航科技有限责任公司 Avionic full-duplex switched-type Ethernet network card and integration method thereof

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101902504A (en) * 2009-05-27 2010-12-01 北京神州飞航科技有限责任公司 Avionic full-duplex switched-type Ethernet network card and integration method thereof
CN101604162A (en) * 2009-07-02 2009-12-16 北京航空航天大学 A kind of comprehensively modularized core processing system for civil avionics

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
曹庆年等: "AFDX2ES芯片设计中主机端接口的设计与验证", 《西北大学学报》 *
武华等: "AFDX端系统通信端口的设计与实现", 《测控技术》 *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104281539A (en) * 2013-07-10 2015-01-14 北京旋极信息技术股份有限公司 Cache managing method and device
CN104281539B (en) * 2013-07-10 2019-02-26 北京旋极信息技术股份有限公司 A kind of buffer memory management method and device
CN103617132A (en) * 2013-11-29 2014-03-05 中国航空无线电电子研究所 Ethernet terminal sending achieving method based on shared storage and terminal device
CN103617132B (en) * 2013-11-29 2016-08-17 中国航空无线电电子研究所 A kind of ethernet terminal based on shared storage sends implementation method and terminal installation
CN109542653A (en) * 2018-12-04 2019-03-29 中国航空工业集团公司西安航空计算技术研究所 A kind of queue port communication means based on port list
CN114024844A (en) * 2021-11-19 2022-02-08 北京润科通用技术有限公司 Data scheduling method, data scheduling device and electronic equipment
CN114024844B (en) * 2021-11-19 2023-09-15 北京润科通用技术有限公司 Data scheduling method, data scheduling device and electronic equipment

Also Published As

Publication number Publication date
CN103139101B (en) 2015-07-22

Similar Documents

Publication Publication Date Title
Barré et al. Experimenting with multipath TCP
CN102368725B (en) Data receiving method of multiple network cards and system thereof
CN103139101B (en) Implementation method of queuing port for aviation dedicated full-duplex exchange type Ethernet terminal system
CN104486146A (en) Communication method for testing console and testing equipment
CN104113491A (en) Data transmission method and device
CN102664918A (en) Blade server control method and console
CN105337895B (en) A kind of network equipment main computer unit, network equipment subcard and the network equipment
CN101252527A (en) Method for transferring network, network transfer server and inner core managing module
US11809925B2 (en) Data processing method and apparatus
CN101312400B (en) Method for realizing IGMP interception function on modem device with 4 ethernet interfaces
CN112583655B (en) Data transmission method and device, electronic equipment and readable storage medium
CN109286564B (en) Message forwarding method and device
CN105530205B (en) Microwave equipment convergence device and method
CN103139061B (en) For the method for aviation special full duplex switched ethernet terminal system
CN103139316A (en) Implementation method of sampling port for aviation dedicated full-duplex exchange type Ethernet terminal system
US10728171B2 (en) Governing bare metal guests
CN109710550B (en) Double-cache-based RS422 data communication system with unfixed frame length
CN103139062B (en) For the implementation method of the SAP port of aviation special full duplex switched ethernet terminal system
CN104363185A (en) Miniature combined network data exchange system
CN101277244B (en) ATM synchronous Ethernet and method for transmitting/receiving data
CN101645809B (en) Throughput testing method and system for multi-terminal network
CN112367374B (en) AFDX data communication system applied to civil aviation
CN103346976A (en) Bandwidth fair control method based on HTB and achieving system thereof
CN103684852B (en) Redundancy removing method and system in AFDX (avionics full Duplex switched Ethernet) network redundancy management module
WO2023185237A1 (en) Message transmission method, and apparatus

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20221013

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: 710068 No. 156 Taibai North Road, Shaanxi, Xi'an

Patentee before: 631ST Research Institute OF AVIC