CN111565140A - Distributed aeronautical communication middleware capable of simultaneously supporting CAN bus and Ethernet - Google Patents

Distributed aeronautical communication middleware capable of simultaneously supporting CAN bus and Ethernet Download PDF

Info

Publication number
CN111565140A
CN111565140A CN202010279920.7A CN202010279920A CN111565140A CN 111565140 A CN111565140 A CN 111565140A CN 202010279920 A CN202010279920 A CN 202010279920A CN 111565140 A CN111565140 A CN 111565140A
Authority
CN
China
Prior art keywords
middleware
bus
message
port
forwarding
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
CN202010279920.7A
Other languages
Chinese (zh)
Other versions
CN111565140B (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.)
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 CN202010279920.7A priority Critical patent/CN111565140B/en
Publication of CN111565140A publication Critical patent/CN111565140A/en
Application granted granted Critical
Publication of CN111565140B publication Critical patent/CN111565140B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • H04L12/40006Architecture of a communication node
    • 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
    • H04L12/40006Architecture of a communication node
    • H04L12/40032Details regarding a bus interface enhancer
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • H04L69/161Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields
    • H04L69/162Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields involving adaptations of sockets based mechanisms
    • 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/40208Bus networks characterized by the use of a particular bus standard
    • H04L2012/40215Controller Area Network CAN
    • 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

Abstract

The invention discloses a distributed aeronautical communication middleware which simultaneously supports a CAN bus and an Ethernet, wherein the aeronautical communication middleware works under a linux system and realizes the control of a physical bus by depending on an interface provided by an operating system; the aviation communication middleware comprises a bus adaptation module, a routing management module and an interface API; the bus adaptation module is used for shielding the difference of bus operation processes, abstracting various operations of the Ethernet and the CAN bus into the same set of operation process, and providing a data structure and an operation function for accessing the bus to the routing management module; the route management module is responsible for analyzing the received message in the message receiving process, determining whether the message needs to be forwarded according to the message information, and searching a correct route in the message sending process to send the message out; the interface API is responsible for providing a uniform interface for external programs. The invention can shield different bus differences in the avionic system and realize data receiving and transmitting among different bus devices.

Description

