WO2020238291A1 - Automobile ethernet-based unified diagnostic service functional addressing method - Google Patents

Automobile ethernet-based unified diagnostic service functional addressing method Download PDF

Info

Publication number
WO2020238291A1
WO2020238291A1 PCT/CN2020/075781 CN2020075781W WO2020238291A1 WO 2020238291 A1 WO2020238291 A1 WO 2020238291A1 CN 2020075781 W CN2020075781 W CN 2020075781W WO 2020238291 A1 WO2020238291 A1 WO 2020238291A1
Authority
WO
WIPO (PCT)
Prior art keywords
server
diagnostic
address
external test
communication
Prior art date
Application number
PCT/CN2020/075781
Other languages
French (fr)
Chinese (zh)
Inventor
肖文平
袁剑
黄飞
石川
张航
Original Assignee
上海赫千电子科技有限公司
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 上海赫千电子科技有限公司 filed Critical 上海赫千电子科技有限公司
Publication of WO2020238291A1 publication Critical patent/WO2020238291A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5069Address allocation for group communication, multicast communication or broadcast communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5084Providing for device mobility

Definitions

  • the invention belongs to the diagnostic communication field of automotive Ethernet, in particular to a UDS (Unified Diagnostic Service) function addressing method based on automotive Ethernet.
  • UDS Unified Diagnostic Service
  • diagnostic high-level data is carried on DoIP (Diagnostic Communication over Internet Protocol). Specifically, it is carried on the diagnostic data packet with the load type 0x8001 in the DoIP protocol. In the current version of the DoIP protocol, it is clearly pointed out that the 0x8001 diagnostic message is carried on the TCP (Transmission Control Protocol). That is to say, DoIP-based diagnostic communication only has the capability of point-to-point communication.
  • DoIP Diagnostic Communication over Internet Protocol
  • the diagnostic communication actually supports two communication modes, namely physical addressing and functional addressing.
  • Physical addressing is point-to-point communication
  • functional addressing is one-to-many communication.
  • the DoIP layer needs to send data packets separately to each node that needs to communicate, that is, one-to-many communication is completed by multiple single-point communication. .
  • the traditional automobile communication bus is the CAN (Controller Area Network) bus.
  • CAN Controller Area Network
  • the invention provides a UDS function addressing method based on automobile Ethernet, thereby effectively reducing the software processing complexity of the communication initiator, and improving the response processing time and the utilization rate of the bus bandwidth.
  • a method for addressing the functions of a unified diagnostic service based on automotive Ethernet is characterized in that it includes the following steps:
  • Step S1 establishing a mapping table between functional group addresses and IP multicast addresses
  • Step S2 complete the server's control of the access authority of the external test equipment, and add the server to the IP multicast group according to the mapping table;
  • Step S3 sending a diagnostic message in the functional addressing communication mode to the server in the IP multicast group, the diagnostic message containing the IP multicast address;
  • Step S4 perform diagnostic processing according to the diagnostic message in the functional addressing mode
  • the server has a functional group address and an IP address, and the IP multicast address is composed of IP addresses.
  • step S2 includes:
  • Step S21 searching for the IP address of the server
  • Step S22 establish a TCP connection with the server device
  • Step S23 sending a request message for routing activation, the request message containing the logical address of the external test device;
  • Step S24 judge whether the diagnosis communication can be performed according to the logical address, if the diagnosis communication can be performed, mark the current TCP connection as active, and perform step S25; otherwise, perform step S26;
  • Step S25 Find out the IP multicast address corresponding to the functional group address of the server according to the mapping table, add the server to the IP multicast group, and mark the logical address as active;
  • Step S26 Disconnect the current TCP connection. If there is no other connection between the external test device and the server at this time, the server exits the IP multicast group.
  • the external test device sends the diagnostic message in the functional addressing communication mode to the server in the IP multicast group, wherein the IP multicast address
  • the data packet of the multicast address is encapsulated according to the user data packet protocol.
  • step S4 includes:
  • Step S41 detecting whether the logical address of the external test device is activated, and if so, execute the next step; otherwise, send a failure response code to the external test device, and close the current TCP connection;
  • Step S42 Judge whether the server supports the functional group address corresponding to the IP multicast address in the diagnostic message, if so, execute the next step; otherwise, send a failure response code to the external test device and discard the diagnostic message;
  • Step S43 Send a successful response code to the external test equipment, report the diagnosis message to the diagnosis processing module in the server, and start the diagnosis process.
  • an external test equipment implementing the present invention is used to realize the functional addressing of a unified diagnostic service on the automotive Ethernet, which is characterized by:
  • the external test device sends a routing activation request message to the server. After the routing is activated, the server is added to the IP multicast group according to the mapping table between the functional group address and the IP multicast address, and the functional addressing communication mode is also sent when diagnosing communication Diagnose the diagnosis message to the server in the IP multicast group for diagnosis processing;
  • the server has a functional group address and an IP address, and the diagnosis message includes an IP multicast address.
  • the request message contains logical address information of the external test device, which is used by the server to determine whether the external test device has the authority to perform diagnostic communication.
  • an in-vehicle network system implementing the present invention is used to realize the functional addressing of a unified diagnostic service on the automotive Ethernet, including a gateway and a server.
  • the gateway is used for diagnostic communication based on an IP network, and is characterized in that:
  • the gateway is used to establish a TCP connection between the external test equipment and the server, and to embed the mapping table between the function group address and the IP multicast address on the internal node related to the diagnosis function;
  • the server receives the routing activation request message sent by the external test equipment and determines whether the external test equipment has the authority to perform diagnostic communication; during diagnostic communication, it receives the diagnostic message in the functional addressing communication mode and performs diagnostic processing.
  • the server determines whether the external test device has the authority to perform diagnostic communication according to the logical address information.
  • the server contains a diagnostic processing module, which can perform diagnostic processing according to the diagnostic message.
  • the communication connection mode between the external device and the server includes wireless communication and wired communication
  • the wireless communication includes but is not limited to Wifi, 4G, 5G, Bluetooth.
  • Adopting the technical scheme of the present invention aiming at the deficiencies of the prior art, by adopting the functional address and IP address mapping table, and using the restricted access mechanism of TCP and routing activation and the improved Ethernet multicast mechanism, the improved multicast is adopted Mode, the client only needs to process one time when processing the function addressing and send a data packet.
  • the processing time of the external test equipment, the overall communication time, and the occupation of system bandwidth are all improved.
  • Figure 1 is a flowchart of access control in functional addressing mode
  • Figure 2 is a structure diagram of a unicast diagnostic message in the functional addressing mode
  • Figure 3 is a structure diagram of a multicast diagnostic message in the functional addressing mode
  • Figure 4 is a schematic diagram of the structure of IP data load
  • FIG. 5 is a schematic diagram of the structure of TCP data load
  • Figure 6 is a schematic diagram of the structure of the UDP header
  • Figure 7 is a schematic diagram of unicast mode
  • Figure 8 is a schematic diagram of a multicast mode
  • Figure 9 is a flowchart of the diagnostic message receiving process in the functional addressing mode.
  • mapping table between functional addressing addresses and IP multicast addresses is established.
  • the functional addressing address is specified as follows:
  • the IP protocol uses all IP addresses between 224.0.0.0 and 239.255.255.255 as IP multicast addresses, and 224.0.2.0 to 238.255.255.255 are multicast addresses available to users.
  • the functional group address (functional addressing address) and the IP multicast address are mapped one by one, and the mapping table is built into the relevant nodes of the automotive Ethernet diagnostic function.
  • mapping table between functional group addresses and IP multicast addresses may be as follows:
  • mapping table is necessary for the addressing mode of the automotive Ethernet diagnostic service function to be carried in the IP multicast mode, but the content of the mapping table is not limited to the range shown in Table 2 above.
  • the external test equipment initiates the DoIP device discovery process and finds the device information of the server (ECU), such as the IP address, etc.;
  • the external test device initiates a route activation request on the established TCP channel, and the request message carries the logical address information of the external test device;
  • the server (ECU) judges whether the external test equipment has the authority to perform subsequent diagnostic communication according to the logical address information of the external test equipment;
  • the server (ECU) judges that the external test equipment has the right to perform subsequent diagnostic communication, it will mark the current communication TCP connection as valid; at the same time, look up the function group address and IP multicast according to the server (ECU)'s own function group address Mapping table, add the server (ECU) to the corresponding IP multicast group; the server (ECU) marks the logical address of the external test device as active, and binds the current TCP connection;
  • the logical address can be information such as the IP address of the external test equipment, the identification number (ID, Identity) or other marks, and can be predefined and set in the server (ECU).
  • the present invention adds a process of adapting multicast communication to the original DoIP routing activation mechanism.
  • the server needs to look up the functional group address mapping table (ie Table 2) after knowing its own functional group address To join the corresponding IP multicast group.
  • the server needs to exit the corresponding IP multicast group.
  • the external test equipment sends a diagnostic message in the functional addressing communication mode to the server.
  • the external test equipment When the external test equipment needs to initiate diagnostic communication in the functional addressing mode, it should query the built-in functional group address mapping table (ie Table 2) to convert the destination functional group address in the diagnostic message into an IP multicast address.
  • the built-in functional group address mapping table ie Table 2
  • the port number used by the agreed function addressing communication mode is 13401.
  • the data packet format above the DoIP layer remains unchanged from the original TCP mode.
  • the transport layer is carried on UDP.
  • the target IP address of the IP layer is an IP multicast address.
  • the upper-level diagnostic processing logic remains unchanged, maximizing compatibility with the original processing mechanism.
  • IP Header is generally composed of 20 bytes. In special cases, there will be an optional (Option) field.
  • IP data payload data
  • Figure 4 shows the structure diagram of the IP data load, where the destination address (Destination Address), when using TCP for one-to-one communication, fill in the IP address of the server (ECU); when using UDP multicast, query Function group address and IP multicast mapping table, fill in the multicast IP address corresponding to the server (ECU) function group address.
  • Destination Address when using TCP for one-to-one communication
  • UDP multicast, query Function group address and IP multicast mapping table fill in the multicast IP address corresponding to the server (ECU) function group address.
  • the contents are the same in the two communication modes.
  • the TCP Header field generally consists of 20 bytes. In special cases, there will also be an optional (Option) field.
  • the TCP header is the TCP data payload (data), as shown in Figure 5 for the TCP data payload.
  • data the TCP data payload
  • Schematic In the existing DoIP protocol agreement, whether it is single-point one-to-one communication or one-to-many communication, TCP is used uniformly.
  • the UDP Header is composed of fixed 8 bytes, and its structure is shown in Figure 6. Because the TCP protocol itself is designed for one-to-one communication, it does not support multicast mode; while UDP supports multicast mode. Therefore, when using multicast for one-to-many communication, you need to use UDP to encapsulate data packets in the format of the UDP header.
  • the client After the IP layer external test equipment type is changed from unicast to multicast, the client only needs to process it once when processing the function addressing and sending, and send a data packet. It no longer needs to be like unicast mode.
  • the target node sends a piece of data separately. As shown in Figures 7 and 8, after adopting the multicast mode, the processing time of the external test equipment, the overall communication time, and the occupation of system bandwidth will be improved.
  • the server After the server receives the functionally addressed diagnostic message, it performs diagnostic processing.
  • the processing mechanism after the server receives the functional addressing diagnostic message is as follows:
  • the server (ECU) judges whether the logical address information of the external test equipment in the diagnosis message is registered. The registration process is shown in Figure 1. If there is no registration, the server (ECU) returns a failure response code to the external test device, and then closes the current TCP connection; if there is registration, go to the next step.
  • the server (ECU) judges whether the function group address in the diagnostic message is supported by itself, the function address group to which the server belongs is preset, and the specific server only receives the message of the function address group to which it belongs. If the functional group address is unknown, the server (ECU) returns a failure response code to the external test equipment; if the functional group address is known, go to the next step.
  • the server (ECU) returns a successful response code to the external test equipment, and sends the relevant diagnostic data to the corresponding diagnostic processing module for the next step of processing.
  • the client logical address is first registered in the access authority authentication (route activation) process. Only the functional addressing mode multicast packet sent by the client that has gained access to the server will be received by the server.
  • the functional address group to which the server belongs is preset, and a specific server only receives messages from the functional address group to which it belongs.
  • the invention uses Ethernet IP layer/MAC layer multicast and broadcast modes to realize the functional addressing mode of automobile diagnostic communication.
  • the present invention specifically adopts the functional address and IP address mapping table, and uses the TCP and routing activation restriction authority access mechanism and the improved Ethernet multicast mechanism, and adopts the multicast mode, which not only meets the safety requirements of automobile diagnosis services, but also can
  • the one-to-many communication mode that realizes the addressing mode of the automotive Ethernet function, the processing time of the external test equipment, the overall communication time, and the occupation of the system bandwidth have been well improved.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

