CN114545906B - Vehicle-mounted Ethernet gateway and vehicle - Google Patents
Vehicle-mounted Ethernet gateway and vehicle Download PDFInfo
- Publication number
- CN114545906B CN114545906B CN202210188296.9A CN202210188296A CN114545906B CN 114545906 B CN114545906 B CN 114545906B CN 202210188296 A CN202210188296 A CN 202210188296A CN 114545906 B CN114545906 B CN 114545906B
- Authority
- CN
- China
- Prior art keywords
- vehicle
- ethernet
- configuration
- module
- gateway
- 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.)
- Active
Links
- 230000006870 function Effects 0.000 claims abstract description 29
- 230000003993 interaction Effects 0.000 claims abstract description 17
- 238000004891 communication Methods 0.000 claims description 48
- 239000011159 matrix material Substances 0.000 claims description 23
- 238000000034 method Methods 0.000 claims description 8
- 230000005540 biological transmission Effects 0.000 claims description 7
- 238000004378 air conditioning Methods 0.000 claims description 2
- 230000000630 rising effect Effects 0.000 claims description 2
- 238000004519 manufacturing process Methods 0.000 abstract description 5
- 230000004044 response Effects 0.000 abstract description 5
- 238000007726 management method Methods 0.000 description 8
- 238000005516 engineering process Methods 0.000 description 7
- 230000009286 beneficial effect Effects 0.000 description 5
- 238000011161 development Methods 0.000 description 4
- 230000008859 change Effects 0.000 description 3
- 238000006243 chemical reaction Methods 0.000 description 3
- 238000003745 diagnosis Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 230000002093 peripheral effect Effects 0.000 description 3
- 102100034112 Alkyldihydroxyacetonephosphate synthase, peroxisomal Human genes 0.000 description 2
- 101100283411 Arabidopsis thaliana GMII gene Proteins 0.000 description 2
- 101000799143 Homo sapiens Alkyldihydroxyacetonephosphate synthase, peroxisomal Proteins 0.000 description 2
- 238000000848 angular dependent Auger electron spectroscopy Methods 0.000 description 2
- WXZOXVVKILCOPG-UHFFFAOYSA-N bis(2-ethylhexyl) benzene-1,3-dicarboxylate Chemical compound CCCCC(CC)COC(=O)C1=CC=CC(C(=O)OCC(CC)CCCC)=C1 WXZOXVVKILCOPG-UHFFFAOYSA-N 0.000 description 2
- 230000001419 dependent effect Effects 0.000 description 2
- 238000011010 flushing procedure Methods 0.000 description 2
- 230000002265 prevention Effects 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 230000006978 adaptation Effects 0.000 description 1
- 238000013459 approach Methods 0.000 description 1
- 238000012550 audit Methods 0.000 description 1
- 230000001680 brushing effect Effects 0.000 description 1
- 238000013506 data mapping Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005538 encapsulation Methods 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 238000002955 isolation Methods 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- WCNLCIJMFAJCPX-UHFFFAOYSA-N pethidine hydrochloride Chemical compound Cl.C=1C=CC=CC=1C1(C(=O)OCC)CCN(C)CC1 WCNLCIJMFAJCPX-UHFFFAOYSA-N 0.000 description 1
- 238000004171 remote diagnosis Methods 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B23/00—Testing or monitoring of control systems or parts thereof
- G05B23/02—Electric testing or monitoring
- G05B23/0205—Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
- G05B23/0208—Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterized by the configuration of the monitoring system
- G05B23/0213—Modular or universal configuration of the monitoring system, e.g. monitoring system having modules that may be combined to build monitoring program; monitoring system that can be applied to legacy systems; adaptable monitoring system; using different communication protocols
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Small-Scale Networks (AREA)
Abstract
The disclosure provides a vehicle-mounted Ethernet gateway and a vehicle, and relates to the technical field of vehicles. The in-vehicle ethernet gateway includes: at least one Ethernet interface, an application software layer, an interaction layer, a base software layer and a function configuration module; the function configuration module is connected with the upper computer through at least one Ethernet interface; the function configuration module is configured to receive a configuration file issued by the upper computer, and update routing information of the application software layer and/or the basic software layer. According to the vehicle-mounted Ethernet gateway disclosed by the disclosure, the functional configuration module is connected with the upper computer through the Ethernet interface, can receive the configuration file issued by the upper computer, and performs update iteration on the routing information of the application software layer and/or the basic software layer by the functional configuration module, so that the update iteration of gateway software can be realized quickly and safely without changing a bottom code, the production beat of a host factory is facilitated to be improved, and the response efficiency of vehicle products to customer demands and new functions is improved.
Description
Technical Field
The disclosure relates to the technical field of vehicles, and in particular relates to a vehicle-mounted Ethernet gateway and a vehicle.
Background
With the rapid development of vehicle technology, the functional configuration of vehicles is becoming more and more abundant, and the development is towards comfort and intelligentization. In order to transmit a large amount of information, the vehicle-mounted Ethernet is accordingly generated, and the Ethernet gateway is used as a terminal node for vehicle communication, and needs to transmit communication information such as routing Ethernet (Ethernet)/variable rate controller area network (CAN with Flexible Data rate, CANFD)/controlled area network (Controller Area Network, CAN)/local interconnection network (Local Interconnect Protocol, LIN) and the like, so as to ensure the safety and reliability of vehicle communication.
However, in the related technology, the vehicle-mounted Ethernet gateway updating software needs to change the software bottom code, a large number of software tests are needed after the software is changed, the time and the labor are consumed, the software problem is easy to occur, and the quick updating iteration of the gateway software cannot be realized.
Disclosure of Invention
The disclosure provides a vehicle-mounted Ethernet gateway and a vehicle, which can solve the problem that gateway software cannot be updated and iterated quickly.
The technical scheme is as follows:
In one aspect, there is provided a vehicle-mounted ethernet gateway, the vehicle-mounted ethernet gateway comprising: at least one Ethernet interface, an application software layer, an interaction layer, a base software layer and a function configuration module;
The function configuration module is connected with the upper computer through the at least one Ethernet interface;
The function configuration module is configured to receive a configuration file issued by the upper computer and update the routing information of the application software layer and/or the basic software layer.
In some embodiments, the functional configuration module is a graphical router management tool developed in accordance with an automotive open system framework standard.
In some embodiments, the host computer includes a web services orchestrator;
The web services orchestrator is configured to receive the communication matrix description file and output a configuration file to the functional configuration module using DoIP diagnostic flush protocols.
In some embodiments, the communication matrix description file is marked using an extensible markup language.
In some embodiments, the at least one Ethernet interface is a 100BASE-TX interface.
In some embodiments, the on-board ethernet gateway comprises a first processor module, a second processor module;
The first processor module is provided with a first independent interface, the second processor module comprises a second independent interface, and the first independent interface is connected with the second independent interface, so that the first processor module and the second processor module can perform information interaction;
the at least one Ethernet interface is arranged on the second processor module.
In some embodiments, the first processor module is a master micro control unit; and/or, the second processor module is an ethernet switch chip.
In some embodiments, the first processor module includes an ethernet flush module, the first processor module being capable of flushing the in-vehicle ethernet gateway through the ethernet flush module.
In some embodiments, the first processor module further comprises a communication matrix configuration module configured to enable at least one of a CAN message configuration, a CAN signal configuration, a CAN/LIN routing table configuration, a VLAN configuration, an ETH/CAN/LIN cross-protocol routing configuration, a network security policy configuration.
In another aspect, a vehicle employing the in-vehicle ethernet gateway of any of the present disclosure.
The beneficial effects that this disclosure provided technical scheme brought include at least:
According to the vehicle-mounted Ethernet gateway disclosed by the disclosure, the functional configuration module is connected with the upper computer through the Ethernet interface, can receive the configuration file issued by the upper computer, and performs update iteration on the routing information of the application software layer and/or the basic software layer by the functional configuration module, so that the update iteration of gateway software can be realized quickly and safely without changing a bottom code, the production beat of a host factory is facilitated to be improved, and the response efficiency of vehicle products to customer demands and new functions is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the drawings required for the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present disclosure, and other drawings may be obtained according to these drawings without inventive effort for a person of ordinary skill in the art.
Fig. 1 is a schematic structural diagram of a vehicle-mounted ethernet gateway provided in an embodiment of the present disclosure;
fig. 2 is an interaction schematic diagram of a first processor module and a second processor module provided in an embodiment of the present disclosure.
Reference numerals in the drawings are respectively expressed as:
100. a vehicle-mounted Ethernet gateway; 200. an upper computer;
1. An Ethernet interface; 2. an application software layer; 3. an interaction layer; 4. a base software layer; 5. a function configuration module; 6. a network service orchestrator; 7. a first processor module; 8. a second processor module; 9. a first independent interface; 10. a second independent interface; 11. an Ethernet brush module; 12. and a communication matrix configuration module.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as detailed in the accompanying claims.
Unless defined otherwise, all technical terms used in the embodiments of the present disclosure have the same meaning as commonly understood by one of ordinary skill in the art.
With the advent of advanced driving assistance systems (ADVANCED DRIVING ASSISTANCE SYSTEM, ADAS), hybrid vehicles and electric vehicles, and active safety systems, even automatic driving, and other new technologies, the development of information entertainment systems and other technologies, the network bandwidth and transmission speed of traditional networks such as controller area networks (Controller Area Network, CAN) cannot be satisfied for the transmission of huge amounts of data inside the vehicles. The network capacity requirement of the vehicle network is rapidly increased, and the Ethernet is more suitable for the new technology than the traditional automobile networks such as CAN or FlexRay.
The vehicle-mounted Ethernet gateway is used as a central communication node of the vehicle-mounted Ethernet, communication service between the vehicle and the outside is realized by connecting the remote information control unit, and meanwhile, the safety of vehicle information is ensured through a firewall and intrusion detection for data accessed from the outside.
An automotive gateway, also called a vehicle connection gateway (CVG) or a vehicle connection gateway (CCG), is a vehicle entry point (entry point) that allows a vehicle to communicate with the outside world, and can safely and reliably interconnect and transmit data in a plurality of different networks in the vehicle. Through physical isolation and protocol conversion, information interaction is performed between the functional domains of shared data (powertrain, chassis and security, body control, infotainment, telematics, ADAS). Vehicles increasingly rely on Electronic Control Units (ECU) to enhance the driving experience. As a communication bridge between various ECU networks, the gateway controller realizes data exchange through external interfaces (including high-low speed CAN, LIN, ISO-9141, flexRay and ethernet protocol), and plays a fundamental role.
However, in the related art, the software code needs to be changed when the vehicle-mounted ethernet gateway updates the routing information, a large number of software tests are needed after the software code is changed, which is time-consuming and labor-consuming, and software problems easily occur.
In addition, many controller requirements in the vehicle are refreshed at the host plant according to customer requirements or new functions, and the generation beats of the plant are slowed down due to the long gateway software update period.
Therefore, the present disclosure provides a vehicle-mounted ethernet gateway, where a functional configuration module is connected with an upper computer through an ethernet interface, and is capable of receiving a configuration file issued by the upper computer, and performing update iteration on routing information of an application software layer and/or a base software layer by using the functional configuration module, without changing a bottom code, so that update iteration of gateway software can be quickly and safely implemented, which is beneficial to improving production beats of a host factory, and improving response efficiency of a vehicle product to a customer demand and a new function.
It should be understood that the term "vehicle" or other similar terms as used herein include motor vehicles in general, such as passenger vehicles (including sport utility vehicles, buses, trucks, etc.), various commercial vehicles, and the like, and include hybrid vehicles, electric vehicles, and the like. A hybrid vehicle is a vehicle having two or more power sources, such as a gasoline powered and an electric vehicle.
Hereinafter, an on-vehicle ethernet gateway according to various exemplary embodiments of the present utility model will be described in detail with reference to the accompanying drawings.
In the context of the present disclosure, the term "gateway" is used to refer to a network device that transmits PDUs at the OSI layers. It is a network device that allows control module networks using different communication protocols and different communication rates to communicate with each other, including but not limited to gateway devices such as bridges, switches, routers, or application layer routes. "on-board ethernet gateway" refers to the associated gateway device for the on-board ethernet.
Fig. 1 is a schematic structural diagram of a vehicle-mounted ethernet gateway provided in an embodiment of the present disclosure.
In one aspect, as shown in fig. 1, the present embodiment provides a vehicle-mounted ethernet gateway 100, where the vehicle-mounted ethernet gateway 100 includes: at least one ethernet interface 1 (ETHERNET INTERFACE), an application Software layer 2 (Application Layer), an interaction layer 3, a base Software layer 4 (BSW), and a functional configuration module 5; the function configuration module 5 is connected with the upper computer 200 through at least one Ethernet interface 1; the functional configuration module 5 is configured to receive the configuration file issued by the upper computer 200, and update the routing information of the application software layer 2 and/or the base software layer 4.
The function configuration module 5 of the vehicle-mounted ethernet gateway 100 of this embodiment is connected with the upper computer 200 through the ethernet interface 1, and is capable of receiving the configuration file issued by the upper computer 200, and performing update iteration on the routing information of the application software layer 2 and/or the base software layer 4 by the function configuration module 5, without changing the bottom code, so that update iteration of gateway software can be rapidly and safely implemented, which is beneficial to improving the production beat of a host factory, and improving the response efficiency of vehicle products to customer demands and new functions.
In some possible implementations, the on-board ethernet gateway 100 is based on an automobile open system architecture (AUTomotive Open System Architecture, AUTOSAR), the application software layer 2 contains software required by the automobile host factory and related to functions, the interaction layer 3 is a bridge for interaction between different modules of the application layer and between the application software layer 2 and the base software layer 4, and the base software layer 4 contains (Microcontroller Unit, MCU) and its peripheral device drivers, a hardware abstraction layer, and a service layer for providing interface services for upper layer applications.
Illustratively, the interaction layer 3 is a runtime environment (Runtime Environment, RET) that is a specific implementation of the AUTOSAR Virtual Function Bus (VFB) for a particular ECU, supporting inter-software component, inter-base software, inter-software component and base software communications. The RTE encapsulates the communication and services of the base software layer 4, providing standardized base software and communication interfaces for the software components of the application layer, such that the application layer can call the services of the base software through API functions.
The application software layer 2 is located above the RTE in architecture and is composed of application components, one of which is a special application component, namely a sensor/actuator component. RTEs support both software components that are available to source code (source code software components) and software components that are available only to object code (object code software components).
Another exemplary base software layer 4 includes a microprocessor abstraction layer (Microcontroller Abstraction Layer, MCAL), an ECU abstraction layer, a service layer, and complex drivers. MCAL is driver software of the MCU, and encapsulates the operation of each peripheral module with register operations. The ECU abstraction layer has more drivers for on-board hardware resources than MCAL, such as external watchdog, off-chip EEPROM or FLASH, etc. The service layer is a further encapsulation and abstraction, generally including OS, power state management, whole vehicle network communications, diagnostic services, storage services, and the like. Complex drives include drives of hardware devices that are not within the AUTOSAR standard specification, such as motor drives, more complex sensor drives, etc.
Reference herein to "a number", "at least one" means one or more, "a plurality", "at least two" means two or more. "and/or", describes an association relationship of an association object, and indicates that there may be three relationships, for example, a and/or B, and may indicate: a exists alone, A and B exist together, and B exists alone. The character "/" generally indicates that the context-dependent object is an "or" relationship.
In some embodiments, the functional configuration module 5 is a graphical router management tool developed in accordance with the open system framework standard of an automobile.
AUTOSAR is built jointly by global automotive manufacturers, component suppliers and other electronic, semiconductor and software system companies, each member maintaining a development partnership. Since 2003, partner companies have carried their hands in collaboration, in an effort to develop an open, standardized software architecture for the automotive industry. The AUTOSAR architecture is beneficial to the exchange and update of vehicle electronic system software, and provides a foundation for efficiently managing more and more complex vehicle electronic and software systems. In addition, AUTOSAR improves cost efficiency while ensuring product and service quality.
Illustratively, the functional configuration module 5 is (Security DEVICE MANAGER, SDM).
SDM is a completely new graphical router management tool offered by Cisco corporation. The tool utilizes a WEB interface, java technology and an interactive configuration guide to enable a user to easily complete state monitoring, security audit and function configuration of the IOS (Internetwork Operating System) router without knowing a Command line interface (Command LINE INTERFACE, CLI).
The configuration tasks of quality of service (Quality of Service, qoS), intrusion prevention system (Intrusion Prevention System, IPS), dynamic host configuration protocol DHCP SERVER, dynamic routing protocol, etc. can also be easily and quickly accomplished with SDM. The use of SDM can simplify the workload of network administrators and the probability of errors. When SDM is used for management, encrypted HTTP connection and SSH v2 protocol are used between the user and the router, so that the system is safe and reliable.
As shown in connection with fig. 1, in some embodiments, the upper computer 200 includes a web service orchestrator 6; the network service orchestrator 6 is configured to receive the communication matrix description file and output the configuration file to the functional configuration module 5 using DoIP diagnostic flush protocols.
Therefore, when the on-vehicle ethernet gateway 100 of this embodiment performs the gateway software update iteration, the software underlying code does not need to be changed, and only the communication matrix description file needs to be imported to the upper computer 200, and the configuration file is issued to the SDM module by using DoIP diagnostic flush protocol through the ethernet interface 1 of the gateway, so that the latest routing data is configured to implement the new routing.
Illustratively, web services orchestrator 6 is a tool for automated configuration, coordination, and management of computer systems and software.
Illustratively, doIP is an ethernet-based communication protocol that transfers data of the UDS protocol, diagnostic communication over Internet Protocol. Which is itself a protocol, is specified in the ISO13400 standard. Since DoIP CAN transmit a large amount of data and has a high response speed and CAN perform remote diagnosis through the ethernet, doIP gradually becomes a necessary trend of vehicle-mounted network diagnosis instead of the traditional bus mode such as CAN.
In some embodiments, the communication matrix description file is marked using an extensible markup language (Extensible Markup Language, XML).
In an electronic computer, a tag refers to an information symbol that can be understood by the computer, and by XML tag, various information such as articles and the like can be processed between the computers. It can be used to mark data, define data types, and is a source language that allows users to define their own mark-up language. Well suited for web transport, provides a unified approach to describe and exchange structured data independent of applications or vendors. Is a cross-platform and content-dependent technology in the Internet environment and is an effective tool for processing distributed structure information nowadays. As early as 1998, W3C issued the XML1.0 specification, which was used to simplify the transmission of document information to the Internet.
The use of an XML markup communication matrix can be more easily combined with information generated under Windows, mac OS, linux, and other platforms, and then XML data can be easily loaded into the program and parsed and the results output in XML format.
In some possible implementations, the communication matrix (Communication Matrix) is typically defined by the entire vehicle plant, which each node in the vehicle network needs to follow to complete the interaction and sharing of information.
For passenger cars, after the UDS (Unified Diagnostic Services, UDS) and exhaust emission protocol are satisfied, a substantial portion of the ID segment remains. The ID segments are distributed by the host factory at will, and after being distributed, form a table in XML format. The table may be imported into the host computer 200 as a communication matrix.
In some embodiments, at least one ethernet interface 1 is a 100BASE-TX interface. Two pairs of 5 types of unshielded twisted pair wires or 1 type of shielded twisted pair wires are used, one pair is used for transmitting data, the other pair is used for receiving data, the maximum network segment length is 100m, and the wiring accords with the EIA568 standard; adopting 4B/5B coding method to make it possible to transmit data in 125MHz serial data stream; which supports full duplex, uses MLT-3 (multi-level transmission-3) waveforms to reduce the signal frequency to 125/3=41.6 MHz.100Base-TX makes the most widely used physical layer specification in 100 Base-T.
Wherein the numeral 100 denotes the frequency of the network cable design in units MHz (Megahertz). I.e. 100MHz. The larger the value of MHz, the faster the speed supported by the network line. If you try to use this type of wire in higher frequencies (and speeds) it will not work or become very unreliable. 100MHz is transmitted at 100Mbit per second, which theoretically means 12Mbps. However, in practice, more than 4Mbps may not be available. BASE is an abbreviation for english baseband, which refers to baseband. Indicating that no frequency division multiplexing or other frequency conversion technique is used, each signal fully controls the cable at a single frequency. T represents the physical medium carrying the signals as twisted pair cable (split into UTP (Unshielded TWISTED PAIR, unshielded twisted pair) and STP (SHIELDED TWICTED PAIR, shielded twisted pair)), where each pair of twisted pairs carrying the signals are intertwined to reduce electromagnetic interference and crosstalk (between FEXT and NEXT). There are a number of different criteria at the same transmission rate, which are separated (e.g., TX) by an alpha or numeric followed by T/F/C. It shows the structure of the wire and indicates the number of twisted pairs involved. Some high speed standards use coaxial cable and are assigned the designation CX.
As shown in connection with fig. 2, in some embodiments, the in-vehicle ethernet gateway 100 comprises a first processor module 7, a second processor module 8; the first processor module 7 is provided with a first independent interface 9, the second processor module 8 comprises a second independent interface 10, and the first independent interface 9 is connected with the second independent interface 10, so that the first processor module 7 and the second processor module 8 can perform information interaction; at least one ethernet interface 1 is provided to the second processor module 8.
The vehicle-mounted ethernet gateway 100 of the present embodiment can solve the problem of mutual communication between the telematics processor (TELEMATICS BOX) and the large screen of the central control host, the autopilot system, the diagnosis of the ethernet DOIP, and the like, and establish an ethernet communication intermediate bridge. The vehicle-mounted Ethernet gateway 100 CAN convert vehicle CAN node information such as traditional vehicle node information EMS, ESP, BDM, an air conditioning system, a brake system and the like into Ethernet information through SOMEIP protocol and transmit the Ethernet information to the cloud end, and CAN transmit the Ethernet information to the vehicle CAN node through SOMEIP protocol, so that communication of different communication networks such as Ethernet, CANFD, CAN, LIN and the like in the vehicle is achieved.
In some possible implementations, the first independent interface 9 and the second independent interface 10 use a Reduced Gigabit Media Independent Interface (RGMII), use a 4-bit data interface, operate at 125MHz, and transmit data at the same time on the rising edge and the falling edge, with a transmission rate up to 1000Mbps.
In some embodiments, the first processor module 7 is a main micro control unit (Microcontroller Unit, MCU).
For example, the MCU is also called a single chip Microcomputer (SINGLE CHIP microcomputers) or a single chip Microcomputer, which is to properly reduce the frequency and specification of a central processing unit (Central Process Unit, CPU), and integrate peripheral interfaces such as a memory (memory), a counter (Timer), a USB, an a/D conversion, a universal asynchronous receiver Transmitter (Universal Asynchronous Receiver/Transmitter, UART), a PLC, a direct memory access (Direct Memory Access, DMA), and the like, even the LCD driving circuit on a single chip to form a chip-level computer, so as to perform different combination control for different application occasions.
In some embodiments, the second processor module 8 is an ethernet Switch chip (Switch).
Illustratively, the switch chip is composed of a GE/XE interface (MAC/PHY) module, a CPU interface module, an input/output matching/modifying module, an MMU module, an L2 forwarding module, an L3 forwarding module, a security module, a flow classification module, and the like.
For example, the MCU is of TC397XX,6 cores, the functional safety ASILD grade, supports Ethernet/CANFD/CAN/LIN communication, the RAM resource of the MCU is reserved for 30% for later stage platform function expansion, the MCU is provided with interfaces such as a Reduced GMII (RGMII), a Serial Gigabit media independent interface (Serial Gigabit MEDIA INDEPENDENT INTERFACE/SERIAL GMII, SGMII) and the like, and the MCU is provided with 100Mbps/1000Mbps communication capability with a Switch (Switch chip). In addition, the MCU is also provided with an EMMC (Embedded Multi MEDIA CARD) interface and a hardware security module (hardware security module, HSM) function.
1 Model RTL9068ABD of Ethernet Switch chip supports 4 paths of 100BASE-T1; 2-way 1000BASE-T1, 1-way 100BASE-TX ethernet communications.
In some embodiments, the first processor module 7 includes an ethernet flush module 11, the first processor module 7 being capable of flushing the in-vehicle ethernet gateway 100 through the ethernet flush module 11.
Thus, the ECU in the vehicle-mounted ethernet gateway 100 of the present embodiment can support Boot loader, and the ethernet flashing module 11 is used to perform flashing on the gateway of the vehicle-mounted ethernet.
The in-vehicle ethernet gateway 100 of the present embodiment should avoid refreshing when:
1. any condition that can negatively affect the gateway or related vehicle safety functions;
2. a vehicle driving cycle;
3. the engine is operated;
4. A system low voltage;
5. The application software update cannot affect the calibration data and the configuration parameters.
In some embodiments, the first processor module 7 further comprises a communication matrix configuration module 12, the communication matrix configuration module 12 being configured to enable at least one of the following configuration processes:
CAN message configuration: on the premise that hardware resources meet the requirements, the number of the cut messages can be increased at will;
CAN signal configuration: adding, clipping and changing the position of the signal in the message;
CAN/LIN routing table configuration: by changing the routing information (including message ID, message name, period of message and signal, etc.) in the routing table, the routing of signals on different vehicle types is realized, the routing signals can be increased, the routing signals can be cut, and the flexibility of network configuration is realized to the maximum extent.
VLAN configuration: by configuring the VLAN table, flexible configuration of Ethernet data routing is realized.
ETH/CAN/LIN cross-protocol routing configuration: the routing relation between ETH/CAN/LIN CAN be flexibly configured.
Network security policy configuration: security policy mechanisms such as CAN firewall, ethernet firewall, CAN IDPS, etc. CAN be flexibly configured as needed.
Thus, the vehicle-mounted ethernet gateway 100 of the present embodiment can assist in completing the establishment of the environment related to the communication matrix configuration through the matched communication matrix configuration tool and the matched environment.
In some possible implementations, the on-board ethernet gateway further includes a communication module including at least one of a CAN interface, a LIN interface, and an ETH interface for connecting to an on-board computer (Electronic Control Unit, ECU).
In some possible implementations, the on-board Ethernet gateway 100 also has functions of supporting DoIP and CANFD/CAN diagnostics, non-transparent (DoIP client), DHCP CLIENT functions, parallel flooding, ethernet communication, ethernet configuration, SOMEIP protocol, AVB protocol, UDS diagnostics, CAN/CANFD network management, diagnostic network segment support CAN/CANFD communication adaptation, communication CANFD network segment support channel configuration, remote control, diagnosis and software Flash routing, routing table configuration, data mapping, EOL configuration, frame routing, signal routing, protocol routing, communication rate and DLC length, OTA, CAN Tsyn synchronization, etc.
The parallel refreshing is an in-vehicle Ethernet node, and the gateway carries out L2 layer forwarding by establishing DoIP connection, so that forwarding delay is reduced; CAN/CANFD/LIN nodes in the vehicle are forwarded by corresponding domain controllers DoIP < - > DoCAN/DoCANFD/DoLIN, and parallel brushing of ECUs in different domains is supported.
Those skilled in the art will appreciate that in one or more embodiments, the aforementioned on-board ethernet gateway may be installed on a vehicle. In addition, those skilled in the art will appreciate that the various functions of the present disclosure may be implemented in hardware (e.g., circuitry), firmware (e.g., field programmable gate array (Field Programmable GATE ARRAY, FPGA) boards), etc.
On the other hand, a vehicle is provided, and the vehicle adopts the vehicle-mounted Ethernet gateway 100 of any one of the present disclosure, so that all beneficial technical effects of the vehicle-mounted Ethernet gateway 100 of the present disclosure are achieved.
The vehicle of the embodiment can use the Ethernet gateway to brush in-vehicle nodes in parallel through DOIP so as to greatly improve the vehicle production line brush speed; the method comprises the steps of supporting the transmission of more information of a vehicle to a user cloud end and a mobile phone end, and uploading Ethernet big data; and a large amount of information data such as road real-time data, compressed maps and the like are supported to be rapidly transmitted to a host system, an automatic driving system and the like through an Ethernet gateway.
The method solves the problem of gateway software update iteration, and the gateway software can be updated more rapidly as the new functions of the client demand are increased along with the vehicle software definition automobile. The software defines the communication matrix, does not need to change the bottom code, and can change the routing list through the configuration tool. And developing an SDM management tool according to an AUTOSAR standard, and directly configuring a routing table by an upper computer to finish updating the routing information.
It should be understood that the term "vehicle" or other similar terms as used herein include motor vehicles in general, such as passenger vehicles (including sport utility vehicles, buses, trucks, etc.), various commercial vehicles, and the like, and include hybrid vehicles, electric vehicles, and the like. A hybrid vehicle is a vehicle having two or more power sources, such as a gasoline powered and an electric vehicle.
It should be noted that, in the description of the present disclosure, unless explicitly specified and limited otherwise, the terms "mounted," "connected," and "connected" are to be construed broadly, and may be either fixedly connected, detachably connected, or integrally connected, for example; may be a mechanical connection; can be directly connected or indirectly connected through an intermediate medium, and can be communicated with the inside of two elements or the interaction relationship of the two elements. The specific meaning of the terms in this disclosure will be understood by those of ordinary skill in the art as the case may be.
Furthermore, the terms "first," "second," and the like, are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include one or more features. In the description of the present disclosure, the meaning of "a plurality" is two or more, unless explicitly defined otherwise.
In the description of the present specification, reference to the terms "certain embodiments," "one embodiment," "some embodiments," "an exemplary embodiment," "an example," "a particular example," or "some examples" means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present disclosure.
The foregoing description of the embodiments of the present disclosure is not intended to limit the present disclosure, but rather, any modifications, equivalents, improvements, etc. that fall within the principles of the present disclosure are intended to be included within the scope of the present disclosure.
Claims (4)
1. An in-vehicle ethernet gateway, characterized in that the in-vehicle ethernet gateway (100) comprises: at least one Ethernet interface (1), an application software layer (2), an interaction layer (3), a base software layer (4) and a functional configuration module (5);
The function configuration module (5) is connected with the upper computer (200) through the at least one Ethernet interface (1);
The function configuration module (5) is configured to receive a configuration file issued by the upper computer (200) and update routing information of the application software layer (2) and/or the base software layer (4);
The application software layer (2) consists of application components, including sensor/actuator components; the interaction layer supports both software components available to source code and software components available only to object code;
The base software layer (4) further comprises complex drives including motor drives and complex sensor drives that are not in the AUTOSAR standard specification;
The on-board ethernet gateway avoids refreshing when: any condition that negatively affects the gateway or related vehicle safety functions; a vehicle driving cycle; the engine is operated; a system low voltage; the application software update cannot affect the calibration data and the configuration parameters;
The vehicle-mounted Ethernet gateway (100) further comprises a first processor module (7) and a second processor module (8); the first processor module (7) is provided with a first independent interface (9), the second processor module (8) comprises a second independent interface (10), the first independent interface (9) and the second independent interface (10) adopt simple gigabit medium independent interfaces, and the first independent interface (9) and the second independent interface (10) are connected, so that the first processor module (7) and the second processor module (8) can perform information interaction; the at least one Ethernet interface (1) is arranged on the second processor module (8); the working clocks of the first independent interface (9) and the second independent interface (10) are 125MHz, and data are transmitted simultaneously on the rising edge and the falling edge, wherein the transmission rate can reach 1000Mbps;
The first processor module (7) comprises an Ethernet flashing module (11), and the first processor module (7) can perform flashing on the vehicle-mounted Ethernet gateway (100) through the Ethernet flashing module (11);
The first processor module (7) further comprises a communication matrix configuration module (12), wherein the communication matrix configuration module (12) is configured to be capable of completing CAN message configuration, CAN signal configuration, CAN/LIN routing table configuration, VLAN configuration, ETH/CAN/LIN cross-protocol routing configuration and network security policy configuration; wherein the network security policy configuration includes configuring a CAN firewall, an Ethernet firewall, and CAN IDPS;
the at least one Ethernet interface (1) is a 100BASE-TX interface, two pairs of 5 types of unshielded twisted pair wires or 1 type of shielded twisted pair wires are used, one pair is used for transmitting data, the other pair is used for receiving data, the maximum network segment length is 100m, and the wiring accords with the EIA568 standard; transmitting data in a serial data stream of 125MHz by adopting a 4B/5B coding method; supporting full duplex, using multi-level transmission-3 waveforms to reduce signal frequency to 41.6MHz;
The upper computer (200) comprises a network service orchestrator (6), wherein the network service orchestrator (6) is a tool for automatically configuring, coordinating and managing a computer system and software;
The network service orchestrator (6) is configured to receive a communication matrix description file, output the configuration file to the functional configuration module (5) by using DoIP diagnostic and flashing protocol, and mark the communication matrix description file by using extensible markup language, wherein the communication matrix is defined by the whole vehicle factory and is obtained by distributing the remaining ID segments of the vehicle except for meeting UDS and exhaust emission protocols, the communication matrix is imported into the upper computer (200), and each node in the vehicle network needs to follow the communication matrix to complete information interaction and sharing;
The vehicle-mounted Ethernet gateway (100) is used for converting vehicle CAN node information of the traditional vehicle-mounted node EMS, ESP, BDM, an air conditioning system and a brake system into Ethernet information through SOMEIP protocol and transmitting the Ethernet information to the cloud, and transmitting the Ethernet information to the vehicle CAN node through SOMEIP protocol.
2. The on-board ethernet gateway according to claim 1, wherein said functional configuration module (5) is a graphical router management tool developed in accordance with the open system framework standard of a car.
3. The vehicle-mounted ethernet gateway according to claim 1, wherein said first processor module (7) is a main micro control unit; and/or the second processor module (8) is an Ethernet switch chip.
4. A vehicle, characterized in that it employs an on-board ethernet gateway (100) according to any of claims 1-3.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210188296.9A CN114545906B (en) | 2022-02-28 | 2022-02-28 | Vehicle-mounted Ethernet gateway and vehicle |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210188296.9A CN114545906B (en) | 2022-02-28 | 2022-02-28 | Vehicle-mounted Ethernet gateway and vehicle |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN114545906A CN114545906A (en) | 2022-05-27 |
| CN114545906B true CN114545906B (en) | 2024-05-10 |
Family
ID=81678832
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202210188296.9A Active CN114545906B (en) | 2022-02-28 | 2022-02-28 | Vehicle-mounted Ethernet gateway and vehicle |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN114545906B (en) |
Families Citing this family (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN115242861B (en) * | 2022-07-06 | 2023-07-18 | 深蓝汽车科技有限公司 | RTE layer communication data mapping configuration file generation method and system, computer readable storage medium and electronic equipment |
| CN115412394B (en) * | 2022-08-22 | 2023-08-18 | 奥特酷智能科技(南京)有限公司 | Heterogeneous domain controller inter-core communication method based on AutoSar |
| CN115529361A (en) * | 2022-10-31 | 2022-12-27 | 东风柳州汽车有限公司 | Vehicle control method and device based on gateway |
| CN116055252A (en) * | 2023-01-04 | 2023-05-02 | 芜湖雄狮汽车科技有限公司 | Vehicle communication method and device based on vehicle Ethernet, vehicle and storage medium |
| CN116074216B (en) * | 2023-01-09 | 2024-06-14 | 中国第一汽车股份有限公司 | Test method and test device for vehicle-mounted Ethernet physical layer and cloud server |
| CN117640283B (en) * | 2023-11-23 | 2024-06-11 | 广州致远电子股份有限公司 | Vehicle-mounted Ethernet analysis system |
| CN118827350A (en) * | 2024-06-27 | 2024-10-22 | 岚图汽车科技有限公司 | Ethernet service automatic configuration method and related equipment |
Citations (19)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| DE102007051912A1 (en) * | 2007-10-29 | 2009-04-30 | Volkswagen Ag | Motor vehicle network configuring method for communicating message between controllers, involves adjusting communication behavior of controllers based on sending and receiving requirements of communication matrix in initialization phase |
| CN101741770A (en) * | 2009-12-23 | 2010-06-16 | 上海电器科学研究所(集团)有限公司 | A kind of Ethernet/IP communication gateway and its realization method |
| DE102014202071A1 (en) * | 2014-02-05 | 2015-08-06 | Robert Bosch Gmbh | Method and device for operating a communication network, in particular of a motor vehicle |
| CN106131028A (en) * | 2016-07-19 | 2016-11-16 | 上海电器科学研究所(集团)有限公司 | A kind of data transmission method of Free-port communication gateway |
| CN106254234A (en) * | 2016-10-20 | 2016-12-21 | 珠海格力智能装备有限公司 | Intelligent communication gateway and intelligent communication system |
| WO2016202553A1 (en) * | 2015-06-19 | 2016-12-22 | Robert Bosch Gmbh | Method for communication between software components in a motor vehicle |
| CN106972944A (en) * | 2016-12-07 | 2017-07-21 | 北京金蚂蚁德创科技有限公司 | The collocation method of vehicle-mounted configurable gateway |
| CN107168296A (en) * | 2017-06-30 | 2017-09-15 | 东南(福建)汽车工业有限公司 | A kind of automotive diagnostic installation software systems |
| CN107659494A (en) * | 2017-10-12 | 2018-02-02 | 宁波吉利汽车研究开发有限公司 | Data processing method and intelligent vehicle-carried gateway |
| CN109532720A (en) * | 2018-12-11 | 2019-03-29 | 安徽江淮汽车集团股份有限公司 | A kind of intelligent automobile of the ethernet gateway with rear configuration feature |
| CN109583646A (en) * | 2018-11-29 | 2019-04-05 | 贵州航天云网科技有限公司 | A kind of product lifecycle cooperative system based on SDM |
| DE102019000493A1 (en) * | 2019-01-23 | 2019-06-06 | Daimler Ag | Method for updating a respective software of several control units of a vehicle |
| CN110995578A (en) * | 2019-11-15 | 2020-04-10 | 中国第一汽车股份有限公司 | Design method, device, equipment and storage medium of automobile gateway |
| CN111224917A (en) * | 2018-11-23 | 2020-06-02 | 广州汽车集团股份有限公司 | Automobile gateway firewall message health check method, gateway device and automobile |
| CN111817938A (en) * | 2020-07-15 | 2020-10-23 | 上汽通用五菱汽车股份有限公司 | Method, system and storage medium for compiling automobile CAN communication matrix |
| CN112799321A (en) * | 2020-12-14 | 2021-05-14 | 东风汽车集团有限公司 | A Quick Creation Method of DBC File Following CAN Bus Communication Protocol |
| CN113448299A (en) * | 2020-03-25 | 2021-09-28 | 北京新能源汽车股份有限公司 | Vehicle gateway controller, information processing method and vehicle |
| CN113905461A (en) * | 2021-10-27 | 2022-01-07 | 奇瑞商用车(安徽)有限公司 | Wireless communication module of integrated gateway |
| CN114035539A (en) * | 2021-10-25 | 2022-02-11 | 东风商用车有限公司 | Instantiated vehicle type communication matrix generation method, device, equipment and storage medium |
-
2022
- 2022-02-28 CN CN202210188296.9A patent/CN114545906B/en active Active
Patent Citations (19)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| DE102007051912A1 (en) * | 2007-10-29 | 2009-04-30 | Volkswagen Ag | Motor vehicle network configuring method for communicating message between controllers, involves adjusting communication behavior of controllers based on sending and receiving requirements of communication matrix in initialization phase |
| CN101741770A (en) * | 2009-12-23 | 2010-06-16 | 上海电器科学研究所(集团)有限公司 | A kind of Ethernet/IP communication gateway and its realization method |
| DE102014202071A1 (en) * | 2014-02-05 | 2015-08-06 | Robert Bosch Gmbh | Method and device for operating a communication network, in particular of a motor vehicle |
| WO2016202553A1 (en) * | 2015-06-19 | 2016-12-22 | Robert Bosch Gmbh | Method for communication between software components in a motor vehicle |
| CN106131028A (en) * | 2016-07-19 | 2016-11-16 | 上海电器科学研究所(集团)有限公司 | A kind of data transmission method of Free-port communication gateway |
| CN106254234A (en) * | 2016-10-20 | 2016-12-21 | 珠海格力智能装备有限公司 | Intelligent communication gateway and intelligent communication system |
| CN106972944A (en) * | 2016-12-07 | 2017-07-21 | 北京金蚂蚁德创科技有限公司 | The collocation method of vehicle-mounted configurable gateway |
| CN107168296A (en) * | 2017-06-30 | 2017-09-15 | 东南(福建)汽车工业有限公司 | A kind of automotive diagnostic installation software systems |
| CN107659494A (en) * | 2017-10-12 | 2018-02-02 | 宁波吉利汽车研究开发有限公司 | Data processing method and intelligent vehicle-carried gateway |
| CN111224917A (en) * | 2018-11-23 | 2020-06-02 | 广州汽车集团股份有限公司 | Automobile gateway firewall message health check method, gateway device and automobile |
| CN109583646A (en) * | 2018-11-29 | 2019-04-05 | 贵州航天云网科技有限公司 | A kind of product lifecycle cooperative system based on SDM |
| CN109532720A (en) * | 2018-12-11 | 2019-03-29 | 安徽江淮汽车集团股份有限公司 | A kind of intelligent automobile of the ethernet gateway with rear configuration feature |
| DE102019000493A1 (en) * | 2019-01-23 | 2019-06-06 | Daimler Ag | Method for updating a respective software of several control units of a vehicle |
| CN110995578A (en) * | 2019-11-15 | 2020-04-10 | 中国第一汽车股份有限公司 | Design method, device, equipment and storage medium of automobile gateway |
| CN113448299A (en) * | 2020-03-25 | 2021-09-28 | 北京新能源汽车股份有限公司 | Vehicle gateway controller, information processing method and vehicle |
| CN111817938A (en) * | 2020-07-15 | 2020-10-23 | 上汽通用五菱汽车股份有限公司 | Method, system and storage medium for compiling automobile CAN communication matrix |
| CN112799321A (en) * | 2020-12-14 | 2021-05-14 | 东风汽车集团有限公司 | A Quick Creation Method of DBC File Following CAN Bus Communication Protocol |
| CN114035539A (en) * | 2021-10-25 | 2022-02-11 | 东风商用车有限公司 | Instantiated vehicle type communication matrix generation method, device, equipment and storage medium |
| CN113905461A (en) * | 2021-10-27 | 2022-01-07 | 奇瑞商用车(安徽)有限公司 | Wireless communication module of integrated gateway |
Non-Patent Citations (9)
| Title |
|---|
| A parallel re-programming method for in-vehicle gateway to save software update time;Young Seo Lee;《2015 IEEE International Conference on Information and Automation》;20151001;第1497-1502页 * |
| 刘军.《汽车嵌入式系统设计》.机械工业出版社,2021,第257页. * |
| 史晓红.《网络安全完全技术宝典》.中国铁道出版社,2010,第290页. * |
| 基于DoIP的汽车网络系统研究;陈博;《中国优秀硕士学位论文全文数据库工程科技II辑》;20211215;全文 * |
| 基于以太网OTA远程升级的研究;严娟;《上海汽车》;20200331(第03期);第15-18+27页 * |
| 彭木根.《物联网基础与应用》.北京邮电大学出版社,2019,第220页. * |
| 朱盛镭.《改变汽车的100个黑科技》.机械工业出版社,2020,第92页. * |
| 李克强.《电动汽车工程手册 第6卷》.机械工业出版社,2019,第560页. * |
| 米罗斯拉夫·斯塔龙.《汽车软件架构》.机械工业出版社,2020,第72页. * |
Also Published As
| Publication number | Publication date |
|---|---|
| CN114545906A (en) | 2022-05-27 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN114545906B (en) | Vehicle-mounted Ethernet gateway and vehicle | |
| Zhu et al. | Requirements-driven automotive electrical/electronic architecture: A survey and prospective trends | |
| CN105579318B (en) | Mode switching of the control device between the diagnostic bus and the external Ethernet connection | |
| US7277454B2 (en) | Arbitration of communication channel bandwidth | |
| US7389319B2 (en) | Adaptive connection routing over multiple communication channels | |
| CN113141306A (en) | Diagnostic message routing method and bus routing equipment thereof | |
| CN101947938B (en) | Hybrid power CAN network communication system | |
| Cummings et al. | Exploring use of Ethernet for in-vehicle control applications: AFDX, TTEthernet, EtherCAT, and AVB | |
| JP7632720B2 (en) | Relay device, communication method, and communication program | |
| CN103780697A (en) | Common platform system of vehicle-mounted electronic processing unit and data communication method of common platform system | |
| KR20170101046A (en) | Communication method in divided vehicle network | |
| TWI535251B (en) | Method and system for low-latency networking | |
| CN113542277B (en) | Method, system, medium, and apparatus for CANOPEN device bridging through TSN network | |
| JP7380671B2 (en) | Management device, vehicle communication system, vehicle communication management method, and vehicle communication management program | |
| Navet et al. | A review of embedded automotive protocols | |
| CN117376339A (en) | OTA-based vehicle ECU upgrade method, device, equipment and media | |
| CN105579968B (en) | user message queue method for interprocess communication | |
| Nichiţelea et al. | Automotive ethernet applications using scalable service-oriented middleware over IP: service discovery | |
| CN118784706B (en) | Communication method and communication device | |
| CN117807016B (en) | Communication method, device and storage medium for multi-core heterogeneous system and external device | |
| CN109995636B (en) | Hybrid networking method, device, system, equipment and medium | |
| US11337184B2 (en) | Method and apparatus for transmitting and receiving data stream performed in vehicle network | |
| CN118748652A (en) | Automatic protocol conversion method, control unit, network architecture and medium | |
| CN115051975A (en) | ECU remote upgrading method based on vehicle-mounted Ethernet | |
| CN118659969A (en) | OTA upgrade method and device based on ring network architecture |
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 |