CN112165438A - Vehicle communication method and communication system - Google Patents

Vehicle communication method and communication system Download PDF

Info

Publication number
CN112165438A
CN112165438A CN202010990212.4A CN202010990212A CN112165438A CN 112165438 A CN112165438 A CN 112165438A CN 202010990212 A CN202010990212 A CN 202010990212A CN 112165438 A CN112165438 A CN 112165438A
Authority
CN
China
Prior art keywords
communication
vehicle
target ecu
request
controller
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010990212.4A
Other languages
Chinese (zh)
Inventor
王喆
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing CHJ Automotive Information Technology Co Ltd
Original Assignee
Beijing CHJ Automotive Information Technology 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 Beijing CHJ Automotive Information Technology Co Ltd filed Critical Beijing CHJ Automotive Information Technology Co Ltd
Priority to CN202010990212.4A priority Critical patent/CN112165438A/en
Publication of CN112165438A publication Critical patent/CN112165438A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/25Routing or path finding in a switch fabric
    • H04L49/253Routing or path finding in a switch fabric using establishment or release of connections between ports
    • H04L49/254Centralised controller, i.e. arbitration or scheduling
    • 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
    • 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/40208Bus networks characterized by the use of a particular bus standard
    • H04L2012/40234Local Interconnect Network LIN
    • 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/40273Bus for use in transportation systems the transportation system being a vehicle

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)

Abstract

The application discloses a vehicle communication method and a communication system, wherein the method comprises the steps that a client side initiates a communication request to a certain target ECU in a vehicle; the central gateway of the vehicle is connected with the client, and a communication path of the target ECU is identified through a preset routing table; and the central gateway transmits the communication request to a first-level controller connected with the central gateway in the communication path, and identifies the communication path of the target ECU through a preset routing table or returns communication data to the client along the communication path of the target ECU. The diagnosis instrument and the T-Box are combined to meet different requirements of vehicle diagnosis communication in different scenes, so that user experience is improved, diagnosis efficiency is improved, and traditional diagnosis requirements of vehicle offline and vehicle over-inspection can be met.

Description