Disclosed in the present invention are an automobile Ethernet-based UDS functional addressing method, comprising the following steps: performing mapping between a functional addressing address and an IP multicast address, and building a mapping table in a node applied for an Ethernet diagnosis function; completing, according to the mapping table, control of a server on the access permission of an external test device; sending diagnostic communication in a functional addressing communication mode to the server; and after the server receives a functional addressing diagnosis message, performing diagnosis processing. By using the technical solution of the present invention, when processing functional addressing and sending, the client only needs to process once and send one data packet, and the processing time of the external test device, the overall communication time, and the system bandwidth occupancy are all well improved.

Description

汽车以太网的统一诊断服务的功能寻址方法Function addressing method of unified diagnosis service of automobile Ethernet 技术领域Technical field
本发明属于汽车以太网的诊断通信领域,尤其是一种基于汽车以太网的UDS(Unified Diagnostic Service)功能寻址方法。The invention belongs to the diagnostic communication field of automotive Ethernet, in particular to a UDS (Unified Diagnostic Service) function addressing method based on automotive Ethernet.
背景技术Background technique
在汽车以太网技术中,诊断的高层数据(UDS)是承载在DoIP(Diagnostic Communication over Internet Protocol)之上的。具体是承载在DoIP协议中负载类型0x8001的诊断数据报文之上的。在当前版本的DoIP协议中,明确指出0x8001的诊断报文承载在TCP(Transmission Control Protocol)之上。也就是说基于DoIP的诊断通信只具备点对点通信的能力。In automotive Ethernet technology, diagnostic high-level data (UDS) is carried on DoIP (Diagnostic Communication over Internet Protocol). Specifically, it is carried on the diagnostic data packet with the load type 0x8001 in the DoIP protocol. In the current version of the DoIP protocol, it is clearly pointed out that the 0x8001 diagnostic message is carried on the TCP (Transmission Control Protocol). That is to say, DoIP-based diagnostic communication only has the capability of point-to-point communication.
而诊断通信实际上支持两种通信模式,即物理寻址和功能寻址。物理寻址就是点对点通信,功能寻址就是一对多通信。在当前汽车以太网诊断的实现方案上,如果需要功能寻址的通信方式,在DoIP层需要对每个需要通信的节点单独发送数据包,即用多次单点通信的方式完成一对多通信。The diagnostic communication actually supports two communication modes, namely physical addressing and functional addressing. Physical addressing is point-to-point communication, and functional addressing is one-to-many communication. In the current implementation of automotive Ethernet diagnosis, if a functional addressing communication method is required, the DoIP layer needs to send data packets separately to each node that needs to communicate, that is, one-to-many communication is completed by multiple single-point communication. .
传统的汽车通信总线是CAN(Controller Area Network)总线,诊断通信在CAN总线上实施时,当需要使用功能寻址时,外部测试设备只需要发送一次报文,相应的所有服务器就能收到对应的功能 寻址的报文。The traditional automobile communication bus is the CAN (Controller Area Network) bus. When diagnostic communication is implemented on the CAN bus, when functional addressing is required, the external test equipment only needs to send a message once, and all corresponding servers can receive the corresponding The function of addressing the message.
传统的以太网中,一对多通信也有成熟的解决方案,即基于IP的广播和组播。然而,目前汽车以太网技术还在初始发展阶段,将以太网技术和原有诊断通讯需求结合的过程,在功能寻址的实现,显得非常笨拙。用多次单点通信的方式来替代一对多通信,增加了诊断通信发起方的软件处理复杂度,且随着功能寻址对象的增加,单次功能寻址通信所需要发送的数据包也随之增加,响应的处理时间和总线带宽都被无谓的浪费掉了。而简单的直接使用以太网组播/广播来传送功能寻址报文,又对汽车诊断业务而已,不够安全。In traditional Ethernet, one-to-many communication also has mature solutions, namely, IP-based broadcast and multicast. However, the current automotive Ethernet technology is still in its initial development stage. The process of combining Ethernet technology with the original diagnostic communication requirements is very clumsy in the realization of functional addressing. Using multiple single-point communications to replace one-to-many communications increases the software processing complexity of the diagnostic communication initiator. With the increase of functional addressing objects, the data packets that need to be sent for single functional addressing communication are also increased. As it increases, response processing time and bus bandwidth are wasted needlessly. However, simply directly using Ethernet multicast/broadcast to transmit functional addressing messages is only for car diagnostic services and is not safe enough.
发明内容Summary of the invention
本发明提供了一种基于汽车以太网的UDS功能寻址方法,从而有效地减少了通信发起方的软件处理复杂度,提高了响应的处理时间和总线带宽的利用率。The invention provides a UDS function addressing method based on automobile Ethernet, thereby effectively reducing the software processing complexity of the communication initiator, and improving the response processing time and the utilization rate of the bus bandwidth.
依据上述目的,实施本发明的一种基于汽车以太网的统一诊断服务的功能寻址方法,其特征在于,包括如下步骤:According to the above-mentioned objective, a method for addressing the functions of a unified diagnostic service based on automotive Ethernet according to the present invention is characterized in that it includes the following steps:
步骤S1,建立功能组地址与IP组播地址之间的映射表;Step S1, establishing a mapping table between functional group addresses and IP multicast addresses;
步骤S2,完成服务器对外部测试设备访问权限的控制,根据所述映射表将服务器加入IP组播组;Step S2, complete the server's control of the access authority of the external test equipment, and add the server to the IP multicast group according to the mapping table;
步骤S3,发送功能寻址通信模式的诊断报文给IP组播组中的服务器,所述诊断报文中包含有IP组播地址;Step S3, sending a diagnostic message in the functional addressing communication mode to the server in the IP multicast group, the diagnostic message containing the IP multicast address;
步骤S4,根据功能寻址模式的诊断报文,进行诊断处理;Step S4, perform diagnostic processing according to the diagnostic message in the functional addressing mode;
其中,所述服务器具有功能组地址和IP地址,所述IP组播地址由IP地址组成。Wherein, the server has a functional group address and an IP address, and the IP multicast address is composed of IP addresses.
可选的,所述步骤S2包括:Optionally, the step S2 includes:
步骤S21,寻找服务器的IP地址;Step S21, searching for the IP address of the server;
步骤S22,与服务器设备建立TCP连接;Step S22, establish a TCP connection with the server device;
步骤S23,发送路由激活的请求报文,请求报文中包含有外部测试设备的逻辑地址;Step S23, sending a request message for routing activation, the request message containing the logical address of the external test device;
步骤S24,根据逻辑地址判断能否进行诊断通信,如果能够进行诊断通信,则将当前TCP连接标记为激活,执行步骤S25;否则,执行步骤S26;Step S24, judge whether the diagnosis communication can be performed according to the logical address, if the diagnosis communication can be performed, mark the current TCP connection as active, and perform step S25; otherwise, perform step S26;
步骤S25,根据映射表,查找出与服务器的功能组地址相对应的IP组播地址,将服务器加入IP组播组中,逻辑地址标记为激活;Step S25: Find out the IP multicast address corresponding to the functional group address of the server according to the mapping table, add the server to the IP multicast group, and mark the logical address as active;
步骤S26,断开当前的TCP连接,如果此时外部测试设备与服务器没有其它连接,则服务器退出IP组播组。Step S26: Disconnect the current TCP connection. If there is no other connection between the external test device and the server at this time, the server exits the IP multicast group.
可选的,所述步骤S3中,根据所述诊断报文中的IP组播地址,外部测试设备将功能寻址通信模式的诊断报文发送给IP组播组中的服务器,其中所述IP组播地址的数据包按照用户数据包协议封装。Optionally, in the step S3, according to the IP multicast address in the diagnostic message, the external test device sends the diagnostic message in the functional addressing communication mode to the server in the IP multicast group, wherein the IP multicast address The data packet of the multicast address is encapsulated according to the user data packet protocol.
可选的,所述步骤S4包括:Optionally, the step S4 includes:
步骤S41,检测外部测试设备的逻辑地址是否已激活,如果是,执行下一步;否则,发送失败响应码给外部测试设备,关闭当前TCP连接;Step S41, detecting whether the logical address of the external test device is activated, and if so, execute the next step; otherwise, send a failure response code to the external test device, and close the current TCP connection;
步骤S42,判断服务器是否支持与诊断报文中的IP组播地址对 应的功能组地址,如果是,执行下一步;否则,发送失败响应码给外部测试设备并丢弃所述诊断报文;Step S42: Judge whether the server supports the functional group address corresponding to the IP multicast address in the diagnostic message, if so, execute the next step; otherwise, send a failure response code to the external test device and discard the diagnostic message;
步骤S43,发送成功响应码给外部测试设备,将诊断报文上报给服务器内的诊断处理模块,开始诊断处理。Step S43: Send a successful response code to the external test equipment, report the diagnosis message to the diagnosis processing module in the server, and start the diagnosis process.
依据上述目的,实施本发明的一种外部测试设备,用于在汽车以太网上实现统一诊断服务的功能寻址,其特征在于,According to the above-mentioned purpose, an external test equipment implementing the present invention is used to realize the functional addressing of a unified diagnostic service on the automotive Ethernet, which is characterized by:
所述外部测试设备发送路由激活的请求报文给服务器,路由激活后根据功能组地址与IP组播地址之间的映射表将服务器加入IP组播组,诊断通信时同时发送功能寻址通信模式的诊断报文给IP组播组中的服务器进行诊断处理;The external test device sends a routing activation request message to the server. After the routing is activated, the server is added to the IP multicast group according to the mapping table between the functional group address and the IP multicast address, and the functional addressing communication mode is also sent when diagnosing communication Diagnose the diagnosis message to the server in the IP multicast group for diagnosis processing;
其中,所述服务器具有功能组地址和IP地址,所述诊断报文中包含有IP组播地址。Wherein, the server has a functional group address and an IP address, and the diagnosis message includes an IP multicast address.
可选的,所述请求报文中包含有外部测试设备的逻辑地址信息,用于服务器判断外部测试设备是否有权限进行诊断通信。Optionally, the request message contains logical address information of the external test device, which is used by the server to determine whether the external test device has the authority to perform diagnostic communication.
依据上述目的,实施本发明的一种车载网络系统,用于在汽车以太网上实现统一诊断服务的功能寻址,包括网关和服务器,所述网关用于基于IP网络的诊断通信,其特征在于,According to the above-mentioned purpose, an in-vehicle network system implementing the present invention is used to realize the functional addressing of a unified diagnostic service on the automotive Ethernet, including a gateway and a server. The gateway is used for diagnostic communication based on an IP network, and is characterized in that:
所述网关,用于在外部测试设备与服务器之间建立TCP连接,将功能组地址与IP组播地址之间的映射表内置于其内部与诊断功能相关的节点上;The gateway is used to establish a TCP connection between the external test equipment and the server, and to embed the mapping table between the function group address and the IP multicast address on the internal node related to the diagnosis function;
所述服务器,接收外部测试设备发送路由激活的请求报文并判断外部测试设备是否有权限进行诊断通信;诊断通信时接收功能寻 址通信模式的诊断报文并进行诊断处理。The server receives the routing activation request message sent by the external test equipment and determines whether the external test equipment has the authority to perform diagnostic communication; during diagnostic communication, it receives the diagnostic message in the functional addressing communication mode and performs diagnostic processing.
可选的,所述请求报文中包含的外部测试设备的逻辑地址信息,所述服务器根据所述逻辑地址信息判断外部测试设备是否有权限进行诊断通信。Optionally, for the logical address information of the external test device included in the request message, the server determines whether the external test device has the authority to perform diagnostic communication according to the logical address information.
可选的,所述服务器内部包含有诊断处理模块,能够根据诊断报文进行诊断处理。Optionally, the server contains a diagnostic processing module, which can perform diagnostic processing according to the diagnostic message.
可选的,外部设备与服务器的通信连接方式包括无线通信、有线通信;Optionally, the communication connection mode between the external device and the server includes wireless communication and wired communication;
所述无线通信包括但不限于Wifi、4G、5G、蓝牙。The wireless communication includes but is not limited to Wifi, 4G, 5G, Bluetooth.
采用了本发明的技术方案,针对现有技术的不足,通过采用功能地址与IP地址映射表,并利用TCP与路由激活的限制权限访问机制以及改进的以太网组播机制,采用改进的组播模式,客户端在处理功能寻址发送时,只需要处理一次,发送一份数据包即可,外部测试设备的处理时间、整体通信的时间、以及系统带宽的占用都得到很好地改善。Adopting the technical scheme of the present invention, aiming at the deficiencies of the prior art, by adopting the functional address and IP address mapping table, and using the restricted access mechanism of TCP and routing activation and the improved Ethernet multicast mechanism, the improved multicast is adopted Mode, the client only needs to process one time when processing the function addressing and send a data packet. The processing time of the external test equipment, the overall communication time, and the occupation of system bandwidth are all improved.
附图说明Description of the drawings
图1是:功能寻址模式访问控制的流程图;Figure 1 is a flowchart of access control in functional addressing mode;
图2是:功能寻址模式下单播方式诊断报文的结构图;Figure 2 is a structure diagram of a unicast diagnostic message in the functional addressing mode;
图3是:功能寻址模式下组播方式诊断报文的结构图;Figure 3 is a structure diagram of a multicast diagnostic message in the functional addressing mode;
图4是:IP数据负载的结构示意图;Figure 4 is a schematic diagram of the structure of IP data load;
图5是:TCP数据负载的结构示意图;Figure 5 is a schematic diagram of the structure of TCP data load;
图6是:UDP头的结构示意图;Figure 6 is a schematic diagram of the structure of the UDP header;
图7是:单播方式示意图;Figure 7 is a schematic diagram of unicast mode;
图8是:组播方式示意图;Figure 8 is a schematic diagram of a multicast mode;
图9是:功能寻址模式下诊断报文接收处理的流程图。Figure 9 is a flowchart of the diagnostic message receiving process in the functional addressing mode.
具体实施方式Detailed ways
下面结合附图和实施例进一步说明本发明的技术方案。本发明中基于汽车以太网的UDS功能寻址方法的具体实施步骤为:The technical solution of the present invention will be further described below in conjunction with the drawings and embodiments. The specific implementation steps of the UDS function addressing method based on automotive Ethernet in the present invention are:
首先,功能寻址地址与IP组播地址建立映射表。First, a mapping table between functional addressing addresses and IP multicast addresses is established.
按照DoIP协议标准,功能寻址地址规定如下:According to the DoIP protocol standard, the functional addressing address is specified as follows:
Figure PCTCN2020075781-appb-000001
Figure PCTCN2020075781-appb-000001
表1功能寻址组地址定义Table 1 Function addressing group address definition
而IP协议把224.0.0.0~239.255.255.255之间的IP地址都用做IP组播地址,其中224.0.2.0~238.255.255.255为用户可用的组播地址。The IP protocol uses all IP addresses between 224.0.0.0 and 239.255.255.255 as IP multicast addresses, and 224.0.2.0 to 238.255.255.255 are multicast addresses available to users.
在实际使用时,首先将功能组地址(功能寻址地址)与IP组播地址做一一映射,并将映射表内置于汽车以太网诊断功能相关节点上。In actual use, the functional group address (functional addressing address) and the IP multicast address are mapped one by one, and the mapping table is built into the relevant nodes of the automotive Ethernet diagnostic function.
一个实施例中,功能组地址与IP组播地址映射表,可以如下所示:In an embodiment, the mapping table between functional group addresses and IP multicast addresses may be as follows:
功能组地址Functional group address IP组播地址IP multicast address
0xE0000xE000 225.1.224.0225.1.224.0
0xE000…0xE3FF0xE000…0xE3FF 225.1.224.0…225.1.227.255225.1.224.0...225.1.227.255
0xE400…0xEFFF0xE400…0xEFFF 225.1.228.0…225.1.239.255225.1.228.0...225.1.239.255
表2功能组地址与IP组播映射表Table 2 Function group address and IP multicast mapping table
需要说明的是,映射表是汽车以太网诊断服务功能寻址方式能够承载在IP组播方式上所必须的,但是映射表内容并不限定于上述表2所示的范围。It should be noted that the mapping table is necessary for the addressing mode of the automotive Ethernet diagnostic service function to be carried in the IP multicast mode, but the content of the mapping table is not limited to the range shown in Table 2 above.
其次,采用TCP与路由激活的限制权限访问机制对IP组播的进行适配,完成功能寻址模式的服务器对外部测试设备访问权限的控制和管理。Secondly, use the restricted access mechanism of TCP and routing activation to adapt to IP multicast, and complete the control and management of the access authority of the external test equipment by the server in the functional addressing mode.
如图2所示,主要步骤如下:As shown in Figure 2, the main steps are as follows:
(a)外部测试设备发起DoIP设备发现流程,找到服务器(ECU)的设备信息,例如如IP地址等;(a) The external test equipment initiates the DoIP device discovery process and finds the device information of the server (ECU), such as the IP address, etc.;
(b)外部测试设备主动向服务器(ECU)发起并成功建立TCP连(b) The external test equipment actively initiates and successfully establishes a TCP connection to the server (ECU)
接;Connect
(c)外部测试设备在建立的TCP通道上发起路由激活请求,请求报文中带有外部测试设备的逻辑地址信息;(c) The external test device initiates a route activation request on the established TCP channel, and the request message carries the logical address information of the external test device;
(d)服务器(ECU)根据外部测试设备的逻辑地址信息,判断外部测试设备是否有权限进行后续的诊断通信;(d) The server (ECU) judges whether the external test equipment has the authority to perform subsequent diagnostic communication according to the logical address information of the external test equipment;
(e)如果服务器(ECU)判断外部测试设备有权进行后续诊断通信,则将当前通信的TCP连接标记为有效;同时根据服务器(ECU) 自己的功能组地址,查找功能组地址与IP组播映射表,将服务器(ECU)加入对应的IP组播组中;服务器(ECU)将外部测试设备的逻辑地址标记为激活,并对当前的TCP连接进行绑定;(e) If the server (ECU) judges that the external test equipment has the right to perform subsequent diagnostic communication, it will mark the current communication TCP connection as valid; at the same time, look up the function group address and IP multicast according to the server (ECU)'s own function group address Mapping table, add the server (ECU) to the corresponding IP multicast group; the server (ECU) marks the logical address of the external test device as active, and binds the current TCP connection;
(f)如果服务器(ECU)判断外部测试设备无权进行后续诊断通信,则断开当前的TCP连接,如果此时已经没有外部测试设备连接到服务器端(ECU)上,则服务器端(ECU)退出IP组播组。(f) If the server (ECU) judges that the external test equipment is not authorized for subsequent diagnostic communication, it will disconnect the current TCP connection. If there is no external test equipment connected to the server (ECU) at this time, then the server (ECU) Exit the IP multicast group.
逻辑地址可以是外部测试设备的IP地址、身份标识号码(ID,Identity)或者其它标记等信息,可以预先定义、设置于服务器(ECU)中。The logical address can be information such as the IP address of the external test equipment, the identification number (ID, Identity) or other marks, and can be predefined and set in the server (ECU).
本发明在原有的DoIP路由激活机制上增加适配组播通信的流程,在激活成功情况下,服务器需要在已知本身功能组地址的情况下,查找功能组地址映射表(即表2)后,加入对应的IP组播组。而在激活失败的情况下,如果确认所有客户端都已经断开,则服务器需要退出对应的IP组播组。The present invention adds a process of adapting multicast communication to the original DoIP routing activation mechanism. In the case of successful activation, the server needs to look up the functional group address mapping table (ie Table 2) after knowing its own functional group address To join the corresponding IP multicast group. In the case of activation failure, if it is confirmed that all clients have been disconnected, the server needs to exit the corresponding IP multicast group.
再其次,外部测试设备发送功能寻址通信模式的诊断报文给服务器。Secondly, the external test equipment sends a diagnostic message in the functional addressing communication mode to the server.
在外部测试设备需要发起功能寻址模式诊断通信时,应查询内置的功能组地址映射表(即表2),将诊断报文中的目的功能组地址转换成IP组播地址。When the external test equipment needs to initiate diagnostic communication in the functional addressing mode, it should query the built-in functional group address mapping table (ie Table 2) to convert the destination functional group address in the diagnostic message into an IP multicast address.
一个实施例中,约定功能寻址通信模式使用的端口号为13401。In one embodiment, the port number used by the agreed function addressing communication mode is 13401.
如图2、3所示,采用功能寻址模式走IP组播方式后,数据包格式在DoIP以上层同原有走TCP方式维持不变,为了能够走组播方 式,传输层承载在了UDP上,IP层的目标IP地址为IP组播地址。上层诊断处理逻辑都保持不变,最大化兼容了原有的处理机制。As shown in Figures 2 and 3, after adopting the functional addressing mode to adopt the IP multicast mode, the data packet format above the DoIP layer remains unchanged from the original TCP mode. In order to be able to adopt the multicast mode, the transport layer is carried on UDP. Above, the target IP address of the IP layer is an IP multicast address. The upper-level diagnostic processing logic remains unchanged, maximizing compatibility with the original processing mechanism.
IP头(IP Header)一般为20个字节组成,特殊情况下还会有可选(Option)字段,IP头之后是IP数据负载(data)。如图4所示为IP数据负载的结构示意图,其中目的地址(Destination Address),在使用TCP进行单点一对一通信时,填写服务器(ECU)的IP地址;在使用UDP组播时,查询功能组地址与IP组播映射表,填写服务器(ECU)功能组地址对应的组播IP地址。其他IP头字段,在两种通信方式时,填写内容都是一样的。The IP header (IP Header) is generally composed of 20 bytes. In special cases, there will be an optional (Option) field. After the IP header is the IP data payload (data). Figure 4 shows the structure diagram of the IP data load, where the destination address (Destination Address), when using TCP for one-to-one communication, fill in the IP address of the server (ECU); when using UDP multicast, query Function group address and IP multicast mapping table, fill in the multicast IP address corresponding to the server (ECU) function group address. For other IP header fields, the contents are the same in the two communication modes.
TCP头(TCP Header)部字段一般由20个字节组成,特殊情况下还会有可选(Option)字段,TCP头之后是TCP数据负载(data),如图5所示为TCP数据负载的结构示意图。在DoIP现有协议约定中,无论是单点的一对一通信,还是一对多的通信,都统一使用TCP方式进行。The TCP Header field generally consists of 20 bytes. In special cases, there will also be an optional (Option) field. After the TCP header is the TCP data payload (data), as shown in Figure 5 for the TCP data payload. Schematic. In the existing DoIP protocol agreement, whether it is single-point one-to-one communication or one-to-many communication, TCP is used uniformly.
UDP头(UDP Header)由固定8字节组成,其结构如图6所示。由于TCP协议本身就是为一对一通信设计的,不支持组播方式;而UDP支持组播方式。因此在使用组播方式进行一对多的通信时,需要使用UDP,按照UDP头的格式封装数据包。The UDP Header is composed of fixed 8 bytes, and its structure is shown in Figure 6. Because the TCP protocol itself is designed for one-to-one communication, it does not support multicast mode; while UDP supports multicast mode. Therefore, when using multicast for one-to-many communication, you need to use UDP to encapsulate data packets in the format of the UDP header.
IP层外部测试设备式由单播变为组播后,客户端在处理功能寻址发送时,只需要处理一次,发送一份数据包即可,不再需要像单 播模式时,给每一个目标节点单独发送一份数据。如图7、8所示,采用组播模式后,外部测试设备的处理时间,整体通信的时间,以及系统带宽的占用都将得到改善。After the IP layer external test equipment type is changed from unicast to multicast, the client only needs to process it once when processing the function addressing and sending, and send a data packet. It no longer needs to be like unicast mode. The target node sends a piece of data separately. As shown in Figures 7 and 8, after adopting the multicast mode, the processing time of the external test equipment, the overall communication time, and the occupation of system bandwidth will be improved.
最后,服务器接收功能寻址诊断报文后,进行诊断处理。Finally, after the server receives the functionally addressed diagnostic message, it performs diagnostic processing.
如图9所示,服务器接收到功能寻址诊断报文后的处理机制如下:As shown in Figure 9, the processing mechanism after the server receives the functional addressing diagnostic message is as follows:
(a)服务器(ECU)判断诊断报文中的外部测试设备的逻辑地址信息是否注册,注册过程见图1。如果没有注册,则服务器(ECU)向外部测试设备返回失败响应码,然后关闭当前的TCP连接;如果有注册,则进入下一步。(a) The server (ECU) judges whether the logical address information of the external test equipment in the diagnosis message is registered. The registration process is shown in Figure 1. If there is no registration, the server (ECU) returns a failure response code to the external test device, and then closes the current TCP connection; if there is registration, go to the next step.
(b)服务器(ECU)判断诊断报文中的功能组地址是否是自己支持的,服务器所属的功能地址组是预先设置好的,特定的服务器只接收自己所属的功能地址组的报文。如果功能组地址未知,则服务器(ECU)向外部测试设备返回失败响应码;如果功能组地址已知,则进入下一步。(b) The server (ECU) judges whether the function group address in the diagnostic message is supported by itself, the function address group to which the server belongs is preset, and the specific server only receives the message of the function address group to which it belongs. If the functional group address is unknown, the server (ECU) returns a failure response code to the external test equipment; if the functional group address is known, go to the next step.
(c)服务器端(ECU)向外部测试设备返回成功响应码,并将诊断的相关数据发给对应的诊断处理模块进行下一步的处理。(c) The server (ECU) returns a successful response code to the external test equipment, and sends the relevant diagnostic data to the corresponding diagnostic processing module for the next step of processing.
其中,客户端逻辑地址是在访问权限鉴权(路由激活)流程中首先被注册的。只有获得了服务器访问权限的客户端发出的功能寻址模式的组播包才会被服务器接收。Among them, the client logical address is first registered in the access authority authentication (route activation) process. Only the functional addressing mode multicast packet sent by the client that has gained access to the server will be received by the server.
服务器所属的功能地址组是预先设置好的,特定的服务器只接收自己所属的功能地址组的报文。The functional address group to which the server belongs is preset, and a specific server only receives messages from the functional address group to which it belongs.
说明书中的缩略语主要如下所示:The abbreviations in the manual are mainly as follows:
Figure PCTCN2020075781-appb-000002
Figure PCTCN2020075781-appb-000002
表3缩略语Table 3 Abbreviations
本发明使用以太网IP层/MAC层组播、广播方式,实现汽车诊断通信的功能寻址模式。本发明具体通过采用功能地址与IP地址映射表,并利用TCP与路由激活的限制权限访问机制以及改进的以太网组播机制,采用组播模式,既满足了汽车诊断业务的安全需求,同时能够实现汽车以太网功能寻址模式的一对多通信模式,外部测试设备的处理时间、整体通信的时间、以及系统带宽的占用都得到很好地改善。The invention uses Ethernet IP layer/MAC layer multicast and broadcast modes to realize the functional addressing mode of automobile diagnostic communication. The present invention specifically adopts the functional address and IP address mapping table, and uses the TCP and routing activation restriction authority access mechanism and the improved Ethernet multicast mechanism, and adopts the multicast mode, which not only meets the safety requirements of automobile diagnosis services, but also can The one-to-many communication mode that realizes the addressing mode of the automotive Ethernet function, the processing time of the external test equipment, the overall communication time, and the occupation of the system bandwidth have been well improved.