Distributed aeronautical communication middleware capable of simultaneously supporting CAN bus and Ethernet
Technical Field
The invention relates to the technical field of distributed communication middleware, in particular to distributed aviation communication middleware which simultaneously supports a CAN bus and an Ethernet and a message receiving and sending method thereof.
Background
With the development of electronic technology, on-board systems are becoming more complex in the field of civil Avionics (Avionics). Civil avionics not only relates to general equipment meeting basic functions such as communication, navigation, identification, flight management, atmospheric data, radar, electronic display control and the like, but also has systems for performing optimized experiences such as audio control, passenger service, cabin control, wireless internet access, multimedia service and the like.
Due to the multitude of devices, the physical bus between the devices is complex. When a scene of communication between devices is designed, a large amount of manpower is consumed for business software to perform adaptation development aiming at a bus, and communication codes between different devices have a plurality of similar redundant business processes, so that waste is caused to a certain extent. Therefore, it is necessary to provide an aviation communication middleware to shield different bus differences and standardize the communication interface between devices.
The Ethernet is the backbone of the modern Internet, has the characteristics of high speed, high performance, good universality and the like, and is widely applied to avionic systems; the CAN bus is a communication bus widely applied in the field of automatic control in the electronic industry, and has the characteristics of high reliability, simplicity, easy realization and the like. The aviation system has a scene that data is transmitted through a CAN bus, then transmitted through an Ethernet and finally transmitted to a target through the CAN bus, service software needs to realize a special transmitting mechanism, the transmitting is irrelevant to a service model, the complexity of the service system and the coupling degree of software and hardware are increased, the service system needs to be stripped from service logic urgently, and aviation communication middleware is used for shielding specific transmitting logic.
Because the safety of the avionics system is considered, all subsystems and data service flows are mutually backed up, and the working capacity of the avionics system is not influenced after a certain system fault is ensured, the traditional centralized middleware system cannot be applied to the avionics field.
Disclosure of Invention
In order to overcome the limitation that the traditional centralized middleware system cannot be applied to the field of avionics, the invention provides a distributed avionics middleware which simultaneously supports a CAN bus and an Ethernet. The distributed middleware structure is adopted, and the distributed middleware structure can be well applied to the field of avionics.
The invention is realized by the following technical scheme:
the distributed aeronautical communication middleware simultaneously supports a CAN bus and an Ethernet, works under a linux system, and realizes the control of a physical bus by depending on an interface provided by an operating system; the aviation communication middleware comprises a bus adaptation module, a routing management module and an interface API;
the bus adaptation module is used for shielding the difference of bus operation processes, abstracting various operations of the Ethernet and the CAN bus into the same set of operation process, and providing a data structure and an operation function for accessing the bus to the routing management module;
the routing management module is responsible for analyzing the received message in the message receiving process and determining whether the message needs to be forwarded or not according to the message information; searching a correct route in the message sending process to send out the message;
the interface API is responsible for providing a uniform interface for external programs.
The communication middleware structure is deployed on each device in the avionics system, the avionics middleware adopts a distributed architecture, a central node does not exist, and business programs on the avionics devices only need to link the middleware to call an interface of the avionics communication middleware so as to realize the receiving and sending of data between devices connected by different physical buses.
Preferably, the Ethernet operation and the CAN bus operation are both based on socket interfaces.
Preferably, the aeronautical communication middleware provided by the invention adopts a distributed architecture.
Preferably, the aeronautical communication middleware port of the present invention defines: within an ethernet network, each combination of IP plus ports is treated as a middleware port; on the CAN bus, each CAN bus controller plus CAN ID combination is treated as a middleware port.
Preferably, the port of the aeronautical communication middleware of the present invention is a linked list structure, which includes: next _ node, middleware port address addr, port type pt _ type, union type low _ Info, container pointer to current linked list, set of middleware port operation functions cmu _ ops, and lock pt _ lock.
Preferably, the operation on the middleware port in the present invention is encapsulated as a function pointer structure, where each pointer points to a corresponding function implementation, and the method includes: the Init operation encapsulates the socket creation operation; active packages socket binding operation, Stop modification state, Release corresponding to Release, modification of socket binding address after Update modifies routing forwarding table, Send packet sending operation and recv packet receiving operation.
Preferably, the forwarding rule of the routing forwarding table on each device in the avionics system in the present invention includes: the global number of the current forwarding rule, the type of the forwarding data, the port address of the destination middleware, which local middleware port needs to send a message to reach the destination middleware port, the port address of the next hop middleware, and whether the current forwarding rule is normal or not.
Preferably, the interface API of the present invention includes: initializing a middleware function Mw _ init, sending a message interface function MW _ send, receiving a message interface function MW _ recv, modifying and setting a static forwarding table information function MW _ set _ opt, and acquiring the static forwarding table information function MW _ get _ opt.
On the other hand, the invention also provides a message receiving method of the aeronautical communication middleware, wherein after the bus adaptation module reads out the message from the bus, the corresponding message is transmitted to the route management module, and the route management module executes the following operations:
s1, analyzing the destination middleware port address, the source middleware port address and the data type in the message header;
s2, confirming whether the destination middleware port is on the current device, if yes, sending the data to the caller of the interface API;
s3, otherwise, searching the route forwarding table, if the forwarding rule is found in the route forwarding table, sending the message from the corresponding middleware port;
s4, if the routing rule can not be found in the routing forwarding table, discarding the corresponding message;
s5, if a forwarding rule can be found in the route forwarding table but the rule status is unavailable and no other forwarding rule can be found that can send the data to the destination middleware port, the corresponding message is discarded.
In addition, the invention also provides a message sending method of the aeronautical communication middleware, in the message sending process, the interface API transmits the input parameter to the route management module, and the route management module executes the following operations:
s1, finding the middleware port for sending information through the source middleware port address, if the current device does not use the corresponding middleware port, the sending fails;
s2, searching the forwarding specification of the destination middleware port in the route forwarding table, if not, the sending is failed;
s3, if finding the forwarding rule, sending the message from the corresponding middleware port;
s4, if a forwarding rule is found but the rule status is not available and no other rule capable of forwarding data to the destination middleware port is found, the forwarding fails.
The invention has the following advantages and beneficial effects:
the aviation communication middleware adopts a distributed architecture, CAN be compatible with the operation of Ethernet and CAN buses, and CAN shield different bus differences in an avionics system and realize data receiving and transmitting among different bus devices by only deploying the aviation communication middleware on each device in the avionics system.
Drawings
The accompanying drawings, which are included to provide a further understanding of the embodiments of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the principles of the invention. In the drawings:
fig. 1 shows the architecture of the aeronautical communication middleware and its deployment in the avionics system equipment.
Detailed Description
Hereinafter, the term "comprising" or "may include" used in various embodiments of the present invention indicates the presence of the invented function, operation or element, and does not limit the addition of one or more functions, operations or elements. Furthermore, as used in various embodiments of the present invention, the terms "comprises," "comprising," "includes," "including," "has," "having" and their derivatives are intended to mean that the specified features, numbers, steps, operations, elements, components, or combinations of the foregoing, are only meant to indicate that a particular feature, number, step, operation, element, component, or combination of the foregoing, and should not be construed as first excluding the existence of, or adding to the possibility of, one or more other features, numbers, steps, operations, elements, components, or combinations of the foregoing.
In various embodiments of the invention, the expression "or" at least one of a or/and B "includes any or all combinations of the words listed simultaneously. For example, the expression "a or B" or "at least one of a or/and B" may include a, may include B, or may include both a and B.
Expressions (such as "first", "second", and the like) used in various embodiments of the present invention may modify various constituent elements in various embodiments, but may not limit the respective constituent elements. For example, the above description does not limit the order and/or importance of the elements described. The foregoing description is for the purpose of distinguishing one element from another. For example, the first user device and the second user device indicate different user devices, although both are user devices. For example, a first element could be termed a second element, and, similarly, a second element could be termed a first element, without departing from the scope of various embodiments of the present invention.
It should be noted that: if it is described that one constituent element is "connected" to another constituent element, the first constituent element may be directly connected to the second constituent element, and a third constituent element may be "connected" between the first constituent element and the second constituent element. In contrast, when one constituent element is "directly connected" to another constituent element, it is understood that there is no third constituent element between the first constituent element and the second constituent element.
The terminology used in the various embodiments of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the various embodiments of the invention. As used herein, the singular forms are intended to include the plural forms as well, unless the context clearly indicates otherwise. Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which various embodiments of the present invention belong. The terms (such as those defined in commonly used dictionaries) should be interpreted as having a meaning that is consistent with their contextual meaning in the relevant art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein in various embodiments of the present invention.
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is further described in detail below with reference to examples and accompanying drawings, and the exemplary embodiments and descriptions thereof are only used for explaining the present invention and are not meant to limit the present invention.
Example 1
The embodiment provides a distributed aeronautical communication middleware which supports a CAN bus and an Ethernet simultaneously.
The middleware of this embodiment works under the linux system, and realizes control over the physical bus by relying on an interface provided by an operating system. As shown in fig. 1, the middleware of the present embodiment mainly includes a bus adaptation module, a route management module, and an interface API.
The bus adaptation module shields the difference of bus operation processes, abstracts various operations of the Ethernet and the CAN buses into the same set of operation processes, and provides a data structure and an operation function for accessing the buses for the routing management module in the middleware.
The routing management module is responsible for analyzing the received message in the message receiving process and determining whether the message needs to be forwarded or transmitted to service layer software of equipment where the current aviation communication middleware is located according to the message information; and finding the correct route to send the message in the message sending process. The interface layer is responsible for providing a uniform interface for external programs.
Communication middleware needs to be deployed on each device in the avionics system. The aviation middleware adopts a distributed architecture, and a central node does not exist. A network card and a CAN bus controller may be simultaneously provided on a single device, and the aviation middleware on each device has a capability of forwarding messages, for example, device a in fig. 1 may communicate with device H, and device F and device G are required to forward in the middle.
Encapsulation of CAN bus and Ethernet operation flow and data structure
Middleware port definition: in ethernet, each combination of IP plus port is treated as a middleware port, and on CAN bus, each combination of CAN bus controller plus CAN id is treated as a middleware port.
Each middleware port has its own 4-byte port address. Avionics systems are static systems and do not change dynamically. In the design phase of the avionics system, each middleware port needs to be assigned a fixed port address in advance as a basis for addressing them, and the data structure for describing the middleware port is:
Figure RE-GDA0002581494270000051
the structure is a linked list, and the next _ node points to the next element; addr is the middleware port address; pt _ type is a port type; the low _ Info is a union type, the Ethernet scene points to a structural body containing an IP and a port, and the CAUBUS scene points to a structural body containing a CAN controller device name and a CANID; container points to the container of the current linked list, cmu _ ops is the set of functions operating on the middleware port, pt _ lock is the lock, and resv is the reserved field.
The operation of the middleware port is packaged into a function pointer structure body, and each pointer in the function pointer structure body points to the corresponding function to realize. The function pointer structure is as follows:
Figure RE-GDA0002581494270000052
because the aviation communication middleware works in the linux system, the Ethernet operation and the CAN bus operation are both based on the socket interface of the system. The Ethernet is based on a PF _ INET protocol family, the transmission protocol is UDP, the CAN bus operation is based on the PF _ CAN protocol family, and the transmission protocol is RAW.
The Init operation encapsulates the socket create operation.
Active encapsulates socket binding operations.
Stop modifies the state, setting the current middleware port to an unavailable state.
Release corresponds to the soket Release operation.
And after the Update correspondingly modifies the routing forwarding table, modifying the socket binding address, modifying the IP and PORT by Ethernet, and modifying the canID and the controller interface index by the canbus.
Send corresponds to packet sending operation and recv corresponds to packet receiving operation.
Route forwarding algorithm
The embodiment is mainly applied to the interior of an avionics system, the avionics system is a static system, all possible data paths in the system, data flow directions among all devices and physical connections are statically known. The system determines a route forwarding table on each device in the route management module according to the planned data path, and the table is also static.
Since devices directly connected via ethernet or CAN bus CAN be considered as connected two by two, routing forwarding mainly takes place between the CAN bus and the ethernet.
The forwarding rules in the routing forwarding table mainly include the following contents: global numbering of current forwarding rules; forwarding the data type; the destination middleware port address, from which local middleware port the message needs to be sent to reach the destination middleware port, the next hop middleware port address, and whether the current forwarding rule is normal or not.
In order to maintain the state of the forwarding rule, the aviation middleware periodically sends heartbeat messages to adjacent middleware ports involved in the forwarding rule to confirm the communication state between the aviation middleware ports and the adjacent aviation middleware ports.
Interface API and function of middleware
Mw _ init initializes the middleware.
The MW _ send sends a message interface, the address of the port of the local middleware and the address of the port of the destination middleware which participate in sending the message, and the content and the length of the sent data.
And the input parameter of the MW _ recv message receiving interface is the local middleware port address, and returns data and the source middleware port address corresponding to the data.
And the MW _ set _ opt modifies and sets static forwarding table information, and addresses the corresponding rule through the number of the forwarding rule.
And the MW _ get _ opt acquires the static forwarding table information and addresses the corresponding rule through the forwarding rule number.
All messages of the aviation middleware of the embodiment contain 4 bytes of source middleware port addresses and 4 bytes of destination middleware port addresses.
In the packet receiving process, after the middleware bus adaptation module reads out the message from the bus, the corresponding message is transmitted to the routing management module. The module performs the operations of:
1) analyzing information such as a destination middleware port address, a source middleware port address, a data type and the like in a message header;
2) confirming whether the destination middleware port is on the current equipment, if so, uploading the data to a caller of the middleware API function;
3) otherwise, searching the route forwarding table, the message of the specific data type and the destination middleware port address can only be sent from the specific middleware port, and after finding the forwarding rule, sending the message from the corresponding middleware port.
4) And if the routing rule can not be found in the routing forwarding table, discarding the corresponding message.
5) If a forwarding rule can be found but the rule status is not available and no other forwarding rule can be found that can route the data to the destination middleware port, the message is discarded.
In the process of sending the message, the middleware API function transmits the input parameter to the routing module, and the routing module executes the operation:
1) finding a middleware port for sending a message through a source middleware port address, and if the current equipment has no corresponding intermediate port, failing to send;
2) and searching a forwarding rule of a destination middleware port in the route forwarding table, and if the forwarding rule is not found, failing to send.
3) And if the forwarding rule is found, sending the message out from the corresponding middleware port.
4) If a forwarding rule is found but the rule status is not available and no other rule is found that can forward data to the destination middleware port, the forwarding fails.
The aviation communication middleware of the embodiment is provided in a mode of C language library file + C language header file, and a standard message receiving and sending interface is defined in the header file. The business program on the avionic device can call an aeronautical communication middleware interface only by linking the middleware library, so that the receiving and sending of data between devices connected by different physical buses are realized.
The above-mentioned embodiments are intended to illustrate the objects, technical solutions and advantages of the present invention in further detail, and it should be understood that the above-mentioned embodiments are merely exemplary embodiments of the present invention, and are not intended to limit the scope of the present invention, and any modifications, equivalent substitutions, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (10)