Vehicle communication method and communication system
Technical Field
The application relates to the technical field of communication control of vehicles, in particular to a method and a system for communication between ECU units in a vehicle and an external client, which can be suitable for diagnosis and upgrading of vehicle ECU.
Background
When a traditional original equipment manufacturer operation mode diagnoses a vehicle, the vehicle needs to be called back to an after-sales maintenance service center, and only the in-vehicle information can be acquired or an in-vehicle Electronic Control Unit (ECU) can be upgraded by connecting a diagnostic instrument. The traditional vehicle diagnosis mode has poor user experience and reduces the working efficiency of maintenance personnel.
Compared with the traditional diagnosis mode, the remote diagnosis is carried out through a telematics BOX (T-BOX), the diagnosis efficiency can be improved, and the vehicle state and the fault information can be acquired in real time. However, the diagnosis using only the T-BOX does not satisfy the need of the vehicle diagnosis by the diagnostic device when the vehicle is off-line in the factory or after-sales passing inspection.
Disclosure of Invention
The purpose of the application is to provide a vehicle communication method and a communication system, and the communication method meets different requirements of vehicle diagnosis communication under different scenes by combining a diagnostic instrument and a T-Box remote two-phase system.
In a first aspect, an embodiment of the present application provides a vehicle communication method, including:
a client initiates a communication request to a certain target ECU in a vehicle;
the central gateway of the vehicle is connected with the client, and a communication path of the target ECU is identified through a preset routing table;
the central gateway transmits the communication request to a first-level controller connected with the central gateway in the communication path;
if the first-stage controller is not the target ECU, identifying a communication path of the target ECU through a preset routing table, transmitting the communication request to a second-stage controller located at the next stage of the first-stage controller in the communication path, and so on until a certain controller is the target ECU;
if the controller transmitted to is the target ECU, the controller returns communication data to the client along the communication path of the target ECU in response to the communication request.
In some embodiments, the central gateway communicates using Ethernet bus communication; the controller communicates in an Ethernet bus communication mode, a CAN bus communication mode or a LIN bus communication mode.
In some embodiments, the central gateway respectively implements mutual routing from DoIP to DoIP, mutual routing from CAN to CAN, or mutual routing from DoIP to CAN according to different routing modes of an original network segment and a target network segment; the controller realizes mutual routing from DoIP to CAN or from CAN to LIN.
In some embodiments, the central gateway and the controller respectively store a routing table, and a sender and a receiver of the communication request can be identified through an original node and a target node in the routing table, so as to identify a communication path of the receiver.
In some embodiments, the communication request is a vehicle ECU diagnostic request or an upgrade request and the client is a diagnostic or T-Box.
In some embodiments, the diagnostic apparatus initiates a diagnostic request to a target ECU in the vehicle to obtain diagnostic information of the target ECU for vehicle state diagnosis; or the diagnostic instrument initiates an upgrading request to a certain target ECU in the vehicle to upgrade the target ECU.
In some embodiments, the T-Box remotely initiates a diagnosis request to a target ECU in the vehicle in a wireless manner to obtain the diagnosis information of the target ECU for vehicle state diagnosis; or the T-Box initiates an upgrade request to a certain target ECU in the vehicle in a wireless mode to upgrade the target ECU.
In some embodiments, the method further includes enabling or disabling the communication path of each other Ethernet interface by the central gateway according to the active status of one Ethernet tx interface.
In some embodiments, the method further comprises the central gateway detecting whether an ethernet tx interface corresponding to the diagnostic instrument is in an active state; if the Ethernet Tx interface is in an activated state, a communication request is carried out through a diagnostic instrument, and communication requests of other Ethernet interfaces are forbidden; and if the Ethernet Tx interface is not in the activated state, enabling the communication request of other Ethernet interfaces to carry out the communication request with the enabled Ethernet interface through the T-Box.
In some embodiments, the method further includes the step of the diagnostic instrument making a communication request through the ethernet tx and/or CAN communication interface when initiating a diagnostic request to a target ECU in the vehicle.
In a second aspect, an embodiment of the present application provides a vehicle communication system, configured to respond to a communication request from an external client to implement communication between the client and a target ECU in a vehicle, the system including:
the central gateway establishes connection with an external client by adopting Ethernet bus communication, identifies a communication path of the target ECU through a routing table in the central gateway, and transmits the communication request to a first-level controller connected with the central gateway in the communication path;
one or more first-level controllers connected with the central gateway through an Ethernet bus or CAN communication, wherein the first-level controllers receiving the communication request identify the target ECU and a communication path thereof through a routing table therein; wherein the content of the first and second substances,
if the first-level controller is the target ECU, the controller responds to the communication request and returns communication data to the client along a communication path of the target ECU;
if the first level controller is not the target ECU, transmitting the communication request to a second level controller in the communication path that is next to the first level controller, and so on until a controller is the target ECU.
In some embodiments, the system further comprises:
one or more second-level controllers connected to the corresponding first-level controllers through a CAN bus or a LIN bus, wherein the second-level controller receiving the communication request identifies the target ECU and a communication path thereof through a routing table therein; wherein the content of the first and second substances,
if the second-level controller is the target ECU, the controller responds to the communication request and returns communication data to the client along a communication path of the target ECU;
if the second level controller is not the target ECU, the communication request is transmitted to a third level controller in the communication path that is next to the second level controller, and so on until a controller is the target ECU.
In some embodiments, the central gateway respectively implements mutual routing from DoIP to DoIP, mutual routing from CAN to CAN, or mutual routing from DoIP to CAN according to different routing modes of an original network segment and a target network segment; the controller realizes mutual routing from DoIP to CAN or from CAN to LIN.
In some embodiments, the central gateway and the controller respectively store routing tables, and the original node and the target node in the routing tables can identify the sender and the receiver of the communication request, and further identify the communication path of the receiver.
In some embodiments, wherein the client is a diagnostic or a T-Box, the communication request is a vehicle ECU diagnostic request or an upgrade request.
In some embodiments, the central gateway responds to a diagnosis request initiated by the diagnostic instrument to a certain target ECU in the vehicle to obtain the diagnosis information of the target ECU for vehicle state diagnosis; or the central gateway responds to an upgrading request initiated by the diagnostic instrument to a certain target ECU in the vehicle to upgrade the target ECU.
In some embodiments, the central gateway responds to a diagnosis request initiated remotely by the T-Box to a target ECU in the vehicle in a wireless manner to obtain the diagnosis information of the target ECU for vehicle state diagnosis; or the central gateway responds to an upgrading request initiated by the T-Box to a certain target ECU in the vehicle in a wireless mode, and upgrades the target ECU.
In some embodiments, the central gateway enables or disables the communication paths of other Ethernet interfaces according to the active status of one Ethernet tx interface.
In some embodiments, the central gateway detects whether an ethernet tx interface corresponding to the diagnostic instrument is active; if the Ethernet Tx interface is in an activated state, a communication request is carried out through a diagnostic instrument, and communication requests of other Ethernet interfaces are forbidden; and if the Ethernet Tx interface is not in the activated state, enabling the communication request of other Ethernet interfaces to carry out the communication request with the enabled Ethernet interface through the T-Box.
In some embodiments, when the diagnostic device issues a diagnostic request to a target ECU in the vehicle, it makes a communication request through the ethernet tx and/or CAN communication interface.
In a third aspect, this application provides a readable storage medium, on which computer-executable instructions are stored, and when the computer-executable instructions are executed by a processor, the method of the first aspect is implemented.
In a fourth aspect, an embodiment of the present application provides a vehicle, where the vehicle implements communication with an external client by using the communication method according to the first aspect.
In a fifth aspect, a vehicle comprises the vehicle communication system of the second aspect.
The vehicle communication method has the advantages that the diagnosis instrument and the T-Box are combined to meet different requirements of vehicle diagnosis communication in different scenes through the vehicle communication method, so that user experience is improved, diagnosis efficiency is improved, and traditional diagnosis requirements during vehicle offline and vehicle over-inspection can be met.
Drawings
FIG. 1 is a flow chart of a method of an embodiment of the present application;
FIG. 2 is a network topology diagram of a system architecture according to an embodiment of the present application;
fig. 3 is a network topology diagram of a part of the system structure in the embodiment of fig. 2.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is further described in detail below with reference to the accompanying drawings in combination with the detailed description. It should be understood that the description is intended to be exemplary only, and is not intended to limit the scope of the present application. Moreover, in the following description, descriptions of well-known structures and techniques are omitted so as to not unnecessarily obscure the concepts of the present application.
In the description of the present application, it is noted that the terms "first", "second", and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
In addition, the technical features mentioned in the different embodiments of the present application described below may be combined with each other as long as they do not conflict with each other.
FIG. 1 is a flow chart of a method of an embodiment of the present application.
As shown in fig. 1, a vehicle communication method includes:
step 110: the client side initiates a communication request to a certain target ECU in the vehicle.
The client can be a remote client connected with the vehicle through the T-Box in a remote communication mode, and can also be a diagnostic instrument directly connected with the vehicle. The target ECU acts as a server with respect to the client, i.e. in the embodiment, the client and the ECU communicate through a client/server architecture.
Step 120: and the central gateway of the vehicle establishes connection with the client, and identifies the communication path of the target ECU through a preset routing table.
In some embodiments, the central gateway and the controller respectively store routing tables, and a sender and a receiver of the communication request can be identified through an original node and a target node in the routing tables, so as to identify a communication path of the receiver.
Step 130: the central gateway transmits the communication request to a first-level controller connected with the central gateway in the communication path;
step 140: if the first-stage controller is not the target ECU, identifying a communication path of the target ECU through a preset routing table, transmitting the communication request to a second-stage controller located at the next stage of the first-stage controller in the communication path, and so on until a certain controller is the target ECU;
step 150: if the controller transmitted to is the target ECU, the controller returns communication data to the client along the communication path of the target ECU in response to the communication request.
In some embodiments, the central gateway communicates using Ethernet bus communication; the controller communicates in an Ethernet bus communication mode, a CAN bus communication mode or a LIN bus communication mode.
In some embodiments, the central gateway respectively implements mutual routing from DoIP to DoIP, mutual routing from CAN to CAN, or mutual routing from DoIP to CAN according to different routing modes of an original network segment and a target network segment; the controller realizes mutual routing from DoIP to CAN or from CAN to LIN.
In some embodiments, the central gateway and the controller respectively store a routing table, and a sender and a receiver of the communication request can be identified through an original node and a target node in the routing table, so as to identify a communication path of the receiver.
In some embodiments, the communication request is a vehicle ECU diagnostic request or an upgrade request and the client is a diagnostic or T-Box.
In some embodiments, the diagnostic apparatus initiates a diagnostic request to a target ECU in the vehicle to obtain diagnostic information of the target ECU for vehicle state diagnosis; or the diagnostic instrument initiates an upgrading request to a certain target ECU in the vehicle to upgrade the target ECU.
In some embodiments, the T-Box remotely initiates a diagnosis request to a target ECU in the vehicle in a wireless manner to obtain the diagnosis information of the target ECU for vehicle state diagnosis; or the T-Box initiates an upgrade request to a certain target ECU in the vehicle in a wireless mode to upgrade the target ECU.
In some embodiments, the method further includes enabling or disabling the communication path of each other Ethernet interface by the central gateway according to the active status of one Ethernet tx interface.
In some embodiments, the method further comprises the central gateway detecting whether an ethernet tx interface corresponding to the diagnostic instrument is in an active state; if the Ethernet Tx interface is in an activated state, a communication request is carried out through a diagnostic instrument, and communication requests of other Ethernet interfaces are forbidden; and if the Ethernet Tx interface is not in the activated state, enabling the communication request of other Ethernet interfaces to carry out the communication request with the enabled Ethernet interface through the T-Box.
In some embodiments, the method further includes the step of the diagnostic instrument making a communication request through the ethernet tx and/or CAN communication interface when initiating a diagnostic request to a target ECU in the vehicle.
Fig. 2 is a network topology diagram of a system structure according to an embodiment of the present application.
As shown in fig. 2, a vehicle communication system for responding to a communication request of an external client to realize communication between the client and a target ECU in a vehicle, the system comprising:
the central gateway establishes connection with an external client by adopting Ethernet bus communication, identifies a communication path of the target ECU through a routing table in the central gateway, and transmits the communication request to a first-level controller connected with the central gateway in the communication path;
one or more first-level controllers connected with the central gateway through an Ethernet bus or CAN communication, wherein the first-level controllers receiving the communication request identify the target ECU and a communication path thereof through a routing table therein; wherein the content of the first and second substances,
if the first-level controller is the target ECU, the controller responds to the communication request and returns communication data to the client along a communication path of the target ECU;
if the first level controller is not the target ECU, transmitting the communication request to a second level controller in the communication path that is next to the first level controller, and so on until a controller is the target ECU.
As shown in fig. 2, the central gateway, that is, the routing switch installed in the vehicle enables information on different routes to be accurately transmitted in a predetermined routing manner according to a routing table stored in the central gateway or the ECU.
As shown in fig. 2, in some embodiments, the system further includes one or more second-level controllers connected to the corresponding first-level controllers through CAN buses or LIN buses, wherein the second-level controller receiving the communication request identifies the target ECU and its communication path through a routing table therein; wherein if the second-level controller is the target ECU, the controller returns communication data to the client along a communication path of the target ECU in response to the communication request; if the second level controller is not the target ECU, the communication request is transmitted to a third level controller in the communication path that is next to the second level controller, and so on until a controller is the target ECU.
As shown in fig. 2, in some embodiments, the central gateway respectively implements mutual routing from DoIP to DoIP, mutual routing from CAN to CAN, or mutual routing from DoIP to CAN according to different routing modes of an original network segment and a target network segment; the controller realizes mutual routing from DoIP to CAN or from CAN to LIN.
As shown in fig. 2, in some embodiments, the central gateway and the controller respectively store routing tables, and a sender and a receiver of a communication request can be identified through an original node and a target node in the routing tables, so as to identify a communication path of the receiver.
As shown in FIG. 2, in some embodiments, the client is a diagnostic or T-Box and the communication request is a vehicle ECU diagnostic request or an upgrade request.
As shown in fig. 2, in some embodiments, the central gateway responds to a diagnosis request initiated by the diagnostic device to a target ECU in the vehicle to obtain diagnostic information of the target ECU for vehicle status diagnosis; or the central gateway responds to an upgrading request initiated by the diagnostic instrument to a certain target ECU in the vehicle to upgrade the target ECU.
As shown in fig. 2, in some embodiments, the central gateway responds to a diagnosis request initiated remotely by the T-Box to a target ECU in the vehicle in a wireless manner to obtain diagnosis information of the target ECU for vehicle status diagnosis; or the central gateway responds to an upgrading request initiated by the T-Box to a certain target ECU in the vehicle in a wireless mode, and upgrades the target ECU.
As shown in fig. 2, in some embodiments, the central gateway enables or disables the communication paths of other Ethernet interfaces according to the activation status of one Ethernet tx interface.
As shown in fig. 2, in some embodiments, the central gateway detects whether an ethernet tx interface corresponding to the diagnostic instrument is in an active state; if the Ethernet Tx interface is in an activated state, a communication request is carried out through a diagnostic instrument, and communication requests of other Ethernet interfaces are forbidden; and if the Ethernet Tx interface is not in the activated state, enabling the communication request of other Ethernet interfaces to carry out the communication request with the enabled Ethernet interface through the T-Box.
As shown in fig. 2, in some embodiments, when the diagnostic device issues a diagnostic request to a target ECU in a vehicle, it makes a communication request through an ethernet tx and/or CAN communication interface.
Referring to fig. 2, in some embodiments, the ECU as the intermediate node includes a domain controller and an intermediate controller. As shown in fig. 2, the domain controller includes a domain controller 1 and a domain controller 2, and the intermediate controller includes a controller 4. Wherein the diagnostic routing table is stored in the domain controller 1, the domain controller 2 and the controller 4.
In some embodiments, the routing manner between the original network segment and the target network segment of the central gateway includes a DoIP-to-DoIP route, a CAN-to-CAN route, and a mutual DoIP-to-CAN route. Referring to fig. 2, for example, in the case that the ECU includes a plurality of nodes, such as a plurality of domain controllers or intermediate controllers, different routing schemes need to be used between different nodes. The central gateway is embodied in that a plurality of routing modes exist between the original network segment and the target network segment. For example, the route between the central gateway and the domain controller 1 or 2 is a DoIP to DoIP route, the route between the central gateway and the controller 8, the controller 9 and the controller 10 is a CAN to CAN route, and the route between the central gateway and the controller 1, the controller 2, the controller 3 and the controller 4 is a DoIP and CAN mutual route.
Referring to fig. 2, in some embodiments, the domain controller supports DoIP and CAN mutual routing, and the intermediate controller supports CAN and LIN mutual routing. For example, the domain controller 1 and the domain controller 2 support mutual DoIP and CAN routing with the central gateway, and the controller support mutual CAN and LIN routing with the central gateway.
Fig. 3 is a network topology diagram of a portion of the system architecture via the first interface in the embodiment of fig. 2.
As shown in fig. 3, the first interface is an ethernet T1 interface, the T-Box is connected with the ECU serving as the domain controller 1 via an ethernet T1 interface of the central gateway, and the routing mode between the central gateway and the ECU serving as the domain controller 1 CAN support a DoIP-to-DoIP route, a CAN-to-CAN route, or a mutual DoIP-to-CAN route; the routing mode between the ECU as the domain controller 1 and the corresponding ECU as the intermediate controller 4 supports the DoIP and/or the dodan routing protocol; the ECU as the intermediate controller 4 and the ECU as the end controller 5 are routed in a manner that supports the doc and/or LIN routing protocols.
Taking T-Box as an example for diagnosing the controller 5, the diagnostic data transmission process is as follows:
the T-Box establishes a connection with the central gateway and sends a diagnostic request to the central gateway via the ethernet T1 interface DoIP routing protocol, and the central gateway recognizes that the receiver of the diagnostic data is the controller 5 via the diagnostic routing table.
The central gateway transmits the diagnosis request to the domain controller 1 through an Ethernet T1DoIP protocol, the domain controller 1 identifies that a receiver of the diagnosis data is the controller 5 through a diagnosis routing table, and the domain controller 1 carries out DoIP to CAN routing and sends a CAN message after protocol conversion to a CAN2 network segment.
The controller 4 receives the diagnosis request, identifies that the receiver of the diagnosis data is the controller 5 through the diagnosis routing table, and the controller 4 carries out routing from the CAN to the LIN and sends the LIN message after protocol conversion to the LIN network segment.
And the controller 5 carries out diagnosis data response after receiving the diagnosis request message in the LIN network segment, and the responded diagnosis data returns to the T-Box according to the path.
The process is that the remote client diagnoses the ECU through the second diagnosis entrance by the T-Box. The diagnosis of the ECU by the diagnostic device through the first diagnostic portal is consistent with the above method, but the difference is only that the diagnostic device is connected with the central gateway through the ethernet TX interface or the CAN interface.
In the vehicle diagnosis process, different diagnosis path enabling conditions are different, the diagnosis instrument and the T-Box can diagnose the ECU, and the diagnosis paths of the same ECU are the same from the ECU to the central gateway. Since the ECU does not support a function of receiving a plurality of diagnosis requests at the same time at present, the above-described enable setting and conflict processing are required for diagnosis of different paths.
In some embodiments, as shown in fig. 2, the central gateway may identify the diagnostic communication requests of different paths, and enable the diagnostic path by configuring the ethernet TX and ethernet T1 states of the central gateway, which includes the following specific processes:
(1) when the central gateway detects that the activation line of the Ethernet TX interface is not in an activated state, which indicates that the diagnostic instrument has no diagnostic communication requirement, the Ethernet T1 diagnostic interface is enabled, and a diagnostic communication request can be made through the T-Box.
(2) When the central network detects that the activation line of the Ethernet TX interface is in an activation state, the central network indicates that the diagnostic device is physically connected with the whole vehicle, the diagnostic device has the requirement of diagnostic communication enabling, and at the moment, a diagnostic communication request can be carried out through the diagnostic device. The ethernet T1 port does not support diagnostic communications;
and (3) under the condition (2), the diagnostic instrument is in wired communication connection with the ECU, and at the moment, the diagnostic instrument CAN carry out a diagnostic communication request through two communication interfaces of Ethernet TX and CAN, but the diagnostic instrument cannot carry out the diagnostic communication request on the same ECU through the two communication interfaces at the same time.
The embodiment of the present application further provides a computer-readable storage medium, on which computer-executable instructions are stored, and when the computer-executable instructions are executed by a processor, the method described in any one of the above method embodiments is implemented.
The embodiment of the application further provides a vehicle, and the vehicle adopts the communication method in any one of the method embodiments to realize communication with an external client.
The embodiment of the application also provides a vehicle, which comprises the vehicle communication system.
It is to be understood that the above-described embodiments of the present application are merely illustrative of or illustrative of the principles of the present application and are not to be construed as limiting the present application. Therefore, any modification, equivalent replacement, improvement and the like made without departing from the spirit and scope of the present application shall be included in the protection scope of the present application. Further, it is intended that the appended claims cover all such changes and modifications that fall within the scope and range of equivalents of the appended claims, or the equivalents of such scope and range.