Claims (10)

  1. 一种基于汽车以太网的统一诊断服务的功能寻址方法,其特征在于,包括如下步骤:A function addressing method for a unified diagnostic service based on automotive Ethernet, which is characterized in that it includes the following steps:
    步骤S1,建立功能组地址与IP组播地址之间的映射表;Step S1, establishing a mapping table between functional group addresses and IP multicast addresses;
    步骤S2,完成服务器对外部测试设备访问权限的控制,根据所述映射表将服务器加入IP组播组;Step S2, complete the server's control of the access authority of the external test equipment, and add the server to the IP multicast group according to the mapping table;
    步骤S3,发送功能寻址通信模式的诊断报文给IP组播组中的服务器,所述诊断报文中包含有IP组播地址;Step S3, sending a diagnostic message in the functional addressing communication mode to the server in the IP multicast group, the diagnostic message containing the IP multicast address;
    步骤S4,根据功能寻址模式的诊断报文,进行诊断处理;Step S4, perform diagnostic processing according to the diagnostic message in the functional addressing mode;
    其中,所述服务器具有功能组地址和IP地址,所述IP组播地址包括IP地址。Wherein, the server has a functional group address and an IP address, and the IP multicast address includes an IP address.
  2. 如权利要求1所述的一种基于汽车以太网的统一诊断服务的功能寻址方法,其特征在于,所述步骤S2包括:The function addressing method of a unified diagnostic service based on automotive Ethernet according to claim 1, wherein the step S2 comprises:
    步骤S21,寻找服务器的IP地址;Step S21, searching for the IP address of the server;
    步骤S22,与服务器设备建立TCP连接;Step S22, establish a TCP connection with the server device;
    步骤S23,发送路由激活的请求报文,请求报文中包含有外部测试设备的逻辑地址;Step S23, a request message for routing activation is sent, and the request message contains the logical address of the external test device;
    步骤S24,根据逻辑地址判断能否进行诊断通信,如果能够进行诊断通信,则将当前TCP连接标记为激活,执行步骤S25;否则,执行步骤S26;Step S24, judge whether the diagnosis communication can be performed according to the logical address, if the diagnosis communication can be performed, mark the current TCP connection as active, and perform step S25; otherwise, perform step S26;
    步骤S25,根据映射表,查找出与服务器的功能组地址相对应的IP组播地址,将服务器加入IP组播组中,逻辑地址标记为激活;Step S25: According to the mapping table, find out the IP multicast address corresponding to the functional group address of the server, add the server to the IP multicast group, and mark the logical address as active;
    步骤S26,断开当前的TCP连接,如果此时外部测试设备与服务器没有其它连接,则服务器退出IP组播组。Step S26, disconnect the current TCP connection. If there is no other connection between the external test device and the server at this time, the server exits the IP multicast group.
  3. 如权利要求1所述的一种基于汽车以太网的统一诊断服务的功能寻址方法,其特征在于,所述步骤S3中,根据所述诊断报文中的IP组播地址,外部测试设备将功能寻址通信模式的诊断报文发送给IP组播组中的服务器,其中所述IP组播地址的数据包按照用户数据包协议封装。The function addressing method of a unified diagnostic service based on automobile Ethernet according to claim 1, wherein, in step S3, according to the IP multicast address in the diagnostic message, the external test equipment will The diagnostic message in the functional addressing communication mode is sent to the server in the IP multicast group, wherein the data packet of the IP multicast address is encapsulated according to the user data packet protocol.
  4. 如权利要求2所述的一种基于汽车以太网的统一诊断服务的功能寻址方法,其特征在于,所述步骤S4包括:The method for addressing functions of a unified diagnostic service based on automotive Ethernet according to claim 2, wherein said step S4 comprises:
    步骤S41,检测外部测试设备的逻辑地址是否已激活,如果是,执行下一步;否则,发送失败响应码给外部测试设备,关闭当前TCP连接;Step S41, check whether the logical address of the external test device is activated, and if so, proceed to the next step; otherwise, send a failure response code to the external test device and close the current TCP connection;
    步骤S42,判断服务器是否支持与诊断报文中的IP组播地址对应的功能组地址,如果是,执行下一步;否则,发送失败响应码给外部测试设备并丢弃所述诊断报文;Step S42, judging whether the server supports the functional group address corresponding to the IP multicast address in the diagnostic message, if so, execute the next step; otherwise, send a failure response code to the external test device and discard the diagnostic message;
    步骤S43,发送成功响应码给外部测试设备,将诊断报文上报给服务器内的诊断处理模块,开始诊断处理。Step S43: Send a successful response code to the external test equipment, report the diagnosis message to the diagnosis processing module in the server, and start the diagnosis process.
  5. 一种外部测试设备,用于在汽车以太网上实现统一诊断服务的功能寻址,其特征在于,An external test equipment used to implement functional addressing of unified diagnostic services on automotive Ethernet, characterized in that:
    所述外部测试设备发送路由激活的请求报文给服务器,路由激活后根据功能组地址与IP组播地址之间的映射表将服务器加入IP组播组,诊断通信时同时发送功能寻址通信模式的诊断报文给IP组播组中的服务器进行诊断处理;The external test device sends a routing activation request message to the server. After the routing is activated, the server is added to the IP multicast group according to the mapping table between the functional group address and the IP multicast address, and the functional addressing communication mode is also sent when diagnosing communication Diagnose the diagnosis message to the server in the IP multicast group for diagnosis processing;
    其中,所述服务器具有功能组地址和IP地址,所述诊断报文中包含有IP组播地址。Wherein, the server has a functional group address and an IP address, and the diagnosis message includes an IP multicast address.
  6. 如权利要求5所述的一种外部测试设备,其特征在于,The external test equipment according to claim 5, wherein:
    所述请求报文中包含有外部测试设备的逻辑地址信息,用于服务器判断外部测试设备是否有权限进行诊断通信。The request message contains logical address information of the external test device, which is used by the server to determine whether the external test device has the authority to perform diagnostic communication.
  7. 一种车载网络系统,用于在汽车以太网上实现统一诊断服务的功能寻址,包括网关和服务器,所述网关用于基于IP网络的诊断通信,其特征在于,An in-vehicle network system for realizing the functional addressing of a unified diagnostic service on the automotive Ethernet, including a gateway and a server, the gateway is used for diagnostic communication based on an IP network, and is characterized in that:
    所述网关,用于在外部测试设备与服务器之间建立TCP连接,将功能组地址与IP组播地址之间的映射表内置于其内部与诊断功能相关的节点上;The gateway is used to establish a TCP connection between an external test device and a server, and to embed the mapping table between the function group address and the IP multicast address on its internal node related to the diagnostic function;
    所述服务器,接收外部测试设备发送路由激活的请求报文并判断外部测试设备是否有权限进行诊断通信;诊断通信时接收功能寻址通信模式的诊断报文并进行诊断处理。The server receives a routing activation request message sent by an external test device and determines whether the external test device has the authority to perform diagnostic communication; during diagnostic communication, it receives a diagnostic message in a functional addressing communication mode and performs diagnostic processing.
  8. 如权利要求7所述的一种车载网络系统,其特征在于,The vehicle-mounted network system according to claim 7, wherein:
    所述请求报文中包含的外部测试设备的逻辑地址信息,所述服务器根据所述逻辑地址信息判断外部测试设备是否有权限进行诊断通信。According to the logical address information of the external test device contained in the request message, the server determines whether the external test device is authorized to perform diagnostic communication according to the logical address information.
  9. 如权利要求7所述的一种车载网络系统,其特征在于,The vehicle-mounted network system according to claim 7, wherein:
    所述服务器内部包含有诊断处理模块,能够根据诊断报文进行诊断处理。The server contains a diagnostic processing module, which can perform diagnostic processing based on diagnostic messages.
  10. 权利要求7所述的一种车载网络系统,其特征在于,所述外部设备与服务器的通信连接方式包括无线通信、有线通信;The vehicle-mounted network system of claim 7, wherein the communication connection between the external device and the server includes wireless communication and wired communication;
    所述无线通信至少包括Wifi、4G、5G、蓝牙中的一种。The wireless communication includes at least one of Wifi, 4G, 5G, and Bluetooth.