1. The distributed aeronautical communication middleware simultaneously supports the CAN bus and the Ethernet, and is characterized in that the aeronautical communication middleware works under a linux system and realizes the control of a physical bus by depending on an interface provided by an operating system; the aviation communication middleware comprises a bus adaptation module, a routing management module and an interface API;
the bus adaptation module is used for shielding the difference of bus operation processes, abstracting various operations of the Ethernet and the CAN bus into the same set of operation process, and providing a data structure and an operation function for accessing the bus to the routing management module;
the routing management module is responsible for analyzing the received message in the message receiving process and determining whether the message needs to be forwarded or not according to the message information; searching a correct route in the message sending process to send out the message;
the interface API is responsible for providing a uniform interface for external programs.
2. The distributed avionics middleware of claim 1 that supports both CAN bus and Ethernet, wherein both Ethernet operations and CAN bus operations are based on socket interfaces.
3. The distributed avionics communications middleware supporting both a CAN bus and Ethernet according to claim 1, wherein the avionics communications middleware employs a distributed architecture.
4. The distributed avionics communication middleware supporting both a CAN bus and Ethernet according to any of claims 1 to 3, wherein the avionics communication middleware port defines: within an ethernet network, each combination of IP plus ports is treated as a middleware port; on the CAN bus, each CAN bus controller plus CAN ID combination is treated as a middleware port.
5. The distributed avionics communication middleware supporting both a CAN bus and Ethernet according to claim 4, wherein the avionics communication middleware port is a linked list architecture comprising: next _ node, middleware port address addr, port type pt _ type, union type low _ Info, container pointer to current linked list, set of middleware port operation functions cmu _ ops, and lock pt _ lock.
6. The distributed avionics middleware supporting both a CAN bus and Ethernet according to claim 4 wherein operations on middleware ports are encapsulated as a structure of function pointers, wherein each pointer points to a corresponding function implementation, comprising: the Init operation encapsulates the socket creation operation; active packages socket binding operation, Stop modification state, Release operation corresponding to Release, modification of socket binding address after Update modifies routing forwarding table, Send corresponding packet sending operation and recv corresponding packet receiving operation.
7. The distributed avionics middleware support for both CAN bus and Ethernet according to claim 4 wherein the forwarding rules for the route forwarding tables on each device in the avionics system comprise: the global number of the current forwarding rule, the type of the forwarding data, the port address of the destination middleware, which local middleware port needs to send a message to reach the destination middleware port, the port address of the next hop middleware, and whether the current forwarding rule is normal or not.
8. The distributed avionics communications middleware supporting both a CAN bus and Ethernet according to claim 4, wherein the interface API comprises: initializing a middleware function Mw _ init, sending a message interface function MW _ send, receiving a message interface function MW _ recv, modifying and setting a static forwarding table information function MW _ set _ opt, and acquiring the static forwarding table information function MW _ get _ opt.
9. The message receiving method of the aeronautical communication middleware of any one of claims 1-8, wherein after the bus adaptation module reads the message from the bus, the corresponding message is transmitted to the route management module, and the route management module performs the following operations:
s1, analyzing the destination middleware port address, the source middleware port address and the data type in the message header;
s2, confirming whether the destination middleware port is on the current device, if yes, sending the data to the caller of the interface API;
s3, otherwise, searching the route forwarding table, if the forwarding rule is found in the route forwarding table, sending the message from the corresponding middleware port;
s4, if the routing rule can not be found in the routing forwarding table, discarding the corresponding message;
s5, if a forwarding rule can be found in the route forwarding table but the rule status is unavailable and no other forwarding rule can be found that can send the data to the destination middleware port, the corresponding message is discarded.
10. The method for sending the message of the aeronautical communication middleware of any one of claims 1 to 8, wherein during the message sending process, the interface API passes the incoming reference to the route management module, and the route management module performs the following operations:
s1, finding the middleware port for sending information through the source middleware port address, if the current device does not use the corresponding middleware port, the sending fails;
s2, searching the forwarding specification of the destination middleware port in the route forwarding table, if not, the sending is failed;
s3, if finding the forwarding rule, sending the message from the corresponding middleware port;
s4, if a forwarding rule is found but the rule status is not available and no other rule capable of forwarding data to the destination middleware port is found, the forwarding fails.
CN202010279920.7A 2020-04-10 2020-04-10 Distributed aeronautical communication middleware capable of simultaneously supporting CAN bus and Ethernet Active CN111565140B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010279920.7A CN111565140B (en) 2020-04-10 2020-04-10 Distributed aeronautical communication middleware capable of simultaneously supporting CAN bus and Ethernet

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010279920.7A CN111565140B (en) 2020-04-10 2020-04-10 Distributed aeronautical communication middleware capable of simultaneously supporting CAN bus and Ethernet