Claims (23)

1. A vehicle communication method, comprising:
a client initiates a communication request to a certain target ECU in a vehicle;
the central gateway of the vehicle is connected with the client, and a communication path of the target ECU is identified through a preset routing table;
the central gateway transmits the communication request to a first-level controller connected with the central gateway in the communication path;
if the first-stage controller is not the target ECU, identifying a communication path of the target ECU through a preset routing table, transmitting the communication request to a second-stage controller located at the next stage of the first-stage controller in the communication path, and so on until a certain controller is the target ECU;
if the controller transmitted to is the target ECU, the controller returns communication data to the client along the communication path of the target ECU in response to the communication request.
2. The method of claim 1, wherein,
the central gateway adopts an Ethernet bus communication mode for communication;
the controller communicates in an Ethernet bus communication mode, a CAN bus communication mode or a LIN bus communication mode.
3. The method of claim 2, wherein,
the central gateway respectively realizes mutual routing from DoIP to DoIP, mutual routing from CAN to CAN or mutual routing from DoIP to CAN according to different routing modes of an original network segment and a target network segment;
the controller realizes mutual routing from DoIP to CAN or from CAN to LIN.
4. The method of any one of claims 1-3,
the central gateway and the controller respectively store a routing table, and a sender and a receiver of the communication request can be identified through an original node and a target node in the routing table, so that the communication path of the receiver can be identified.
5. The method of any one of claims 1-4,
the communication request is a vehicle ECU diagnosis request or an upgrade request, and the client is a diagnostic instrument or a T-Box.
6. The method of claim 5, wherein,
the diagnostic instrument initiates a diagnostic request to a certain target ECU in the vehicle to acquire diagnostic information of the target ECU for vehicle state diagnosis; or
The diagnostic instrument initiates an upgrade request to a certain target ECU in the vehicle to upgrade the target ECU.
7. The method of claim 5, wherein,
the T-Box remotely initiates a diagnosis request to a certain target ECU in the vehicle in a wireless mode to acquire the diagnosis information of the target ECU for vehicle state diagnosis; or
And the T-Box initiates an upgrading request to a certain target ECU in the vehicle in a wireless mode to upgrade the target ECU.
8. The method of any of claims 1-7, further comprising:
the central gateway enables or disables the communication paths of other Ethernet interfaces according to the activation state of one Ethernet Tx interface.
9. The method of claim 8, further comprising:
the central gateway detects whether an Ethernet Tx interface corresponding to the diagnostic instrument is in an activated state;
if the Ethernet Tx interface is in an activated state, a communication request is carried out through a diagnostic instrument, and communication requests of other Ethernet interfaces are forbidden;
and if the Ethernet Tx interface is not in the activated state, enabling the communication request of other Ethernet interfaces to carry out the communication request with the enabled Ethernet interface through the T-Box.
10. The method according to any one of claims 5-9, further comprising:
when the diagnostic instrument initiates a diagnostic request to a certain target ECU in the vehicle, the diagnostic instrument makes a communication request through an Ethernet Tx and/or CAN communication interface.
11. A vehicle communication system for responding to a communication request of an external client to enable communication of the client with a target ECU in a vehicle, the system comprising:
the central gateway establishes connection with an external client by adopting Ethernet bus communication, identifies a communication path of the target ECU through a routing table in the central gateway, and transmits the communication request to a first-level controller connected with the central gateway in the communication path;
one or more first-level controllers connected with the central gateway through an Ethernet bus or CAN communication, wherein the first-level controllers receiving the communication request identify the target ECU and a communication path thereof through a routing table therein; wherein the content of the first and second substances,
if the first-level controller is the target ECU, the controller responds to the communication request and returns communication data to the client along a communication path of the target ECU;
if the first level controller is not the target ECU, transmitting the communication request to a second level controller in the communication path that is next to the first level controller, and so on until a controller is the target ECU.
12. The vehicle communication system of claim 11, further comprising:
one or more second-level controllers connected to the corresponding first-level controllers through a CAN bus or a LIN bus, wherein the second-level controller receiving the communication request identifies the target ECU and a communication path thereof through a routing table therein; wherein the content of the first and second substances,
if the second-level controller is the target ECU, the controller responds to the communication request and returns communication data to the client along a communication path of the target ECU;
if the second level controller is not the target ECU, the communication request is transmitted to a third level controller in the communication path that is next to the second level controller, and so on until a controller is the target ECU.
13. The vehicle communication system according to claim 11 or 12,
the central gateway respectively realizes mutual routing from DoIP to DoIP, mutual routing from CAN to CAN or mutual routing from DoIP to CAN according to different routing modes of an original network segment and a target network segment;
the controller realizes mutual routing from DoIP to CAN or from CAN to LIN.
14. The vehicle communication system according to claim 11 or 12,
the central gateway and the controller respectively store a routing table, and a sender and a receiver of the communication request can be identified through an original node and a target node in the routing table, so that the communication path of the receiver can be identified.
15. The vehicle communication system according to any one of claims 11-14,
the client is a diagnostic instrument or a T-Box, and the communication request is a vehicle ECU diagnostic request or an upgrade request.
16. The vehicle communication system according to claim 15,
the central gateway responds to a diagnosis request sent by the diagnostic instrument to a certain target ECU in the vehicle to acquire the diagnosis information of the target ECU for vehicle state diagnosis; or
And the central gateway responds to an upgrading request initiated by the diagnostic instrument to a certain target ECU in the vehicle and upgrades the target ECU.
17. The vehicle communication system according to claim 15,
the central gateway responds to a diagnosis request remotely initiated by the T-Box to a certain target ECU in the vehicle in a wireless mode to acquire the diagnosis information of the target ECU for vehicle state diagnosis; or
And the central gateway responds to an upgrading request sent by the T-Box to a certain target ECU in the vehicle in a wireless mode, and upgrades the target ECU.
18. The vehicle communication system according to any one of claims 11-17,
the central gateway enables or disables the communication paths of other Ethernet interfaces according to the activation state of one Ethernet Tx interface.
19. The vehicle communication system according to claim 18,
the central gateway detects whether an Ethernet Tx interface corresponding to the diagnostic instrument is in an activated state;
if the Ethernet Tx interface is in an activated state, a communication request is carried out through a diagnostic instrument, and communication requests of other Ethernet interfaces are forbidden;
and if the Ethernet Tx interface is not in the activated state, enabling the communication request of other Ethernet interfaces to carry out the communication request with the enabled Ethernet interface through the T-Box.
20. The vehicle communication system according to any one of claims 15-19,
when the diagnostic instrument initiates a diagnostic request to a certain target ECU in the vehicle, the diagnostic instrument makes a communication request through an Ethernet Tx and/or CAN communication interface.
21. A readable storage medium having stored thereon computer executable instructions which, when executed by a processor, implement the method of any one of claims 1-10.
22. A vehicle, characterized in that it implements communication with an external client using the communication method of any one of claims 1 to 10.
23. A vehicle characterized in that it comprises a vehicle communication system according to claims 11-20.
CN202010990212.4A 2020-09-18 2020-09-18 Vehicle communication method and communication system Pending CN112165438A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010990212.4A CN112165438A (en) 2020-09-18 2020-09-18 Vehicle communication method and communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010990212.4A CN112165438A (en) 2020-09-18 2020-09-18 Vehicle communication method and communication system