PCT/CN2020/075781 2019-05-31 2020-02-18 Automobile ethernet-based unified diagnostic service functional addressing method WO2020238291A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910468802.8A CN110311992B (en) 2019-05-31 2019-05-31 Function addressing method for unified diagnosis service of automobile Ethernet
CN201910468802.8 2019-05-31

Publications (1)

Publication Number Publication Date
WO2020238291A1 true WO2020238291A1 (en) 2020-12-03

Family

ID=68075586

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/075781 WO2020238291A1 (en) 2019-05-31 2020-02-18 Automobile ethernet-based unified diagnostic service functional addressing method

Country Status (2)

Country Link
CN (1) CN110311992B (en)
WO (1) WO2020238291A1 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112764410A (en) * 2021-01-19 2021-05-07 广州橙行智动汽车科技有限公司 Vehicle-mounted controller testing device, system and method
CN113179195A (en) * 2021-04-28 2021-07-27 重庆长安汽车股份有限公司 CAN message embedded point detection method, system, device and computer readable storage medium
CN113485920A (en) * 2021-07-01 2021-10-08 中瓴智行(成都)科技有限公司 Method and device for realizing DoIP entity, readable storage medium and electronic equipment
CN114397871A (en) * 2021-12-24 2022-04-26 中车大连电力牵引研发中心有限公司 Train network communication test system based on 5G
CN114756585A (en) * 2022-03-23 2022-07-15 深圳市元征科技股份有限公司 Vehicle data acquisition method and device, electronic equipment and storage medium
CN115250287A (en) * 2022-06-23 2022-10-28 重庆长安汽车股份有限公司 Automatic adaptation method and system based on DDS multiport

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110311992B (en) * 2019-05-31 2020-07-03 上海赫千电子科技有限公司 Function addressing method for unified diagnosis service of automobile Ethernet
CN110913006B (en) * 2019-11-29 2022-08-19 深圳市元征科技股份有限公司 Remote diagnosis method and system
CN111404794B (en) * 2020-03-12 2021-11-16 超越科技股份有限公司 CAN bus network sharing system and method based on virtualization
CN111367746A (en) * 2020-03-16 2020-07-03 纳瓦电子(上海)有限公司 Test method of wireless complete machine
CN112230576A (en) * 2020-04-07 2021-01-15 张根兵 Electric drive vehicle control delay optimization method based on traversal cycle
CN113821534A (en) * 2020-06-19 2021-12-21 北京新能源汽车股份有限公司 Vehicle information query method and device and diagnostic instrument
CN112783549A (en) * 2021-01-08 2021-05-11 东风汽车股份有限公司 Method for upgrading data version number of automobile electric control element
CN115065699A (en) * 2022-06-08 2022-09-16 深圳市元征科技股份有限公司 Route activation method, device, equipment and medium based on remote diagnosis

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160182341A1 (en) * 2013-08-29 2016-06-23 Bayerische Motoren Werke Aktiengesellschaft Switching over the Mode of a Control Unit Between a Diagnostic Bus and an External Ethernet Connection
CN107707418A (en) * 2016-08-09 2018-02-16 上汽通用汽车有限公司 One kind communication diagnostic system and communication diagnosis method for refreshing
CN107765676A (en) * 2017-11-01 2018-03-06 河北工业大学 A kind of onboard diagnostic system and its method based on Ethernet
US20190079842A1 (en) * 2017-09-13 2019-03-14 Hyundai Motor Company Failure diagnosis apparatus and method for in-vehicle control unit
CN110311992A (en) * 2019-05-31 2019-10-08 上海赫千电子科技有限公司 The functional addressing method of the unified diagnostic service of automobile Ethernet

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6816479B1 (en) * 1999-10-21 2004-11-09 International Business Machines Corporation Method and system for pre-loading in an NBBS network the local directory database of network nodes with the location of the more frequently requested resources
CN100372339C (en) * 2004-03-10 2008-02-27 华为技术有限公司 A data transmission method between GPRS network terminal and IP network equipment
CN105530614B (en) * 2014-09-30 2019-03-22 中兴通讯股份有限公司 Group addressing processing method, device, MTC Interworking gateway and API GW
CN106549844B (en) * 2016-11-02 2019-05-14 中国第一汽车股份有限公司 A kind of MOST-CAN gateway and the diagnosis packet routing method based on the gateway
CN107370839A (en) * 2017-06-29 2017-11-21 北京东土科技股份有限公司 The addressing method and relevant apparatus of industrial field device, system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160182341A1 (en) * 2013-08-29 2016-06-23 Bayerische Motoren Werke Aktiengesellschaft Switching over the Mode of a Control Unit Between a Diagnostic Bus and an External Ethernet Connection
CN107707418A (en) * 2016-08-09 2018-02-16 上汽通用汽车有限公司 One kind communication diagnostic system and communication diagnosis method for refreshing
US20190079842A1 (en) * 2017-09-13 2019-03-14 Hyundai Motor Company Failure diagnosis apparatus and method for in-vehicle control unit
CN107765676A (en) * 2017-11-01 2018-03-06 河北工业大学 A kind of onboard diagnostic system and its method based on Ethernet
CN110311992A (en) * 2019-05-31 2019-10-08 上海赫千电子科技有限公司 The functional addressing method of the unified diagnostic service of automobile Ethernet

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
AN, KANG ET AL.: "Development of Automobile Diagnostic System Based on DoIP Protocol", AUTO ELECTRIC PARTS, no. 3, 20 March 2019 (2019-03-20), pages 29 - 31, XP055761655, ISSN: 1003-8639 *

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112764410A (en) * 2021-01-19 2021-05-07 广州橙行智动汽车科技有限公司 Vehicle-mounted controller testing device, system and method
CN112764410B (en) * 2021-01-19 2023-03-31 广州橙行智动汽车科技有限公司 Vehicle-mounted controller testing device, system and method
CN113179195A (en) * 2021-04-28 2021-07-27 重庆长安汽车股份有限公司 CAN message embedded point detection method, system, device and computer readable storage medium
CN113485920A (en) * 2021-07-01 2021-10-08 中瓴智行(成都)科技有限公司 Method and device for realizing DoIP entity, readable storage medium and electronic equipment
CN113485920B (en) * 2021-07-01 2024-02-02 中瓴智行(成都)科技有限公司 Method and device for realizing DoIP entity, readable storage medium and electronic equipment
CN114397871A (en) * 2021-12-24 2022-04-26 中车大连电力牵引研发中心有限公司 Train network communication test system based on 5G
CN114397871B (en) * 2021-12-24 2023-10-20 中车大连电力牵引研发中心有限公司 Train network communication test system based on 5G
CN114756585A (en) * 2022-03-23 2022-07-15 深圳市元征科技股份有限公司 Vehicle data acquisition method and device, electronic equipment and storage medium
CN115250287A (en) * 2022-06-23 2022-10-28 重庆长安汽车股份有限公司 Automatic adaptation method and system based on DDS multiport
CN115250287B (en) * 2022-06-23 2023-08-04 重庆长安汽车股份有限公司 Automatic adaptation method based on DDS multiple ports