Publications (2)

Publication Number Publication Date
CN111565140A true CN111565140A (en) 2020-08-21
CN111565140B CN111565140B (en) 2021-08-24

Family

ID=72074226

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010279920.7A Active CN111565140B (en) 2020-04-10 2020-04-10 Distributed aeronautical communication middleware capable of simultaneously supporting CAN bus and Ethernet

Country Status (1)

Country Link
CN (1) CN111565140B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116232798A (en) * 2023-02-06 2023-06-06 暨南大学 Method, system, equipment and terminal for controlling various CAN bus equipment in cross-platform mode

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103197664A (en) * 2013-03-07 2013-07-10 重庆邮电大学 Embedded type controller parameter calibration system and method based on common object request breaker architecture (CORBA)
CN103281322A (en) * 2013-05-30 2013-09-04 莱诺斯科技(北京)有限公司 Middleware system for collection and control of satellite test data
CN105162858A (en) * 2015-08-20 2015-12-16 中国人民解放军国防科学技术大学 General transmission protocol frame aimed at CORBA middleware, communication system and method
US20160294614A1 (en) * 2014-07-07 2016-10-06 Symphony Teleca Corporation Remote Embedded Device Update Platform Apparatuses, Methods and Systems
US20180062988A1 (en) * 2016-08-31 2018-03-01 Faraday&Future Inc. Ethernet communication of can signals
CN208257827U (en) * 2018-03-08 2018-12-18 长春工业大学 A kind of CAN bus network interface based on Ethernet

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103197664A (en) * 2013-03-07 2013-07-10 重庆邮电大学 Embedded type controller parameter calibration system and method based on common object request breaker architecture (CORBA)
CN103281322A (en) * 2013-05-30 2013-09-04 莱诺斯科技(北京)有限公司 Middleware system for collection and control of satellite test data
US20160294614A1 (en) * 2014-07-07 2016-10-06 Symphony Teleca Corporation Remote Embedded Device Update Platform Apparatuses, Methods and Systems
CN105162858A (en) * 2015-08-20 2015-12-16 中国人民解放军国防科学技术大学 General transmission protocol frame aimed at CORBA middleware, communication system and method
US20180062988A1 (en) * 2016-08-31 2018-03-01 Faraday&Future Inc. Ethernet communication of can signals
CN208257827U (en) * 2018-03-08 2018-12-18 长春工业大学 A kind of CAN bus network interface based on Ethernet

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
IEEE POSIX-AUSTIN JOINT WORKING GROUP: ""IEEE Draft Standard for Information Technology - Portable Operating System Interface (POSIX(R))"", 《IEEE P1003.1》 *
TIANSHU CHEN等: ""Implementation of data distribution service interface based on ARINC653 system"", 《2018 13TH IEEE CONFERENCE ON INDUSTRIAL ELECTRONICS AND APPLICATIONS (ICIEA)》 *
付霖等: ""运载火箭测发控软件的中间件技术应用"", 《信息安全与技术》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116232798A (en) * 2023-02-06 2023-06-06 暨南大学 Method, system, equipment and terminal for controlling various CAN bus equipment in cross-platform mode
CN116232798B (en) * 2023-02-06 2024-03-19 暨南大学 Method, system, equipment and terminal for controlling various CAN bus equipment in cross-platform mode