Publications (1)

Publication Number Publication Date
CN112165438A true CN112165438A (en) 2021-01-01

Family

ID=73862510

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010990212.4A Pending CN112165438A (en) 2020-09-18 2020-09-18 Vehicle communication method and communication system

Country Status (1)

Country Link
CN (1) CN112165438A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112666932A (en) * 2021-03-16 2021-04-16 奥特酷智能科技(南京)有限公司 Automatic driving remote diagnosis method and system based on DDS and DoIP technology
CN112764776A (en) * 2021-01-18 2021-05-07 国汽智控(北京)科技有限公司 Domain controller over-the-air upgrading method and device, electronic equipment and storage medium
CN113590162A (en) * 2021-08-24 2021-11-02 北京经纬恒润科技股份有限公司 Data upgrading method and system
CN113691453A (en) * 2021-08-16 2021-11-23 中汽创智科技有限公司 Network management method, device, equipment and storage medium
CN115220750A (en) * 2021-11-25 2022-10-21 广州汽车集团股份有限公司 Automobile OTA (over the air) upgrading method, front-row host and system
WO2023065560A1 (en) * 2021-10-21 2023-04-27 北京理工大学深圳汽车研究院(电动车辆国家工程实验室深圳研究院) Diagonal equal-hop heterogeneous composite redundancy domain architecture of intelligent vehicle

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6801942B1 (en) * 2000-09-15 2004-10-05 Robert Bosch Gmbh Apparatus, method and system for remotely accessing and/or controlling can node arrangements, including vehicle electronic control units, during vehicle operation
US20090182635A1 (en) * 2008-01-15 2009-07-16 Parisi Robert F Vehicle Inspection System and Process
CN107272649A (en) * 2017-07-05 2017-10-20 东南(福建)汽车工业有限公司 Malfunction remote diagnosis system and method
US20170308111A1 (en) * 2015-09-03 2017-10-26 Lincoln Global, Inc. Power source system
CN108712502A (en) * 2018-05-29 2018-10-26 深圳市元征科技股份有限公司 Vehicle diagnosis method and connector, electronic equipment, storage medium
CN109213131A (en) * 2018-11-22 2019-01-15 奇瑞汽车股份有限公司 A kind of coordination approach of automobile failure diagnosis conflict
CN109327307A (en) * 2018-10-24 2019-02-12 东南(福建)汽车工业有限公司 CAN bus based automobile remote control method
CN111294768A (en) * 2020-04-07 2020-06-16 大连毅无链信息技术有限公司 Remote vehicle-mounted system and fault diagnosis, information acquisition and remote upgrading method thereof
CN111555953A (en) * 2020-05-29 2020-08-18 北京经纬恒润科技有限公司 Remote diagnosis method, device and system based on vehicle-mounted Ethernet and TSP (Total suspended particulate) server
CN111586629A (en) * 2020-04-24 2020-08-25 深圳市元征科技股份有限公司 Vehicle remote diagnosis method in ZigBee mode and related device

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6801942B1 (en) * 2000-09-15 2004-10-05 Robert Bosch Gmbh Apparatus, method and system for remotely accessing and/or controlling can node arrangements, including vehicle electronic control units, during vehicle operation
US20090182635A1 (en) * 2008-01-15 2009-07-16 Parisi Robert F Vehicle Inspection System and Process
US20170308111A1 (en) * 2015-09-03 2017-10-26 Lincoln Global, Inc. Power source system
CN107272649A (en) * 2017-07-05 2017-10-20 东南(福建)汽车工业有限公司 Malfunction remote diagnosis system and method
CN108712502A (en) * 2018-05-29 2018-10-26 深圳市元征科技股份有限公司 Vehicle diagnosis method and connector, electronic equipment, storage medium
CN109327307A (en) * 2018-10-24 2019-02-12 东南(福建)汽车工业有限公司 CAN bus based automobile remote control method
CN109213131A (en) * 2018-11-22 2019-01-15 奇瑞汽车股份有限公司 A kind of coordination approach of automobile failure diagnosis conflict
CN111294768A (en) * 2020-04-07 2020-06-16 大连毅无链信息技术有限公司 Remote vehicle-mounted system and fault diagnosis, information acquisition and remote upgrading method thereof
CN111586629A (en) * 2020-04-24 2020-08-25 深圳市元征科技股份有限公司 Vehicle remote diagnosis method in ZigBee mode and related device
CN111555953A (en) * 2020-05-29 2020-08-18 北京经纬恒润科技有限公司 Remote diagnosis method, device and system based on vehicle-mounted Ethernet and TSP (Total suspended particulate) server

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
王聪等: ""一种汽车故障诊断冲突的协调机制"", 《汽车实用技术》 *

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112764776A (en) * 2021-01-18 2021-05-07 国汽智控(北京)科技有限公司 Domain controller over-the-air upgrading method and device, electronic equipment and storage medium
CN112666932A (en) * 2021-03-16 2021-04-16 奥特酷智能科技(南京)有限公司 Automatic driving remote diagnosis method and system based on DDS and DoIP technology
CN113691453A (en) * 2021-08-16 2021-11-23 中汽创智科技有限公司 Network management method, device, equipment and storage medium
CN113590162A (en) * 2021-08-24 2021-11-02 北京经纬恒润科技股份有限公司 Data upgrading method and system
CN113590162B (en) * 2021-08-24 2024-03-08 北京经纬恒润科技股份有限公司 Data upgrading method and system
WO2023065560A1 (en) * 2021-10-21 2023-04-27 北京理工大学深圳汽车研究院(电动车辆国家工程实验室深圳研究院) Diagonal equal-hop heterogeneous composite redundancy domain architecture of intelligent vehicle
CN115220750A (en) * 2021-11-25 2022-10-21 广州汽车集团股份有限公司 Automobile OTA (over the air) upgrading method, front-row host and system
CN115220750B (en) * 2021-11-25 2024-03-15 广州汽车集团股份有限公司 Automobile OTA upgrading method, front-row host and system