Also Published As

Publication number Publication date
CN110311992B (en) 2020-07-03
CN110311992A (en) 2019-10-08

Similar Documents

Publication Publication Date Title
WO2020238291A1 (en) Automobile ethernet-based unified diagnostic service functional addressing method
US11627515B2 (en) Method for supporting lawful interception of remote ProSe UE in network
US7606227B2 (en) Method, apparatus and system for distributing multicast data
JP2022517176A (en) Methods and equipment to support local area networks (LANs)
US6996085B2 (en) System, device, and method for providing network access in a communication system
CN101299671B (en) Method and device for transmitting and receiving multicast data packet
US8441974B2 (en) Method of providing multicast broadcast service
US20180109929A1 (en) Enabling Multicast For Service Layer Group Operation
US8995436B2 (en) Method and apparatus for generating group service flow in a mobile communication system
JP2009544259A (en) Method and apparatus for policy enforcement in a wireless communication system
JP5653912B2 (en) Method and apparatus for multicast group management
WO2008127662B1 (en) Packet data network connectivity domain selection and bearer setup
WO2015003566A1 (en) Method, device and system for transmitting packet in multicast domain name system
CN111010673A (en) Communication method and device
RU2015132107A (en) NETWORK SYSTEMS AND METHODS
WO2009039719A1 (en) A user identifier server, a system and method for processing the data service
US7574550B2 (en) Guaranteed isochronous services method and apparatus in bridged LAN
US20070195804A1 (en) Ppp gateway apparatus for connecting ppp clients to l2sw
WO2007089023A1 (en) Method for selective service updates for communication networks
US20090070488A1 (en) Data Communication Method
US20140160990A1 (en) Mechanisms for Quality of Service to Over the Top Applications for Use in Commercial Wireless Networks
WO2012130098A1 (en) Method and system for obtaining an ip address of a machine type communication (mtc) device
US20110280187A1 (en) Provision of an end-to-end connection from a terminal unit to a network
WO2011006320A1 (en) Attachment method and system with identifier and location splitting in next generation network
US10742751B2 (en) User based mDNS service discovery

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20815679

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20815679

Country of ref document: EP

Kind code of ref document: A1