CN113746860A - Vehicular multi-path free conversion gateway and vehicular multi-path free conversion gateway routing method - Google Patents
Vehicular multi-path free conversion gateway and vehicular multi-path free conversion gateway routing method Download PDFInfo
- Publication number
- CN113746860A CN113746860A CN202111067794.XA CN202111067794A CN113746860A CN 113746860 A CN113746860 A CN 113746860A CN 202111067794 A CN202111067794 A CN 202111067794A CN 113746860 A CN113746860 A CN 113746860A
- Authority
- CN
- China
- Prior art keywords
- gateway
- external equipment
- control unit
- vehicle
- switch
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000006243 chemical reaction Methods 0.000 title claims abstract description 24
- 238000000034 method Methods 0.000 title claims abstract description 14
- 230000009471 action Effects 0.000 claims abstract description 7
- 230000008878 coupling Effects 0.000 claims description 3
- 238000010168 coupling process Methods 0.000 claims description 3
- 238000005859 coupling reaction Methods 0.000 claims description 3
- 238000004891 communication Methods 0.000 description 7
- 238000012795 verification Methods 0.000 description 4
- 101100058989 Candida albicans (strain SC5314 / ATCC MYA-2876) CAN3 gene Proteins 0.000 description 3
- 238000013461 design Methods 0.000 description 3
- 230000003993 interaction Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 230000014509 gene expression Effects 0.000 description 2
- 101150008604 CAN1 gene Proteins 0.000 description 1
- 101150063504 CAN2 gene Proteins 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000002955 isolation Methods 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/02—Network architectures or network communication protocols for network security for separating internal from external traffic, e.g. firewalls
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/66—Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Hardware Design (AREA)
- Computer Security & Cryptography (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Small-Scale Networks (AREA)
Abstract
The invention provides a vehicle multi-channel free switching gateway and a routing method thereof. The multi-path free conversion gateway for the vehicle comprises: a micro control unit and a multi-way switch. The multi-way switch is controlled by the micro control unit, before the vehicle multi-way free conversion gateway performs routing, the initial position of the multi-way switch is coupled to a terminal resistor, and the controller local area network of any whole vehicle is not connected to the outside; the micro control unit carries out safety certification on external equipment and the vehicle multi-channel free conversion gateway, and after the external equipment passes the safety certification, the micro control unit distinguishes which network segment of the controller local area network the electronic control unit of the external equipment which needs to be interacted is located in according to request information sent by the external equipment, controls the action of a multi-channel switch, switches to the corresponding network segment, so as to physically connect the external equipment with the network segment, and disconnects a terminal resistor inside the vehicle multi-channel free conversion gateway.
Description
Technical Field
The invention relates to a vehicle gateway, in particular to a CAN routing method.
Background
The existing vehicle type gateway is an important safety isolation device for communication between external equipment and a vehicle, all the external equipment and a vehicle internal controller need to be communicated through the gateway for identity authentication, and data routing is carried out through the gateway after safety verification is passed. At present, most of the strategies adopted by gateways are to route received messages to diagnostic ports, or to route data sent by equipment to a Controller Area Network (CAN) bus in a vehicle to realize information interaction. Because the existing data message routing and transmission are realized by a software layer, message routing delay exists, especially the delay is more obvious when the network load rate is higher, and the reliability and the real-time performance of data after routing are lower.
Therefore, a new gateway for a vehicle is needed to eliminate the routing delay of the gateway and ensure the real-time performance and stability of the read data.
Disclosure of Invention
In order to eliminate gateway routing delay and ensure real-time performance and stability of read data, the invention discloses a vehicular multi-path free switching gateway, which comprises:
a micro control unit; and
the multi-way switch is controlled by the micro control unit, the initial position of the multi-way switch is coupled to a terminal resistor before the vehicle multi-way free conversion gateway carries out routing, and the multi-way switch is not connected with any controller local area network of the whole vehicle;
the micro control unit carries out safety certification on external equipment and the vehicle multi-channel free conversion gateway, and after the external equipment passes the safety certification, the micro control unit distinguishes which network segment of the controller local area network the electronic control unit of the external equipment which needs to be interacted is located in according to request information sent by the external equipment, controls the action of a multi-channel switch, switches to the corresponding network segment, so as to physically connect the external equipment with the network segment, and disconnects a terminal resistor inside the vehicle multi-channel free conversion gateway.
In one embodiment, the multi-way switch includes one or more of a plurality of sets of two-way analog switches, transistors, or relays.
In one embodiment, the controller area network is divided into a plurality of segments, each segment coupled to each of the plurality of switches.
In one embodiment, the termination resistance is 60 ohms.
The invention also provides a routing method of the vehicle multi-path free switching gateway, which comprises the following steps:
providing a multi-way switch in the vehicular multi-way free conversion gateway, wherein the multi-way switch is controlled by a micro control unit in the vehicular multi-way free conversion gateway;
before the vehicle multi-path free conversion gateway is routed, coupling the initial position of the multi-path switch to a terminal resistor, and not connecting the controller local area network to the outside;
the micro control unit controls to carry out safety certification on external equipment and the vehicle multi-channel free switching gateway, and after the external equipment passes the safety certification, the micro control unit distinguishes which network segment of the controller local area network the electronic control unit of the external equipment which needs to be interacted is located in according to request information sent by the external equipment, controls multi-channel switch action, switches to the corresponding network segment, so as to carry out physical connection on the external equipment and the network segment, and disconnects the terminal resistor inside the vehicle multi-channel free switching gateway.
In one embodiment, the multi-way switch includes one or more of a plurality of sets of two-way analog switches, transistors, or relays.
In one embodiment, the method of the present invention further comprises:
and dividing the controller area network into a plurality of network segments, wherein each network segment is coupled with each path of the multi-path switch.
In one embodiment, the termination resistance is 60 ohms.
According to the scheme provided by the invention, by improving the design of a hardware circuit, after the external equipment passes the safety verification, the external equipment CAN be physically connected with the internal CAN network, the gateway routing delay is eliminated, and the real-time performance and the stability of the read data are ensured. The connection between the external equipment and the internal communication link can be freely switched under the control of the MCU, and the connection can be cut off at any time to ensure the communication safety in the vehicle when the gateway is attacked from the outside.
Drawings
The foregoing summary, as well as the following detailed description of the invention, will be better understood when read in conjunction with the appended drawings. It is to be noted that the appended drawings are intended as examples of the claimed invention. In the drawings, like reference characters designate the same or similar elements.
FIG. 1 illustrates an automotive multiplex liberty switch gateway architecture according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating a routing method of a vehicular ad hoc network gateway according to an embodiment of the present invention.
Detailed Description
The detailed features and advantages of the present invention are described in detail in the detailed description which follows, and will be sufficient for anyone skilled in the art to understand the technical content of the present invention and to implement the present invention, and the related objects and advantages of the present invention will be easily understood by those skilled in the art from the description, claims and drawings disclosed in the present specification.
The invention provides a novel vehicle gateway, and information security and identity authentication are still realized by gateway software. By improving the design of a hardware circuit, after the external equipment passes safety verification, the external equipment CAN be physically connected with an internal CAN network, the routing delay of a gateway is eliminated, and the real-time performance and the stability of read data are ensured. The connection between the external equipment and the internal communication link can be freely switched under the control of the MCU, and the connection can be cut off at any time to ensure the communication safety in the vehicle when the gateway is attacked from the outside.
Fig. 1 illustrates a vehicular multiple liberty transfer gateway architecture according to an embodiment of the present invention. As shown in fig. 1, the multiple-way free-switching gateway for a vehicle of the present invention includes an MCU (micro control unit) 201, and a multiple-way switch 202 controlled by the MCU. After the external device 203 and the gateway perform security authentication, the vehicle multi-path free conversion gateway routes the external device 203 to a vehicle Controller Area Network (CAN)204 in a physical manner.
Before the MCU performs safety certification on external equipment and a gateway, the initial position of the multi-way switch is coupled to a terminal resistor, and the MCU is not connected with any controller local area network of the whole vehicle.
The MCU carries out safety certification on the external equipment and the gateway, and after the external equipment passes the safety certification, the MCU distinguishes which CAN network segment the Electronic Control Unit (ECU) of the external equipment needing interaction is located in according to request information sent by the external equipment, controls the action of the multi-way switch, switches to the corresponding network segment to carry out physical connection on the external equipment and the network segment, and disconnects a terminal resistor inside the gateway.
In one embodiment, a termination resistor is connected to the initial position of the multi-way switch, and the multi-way switch is not connected to any vehicle control unit area network (CAN) to the outside.
In one embodiment, the termination resistance is 60 ohms.
In one embodiment, the multi-way switch can be realized by a plurality of groups of two-way analog switches, and can also be realized by a triode or a relay.
In one embodiment, a Controller Area Network (CAN) is divided into a plurality of network segments, such as CAN1, CAN2, CAN3 … … shown in FIG. 1. Each network segment is coupled to each of the plurality of switches.
For example, if the gateway recognizes that the external device needs to flash the ECU5, the multi-way switch is connected to the CAN3 network segment, and the external device is connected to the CAN3 through a hardware circuit inside the gateway, so that data interaction CAN be directly performed with the ECU5, software processing of the gateway is not needed, and processing delay of the gateway is eliminated.
Fig. 2 is a flowchart illustrating a routing method of a multi-way libration gateway for a vehicle according to an embodiment of the present invention. The method comprises the following steps:
step 201: providing a multi-way switch in the vehicular multi-way free conversion gateway, wherein the multi-way switch is controlled by a micro control unit in the vehicular multi-way free conversion gateway;
step 202: before the vehicle multi-path free conversion gateway is routed, coupling the initial position of the multi-path switch to a terminal resistor, and not connecting the controller local area network to the outside;
step 203: the micro control unit controls to carry out safety certification on external equipment and the vehicle multi-channel free switching gateway, and after the external equipment passes the safety certification, the micro control unit distinguishes which network segment of the controller local area network the electronic control unit of the external equipment which needs to be interacted is located in according to request information sent by the external equipment, controls multi-channel switch action, switches to the corresponding network segment, so as to carry out physical connection on the external equipment and the network segment, and disconnects the terminal resistor inside the vehicle multi-channel free switching gateway.
In one embodiment, the multi-way switch includes one or more of a plurality of sets of two-way analog switches, transistors, or relays.
In one embodiment, the method of the present invention further comprises: and dividing the controller area network into a plurality of network segments, wherein each network segment is coupled with each path of the multi-path switch.
In one embodiment, the termination resistance is 60 ohms.
According to the scheme provided by the invention, by improving the design of a hardware circuit, after the external equipment passes the safety verification, the external equipment CAN be physically connected with the internal CAN network, the gateway routing delay is eliminated, and the real-time performance and the stability of the read data are ensured. The connection between the external equipment and the internal communication link can be freely switched under the control of the MCU, and the connection can be cut off at any time to ensure the communication safety in the vehicle when the gateway is attacked from the outside.
The terms and expressions which have been employed herein are used as terms of description and not of limitation. The use of such terms and expressions is not intended to exclude any equivalents of the features shown and described (or portions thereof), and it is recognized that various modifications may be made within the scope of the claims. Other modifications, variations, and alternatives are also possible. Accordingly, the claims should be looked to in order to cover all such equivalents.
Also, it should be noted that although the present invention has been described with reference to the current specific embodiments, it should be understood by those skilled in the art that the above embodiments are merely illustrative of the present invention, and various equivalent changes or substitutions may be made without departing from the spirit of the present invention, and therefore, it is intended that all changes and modifications to the above embodiments be included within the scope of the claims of the present application.
Claims (8)
1. A vehicular multiple gateway device, comprising:
a micro control unit; and
the multi-way switch is controlled by the micro control unit, the initial position of the multi-way switch is coupled to a terminal resistor before the vehicle multi-way free conversion gateway carries out routing, and the multi-way switch is not connected with any controller local area network of the whole vehicle;
the micro control unit carries out safety certification on external equipment and the vehicle multi-channel free conversion gateway, and after the external equipment passes the safety certification, the micro control unit distinguishes which network segment of the controller local area network the electronic control unit of the external equipment which needs to be interacted is located in according to request information sent by the external equipment, controls the action of a multi-channel switch, switches to the corresponding network segment, so as to physically connect the external equipment with the network segment, and disconnects a terminal resistor inside the vehicle multi-channel free conversion gateway.
2. The vehicular multiple gateway of claim 1 wherein the multiple switches comprise one or more of a plurality of sets of two-way analog switches, transistors, or relays.
3. The vehicular multiple gateway of claim 1 wherein the controller area network is divided into a plurality of segments, each segment being coupled to each of the plurality of switches.
4. The vehicular multiple gateway of claim 1 wherein the termination resistance is 60 ohms.
5. A vehicular multipath free switching gateway routing method is characterized by comprising the following steps:
providing a multi-way switch in the vehicular multi-way free conversion gateway, wherein the multi-way switch is controlled by a micro control unit in the vehicular multi-way free conversion gateway;
before the vehicle multi-path free conversion gateway is routed, coupling the initial position of the multi-path switch to a terminal resistor, and not connecting the controller local area network to the outside;
the micro control unit controls to carry out safety certification on external equipment and the vehicle multi-channel free switching gateway, and after the external equipment passes the safety certification, the micro control unit distinguishes which network segment of the controller local area network the electronic control unit of the external equipment which needs to be interacted is located in according to request information sent by the external equipment, controls multi-channel switch action, switches to the corresponding network segment, so as to carry out physical connection on the external equipment and the network segment, and disconnects the terminal resistor inside the vehicle multi-channel free switching gateway.
6. The vehicular multiple-lane ad hoc network routing method according to claim 5, wherein said multiple-lane switch comprises one or more of a plurality of sets of two-lane analog switches, transistors or relays.
7. The vehicular multiple discretionary switch gateway routing method of claim 5, further comprising:
and dividing the controller area network into a plurality of network segments, wherein each network segment is coupled with each path of the multi-path switch.
8. The vehicular multiple gateway routing method according to claim 5, wherein the termination resistance is 60 ohms.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111067794.XA CN113746860A (en) | 2021-09-13 | 2021-09-13 | Vehicular multi-path free conversion gateway and vehicular multi-path free conversion gateway routing method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111067794.XA CN113746860A (en) | 2021-09-13 | 2021-09-13 | Vehicular multi-path free conversion gateway and vehicular multi-path free conversion gateway routing method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113746860A true CN113746860A (en) | 2021-12-03 |
Family
ID=78738262
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111067794.XA Pending CN113746860A (en) | 2021-09-13 | 2021-09-13 | Vehicular multi-path free conversion gateway and vehicular multi-path free conversion gateway routing method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113746860A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN203911981U (en) * | 2014-05-06 | 2014-10-29 | 北京汽车股份有限公司 | Peripheral circuit for gateway equipment of vehicle controller area network, and vehicle |
CN106998280A (en) * | 2017-03-20 | 2017-08-01 | 广州汽车集团股份有限公司 | A kind of automotive networking route system and method |
CN111010327A (en) * | 2019-12-31 | 2020-04-14 | 斑马网络技术有限公司 | Remote management system and method for vehicle-machine networking |
CN212518974U (en) * | 2020-07-15 | 2021-02-09 | 上汽通用五菱汽车股份有限公司 | Relay device for diagnosing vehicle-mounted CAN network connection |
-
2021
- 2021-09-13 CN CN202111067794.XA patent/CN113746860A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN203911981U (en) * | 2014-05-06 | 2014-10-29 | 北京汽车股份有限公司 | Peripheral circuit for gateway equipment of vehicle controller area network, and vehicle |
CN106998280A (en) * | 2017-03-20 | 2017-08-01 | 广州汽车集团股份有限公司 | A kind of automotive networking route system and method |
CN111010327A (en) * | 2019-12-31 | 2020-04-14 | 斑马网络技术有限公司 | Remote management system and method for vehicle-machine networking |
CN212518974U (en) * | 2020-07-15 | 2021-02-09 | 上汽通用五菱汽车股份有限公司 | Relay device for diagnosing vehicle-mounted CAN network connection |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10056985B2 (en) | Broadband communication network architecture with train control network and train serving network combined, and communication method thereof | |
CN101488918B (en) | Multi-network card server access method and system | |
KR100330615B1 (en) | Method and system for using a cellular phone as a network gateway in an automotive network | |
US7046638B1 (en) | Wireless access to closed embedded networks | |
US9172635B2 (en) | Ethernet backbone network system for vehicle and method for controlling fail safe of the ethernet backbone network system | |
US9559984B2 (en) | Communication system and network relay device | |
CN102156409B (en) | Method for controlling multi-locomotive reconnection computer of railway locomotive | |
CN103731331B (en) | Airborne data sending method, airborne data receiving method, and data transmission device and system | |
CN203911981U (en) | Peripheral circuit for gateway equipment of vehicle controller area network, and vehicle | |
US20160275032A1 (en) | Participating Station for a Bus System and Method for Data Transmission in a Bus System | |
JP4265850B2 (en) | Mobile switch, home memory node device, and gateway switch | |
KR20040044169A (en) | Information transmitting system and information transmitting method | |
JP2017188793A (en) | Controller for communication control and system for communication control | |
CN104270231A (en) | System and method for realizing double-node interconnected pseudo-wire | |
US8131878B2 (en) | Selective disruption of data transmission to sub-networks within a processing unit network | |
CN113746860A (en) | Vehicular multi-path free conversion gateway and vehicular multi-path free conversion gateway routing method | |
CN101682578A (en) | Communication apparatus connection device | |
KR101384639B1 (en) | Can communication system including a plurality of can bus and connecting device | |
JP2022066959A (en) | Communication system and electronic control device | |
CN106817287A (en) | Communication equipment and communication method | |
CN113002591B (en) | Hybrid train network and train comprising same | |
CN115175244A (en) | 5G router load sharing method and system | |
CN110677283B (en) | Method for fast switching network dual redundancy | |
CN114268922A (en) | Network intercommunication system and method based on Internet of vehicles | |
JP4029311B2 (en) | Power line carrier 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 | ||
CB02 | Change of applicant information |
Address after: 314500 988 Tong Tong Road, Wu Tong Street, Tongxiang, Jiaxing, Zhejiang Applicant after: United New Energy Automobile Co.,Ltd. Address before: 314500 988 Tong Tong Road, Wu Tong Street, Tongxiang, Jiaxing, Zhejiang Applicant before: Hozon New Energy Automobile Co., Ltd. |
|
CB02 | Change of applicant information | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20211203 |
|
RJ01 | Rejection of invention patent application after publication |