Similar Documents

Publication Publication Date Title
CN112165438A (en) Vehicle communication method and communication system
CN105579318B (en) Control mode conversion of the equipment between the Ethernet connection of ALCL Assembly Line Communication Link and outside
US20060287784A1 (en) Vehicle onboard communication system and method
JP2006511172A (en) Automatic address assignment method in bus system
CN108303964A (en) A kind of network connector and Vehicular diagnostic method
US6643465B1 (en) Method for checking a ring optical network line for data transmission between a plurality of network subscribers in a motor vehicle
JP6654738B1 (en) Processing telemetry data based on the operating state of the data source
JP2014113952A (en) In-vehicle system
JP2018082410A (en) On-vehicle communication system
US11362859B2 (en) In-vehicle communication device and in-vehicle system
CN113242273A (en) Train network, communication method, train, electronic device, and storage medium
CN111919422B (en) Method for operating an ethernet on-board network of a motor vehicle, control unit and ethernet on-board network
CN103869800A (en) Vehicle diagnosis device
US20240179137A1 (en) Control apparatus, in-vehicle communication system, communication control method and program
JP2013203236A (en) Data output device for vehicle
CN102761626B (en) A kind of In-vehicle networking node address and upgrade method
CN112235127B (en) Node fault reporting method and device, terminal equipment and storage medium
CN111007839A (en) Vehicle remote diagnosis method, device, system and storage medium
JP7140011B2 (en) Gateway device
CN113438115B (en) Train Ethernet backbone network line fault diagnosis method, system and device
JP2017114406A (en) Network system
KR101126640B1 (en) System and method for diagnosticating of most network using wireless network
US20140105261A1 (en) METHOD AND DATA TRANSMISSION DEVICE FOR DATA TRANSMISSION WITHIN AN xDSL DATA TRANSMISSION SYSTEM CONNECTING AT LEAST TWO ETHERNET NETWORKS VIA xDSL LINKS
JP2000302039A (en) Car formation acknowledging device
JP2007221550A (en) Failure diagnostic device and program

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