CN115701034A - Bus control method and related device - Google Patents
Bus control method and related device Download PDFInfo
- Publication number
- CN115701034A CN115701034A CN202110845858.8A CN202110845858A CN115701034A CN 115701034 A CN115701034 A CN 115701034A CN 202110845858 A CN202110845858 A CN 202110845858A CN 115701034 A CN115701034 A CN 115701034A
- Authority
- CN
- China
- Prior art keywords
- node
- message
- protocol type
- bus
- vehicle
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60R—VEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
- B60R16/00—Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for
- B60R16/02—Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements
- B60R16/023—Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements for transmission of signals between vehicle parts or subsystems
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07C—TIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
- G07C5/00—Registering or indicating the working of vehicles
- G07C5/08—Registering or indicating performance data other than driving, working, idle, or waiting time, with or without registering driving, working, idle or waiting time
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/40—Bus networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/18—Multiprotocol handlers, e.g. single devices capable of handling multiple protocols
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/22—Parsing or analysis of headers
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Small-Scale Networks (AREA)
- Mechanical Engineering (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
Abstract
Description
技术领域technical field
本申请实施例涉及通信领域,尤其涉及一种总线控制方法及相关装置。The embodiments of the present application relate to the communication field, and in particular, to a bus control method and a related device.
背景技术Background technique
控制器局域网络(controller area network,CAN)是一种支持分布式控制和实施控制的串行通信网络。控制局域网络下包括了CAN协议和灵活数据速率的控制器局域网络(controller area network flexible data-rate,CANFD)协议。Controller Area Network (CAN) is a serial communication network that supports distributed control and implementation of control. The control area network includes a CAN protocol and a controller area network (controller area network flexible data-rate, CANFD) protocol with a flexible data rate.
目前,CAN协议和CANFD协议都是汽车计算机控制系统常用的两种现场总线协议。整车通过车载网关与车外诊断设备进行通信,并对车外提供一路CAN总线,该CAN总线能够支持CAN和CANFD两种协议。Currently, the CAN protocol and the CAN FD protocol are two commonly used field bus protocols for automotive computer control systems. The whole vehicle communicates with the diagnostic equipment outside the vehicle through the vehicle gateway, and provides a CAN bus to the outside of the vehicle. The CAN bus can support CAN and CAN FD two protocols.
由于整车的总线协议类型会随着整车架构的调整而变更,而一路CAN总线无法同时兼容CAN协议和CANFD协议,因此,车载网关只能根据车外诊断设备的协议类型重新配置车载网关总线类型,从而影响了车外诊断设备对整车诊断效率。Since the bus protocol type of the vehicle will change with the adjustment of the vehicle architecture, and one CAN bus cannot be compatible with the CAN protocol and the CAN FD protocol at the same time, the vehicle gateway can only reconfigure the vehicle gateway bus according to the protocol type of the off-vehicle diagnostic equipment Type, which affects the diagnostic efficiency of the off-board diagnostic equipment for the whole vehicle.
发明内容Contents of the invention
本申请实施例提供了一种总线控制方法及相关装置,用于提升总线系统的通信效率。Embodiments of the present application provide a bus control method and a related device, which are used to improve communication efficiency of a bus system.
本申请实施例第一方面提供了一种总线控制方法,该方法可以由第一节点执行,也可以由第一节点的部件,例如第一节点的处理器、芯片、或芯片系统等执行,还可以由能实现全部或部分网络设备功能的逻辑模块或软件实现,第一节点包括车载网关在内的总线控制器。第一方面提供的总线控制方法包括:第一节点接收第二节点发送的第一报文之后,该第一报文可以指示第一的节点的总线协议类型,例如,第一报文的帧格式和标识位能够指示第一节点的总线协议类型,因此,第一节点可以根据第一报文识别出第二节点的总线协议类型,第一节点识别出第二总线的总线协议类型之后,第一节点可以按照第二节点的总线协议类型向第二节点发送第二报文,该第二报文的协议类型与第二节点的总线协议类型一致。The first aspect of the embodiments of the present application provides a bus control method. The method may be executed by the first node, or may be executed by components of the first node, such as a processor, a chip, or a chip system of the first node. It can be implemented by a logic module or software that can realize all or part of the network device functions, and the first node includes a bus controller including a vehicle gateway. The bus control method provided by the first aspect includes: after the first node receives the first message sent by the second node, the first message can indicate the bus protocol type of the first node, for example, the frame format of the first message and the identification bit can indicate the bus protocol type of the first node, therefore, the first node can identify the bus protocol type of the second node according to the first message, after the first node identifies the bus protocol type of the second bus, the first The node may send the second message to the second node according to the bus protocol type of the second node, where the protocol type of the second message is consistent with the bus protocol type of the second node.
本申请实施例中第一节点根据第二节点发送的报文自动识别第二节点的总线协议类型,以使得第一节点能够根据第二节点的总线协议类型再次发送业务报文,从而提升了第一节点和第二节点的通讯效率。In the embodiment of the present application, the first node automatically recognizes the bus protocol type of the second node according to the message sent by the second node, so that the first node can resend the service message according to the bus protocol type of the second node, thus improving the second node. Communication efficiency between a node and a second node.
基于第一方面,在一种可能的实施方式中,第一节点接收第二节点发送的第一报文之前,第一节点向第二节点发送至少一个第三报文,第三报文用于探测第二节点的总线协议类型,具体的,第一节点向第二节点发送基于第一总线协议的第三报文,第一节点判断是否接受到响应响应报文,若没有接收到响应报文,则第一节点向第二节点发送基于第二总线协议的第三报文,上述第一节点接收的第一报文可以响应报文,即当第一报文为响应报文时,第一报文用于根据第三报文的总线协议类型响应第三报文。Based on the first aspect, in a possible implementation manner, before the first node receives the first message sent by the second node, the first node sends at least one third message to the second node, and the third message is used for Detect the bus protocol type of the second node. Specifically, the first node sends a third message based on the first bus protocol to the second node, and the first node judges whether a response message is received, and if no response message is received , then the first node sends a third message based on the second bus protocol to the second node, and the first message received by the first node may be a response message, that is, when the first message is a response message, the first The message is used to respond to the third message according to the bus protocol type of the third message.
本申请实施例中第一节点向第二节点发送探测报文,以使得第一节点根据响应该探测报文的响应报文确定出第二节点的总线协议类型,当网络系统中第二节点发生变化时能够自动识别第二节点的总线协议类型,无需修改第一节点的总线协议类型,从而提升网络系统的通讯效率。In the embodiment of the present application, the first node sends a detection message to the second node, so that the first node determines the bus protocol type of the second node according to the response message in response to the detection message. When the second node in the network system When changing, the bus protocol type of the second node can be automatically identified without modifying the bus protocol type of the first node, thereby improving the communication efficiency of the network system.
基于第一方面,在一种可能的实施方式中,总线协议类型包括CAN协议或CANFD协议。第一节点包括车载网关,第二节点包括车载电子控制ECU部件或车外诊断设备。Based on the first aspect, in a possible implementation manner, the bus protocol type includes a CAN protocol or a CAN FD protocol. The first node includes an on-board gateway, and the second node includes an on-board electronic control ECU component or an off-board diagnostic device.
本申请实施例应用于车辆诊断场景时,车载网关可以根据车下诊断仪发送的报文自动识别车下诊断仪支持的总线协议类型,提升了车辆的诊断效率。When the embodiment of the present application is applied to a vehicle diagnosis scenario, the vehicle-mounted gateway can automatically identify the bus protocol type supported by the off-vehicle diagnostic instrument according to the message sent by the off-vehicle diagnostic instrument, thereby improving the diagnostic efficiency of the vehicle.
进一步的,当本申请实施例应用于车载网络场景时,当整车的系统架构发生扩展或修改时,车载网关能够通过发送探测报文确定对端车载ECU部件的总线协议类型,无需修改车载网关的总线协议类型直接通讯,从而提升车辆的通讯效率。Further, when the embodiment of the present application is applied to a vehicle-mounted network scenario, when the system architecture of the entire vehicle is expanded or modified, the vehicle-mounted gateway can determine the bus protocol type of the peer vehicle-mounted ECU component by sending a detection message, without modifying the vehicle-mounted gateway The bus protocol type directly communicates, thereby improving the communication efficiency of the vehicle.
基于第一方面,在一种可能的实施方式中,第一节点根据第一报文识别第二节点的总线协议类型的过程中,第一节点根据第一报文中的FDF标志识别第二节点的总线协议类型。具体的,第一节点通过CAN控制器解析第一报文,第一节点根据解析后的报文中FDF标识识别第一报文的总线协议类型,其中,若第一报文中存在FDF标识,则说明第一报文的总线协议类型为CANFD协议,若不存在FDF标识,则第一报文的总线协议类型为CAN协议。Based on the first aspect, in a possible implementation manner, during the process of the first node identifying the bus protocol type of the second node according to the first message, the first node identifies the second node according to the FDF flag in the first message type of bus protocol. Specifically, the first node parses the first message through the CAN controller, and the first node identifies the bus protocol type of the first message according to the FDF mark in the parsed message, wherein, if there is an FDF mark in the first message, It indicates that the bus protocol type of the first message is the CAN FD protocol, and if there is no FDF identifier, the bus protocol type of the first message is the CAN protocol.
本申请实施例中第一节点可以根据的报文中的FDF标识识别报文的总线协议类型,从而提升方案可实现性。In the embodiment of the present application, the first node can identify the bus protocol type of the message according to the FDF identifier in the message, thereby improving the feasibility of the solution.
基于第一方面,在一种可能的实施方式中,第一节点根据第一报文识别第二节点的总线协议类型之后,第一节点记录第二节点的总线协议类型。具体的,第一节点将第二节点的总线协议类型存储在第一节点的存储器,以使得第一节点再次向第二节点发送业务报文是可以直接基于第二节点的总线协议类型发送。Based on the first aspect, in a possible implementation manner, after the first node identifies the bus protocol type of the second node according to the first packet, the first node records the bus protocol type of the second node. Specifically, the first node stores the bus protocol type of the second node in the memory of the first node, so that the service message sent by the first node to the second node can be sent directly based on the bus protocol type of the second node.
本申请实施例中第一节点可以将第二节点的总线协议类型存储,以使得第一节点下次方业务报文是可以查询第二节点的总线协议类型,从而提升第一节点与第二节点之间的通信效率。In the embodiment of the present application, the first node can store the bus protocol type of the second node, so that the next service message of the first node can query the bus protocol type of the second node, thereby improving the relationship between the first node and the second node. communication efficiency between them.
基于第一方面,在一种可能的实施方式中,第一节点基于总线协议类型向第二节点发送第二报文之前,方法还包括:第一节点查询第二节点的总线协议类型。Based on the first aspect, in a possible implementation manner, before the first node sends the second message to the second node based on the bus protocol type, the method further includes: the first node queries the bus protocol type of the second node.
本申请实施例第二方面提供了一种总线控制方法,该方法可以由第二节点执行,也可以由第二节点的部件,例如第二节点的处理器、芯片、或芯片系统等执行,还可以由能实现全部或部分网络设备功能的逻辑模块或软件实现,第二节点包括车载ECU部件以及车外诊断设备。第二方面提供的总线控制方法包括:包括:第二节点向第一节点发送第一报文之后,该第一报文可以指示第一的节点的总线协议类型,例如,第一报文的帧格式和标识位能够指示第一节点的总线协议类型,因此,第一节点可以根据第一报文识别第二节点的总线协议类型,第一节点识别第二节点的总线协议类型之后,第一节点就可以根据第二节点的总线协议向第二节点发送后续的第二报文,第二节点接收第一节点发送的第二报文,第二报文与第二节点的总线协议类型一致。The second aspect of the embodiment of the present application provides a bus control method. The method may be executed by the second node, or may be executed by components of the second node, such as a processor, a chip, or a chip system of the second node. It can be implemented by logic modules or software that can realize all or part of the network equipment functions, and the second node includes on-board ECU components and off-vehicle diagnostic equipment. The bus control method provided by the second aspect includes: after the second node sends the first message to the first node, the first message may indicate the bus protocol type of the first node, for example, the frame of the first message The format and the identification bit can indicate the bus protocol type of the first node. Therefore, the first node can identify the bus protocol type of the second node according to the first message. After the first node identifies the bus protocol type of the second node, the first node Then the subsequent second message can be sent to the second node according to the bus protocol of the second node, and the second node receives the second message sent by the first node, and the second message is consistent with the bus protocol type of the second node.
本申请实施例中第二节点向第一节点发送第一报文以使得第一节点能够根据第一报文识别第二节点的总线协议类型,从而提升了第一节点和第二节点的通讯效率。In the embodiment of the present application, the second node sends the first message to the first node so that the first node can identify the bus protocol type of the second node according to the first message, thereby improving the communication efficiency between the first node and the second node .
基于第二方面,在一种可能的实施方式中,第二节点向第一节点发送第一报文之前,第二节点接收第一节点发送的至少一个第三报文,具体的,第二节点接收第一节点发送的基于第一总线协议的第三报文,第二节点判断是否识别该报文的第一总线协议类型,若无法识别该报文的第一总线协议类型,则第二节点不响应该报文,当第二节点接收到第一节点发送的基于第二总线协议的第三报文时,若第二节点能够识别出该报文的第二总线协议类型,则第二节点向第二节点发送该报文的响应报文。因此,第三报文用于探测第二节点的总线协议类型,第一报文用于根据第三报文的总线协议类型进行响应第三报文。Based on the second aspect, in a possible implementation manner, before the second node sends the first message to the first node, the second node receives at least one third message sent by the first node, specifically, the second node Receiving the third message based on the first bus protocol sent by the first node, the second node judges whether to recognize the first bus protocol type of the message, if the first bus protocol type of the message cannot be recognized, the second node Do not respond to the message, when the second node receives the third message based on the second bus protocol sent by the first node, if the second node can identify the second bus protocol type of the message, the second node Send a response message to the message to the second node. Therefore, the third message is used to detect the bus protocol type of the second node, and the first message is used to respond to the third message according to the bus protocol type of the third message.
本申请实施例中第二节点响应第一节点发送的探测报文,当网络系统中第二节点发生变化时第一节点能够根据响应报文自动识别第二节点的总线协议类型,无需修改第一节点的总线协议类型,从而提升网络系统的通讯效率。In the embodiment of the present application, the second node responds to the detection message sent by the first node. When the second node in the network system changes, the first node can automatically identify the bus protocol type of the second node according to the response message, without modifying the first node. The bus protocol type of the node, thereby improving the communication efficiency of the network system.
基于第二方面,在一种可能的实施方式中,总线协议类型包括CAN协议或CANFD协议。第一节点包括车载网关,第二节点包括车载电子控制ECU部件或车外诊断设备。Based on the second aspect, in a possible implementation manner, the bus protocol type includes a CAN protocol or a CAN FD protocol. The first node includes an on-board gateway, and the second node includes an on-board electronic control ECU component or an off-board diagnostic device.
本申请实施例第三方面提供了一种总线控制装置,装置包括接口单元和处理单元,其中接口单元用于接收第二节点发送的第一报文,处理单元用于根据第一报文识别第二节点的总线协议类型,接口单元还用于基于总线协议类型向第二节点发送第二报文,第二报文的协议类型与第二节点的总线协议类型一致。The third aspect of the embodiment of the present application provides a bus control device. The device includes an interface unit and a processing unit, wherein the interface unit is used to receive the first message sent by the second node, and the processing unit is used to identify the first message according to the first message. The bus protocol type of the second node, the interface unit is further configured to send a second message to the second node based on the bus protocol type, and the protocol type of the second message is consistent with the bus protocol type of the second node.
一种可能的实施方式中,接收第二节点发送的第一报文之前,接口单元还用于向第二节点发送至少一个第三报文,第三报文用于探测第二节点的总线协议类型,第一报文用于根据第三报文的总线协议类型响应第三报文。In a possible implementation manner, before receiving the first message sent by the second node, the interface unit is further configured to send at least one third message to the second node, and the third message is used to detect the bus protocol of the second node type, the first packet is used to respond to the third packet according to the bus protocol type of the third packet.
一种可能的实施方式中,总线协议类型包括CAN协议或CANFD协议,第一节点包括车载网关,第二节点包括车载电子控制ECU部件或车外诊断设备。In a possible implementation manner, the bus protocol type includes CAN protocol or CAN FD protocol, the first node includes a vehicle gateway, and the second node includes a vehicle electronic control ECU component or an off-vehicle diagnostic device.
一种可能的实施方式中,所述的处理单元具体用于根据第一报文中的FDF标志识别第二节点的总线协议类型。In a possible implementation manner, the processing unit is specifically configured to identify the bus protocol type of the second node according to the FDF flag in the first message.
一种可能的实施方式中,根据第一报文识别第二节点的总线协议类型之后,所述处理单元还用于记录第二节点的总线协议类型。In a possible implementation manner, after identifying the bus protocol type of the second node according to the first packet, the processing unit is further configured to record the bus protocol type of the second node.
一种可能的实施方式中,基于总线协议类型向第二节点发送第二报文之前,处理单元还用于查询第二节点的总线协议类型。In a possible implementation manner, before sending the second message to the second node based on the bus protocol type, the processing unit is further configured to query the bus protocol type of the second node.
本申请实施例第四方面提供了一种总线控制器,包括接口单元和处理单元,接口单元用于向第一节点发送第一报文,第一报文用于第一节点识别第二节点的总线协议类型,接口单元还用于接收第一节点发送的第二报文,第二报文与第二节点的总线协议类型一致。The fourth aspect of the embodiment of the present application provides a bus controller, including an interface unit and a processing unit, the interface unit is used to send a first message to the first node, and the first message is used by the first node to identify the second node The bus protocol type, the interface unit is also used to receive the second message sent by the first node, the second message is consistent with the bus protocol type of the second node.
一种可能的实施方式中,接口单元向第一节点发送第一报文之前,接口单元还用于接收第一节点发送的至少一个第三报文,第三报文用于探测第二节点的总线协议类型,第一报文用于根据第三报文的总线协议类型进行响应第三报文。In a possible implementation manner, before the interface unit sends the first message to the first node, the interface unit is further configured to receive at least one third message sent by the first node, and the third message is used to detect the second node's The bus protocol type, the first message is used to respond to the third message according to the bus protocol type of the third message.
一种可能的实施方式中,总线协议类型包括CAN协议或CANFD协议。第一节点包括车载网关,第二节点包括车载电子控制ECU部件或车外诊断设备。In a possible implementation manner, the bus protocol type includes CAN protocol or CAN FD protocol. The first node includes an on-board gateway, and the second node includes an on-board electronic control ECU component or an off-board diagnostic device.
本申请实施例第五方面提供了一种总线控制装置,包括处理器,处理器与存储器耦合,处理器用于存储指令,当指令被处理器执行时,以使得总线控制装置执行上述第一方面或第一方面任意一种可能的实施方式所述的方法,或者,以使得总线控制装置执行上述第二方面或第二方面任意一种可能的实施方式所述的方法。The fifth aspect of the embodiment of the present application provides a bus control device, including a processor, the processor is coupled with the memory, the processor is used to store instructions, and when the instructions are executed by the processor, the bus control device performs the above-mentioned first aspect or The method described in any possible implementation manner of the first aspect, or the bus control device executes the method described in the above second aspect or any possible implementation manner of the second aspect.
本申请实施例第六方面提供了一种总线控制系统,其特征在于,包括:第一节点和第二节点,第一节点用于执行上述第一方面或第一方面任意一种可能的实施方式所述的方法,第二节点用于执行上述第二方面或第二方面任意一种可能的实施方式所述的方法。The sixth aspect of the embodiment of the present application provides a bus control system, which is characterized in that it includes: a first node and a second node, and the first node is used to implement the above-mentioned first aspect or any possible implementation manner of the first aspect In the method, the second node is configured to execute the method described in the second aspect or any possible implementation manner of the second aspect.
本申请实施例第七方面提供了一种车辆,包括车载网关和车载部件,车载网关用执行上述第一方面或第一方面任意一种可能的实施方式中第一节点所执行的方法,车载部件用执行上述第二方面或第二方面任意一种可能的实施方式中第二节点所执行的方法。The seventh aspect of the embodiment of the present application provides a vehicle, including a vehicle-mounted gateway and a vehicle-mounted component. The vehicle-mounted gateway is used to execute the method performed by the first node in the first aspect or any possible implementation manner of the first aspect. The vehicle-mounted component Use the second aspect or the method executed by the second node in any possible implementation manner of the second aspect.
本申请实施例第八方面提供了一种计算机可读存储介质,其上存储有指令,指令被执行时,以使得计算机执行上述第一方面或第一方面任意一种可能的实施方式所述的方法,或者,以使得计算机执行上述第二方面或第二方面任意一种可能的实施方式所述的方法。The eighth aspect of the embodiments of the present application provides a computer-readable storage medium on which instructions are stored. When the instructions are executed, the computer executes the above-mentioned first aspect or any one of the possible implementation manners of the first aspect. method, or to cause a computer to execute the method described in the second aspect or any possible implementation manner of the second aspect.
本申请实施例第九方面提供了一种计算机程序产品,计算机程序产品中包括指令,指令被执行时,以使得计算机实现上述第一方面或第一方面任意一种可能的实施方式所述的方法,或者,以使得计算机实现上述第二方面或第二方面任意一种可能的实施方式所述的方法。The ninth aspect of the embodiment of the present application provides a computer program product. The computer program product includes instructions. When the instructions are executed, the computer implements the method described in the above-mentioned first aspect or any possible implementation manner of the first aspect. , or, so that the computer implements the method described in the second aspect or any possible implementation manner of the second aspect.
可以理解,上述提供的任一种总线控制装置、总线控制系统、计算机可读介质、或计算机程序产品等所能达到的有益效果可参考对应的方法中的有益效果,此处不再赘述。It can be understood that the beneficial effects that can be achieved by any bus control device, bus control system, computer readable medium, or computer program product provided above can refer to the beneficial effects in the corresponding method, and will not be repeated here.
附图说明Description of drawings
图1为本申请实施例提供的一种通信系统架构示意图;FIG. 1 is a schematic diagram of a communication system architecture provided by an embodiment of the present application;
图2为本申请实施例提供的一种总线控制方法示意图;FIG. 2 is a schematic diagram of a bus control method provided in an embodiment of the present application;
图3为本申请实施例提供的另一种总线控制方法示意图;FIG. 3 is a schematic diagram of another bus control method provided by an embodiment of the present application;
图4为本申请实施例提供的另一种总线控制方法示意图;FIG. 4 is a schematic diagram of another bus control method provided by the embodiment of the present application;
图5为本申请实施例提供的另一种总线控制方法示意图;FIG. 5 is a schematic diagram of another bus control method provided by the embodiment of the present application;
图6为本申请实施例提供的一种总线控制器的结构示意图;FIG. 6 is a schematic structural diagram of a bus controller provided in an embodiment of the present application;
图7为本申请实施例提供的另一种总线控制器的结构示意图;FIG. 7 is a schematic structural diagram of another bus controller provided in an embodiment of the present application;
图8为本申请实施例提供的一种总线控制系统的结构示意图;FIG. 8 is a schematic structural diagram of a bus control system provided by an embodiment of the present application;
图9为本申请实施例提供的一种车辆的结构示意图。FIG. 9 is a schematic structural diagram of a vehicle provided in an embodiment of the present application.
具体实施方式Detailed ways
本申请实施例提供了一种总线控制方法,用于提升车外诊断设备对整车的诊断效率。An embodiment of the present application provides a bus control method, which is used to improve the diagnostic efficiency of an off-vehicle diagnostic device for the entire vehicle.
申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”、“第三”、“第四”等(如果存在)是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的实施例能够以除了在这里图示或描述的内容以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。The terms "first", "second", "third", "fourth", etc., if any, in the description and claims of the application and the above drawings are used to distinguish similar objects and not necessarily to Describe a specific order or sequence. It is to be understood that the terms so used are interchangeable under appropriate circumstances such that the embodiments described herein can be practiced in sequences other than those illustrated or described herein. Furthermore, the terms "comprising" and "having", as well as any variations thereof, are intended to cover a non-exclusive inclusion, for example, a process, method, system, product or device comprising a sequence of steps or elements is not necessarily limited to the expressly listed instead, may include other steps or elements not explicitly listed or inherent to the process, method, product or apparatus.
在本申请实施例中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本申请实施例中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。In the embodiments of the present application, words such as "exemplary" or "for example" are used as examples, illustrations or illustrations. Any embodiment or design scheme described as "exemplary" or "for example" in the embodiments of the present application shall not be interpreted as being more preferred or more advantageous than other embodiments or design schemes. Rather, the use of words such as "exemplary" or "such as" is intended to present related concepts in a concrete manner.
以下,对本申请中的部分用语进行解释说明,以便于本领域技术人员理解。Hereinafter, some terms used in this application are explained to facilitate the understanding of those skilled in the art.
控制器局域网络(controller area network,CAN)属于现场总线的范畴,它是一种有效支持分布式控制或实时控制的串行通信网络。较之许多RS-485的分布式控制系统而言,基于CAN总线的分布式控制系统在网络各节点之间的数据通信实时性等方面具有明显的优越性。The controller area network (CAN) belongs to the category of field bus, and it is a serial communication network that effectively supports distributed control or real-time control. Compared with many RS-485 distributed control systems, the distributed control system based on CAN bus has obvious advantages in terms of real-time data communication between nodes in the network.
车载诊断系统(onboard diagnostics,OBD)是用于检测整车系统的故障的系统,当整车出现系统故障时,故障指示灯(malfunction indicator lamp,MIL))或检查发动机(Check Engine)警告灯亮,同时动力总成控制模块(power control module,PCM)将故障信息存入存储器,车外诊断设备通过一定的程序可以将故障码从PCM中读出,根据故障码的提示,维修人员能迅速准确地确定故障的性质和部位。Onboard diagnostics (OBD) is a system for detecting faults in the vehicle system. When a system fault occurs in the vehicle, the malfunction indicator lamp (MIL) or the check engine (Check Engine) warning light is on. At the same time, the power control module (PCM) stores the fault information in the memory, and the off-board diagnostic equipment can read the fault code from the PCM through a certain program. According to the prompt of the fault code, the maintenance personnel can quickly and accurately Determine the nature and location of the fault.
电子控制单元(electronic control unit,ECU)用于检测、分析与整车的故障。ECU一般都具备故障自诊断和保护功能,当系统产生故障时,它还能在内存中自动记录故障代码并采用保护措施从上述的固有程序中读取替代程序来维持发动机的运转。同时这些故障信息会显示在仪表盘,可以使车主及时发现车辆故障。The electronic control unit (ECU) is used to detect, analyze and troubleshoot the whole vehicle. ECU generally has fault self-diagnosis and protection functions. When the system fails, it can also automatically record the fault code in the memory and use protective measures to read the replacement program from the above-mentioned inherent program to maintain the engine running. At the same time, these fault information will be displayed on the instrument panel, which can enable the owner to find out the fault of the vehicle in time.
下面以图1所示整车的系统为例,对本申请实施例提供的方法所适用的系统架构进行描述。The system architecture to which the method provided in the embodiment of the present application is applicable is described below by taking the vehicle system shown in FIG. 1 as an example.
本申请实施例提供的系统架构包括第一节点和第二节点,下面第一节点以车载网关为例、第二节点以车载电子控制单元ECU部件为例进行介绍。The system architecture provided by the embodiment of the present application includes a first node and a second node. The first node will be described below using a vehicle-mounted gateway as an example, and the second node will use a vehicle-mounted electronic control unit (ECU) as an example.
请参阅图1,图1为本申请实施例提供的一种车载网络的系统架构图示意图。本申请实施例的车载网络系统架构包括车载网关和至少一个对端设备,对端设备包括车载电子控制单元ECU部件或车外诊断设备,其中,车外诊断设备包括CAN诊断仪和CANFD诊断仪。车载网关与对端设备通过CAN网络连接,CAN网络的总线协议包括CAN协议和CANFD协议,具体的,车载网关对外提供一路或多路CAN总线,其中,CAN总线上走CAN报文还是CANFD报文,取决于对端ECU部件,当对端ECU部件改变时,本申请实施例提供的总线控制方法可以自动适应通信协议的变化。Please refer to FIG. 1 . FIG. 1 is a schematic diagram of a system architecture diagram of a vehicle-mounted network provided by an embodiment of the present application. The vehicle-mounted network system architecture of the embodiment of the present application includes a vehicle-mounted gateway and at least one peer device. The peer device includes a vehicle-mounted electronic control unit (ECU) or an off-vehicle diagnostic device, wherein the off-vehicle diagnostic device includes a CAN diagnostic instrument and a CAN FD diagnostic instrument. The vehicle-mounted gateway and the peer device are connected through the CAN network. The bus protocol of the CAN network includes the CAN protocol and the CANFD protocol. Specifically, the vehicle-mounted gateway provides one or more CAN buses to the outside world. Among them, CAN messages or CANFD messages are transmitted on the CAN bus , depending on the peer ECU component, when the peer ECU component changes, the bus control method provided by the embodiment of the present application can automatically adapt to the change of the communication protocol.
在本申请实施例的一种应用场景下,车载网关作为整车的边缘节点,对外提供1路CAN总线用于整车诊断,如图1所示,车载网关通过车载诊断系统OBD连接车外诊断设备,车外诊断设备根据其所支持的总线协议类型分为CAN诊断仪和CANFD诊断仪,目前,车管所大多使用CAN诊断仪,车厂商大多使用CANFD诊断仪。车厂商在整车出厂时为了支持CAN诊断仪,将整车的OBD通道设置支持CAN协议的通道,车厂商在整车出厂前需要通过CAN协议的通道进行整车软件的刷写,由于CAN协议的通道传输速率比CANFD协议的通道传输速率低,所以导致整车软件的刷写时间长,影响了整车软件的刷写效率。In an application scenario of the embodiment of the present application, the vehicle-mounted gateway is used as an edge node of the vehicle, and provides a CAN bus for vehicle diagnosis. Equipment, off-vehicle diagnostic equipment is divided into CAN diagnostic instrument and CAN FD diagnostic instrument according to the type of bus protocol it supports. At present, most vehicle management offices use CAN diagnostic instrument, and most car manufacturers use CAN FD diagnostic instrument. In order to support the CAN diagnostic instrument when the vehicle leaves the factory, the vehicle manufacturer sets the OBD channel of the vehicle to support the CAN protocol channel. The vehicle manufacturer needs to flash the vehicle software through the CAN protocol channel before the vehicle leaves the factory. Due to the CAN protocol The channel transmission rate of the CANFD protocol is lower than that of the CANFD protocol, so it takes a long time to flash the vehicle software, which affects the efficiency of the vehicle software flashing.
在本申请实施例的另一种应用场景下,车载网关与车载部件通过CAN网络连接,如图1所示,车载网关连接多个车载ECU部件,不同的车载ECU部件通过不同的总线协议与车载网关通信,例如,图1中车载ECU部件1基于CAN协议与车载网关通信,车载ECU部件2基于CANFD协议与车载网关通信。当整车的架构拓展或修改时,目前车载网关需要根据更换后的车载部件所支持的总线协议类型,重新刷新软件以调整原来通道的总线协议类型。例如,整车出厂维修时,需要对车载ECU部件进行更换时,新更换的车载ECU部件可能和原部件不属于同一厂商,新更换的车载ECU部件的总线协议类型可能发生变换,此时,维护人员需要对车载网关刷新软件匹配新更换的车载ECU部件的总线协议类型,无法实现新更换部件的即插即用,从而增加维护操作的难度。In another application scenario of the embodiment of the present application, the vehicle-mounted gateway and the vehicle-mounted components are connected through a CAN network. As shown in FIG. Gateway communication, for example, in Figure 1, the vehicle ECU component 1 communicates with the vehicle gateway based on the CAN protocol, and the
请参阅图2,图2为本申请实施例提供的一种总线控制方法的流程示意图。本申请实施例提供的一个总线控制流程包括:Please refer to FIG. 2 . FIG. 2 is a schematic flowchart of a bus control method provided by an embodiment of the present application. A bus control process provided by the embodiment of the present application includes:
201.第一节点接收第二节点发送的第一报文。201. The first node receives the first packet sent by the second node.
本申请实施例中第一节点接收第二节点发送的第一报文,该第一报文可以是第二节点主动发送的报文,也可是第二节点发送的用于响应第一节点的响应报文。In the embodiment of this application, the first node receives the first message sent by the second node. The first message can be a message sent by the second node actively, or a response sent by the second node in response to the first node. message.
在一种可能的实施方式中,第一报文携带的内容包括应答(acknowledgement,ACK)标识、循环冗余校验(cyclic redundancy check,CRC)标识或远程传输请求(remotetransmission request,RTR)标识,其中,ACK标识用于指示报文被目标节点接收,CRC标识用于校验报文的正确性,RTR标识用于区分数据帧或远程帧。第一报文的类型包括CAN报文和CANFD报文,CANFD报文与CAN报文相比,CANFD报文携带的内容还包括FD格式(FD format,FDF)标志、错误状态标识(error state indicator,ESI)和位速率开关(bit rate switch,BRS)标识,其中,FDF标识用于区分CAN报文还是CANFD报文,ESI用于指示节点的错误状态,BRS标识用于数据传输速率的切换。In a possible implementation manner, the content carried in the first message includes an acknowledgment (acknowledgment, ACK) identifier, a cyclic redundancy check (cyclic redundancy check, CRC) identifier, or a remote transmission request (remotetransmission request, RTR) identifier, Among them, the ACK mark is used to indicate that the message is received by the target node, the CRC mark is used to check the correctness of the message, and the RTR mark is used to distinguish the data frame or the remote frame. The type of the first message includes a CAN message and a CAN FD message. Compared with a CAN message, the CANFD message carries a content of an FD format (FD format, FDF) flag, an error state indicator (error state indicator), and a CAN FD message. , ESI) and bit rate switch (BRS) identification, wherein, the FDF identification is used to distinguish the CAN message or the CAN FD message, the ESI is used to indicate the error status of the node, and the BRS identification is used for the switching of the data transmission rate.
请参阅图3,图3为本申请实施例提供一种总线控制方法的流程示意图。在图3所示的一个示例中,第一节点为车载网关,第二节点为车外诊断设备,车外诊断设备按照支持的总线协议类型分为CAN诊断仪和CANFD诊断仪,其中CAN诊断仪只能够识别基于CAN协议的报文,CANFD诊断仪。在图3所示的步骤301至步骤302中车外诊断设备向车载网关发送第一报文,车载网关接收车外诊断设备发送的第一报文,该第一报文可以是CAN诊断仪发送的基于CAN协议的报文,也可以是CANFD诊断仪发送的基于CANFD协议的报文,具体不做限定。Please refer to FIG. 3 . FIG. 3 is a schematic flowchart of a bus control method provided by an embodiment of the present application. In an example shown in Figure 3, the first node is a vehicle-mounted gateway, and the second node is an off-vehicle diagnostic device. The off-vehicle diagnostic equipment is divided into a CAN diagnostic instrument and a CAN FD diagnostic instrument according to the type of bus protocol supported, wherein the CAN diagnostic instrument Can only recognize messages based on CAN protocol, CAN FD diagnostic instrument. In steps 301 to 302 shown in Figure 3, the off-vehicle diagnostic device sends the first message to the vehicle-mounted gateway, and the vehicle-mounted gateway receives the first message sent by the off-vehicle diagnostic device, and the first message can be sent by the CAN diagnostic instrument The message based on the CAN protocol can also be the message based on the CAN FD protocol sent by the CAN FD diagnostic instrument, which is not specifically limited.
本申请图2所示的实施例中仅介绍第一报文为第一节点主动发送报文的场景,第一报文为响应报文的场景在后续图4所示的实施例中详细介绍。In the embodiment shown in FIG. 2 of this application, only the scenario where the first message is actively sent by the first node is introduced, and the scenario where the first message is a response message is described in detail in the subsequent embodiment shown in FIG. 4 .
202.第一节点根据第一报文识别第二节点的总线协议类型。202. The first node identifies the bus protocol type of the second node according to the first packet.
本申请实施例中第一节点在接收到第二节点发送的第一报文之后,根据第一报文识别第二节点的总线协议类型,具体的,第一节点解析第一报文,并根据第一报文的FDF标识确定第一报文的总线协议类型。In the embodiment of the present application, after receiving the first message sent by the second node, the first node identifies the bus protocol type of the second node according to the first message. Specifically, the first node parses the first message, and according to The FDF identifier of the first packet determines the bus protocol type of the first packet.
第一节点在识别出第一报文的总线协议类型之后,第一节点记录第二节点的总线协议类型,具体的,第一节点将第二节点的总线协议类型存储在第一节点的存储器。当第一节点再次向第二节点发送业务报文之前,第一节点查询第二节点的总线协议类型,并根据第二节点总线协议类型向第二节点发送业务报文。After the first node identifies the bus protocol type of the first message, the first node records the bus protocol type of the second node. Specifically, the first node stores the bus protocol type of the second node in a memory of the first node. Before the first node sends the service message to the second node again, the first node queries the bus protocol type of the second node, and sends the service message to the second node according to the bus protocol type of the second node.
请参阅图3,图3为本申请实施例提供一种总线控制方法的流程示意图。如图3所示的一个实施例中,第一节点为车载网关,第二节点为车外诊断设备,在步骤303至步骤304中,车载网关接收车载诊断设备发送的第一报文之后,车载网关通过CAN控制器解析第一报文,并根据第一报文的FDF标识识别第一报文的总线协议类型是CAN协议还是CANFD协议。车载网关识别出第一报文的总线该协议类型之后,车载网关可以根据第一报文的总线协议类型,确定车外诊断设备的总线协议类型,车载网关记录车外诊断设备的总线协议类型,并存储车外诊断设备的总线协议类型。Please refer to FIG. 3 . FIG. 3 is a schematic flowchart of a bus control method provided by an embodiment of the present application. In an embodiment shown in Figure 3, the first node is a vehicle-mounted gateway, and the second node is an off-vehicle diagnostic device. In steps 303 to 304, after the vehicle-mounted gateway receives the first message sent by the vehicle-mounted diagnostic device, the vehicle-mounted The gateway parses the first message through the CAN controller, and identifies whether the bus protocol type of the first message is the CAN protocol or the CAN FD protocol according to the FDF identifier of the first message. After the vehicle-mounted gateway identifies the bus protocol type of the first message, the vehicle-mounted gateway can determine the bus protocol type of the off-vehicle diagnostic device according to the bus protocol type of the first message, and the vehicle-mounted gateway records the bus protocol type of the off-vehicle diagnostic device, And store the bus protocol type of the off-vehicle diagnostic equipment.
203.第一节点向第二节点发送第二报文,第二报文与第一报文的总线协议类型一致。203. The first node sends a second packet to the second node, and the bus protocol type of the second packet is consistent with that of the first packet.
本申请实施例第第一节点向第二节点发送第二报文,第二报文与第二节点的总协议类型一致,第二报文可以是第一节点向第二节点发送的业务报文,第一节点向第二节点发送第二报文之前,第一节点查询第二节点的总线协议类型。In the embodiment of the present application, the first node sends a second message to the second node, the second message is consistent with the general protocol type of the second node, and the second message may be a service message sent by the first node to the second node , before the first node sends the second message to the second node, the first node queries the bus protocol type of the second node.
请参阅图3,图3为本申请实施例提供一种总线控制方法的流程示意图。如图3所示的一个实施例中,第一节点为车载网关,第二节点为车外诊断设备。在图3所示的步骤305至308中,车载网关向车载诊断设备发送第二报文,车载网关向车载诊断设备发送第二报文之前,车载网关在存储器查询该车外诊断设备的总线协议类型,车载网网关将查询到车载诊断设备的总协议类型发送到CAN控制器,车载网关通过CAN控制器向车外诊断设备发送第二报文。Please refer to FIG. 3 . FIG. 3 is a schematic flowchart of a bus control method provided by an embodiment of the present application. In an embodiment shown in FIG. 3 , the first node is a vehicle-mounted gateway, and the second node is an off-vehicle diagnostic device. In steps 305 to 308 shown in Figure 3, the vehicle-mounted gateway sends the second message to the vehicle-mounted diagnostic device, and before the vehicle-mounted gateway sends the second message to the vehicle-mounted diagnostic device, the vehicle-mounted gateway queries the bus protocol of the vehicle-mounted diagnostic device in the memory type, the vehicular network gateway sends the overall protocol type of the inquired vehicular diagnostic equipment to the CAN controller, and the vehicular gateway sends the second message to the external diagnostic equipment through the CAN controller.
本申请实施例中第一节点能够根据第二节点发送的报文自动识别第二节点的总线协议类型,提升了第一节点和第二节点的通信效率。进一步的,当本申请实施例应用于车辆诊断场景时,车载网关可以根据车下诊断仪发送的报文自动识别车下诊断仪支持的总线协议类型,提升了车辆的诊断效率。In the embodiment of the present application, the first node can automatically identify the bus protocol type of the second node according to the message sent by the second node, which improves the communication efficiency between the first node and the second node. Furthermore, when the embodiment of the present application is applied to a vehicle diagnosis scenario, the on-board gateway can automatically identify the type of bus protocol supported by the off-vehicle diagnostic instrument according to the message sent by the off-vehicle diagnostic instrument, which improves the diagnostic efficiency of the vehicle.
请参阅图4,图4为本申请实施例提供的另一种总线控制方法的流程示意图。本申请实施例提供的另一个总线控制流程包括:Please refer to FIG. 4 . FIG. 4 is a schematic flowchart of another bus control method provided by an embodiment of the present application. Another bus control process provided by the embodiment of the present application includes:
401.第一节点向第二节点发送至少一个第三报文,第三报文用于探测第二节点的总线协议。401. The first node sends at least one third message to the second node, where the third message is used to detect the bus protocol of the second node.
本申请实施例中第一节点向第二节点发送至少一个第三报文,该第三报文能用于探测第二节点支持的总线协议类型,第一节点可以向第二节点发送多个第三报文,其中,多个第三报文为不同的总线协议类型发送,不同的总线协议类用于探测第二节点支持的总线协议类型。In the embodiment of the present application, the first node sends at least one third message to the second node, and the third message can be used to detect the bus protocol type supported by the second node, and the first node can send multiple first messages to the second node. Three messages, wherein multiple third messages are sent for different bus protocol types, and different bus protocol types are used to detect the bus protocol type supported by the second node.
请参阅图5,图5为本申请实施例提供另一种总线控制方法的流程示意图。在图5所示的一个示例中,第一节点为车载网关,第二节点为车载ECU部件。不同的车载ECU部件支持不同的总线协议类型,车载ECU部件的总线协议类型包括CAN协议和CANFD协议,例如,在图1所示的整车架构中,车载ECU部件1支持的总线协议类型为CAN协议,车载ECU部件2支持的总线协议类型为CANFD协议。在图5所示的步骤501至步骤504中,当车载ECU部件发生更换时,车载网关无法确定新更换的车载ECU部件支持的总线协议类型。在此场景下车载网关向车载ECU部件发送第三报文,第三报文包括基于CAN协议类型的探测报文或基于CANFD协议的探测报文,具体的,车载网关向可以先向车载ECU部件发送基于CAN协议的探测报文,若车载网关没有收到基于CAN协议的探测报文的响应报文,则车载网关再次向车载ECU部件发送基于CANFD协议的探测报文。Please refer to FIG. 5 . FIG. 5 is a schematic flowchart of another bus control method provided by an embodiment of the present application. In an example shown in FIG. 5 , the first node is a vehicle gateway, and the second node is a vehicle ECU component. Different vehicle ECU components support different bus protocol types. The bus protocol types of vehicle ECU components include CAN protocol and CAN FD protocol. For example, in the vehicle architecture shown in Figure 1, the bus protocol type supported by vehicle ECU component 1 is CAN protocol, the type of bus protocol supported by the
402.第二节点向第一节点发送第一报文,第一报文用于根据第三报文的协议类型响应第三报文。402. The second node sends a first packet to the first node, and the first packet is used to respond to the third packet according to the protocol type of the third packet.
本申请实施例中第二节点向第一节点发送第一报文,第一报文用于根据第三报文的协议类型响应第三报文,即第一报文为第三报文的响应报文。In the embodiment of the present application, the second node sends the first message to the first node, and the first message is used to respond to the third message according to the protocol type of the third message, that is, the first message is a response to the third message message.
在本申请的一个示例中,第一报文包括基于CAN协议的响应报文或基于CANFD协议的响应报文。In an example of the present application, the first message includes a response message based on the CAN protocol or a response message based on the CAN FD protocol.
请参阅图5,图5为本申请实施例提供另一种总线控制方法的流程示意图。在图5所示的一个示例中,第一节点为车载网关,第二节点为车载ECU部件。在图5所示的步骤501至步骤504中,车载网关向车载ECU部件发送一个第三报文,第三报文为基于CAN协议的探测报文,车载网关向车载ECU部件发送基于CAN协议的探测报文之后,车载网关判断是否接收到响应该探测报文的第一报文,若在预设时长内没有接收到响应该探测报文的第一报文,则车载网关向车载ECU部件发送基于CANFD协议的探测报文,如果车载网关接收到响应该探测报文的第一报文,则车载网关可以根据第一报文确定出的第二节点的总线协议类型。Please refer to FIG. 5 . FIG. 5 is a schematic flowchart of another bus control method provided by an embodiment of the present application. In an example shown in FIG. 5 , the first node is a vehicle gateway, and the second node is a vehicle ECU component. In steps 501 to 504 shown in Figure 5, the vehicle-mounted gateway sends a third message to the vehicle-mounted ECU component, the third message is a detection message based on the CAN protocol, and the vehicle-mounted gateway sends a CAN protocol-based detection message to the vehicle-mounted ECU component. After the detection message, the vehicle-mounted gateway judges whether the first message in response to the detection message is received. If the first message in response to the detection message is not received within the preset time period, the vehicle-mounted gateway sends a message to the vehicle-mounted ECU component. Based on the detection message of the CANFD protocol, if the vehicle gateway receives the first message in response to the detection message, the vehicle gateway can determine the bus protocol type of the second node according to the first message.
403.第一节点根据第一报文识别第二节点的总线协议类型。403. The first node identifies the bus protocol type of the second node according to the first packet.
本申请实施例中第一节点在接收到第二节点发送的第一报文之后,根据第一报文识别第二节点的总线协议类型,具体的,第一节点解析第一报文,并根据第一报文的FDF标识确定第一报文的总线协议类型。In the embodiment of the present application, after receiving the first message sent by the second node, the first node identifies the bus protocol type of the second node according to the first message. Specifically, the first node parses the first message, and according to The FDF identifier of the first packet determines the bus protocol type of the first packet.
第一节点在识别出第一报文的总线协议类型之后,第一节点记录第二节点的总线协议类型,具体的,第一节点将第二节点的总线协议类型存储在第一节点的存储器。当第一节点再次向第二节点发送业务报文之前,第一节点查询第二节点的总线协议类型,并根据第二节点总线协议类型向第二节点发送业务报文。After the first node identifies the bus protocol type of the first message, the first node records the bus protocol type of the second node. Specifically, the first node stores the bus protocol type of the second node in a memory of the first node. Before the first node sends the service message to the second node again, the first node queries the bus protocol type of the second node, and sends the service message to the second node according to the bus protocol type of the second node.
请参阅图5,图5为本申请实施例提供一种总线控制方法的流程示意图。如图5所示的一个实施例中,第一节点为车载网关,第二节点为车载ECU部件。在图5所示的步骤505至步骤506中,车载网关接收车载诊断设备发送的第一报文之后,车载网关通过CAN控制器解析第一报文,并根据第一报文的FDF标识识别第一报文的总线协议类型是CAN协议还是CANFD协议,若第一报文的存在FDF标识,则车载ECU部件的总线协议类型为CANFD协议,若第一报文中不存在FDF标识,则车载ECU部件的总线协议类型为CAN协议。车载网关识别车载ECU部件的总线协议类型后,存储车载ECU部件的总线协议类型。Please refer to FIG. 5 . FIG. 5 is a schematic flowchart of a bus control method provided by an embodiment of the present application. In an embodiment as shown in FIG. 5 , the first node is a vehicle-mounted gateway, and the second node is a vehicle-mounted ECU component. In steps 505 to 506 shown in FIG. 5, after the vehicle-mounted gateway receives the first message sent by the vehicle-mounted diagnostic device, the vehicle-mounted gateway parses the first message through the CAN controller, and identifies the first message according to the FDF identifier of the first message. Whether the bus protocol type of a message is the CAN protocol or the CAN FD protocol, if the first message has an FDF mark, the bus protocol type of the vehicle ECU component is the CAN FD protocol, if there is no FDF mark in the first message, the vehicle ECU The bus protocol type of the component is CAN protocol. After the vehicle gateway identifies the bus protocol type of the vehicle ECU component, it stores the bus protocol type of the vehicle ECU component.
404.第一节点向第二节点发送第二报文,第二报文的协议类型与第二节点的总线协议类型一致。404. The first node sends a second packet to the second node, and the protocol type of the second packet is consistent with the bus protocol type of the second node.
本申请实施例第第一节点向第二节点发送第二报文,第二报文与第二节点的总协议类型一致,第二报文可以第一节点向第二节点发送的业务报文,第一节点向第二节点发送的第二报文之前,第一节点查询第二节点的总线协议类型。In the embodiment of the present application, the first node sends a second message to the second node. The second message is consistent with the general protocol type of the second node. The second message may be a service message sent by the first node to the second node. Before the first node sends the second message to the second node, the first node queries the bus protocol type of the second node.
请参阅图5,图5为本申请实施例提供一种总线控制方法的流程示意图。如图5所示的一个实施例中,第一节点为车载网关,第二节点为车载ECU部件。在图5所示的步骤507至步骤510中,车载网关向车载ECU部件发送第二报文,发送第二报文之前查询车载ECU部件的总线协议类型,根据车载ECU部件的总线协议类型向车载ECU部件发送第二报文。Please refer to FIG. 5 . FIG. 5 is a schematic flowchart of a bus control method provided by an embodiment of the present application. In an embodiment as shown in FIG. 5 , the first node is a vehicle-mounted gateway, and the second node is a vehicle-mounted ECU component. In steps 507 to 510 shown in Figure 5, the vehicle-mounted gateway sends a second message to the vehicle-mounted ECU component, before sending the second message, inquires about the bus protocol type of the vehicle-mounted ECU component, and sends a message to the vehicle-mounted ECU component according to the bus protocol type of the vehicle-mounted ECU component. The ECU component sends the second message.
本申请实施例中第一节点向第二节点发送探测报文,以使得第一节点根据响应该探测报文的响应报文确定出第二节点的总线协议类型,当网络系统中第二节点发生变化时能够自动识别第二节点的总线协议类型,无需修改第一节点的总线协议类型,从而提升网络系统的通信效率。In the embodiment of the present application, the first node sends a detection message to the second node, so that the first node determines the bus protocol type of the second node according to the response message in response to the detection message. When the second node in the network system When changing, the bus protocol type of the second node can be automatically identified without modifying the bus protocol type of the first node, thereby improving the communication efficiency of the network system.
进一步的,当本申请实施例应用于车载网络时,当整车的系统架构发生扩展或修改时,车载网关能够通过发送探测报文确定对端车载ECU部件的总线协议类型,无需修改车载网网关的总线协议类型直接通信,从而提升车辆的通信效率。Further, when the embodiment of the present application is applied to the vehicle-mounted network, when the system architecture of the vehicle is expanded or modified, the vehicle-mounted gateway can determine the bus protocol type of the peer vehicle-mounted ECU component by sending a detection message, without modifying the vehicle-mounted network gateway The bus protocol type directly communicates, thereby improving the communication efficiency of the vehicle.
以上介绍了本申请实施例提供的总线控制方法,下面结合附图介绍本申请实施例涉及的相关装置。The bus control method provided by the embodiment of the present application has been described above, and the related devices involved in the embodiment of the present application will be described below with reference to the accompanying drawings.
请参阅图6,图6为本申请实施例提供的一种总线控制装置的结构示意图。该总线控制装置用于实现上述各实施例中对应上述第一节点或第二节点的各个步骤,如图6所示,该总线控制装置600包括接口单元601和处理单元602。Please refer to FIG. 6 . FIG. 6 is a schematic structural diagram of a bus control device provided by an embodiment of the present application. The bus control device is used to implement steps corresponding to the first node or the second node in the above embodiments. As shown in FIG. 6 , the
在一个实施例中,该总线控制装置600用于实现上述各实施例中对应第一节点的各个步骤:In one embodiment, the
接口单元601,用于接收第二节点发送的第一报文;具体实现方式可以参考如图2所示实施中步骤201的详细描述和图3所示实施例中的步骤301至步骤302的详细描述,或者如图4所示实施例中步骤401的详细描述和图5所示实施例中的步骤501至步骤504的详细描述,这里不再赘述。The
处理单元602,用于根据第一报文识别第二节点的总线协议类型;具体实现方式可以参考如图2所示实施中步骤202的详细描述和图3所示实施例中的步骤303至步骤307的详细描述,或者如图4所示实施例中步骤403的详细描述和图5所示实施例中的步骤505至步骤509的详细描述,这里不再赘述。The
接口单元601还用于基于总线协议类型向第二节点发送第二报文,第二报文的协议类型与第二节点的总线协议类型一致,具体实现方式可以参考如图2所示实施中步骤203的详细描述和图3所示实施例中的步骤308的详细描述,或者如图4所示实施例中步骤404的详细描述和图5所示实施例中的步骤510的详细描述,这里不再赘述。The
一种可能的实施方式中,接口单元601还用于向第二节点发送至少一个第三报文,第三报文用于探测第二节点的总线协议类型,第一报文用于根据第三报文的总线协议类型响应第三报文。In a possible implementation manner, the
一种可能的实施方式中,总线协议类型包括CAN协议或CANFD协议,第一节点包括车载网关,第二节点包括车载电子控制ECU部件或车外诊断设备。In a possible implementation manner, the bus protocol type includes CAN protocol or CAN FD protocol, the first node includes a vehicle gateway, and the second node includes a vehicle electronic control ECU component or an off-vehicle diagnostic device.
一种可能的实施方式中,所述的处理单元602具体用于根据第一报文中的FDF标志识别第二节点的总线协议类型。In a possible implementation manner, the
一种可能的实施方式中,第一节点根据第一报文识别第二节点的总线协议类型之后,所述处理单元602还用于记录第二节点的总线协议类型。In a possible implementation manner, after the first node identifies the bus protocol type of the second node according to the first message, the
一种可能的实施方式中,第一节点基于总线协议类型向第二节点发送第二报文之前,处理单元602还用于查询第二节点的总线协议类型。In a possible implementation manner, before the first node sends the second packet to the second node based on the bus protocol type, the
在一个实施例中,该总线控制装置600用于实现上述各实施例中对应第二节点的各个步骤:In one embodiment, the
接口单元601用于向第一节点发送第一报文,第一报文用于第一节点识别第二节点的总线协议类型,接口单元601还用于接收第一节点发送的第二报文,第二报文与第二节点的总线协议类型一致。The
接口单元601和处理单元602的具体实现方式可以参考如图2所示实施中的步骤201至步骤203详细描述和图3所示实施例中步骤301至步骤308的详细描述,或者如图4所示实施例中步骤401至步骤404详细描述和图5所示实施例中的步骤501至步骤510的详细描述,这里不再赘述。The specific implementation of the
一种可能的实施方式中,接口单元601向第一节点发送第一报文之前,接口单元601还用于接收第一节点发送的至少一个第三报文,第三报文用于探测第二节点的总线协议类型,第一报文用于根据第三报文的总线协议类型进行响应第三报文。In a possible implementation manner, before the
一种可能的实施方式中,总线协议类型包括CAN协议或CANFD协议。第一节点包括车载网关,第二节点包括车载电子控制ECU部件或车外诊断设备。In a possible implementation manner, the bus protocol type includes CAN protocol or CAN FD protocol. The first node includes an on-board gateway, and the second node includes an on-board electronic control ECU component or an off-board diagnostic device.
可选地,上述通信装置还可以包括存储单元,该存储单元用于存储数据或者指令(也可以称为代码或者程序),上述各个单元可以和存储单元交互或者耦合,以实现对应的方法或者功能。例如,处理单元602可以读取存储单元中的数据或者指令,使得通信装置实现上述实施例中的方法。Optionally, the above-mentioned communication device may also include a storage unit, which is used to store data or instructions (also referred to as codes or programs), and each of the above-mentioned units may interact or be coupled with the storage unit to implement corresponding methods or functions . For example, the
应理解以上通信装置中单元的划分仅仅是一种逻辑功能的划分,实际实现时可以全部或部分集成到一个物理实体上,也可以物理上分开。且通信装置中的单元可以全部以软件通过处理元件调用的形式实现;也可以全部以硬件的形式实现;还可以部分单元以软件通过处理元件调用的形式实现,部分单元以硬件的形式实现。例如,各个单元可以为单独设立的处理元件,也可以集成在通信装置的某一个芯片中实现,此外,也可以以程序的形式存储于存储器中,由通信装置的某一个处理元件调用并执行该单元的功能。此外这些单元全部或部分可以集成在一起,也可以独立实现。这里所述的处理元件又可以成为处理器,可以是一种具有信号的处理能力的集成电路。在实现过程中,上述方法的各步骤或以上各个单元可以通过处理器元件中的硬件的集成逻辑电路实现或者以软件通过处理元件调用的形式实现。It should be understood that the above division of units in the communication device is only a division of logical functions, and may be fully or partially integrated into a physical entity or physically separated during actual implementation. In addition, the units in the communication device can be implemented in the form of software calling through the processing elements; they can also be implemented in the form of hardware; some units can also be implemented in the form of software calling through the processing elements, and some units can be implemented in the form of hardware. For example, each unit can be an independently established processing element, or can be integrated into a certain chip of the communication device. In addition, it can also be stored in the memory in the form of a program, which is called and executed by a certain processing element of the communication device. function of the unit. In addition, all or part of these units can be integrated together, or implemented independently. The processing element mentioned here may also be a processor, which may be an integrated circuit with signal processing capability. In the process of implementation, each step of the above method or each unit above may be implemented by an integrated logic circuit of hardware in the processor element or implemented in the form of software called by the processing element.
在一个例子中,以上任一通信装置中的单元可以是被配置成实施以上方法的一个或多个集成电路,例如:一个或多个特定集成电路(application specific integratedcircuit,ASIC),或,一个或多个微处理器(digital singnal processor,DSP),或,一个或者多个现场可编程门阵列(field programmable gate array,FPGA),或这些集成电路形式中至少两种的组合。再如,当通信装置中的单元可以通过处理元件调度程序的形式实现时,该处理元件可以是通用处理器,例如中央处理器(central processing unit,CPU)或其它可以调用程序的处理器。再如,这些单元可以集成在一起,以片上系统(system-on-a-chip,SOC)的形式实现。In one example, the units in any of the above communication devices may be one or more integrated circuits configured to implement the above method, for example: one or more specific integrated circuits (application specific integrated circuits, ASICs), or, one or A plurality of microprocessors (digital signal processor, DSP), or, one or more field programmable gate arrays (field programmable gate array, FPGA), or a combination of at least two of these integrated circuit forms. For another example, when the units in the communication device can be implemented in the form of a processing element scheduler, the processing element can be a general processor, such as a central processing unit (central processing unit, CPU) or other processors that can call programs. For another example, these units can be integrated together and implemented in the form of a system-on-a-chip (SOC).
请参阅图7,图7为本申请实施例提供的一种总线控制装置示意图,用于实现以上实施例中第一节点的操作。如图7所示,该总线控制装置包括:处理器710和接口730,处理器710与接口730耦合。Please refer to FIG. 7 . FIG. 7 is a schematic diagram of a bus control device provided in an embodiment of the present application, which is used to realize the operation of the first node in the above embodiment. As shown in FIG. 7 , the bus control device includes: a
接口730用于接收第二节点发送的第一报文,具体实现方式可以参考如图2所示实施中步骤201的详细描述以及图3所示实施例中的步骤301至步骤302的详细描述,或者如图4所示实施例中步骤401的详细描述以及图5所示实施例中的步骤501至步骤504的详细描述,这里不再赘述。The
处理器710用于根据第一报文识别第二节点的总线协议类型,具体实现方式可以参考如图2所示实施中步骤202的详细描述以及图3所示实施例中的步骤303至步骤307的详细描述,或者如图4所示实施例中步骤403的详细描述以及图5所示实施例中的步骤505至步骤509的详细描述,这里不再赘述。The
接口730还用于基于总线协议类型向第二节点发送第二报文,第二报文的协议类型与第二节点的总线协议类型一致,具体实现方式可以参考如图2所示实施中步骤203的详细描述和图3所示实施例中的步骤308的详细描述,或者如图4所示实施例中步骤404的详细描述和图5所示实施例中的步骤510的详细描述,这里不再赘述。The
接口730用于实现与其他设备进行通信。接口730可以为收发器或输入输出接口。接口730例如可以是接口电路。The
可选地,该通信装置还包括存储器720,用于存储处理器710执行的指令或存储处理器710运行指令所需要的输入数据或存储处理器710运行指令后产生的数据。Optionally, the communication device further includes a
以上实施例中第一节点执行的方法可以通过处理器710调用存储器(可以是网络设备或终端中的存储器720,也可以是外部存储器)中存储的程序来实现。即,第一节点可以包括处理器710,该处理器710通过调用存储器中的程序,以执行以上方法实施例中第一节点执行的方法。这里的处理器可以是一种具有信号的处理能力的集成电路,例如CPU。控制器或服务器可以通过配置成实施以上方法的一个或多个集成电路来实现。例如:一个或多个ASIC,或,一个或多个微处理器DSP,或,一个或者多个FPGA等,或这些集成电路形式中至少两种的组合。或者,可以结合以上实现方式。The method performed by the first node in the above embodiments may be implemented by the
具体的,图6中的接口单元601和处理单元602的功能/实现过程可以通过图7所示的总线控制装置700中的处理器710调用存储器720中存储的计算机可执行指令来实现。或者,图6中的处理单元602的功能/实现过程可以通过图7所示的总线控制装置700中的处理器710调用存储器720中存储的计算机执行指令来实现,图6中的接口单元601的功能/实现过程可以通过图7中所示的总线控制装置700中的接口730来实现,示例性的,接口单元601的功能/实现过程可以通过处理器调用存储器中的程序指令以驱动接口730来实现。Specifically, the functions/implementation process of the
上述总线控制装置600中的接口单元601相当于总线控制装置700中的接口730,总线控制装置600中的处理单元602可以相当于总线控制装置700中的处理器710。The
请参阅图8,图8是本申请实施例提供的一种总线控制系统示意图,该总线控制系统800包括第一节点801和第二节点802,第一节点801可以是上述方法实施例中的第一节点,第二节点802可以是上述方法实施例中的第二节点。Please refer to FIG. 8. FIG. 8 is a schematic diagram of a bus control system provided by an embodiment of the present application. The
请参阅图9,图9是本申请实施例提供的一种车辆的结构示意图,该车辆900包括车载网关901和车载部件902,车载网关901可以是上述方法实施例中的第一节点,车载部件902可以是上述方法实施例中的第二节点。Please refer to FIG. 9. FIG. 9 is a schematic structural diagram of a vehicle provided by an embodiment of the present application. The
在本申请的另一个实施例中,还提供一种计算机可读存储介质,计算机可读存储介质中存储有计算机执行指令,当设备的处理器执行该计算机执行指令时,设备执行上述方法实施例中第一节点所执行的方法。In another embodiment of the present application, a computer-readable storage medium is also provided. Computer-executable instructions are stored in the computer-readable storage medium. When the processor of the device executes the computer-executable instructions, the device executes the above-mentioned method embodiment. The method executed by the first node in .
在本申请的另一个实施例中,还提供一种计算机程序产品,该计算机程序产品包括计算机执行指令,该计算机执行指令存储在计算机可读存储介质中。当设备的处理器执行该计算机执行指令时,设备执行上述方法实施例中第一节点所执行方法的步骤。In another embodiment of the present application, a computer program product is also provided, the computer program product includes computer-executable instructions, and the computer-executable instructions are stored in a computer-readable storage medium. When the processor of the device executes the computer-executed instruction, the device executes the steps of the method performed by the first node in the above method embodiment.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the above-described system, device and unit can refer to the corresponding process in the foregoing method embodiment, which will not be repeated here.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed system, device and method can be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or May be integrated into another system, or some features may be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,read-onlymemory)、随机存取存储器(RAM,random access memory)、磁碟或者光盘等各种可以存储程序代码的介质。If the integrated unit is realized in the form of a software function unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or part of the contribution to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium , including several instructions to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, read-only memory), random access memory (RAM, random access memory), magnetic disk or optical disk, and other media that can store program codes.
Claims (12)
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110845858.8A CN115701034A (en) | 2021-07-26 | 2021-07-26 | Bus control method and related device |
PCT/CN2022/107590 WO2023005866A1 (en) | 2021-07-26 | 2022-07-25 | Bus control method and related apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110845858.8A CN115701034A (en) | 2021-07-26 | 2021-07-26 | Bus control method and related device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115701034A true CN115701034A (en) | 2023-02-07 |
Family
ID=85086285
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110845858.8A Pending CN115701034A (en) | 2021-07-26 | 2021-07-26 | Bus control method and related device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN115701034A (en) |
WO (1) | WO2023005866A1 (en) |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8788139B2 (en) * | 2011-03-21 | 2014-07-22 | Webtech Wireless Inc. | Multi-protocol vehicle diagnostic interface device and method |
CN108207039B (en) * | 2016-12-19 | 2021-05-14 | 比亚迪股份有限公司 | Safe transmission method of vehicle-mounted data, external equipment and vehicle-mounted gateway |
CN111835627B (en) * | 2019-04-23 | 2022-04-26 | 华为技术有限公司 | Communication method of vehicle-mounted gateway, vehicle-mounted gateway and intelligent vehicle |
US10496575B1 (en) * | 2019-06-12 | 2019-12-03 | National Chin-Yi University Of Technology | Multi-protocol determining method based on CAN bus |
CN110661847B (en) * | 2019-08-28 | 2022-06-24 | 北京经纬恒润科技股份有限公司 | Vehicle diagnosis method and apparatus |
-
2021
- 2021-07-26 CN CN202110845858.8A patent/CN115701034A/en active Pending
-
2022
- 2022-07-25 WO PCT/CN2022/107590 patent/WO2023005866A1/en active Application Filing
Also Published As
Publication number | Publication date |
---|---|
WO2023005866A1 (en) | 2023-02-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10756930B2 (en) | Gateway device, vehicle network system, transfer method, and non-transitory computer-readable recording medium storing program | |
US10581739B2 (en) | System for verification of unregistered device based on information of Ethernet switch and method for the same | |
CN104655947B (en) | A vehicle antenna fault diagnosis method, device and system | |
KR20200136751A (en) | Apparatus for communicating diagnosis of a vehicle, system having the same and method thereof | |
CN105025058A (en) | Vehicle remote diagnosis method, vehicle remote monitoring method and vehicle terminal | |
US10749738B2 (en) | Method and apparatus for diagnosing network | |
US20180367436A1 (en) | Operation method of communication node for diagnosing vehicle network | |
US11349686B2 (en) | Network arrangement and addressing of network components for a charging park | |
US10341170B2 (en) | Method for diagnosing link status in network | |
CN115729223A (en) | Fault diagnosis system and method | |
CN210839619U (en) | System for error recording mechanism | |
CN113285860A (en) | Method and system for flashing slave node through master node | |
CN115202323B (en) | Vehicle service request management method, device, vehicle and medium | |
US10484280B2 (en) | Operation method of a communication node in network | |
CN114944969B (en) | Vehicle data processing method, internet of vehicles terminal and computer readable storage medium | |
KR20180029848A (en) | System for verification of non-registered device based on imformation of ethernet switch and method for the same | |
WO2023005866A1 (en) | Bus control method and related apparatus | |
CN116709253B (en) | Vehicle-mounted gateway and vehicle | |
CN112533173A (en) | Method for ensuring data integrity to ensure operational safety and apparatus for vehicle-to-external information interaction | |
CN117377090A (en) | Node configuration method, communication device and communication system | |
CN118444662A (en) | Vehicle diagnosis method, device, vehicle and storage medium | |
CN104253727B (en) | Diagnosis method and system of vehicle LIN network | |
US20190305983A1 (en) | Method and apparatus for configuring backup path in vehicle network | |
CN115225481B (en) | Gateway diagnostic routing configuration method, device, vehicle gateway, vehicle and medium | |
JP7140011B2 (en) | Gateway device |
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 | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20241108 Address after: 518129 Huawei Headquarters Office Building 101, Wankecheng Community, Bantian Street, Longgang District, Shenzhen, Guangdong Applicant after: Shenzhen Yinwang Intelligent Technology Co.,Ltd. Country or region after: China Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen Applicant before: HUAWEI TECHNOLOGIES Co.,Ltd. Country or region before: China |
|
TA01 | Transfer of patent application right |