Also Published As

Publication number Publication date
CN111565140B (en) 2021-08-24

Similar Documents

Publication Publication Date Title
US7242683B2 (en) Switched full-duplex ethernet type communication network and implementation process for this network
CN110506411B (en) Method and system for providing packet enforcement using logical ports in a virtualized computing environment
US7362755B2 (en) Process for implementing a switched full-duplex ethernet type communication network with redundancy
US9847954B2 (en) Distributed method of data acquisition in an AFDX network
JPS61144148A (en) Method and apparatus for bridging local area network
US8064347B2 (en) System and method for redundant switched communications
EP4054129A1 (en) Data transmission method, device, and system
EP3136633B1 (en) Network module for sending and/or receiving of data packages from a network arrangement and method
CN111565140B (en) Distributed aeronautical communication middleware capable of simultaneously supporting CAN bus and Ethernet
EP3324578B1 (en) Safe network interface
CN113542277B (en) Method, system, medium, and apparatus for CANOPEN device bridging through TSN network
CN111385016B (en) Switch for avionic communication system and avionic communication system
US11558218B2 (en) Semiconductor device and information processing method
CN115150280A (en) Data packet sending method and equipment
CN112887201A (en) VRRP (virtual router redundancy protocol) -based interface updating method and device and storage medium
Heise et al. Self-configuring real-time communication network based on OpenFlow
Koller et al. Design, implementation, and integration of a publish/subscribe-like multi-UAV communication architecture
Schnurr et al. Standard Spacecraft Interfaces and IP Network Architectures: Prototyping Activities at the GSFC
CN115733748A (en) Plug-and-play high-certainty configuration-free design method of airborne FC network
CN113924765A (en) Avionics network with synchronization domains and method for synchronizing network participants in an avionics network
KR19980071085A (en) LAN including distributed switching software
CN116527744A (en) A664 network data subscription and publishing method for IMA system
CN115001627A (en) InfiniBand network subnet management message processing method and system
CN115208964A (en) Method and communication device for collective communication
CN116055253A (en) Multi-network communication system

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