WO2024124964A1 - 车辆诊断路由方法、装置、系统、车辆及存储介质 - Google Patents
车辆诊断路由方法、装置、系统、车辆及存储介质 Download PDFInfo
- Publication number
- WO2024124964A1 WO2024124964A1 PCT/CN2023/115500 CN2023115500W WO2024124964A1 WO 2024124964 A1 WO2024124964 A1 WO 2024124964A1 CN 2023115500 W CN2023115500 W CN 2023115500W WO 2024124964 A1 WO2024124964 A1 WO 2024124964A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- node
- diagnostic
- client
- request message
- routing
- 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.)
- Ceased
Links
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
- G07C5/0808—Diagnosing performance data
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/60—Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
- H04L67/62—Establishing a time schedule for servicing the requests
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/60—Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
- H04L67/63—Routing a service request depending on the request content or context
-
- 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
- G07C2205/00—Indexing scheme relating to group G07C5/00
- G07C2205/02—Indexing scheme relating to group G07C5/00 using a vehicle scan tool
-
- 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
- H04L2012/40208—Bus networks characterized by the use of a particular bus standard
- H04L2012/40215—Controller Area Network CAN
-
- 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
- H04L2012/40267—Bus for use in transportation systems
- H04L2012/40273—Bus for use in transportation systems the transportation system being a vehicle
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/50—Testing arrangements
Definitions
- Embodiments of the present application relate to the field of diagnostic communication technology, and in particular, to a vehicle diagnostic routing method, device, system, vehicle, and storage medium.
- the diagnostic request message sent by the client passes through the client, the first node, the second node, the third node, and the diagnosed node in sequence, and is finally routed to the diagnosed node.
- the diagnosed node After receiving the diagnostic request message, the diagnosed node sends a diagnostic response message, and the diagnostic response message passes through the diagnosed node, the third node, the second node, the first node, and the client in sequence, and is finally routed to the client.
- the total routing time of the diagnostic request message and the diagnostic response message exceeds the expected time, which will cause the client to be unable to receive the diagnostic response message corresponding to the diagnostic request message within the expected time, causing the client response timeout, thereby causing the diagnostic communication failure.
- the expected time refers to the time the client expects to receive a response after successfully sending a request, which is called P2client in this field.
- Embodiments of the present application provide a vehicle diagnostic routing method, device, system, vehicle, and storage medium to improve the above-mentioned problems.
- an embodiment of the present application provides a vehicle diagnostic routing method.
- the method includes: upon receiving a diagnostic request message sent by a client, forwarding the diagnostic request message; if no diagnostic response is received from a next-level node within a first timing period, sending a message to the next-level node requesting the client to wait, so as to notify the client to wait until a preset condition is met.
- an embodiment of the present application provides a vehicle diagnostic routing method.
- the method includes: after a client sends a diagnostic request message, an intermediate node routes and forwards the diagnostic request message according to the method described in any one of claims 1 to 5, and the intermediate node is a node between the client and the diagnosed node; upon receiving the diagnostic request message, the diagnosed node determines that the routing of the diagnostic request message ends.
- an embodiment of the present application provides a vehicle diagnostic routing device.
- the device includes: a first reporting The first message forwarding module is used to forward the diagnostic request message when receiving the diagnostic request message sent by the client; the second message forwarding module is used to send a message to the upper-level node requesting the client to wait if no diagnostic response is received from the lower-level node within the first timing period, so as to notify the client to wait until the preset conditions are met.
- an embodiment of the present application provides a vehicle diagnostic routing system.
- the system includes: a client, which is used to send a diagnostic request message; an intermediate node, which is used to route and forward the diagnostic request message according to the method provided in the first aspect of the embodiment of the present application, and the intermediate node is a node between the client and the diagnosed node; the diagnosed node is used to determine that the routing of the diagnostic request message ends when receiving the diagnostic request message.
- an embodiment of the present application provides a vehicle.
- the vehicle includes a memory, one or more processors, and one or more applications.
- the one or more applications are stored in the memory and are configured to cause the one or more processors to execute the method provided in the embodiment of the present application when called by the one or more processors.
- an embodiment of the present application provides a computer-readable storage medium.
- the computer-readable storage medium stores a program code, and the program code is configured to cause the processor to execute the method provided by the embodiment of the present application when called by the processor.
- the embodiments of the present application provide a vehicle diagnostic routing method, device, system, vehicle and storage medium.
- the method can automatically send a message requesting the client to wait if the node between the client and the diagnosed node does not receive a diagnostic response from the next-level node within a first timing period, and notify the client to wait. This can avoid diagnostic routing and response timeouts, avoid diagnostic communication failures, and thus improve the success rate of diagnostic communication.
- FIG1 is a flow chart of a method for vehicle diagnostic routing according to an exemplary embodiment of the present application.
- FIG2 is a schematic diagram of the structure of a vehicle diagnostic routing system provided by an embodiment of the present application.
- FIG3 is a flow chart of a vehicle diagnostic routing method provided by an embodiment of the present application.
- FIG4 is a flow chart of a vehicle diagnostic routing method provided by an embodiment of the present application.
- FIG5 is a flow chart of a vehicle diagnostic routing method provided by an embodiment of the present application.
- FIG6 is a schematic diagram of a diagnostic service identifier provided by an exemplary embodiment of the present application.
- FIG7 is a flow chart of a vehicle diagnostic routing method provided by an exemplary embodiment of the present application.
- FIG8 is a schematic diagram of the structure of a vehicle diagnostic routing device provided by an embodiment of the present application.
- FIG9 is a schematic diagram of the structure of a vehicle diagnostic routing system provided by an embodiment of the present application.
- FIG10 is a schematic structural diagram of a vehicle provided in an embodiment of the present application.
- FIG. 11 is a schematic diagram of the structure of a computer-readable storage medium provided in an embodiment of the present application.
- FIG2 is a schematic diagram of the structure of a vehicle diagnostic routing system provided in an embodiment of the present application.
- the vehicle diagnostic routing system 100 can be applied to a vehicle to implement the vehicle diagnostic routing method provided in an embodiment of the present application.
- the vehicle diagnostic routing system 100 may include a client 110, an intermediate node 120, and a diagnosed node 130.
- the client 110 may initiate a diagnostic request message, and the diagnostic request message is routed and forwarded through the intermediate node 120 and finally routed to the diagnosed node 130.
- the diagnosed node 130 executes the diagnostic operation requested by the client 110 according to the diagnostic request message, and after the diagnostic operation is completed, sends a diagnostic response message.
- the diagnostic response message is routed and forwarded through the intermediate node 120 and finally routed to the client 110.
- the client 110, the intermediate node 120, and the diagnosed node 130 in the embodiment of the present application may include but are not limited to various electronic control units (Electronic Control Unit, referred to as ECU), microcontroller units (Microcontroller Unit, referred to as MCU), vehicle control units (VCU), zone control units (ZCU), etc. on the vehicle.
- ECU Electronic Control Unit
- MCU microcontroller Unit
- VCU vehicle control units
- ZCU zone control units
- the client 110 can also be an electronic device external to the vehicle, such as a diagnostic instrument or other tester.
- the intermediate node in the embodiment of the present application may include one or more nodes.
- the vehicle diagnostic routing method can be applied to an intermediate node 120 in a vehicle diagnostic routing system 100 or a vehicle diagnostic routing device 200 mentioned below or an intermediate node 320 or a vehicle 400 in a vehicle diagnostic routing system 300.
- the vehicle diagnostic routing method can include the following steps S110 and S120.
- Step S110 forwarding the diagnosis request message when receiving the diagnosis request message sent by the client.
- the diagnostic request message in the embodiment of the present application refers to a message sent by the client to the diagnosed node to instruct the diagnosed node to perform a corresponding diagnostic operation.
- the diagnostic request message may include the diagnostic identification (Identity document, referred to as Id) information of the diagnosed node, and the diagnostic identification information is used to uniquely identify each node.
- the execution subject for example, the intermediate node in the embodiment of the present application locally stores a subnet routing identification table, and the subnet routing identification table may include the diagnosis identification information of the node itself and the diagnosis identification information of all subordinate nodes of the node.
- the subordinate node refers to the node that the diagnosis request message needs to pass through or reach after the current node routing forwarding in the routing process from the client to the diagnosed node, and the subordinate node may include the diagnosed node.
- the subordinate nodes of the current node include the second node, the third node and the diagnosed node
- the subnet routing identification table of the first node may include the diagnosis identification information of the first node, the second node, the third node and the diagnosed node
- the subnet routing identification table of the second node may include the diagnosis identification information of the second node, the third node and the diagnosed node
- the subnet routing identification table of the third node may include the diagnosis identification information of the third node and the diagnosed node.
- the diagnosed node can set whether it has a subnet routing identification table according to actual needs.
- the diagnostic identification information of the next-level node can be searched in the subnet routing identification table according to the diagnostic identification information of the diagnosed node.
- the diagnostic identification information forwards the diagnostic request message to the next level node, where the next level node may be an intermediate node or a diagnosed node.
- Step S120 If no diagnostic response is received from the next-level node within the first timing period, a message requesting the client to wait is sent to the upper-level node to notify the client to wait until a preset condition is met.
- the diagnostic response of the next-level node in the embodiment of the present application can be any response of the next-level node.
- the response of the next-level node can be any diagnostic response of the diagnosed node, and the response of the next-level node can also be a message sent by the next-level node requesting the client to wait.
- the message requesting the client to wait in the embodiment of the present application may include a target negative response code (Negative Response Code, referred to as NRC).
- NRC target negative response code
- the target NRC refers to the NRC of the request correctly received-response pending (Request Correctly Received-Response Pending, referred to as RCRRP) in the unified diagnostic service (Unified Diagnostic Services, referred to as UDS).
- RCRRP Request Correctly Received-Response Pending
- UDS Unified Diagnostic Services
- the diagnosed node should send a positive response or a negative response, and the code of the positive response or the negative response should be different from the target NRC.
- the negative response of the target NRC can be repeated by the diagnosed node until the diagnostic operation requested by the client is completed and the diagnostic response message sent by the diagnosed node is sent. It should be noted that, according to actual needs, other specific messages for requesting the client to wait but not including the target NRC can also be set.
- a timer for example, a P2server timer
- the diagnostic response identifier (Identity document, referred to as Id) of the diagnosed node may be used.
- the diagnostic response identifier may be "0x785" to send a message to the upper-level node at a preset period requesting the client to wait.
- the first timing duration in the embodiment of the present application may refer to the duration defined by the time parameter of the P2server timer.
- the time parameters of the P2server timer include the P2server_max time parameter and the P2*server_max time parameter.
- the duration defined by the P2server_max time parameter is 50 milliseconds
- the duration defined by the P2*server_max time parameter is 5000 milliseconds.
- the diagnosed node responds "50 03 00 32 01 F4", which means that the diagnosed node informs the client that it will send a response within the P2server_max time parameter, but when the diagnosed node is busy with other things and temporarily has no time to respond to the client's diagnostic request message, it will send a response within the P2*server_max parameter time.
- the preset period in the embodiment of the present application refers to the time interval for sending the message that the client is requested to wait for.
- the preset period can be set according to actual needs, for example, the preset period can be 2 seconds.
- the preset condition in the embodiment of the present application refers to the condition that there is no need to continue to send the message requesting the client to wait, and when the preset condition is met, the message requesting the client to wait is no longer sent.
- a diagnostic response from the diagnosed node is received, it is determined that the preset condition is met.
- the second timing duration is greater than the first timing duration, and the second timing duration refers to the maximum timeout value (timeout), for example, the second timing duration is 60 seconds.
- the above-mentioned diagnostic response of the diagnosed node may refer to any response of the diagnosed node, which may include a positive response or a negative response.
- the node between the client and the diagnosed node can automatically send a message requesting the client to wait if no diagnostic response is received from the next-level node within a first timing period, and notify the client to wait, thereby avoiding diagnostic routing and response timeouts, avoiding diagnostic communication failures, and thus improving the success rate of diagnostic communication.
- the vehicle diagnostic routing method can be applied to the vehicle diagnostic routing system 100 or the vehicle diagnostic routing device 200 or the vehicle diagnostic routing system 300 or the vehicle 400 mentioned below.
- the vehicle diagnostic routing method can include the following steps S210 and S220.
- Step S210 After the client sends a diagnosis request message, the intermediate node routes and forwards the diagnosis request message.
- the intermediate node is a node between the client and the diagnosed node.
- the intermediate node routes and forwards the diagnosis request message according to the vehicle diagnosis routing method shown in FIG. 3 .
- the above steps S110 and S120 which will not be described in detail here.
- the intermediate node in the embodiment of the present application may include one or more nodes.
- Each of the one or more nodes may include a subnet routing identification table.
- the subnet routing identification table of each node may include the diagnosis identification information of the node itself and the diagnosis identification information of all subordinate nodes.
- the specific description of the subordinate nodes may refer to the relevant parts in the above-mentioned step S110.
- the same communication protocol may be used between the client, one or more nodes, and two adjacent nodes among the diagnosed nodes.
- different communication protocols can be used between the client, one or more nodes, and two adjacent nodes in the diagnosed node.
- the diagnostic routing also involves protocol conversion, the diagnostic response time is relatively long, which can easily lead to a diagnostic response timeout and cause a diagnostic communication failure.
- the intermediate node in the present application routes and forwards the diagnostic request message according to the method shown in Figure 3, and can automatically send a message requesting the client to wait if no diagnostic response is received from the next-level node within the time specified by the P2server time parameter, and notify the client to wait, thereby avoiding a diagnostic response timeout and a diagnostic communication failure, thereby solving the above-mentioned defects of the prior art and improving the diagnostic communication success rate.
- the intermediate node may include a first node, a second node, and a third node.
- the client and the first node may communicate using a first communication protocol, for example, the first communication protocol is a communication protocol for diagnostic communication over Internet Protocol (DoIP).
- the second node and the second node may communicate using a second communication protocol,
- the second communication protocol is a communication protocol for diagnostic communication over Controller Area Network with Flexible Data rate (DoCANFD).
- DoCANFD Controller Area Network with Flexible Data rate
- the second node and the third node may communicate using a third communication protocol, for example, the third communication protocol is a communication protocol for diagnostic communication over Controller Area Network (DoCAN).
- the third node and the diagnosed node may communicate using a fourth communication protocol, for example, the fourth communication protocol is a communication protocol for diagnostic communication over Local Interconnect Network (DoLIN).
- DoLIN Local Interconnect Network
- the level of one or more nodes is sequentially reduced in the routing order from the client to the diagnosed node.
- the diagnostic request message can be routed in the order of the client, one or more nodes with a high to low level, and the diagnosed node.
- the intermediate node may include a first node, a second node, and a third node with a decreasing level.
- the diagnostic request message can be routed in the order of the client, the first node, the second node, the third node, and the diagnosed node.
- the level of one or more nodes is increased in sequence according to the routing order from the client to the diagnosed node.
- the diagnostic request message is routed in sequence according to the client, one or more nodes with a level from low to high, and the diagnosed node.
- the intermediate node may include a first node, a second node, and a third node with a level increasing in sequence.
- the diagnostic request message may be routed in sequence according to the order of the client, the first node, the second node, the third node, and the diagnosed node.
- Step S220 upon receiving the diagnosis request message, the diagnosed node determines that the routing of the diagnosis request message is completed.
- the completion of the routing of the diagnosis request message in the embodiment of the present application refers to the successful routing of the diagnosis request message to the diagnosed node.
- the diagnosed node determines that the routing of the diagnosis request message is completed. At the same time or later, the diagnosed node can determine whether to respond to the diagnosis request message immediately according to the current state of the diagnosed node.
- the current idle state may include that the current load quantity of the diagnosed node is less than or equal to the preset load quantity, the remaining memory is greater than or equal to the preset remaining memory, the service being executed is about to be completed, and the level of the service requested by the diagnostic request message is higher than the level of other remaining services, etc.
- a second response can be sent to the client.
- the second response is used to inform the client that it cannot respond in time and will not respond to the diagnosis request message immediately, that is, it will respond within the time limit of the P2*server_max time parameter (5000 milliseconds).
- no response can be sent to the client, and a message requesting the client to wait can be sent to the client through the intermediate node.
- the current busy state may include that the current load of the diagnosed node is greater than the preset load, the remaining memory is less than the preset remaining memory, the service being processed still needs a long time to complete, and there are multiple tasks with a higher level than the service requested by the diagnosis request message after the service being processed.
- the vehicle diagnostic routing method provided in the embodiment of the present application has the following advantages: during the vehicle diagnostic routing process, if the intermediate node does not receive a diagnostic response from the next-level node within a first timing period, the intermediate node can automatically send a message requesting the client to wait and notify the client to wait, thereby avoiding diagnostic routing and response timeouts and diagnostic communication failures, thereby improving the success rate of diagnostic communication.
- Defect 1 It is difficult to determine the appropriate P2client parameter value, and a large number of vehicle diagnostic routing stress tests are required, which takes a long time to verify.
- Defect 2 For any changes involving the diagnostic link, such as changes in the diagnostic link layer, changes in the diagnostic protocol used by each node, and adjustments to the location of each node, the P2client parameter value needs to be readjusted, which has poor flexibility and scalability;
- Defect 3 When the whole vehicle uses nodes provided by different suppliers, there are differences in the protocol conversion and diagnostic routing capabilities between the nodes, and the P2client parameter values need to be readjusted and verified for the development of each vehicle model.
- the vehicle diagnostic routing method provided in the embodiment of the present application can automatically trigger client waiting through the above solution, thereby being able to adapt to changes in the diagnostic link and the conversion protocol between each node, and to adapt to the routing differences of each node provided by different suppliers. There is no need to perform a large amount of vehicle diagnostic routing stress testing and verification, thereby solving the above three problems existing in the prior art.
- the vehicle diagnostic routing method can be applied to the vehicle diagnostic routing system 100 or the vehicle diagnostic routing device 200 or the vehicle diagnostic routing system 300 or the vehicle 400 mentioned below.
- the vehicle diagnostic routing method may include steps S310 to S370.
- Step S310 the client sends a diagnosis request message to the diagnosed node, requesting the diagnosed node to perform a diagnosis operation corresponding to the diagnosis request message.
- the diagnostic services of UDS include 6 categories and a total of 26 types.
- Each diagnostic service has its own independent diagnostic service identifier (Service Identifier, referred to as SID).
- SID Service Identifier
- the diagnostic request message can include the diagnostic service identifier, and the diagnostic service identifier has a corresponding relationship with the diagnostic operation.
- SID Service Identifier
- the client may write the diagnostic service identifier corresponding to the diagnostic operation that the client wants to request the diagnosed node to perform and the diagnostic identifier information of the diagnosed node into a diagnostic request message, and send the diagnostic request message.
- Step S320 the intermediate node routes and forwards the diagnosis request message.
- the intermediate node is a node between the client and the diagnosed node.
- the intermediate node can use the method shown in FIG. 3 to route and forward the diagnosis request message.
- the message is routed and forwarded.
- step S320 please refer to the above steps S110, S120 and S210.
- Step S330 upon receiving the diagnosis request message, the diagnosed node determines that the routing of the diagnosis request message is completed.
- the diagnosed node determines that the routing of the diagnosis request message is completed.
- Step S340 the diagnosed node performs a diagnostic operation corresponding to the diagnostic request message.
- the diagnosed node After receiving the diagnosis request message, the diagnosed node parses the diagnosis request message to obtain the diagnosis service identifier corresponding to the diagnosis request message, and performs the diagnosis operation corresponding to the diagnosis service identifier.
- Step S350 When the diagnostic operation is completed, the diagnosed node sends a diagnostic response message to feed back the diagnostic operation result corresponding to the diagnostic request message to the client.
- the diagnosed node After the diagnosed node performs the diagnostic operation, a diagnostic result is generated.
- the diagnostic response message includes the diagnostic result of the diagnostic operation and the diagnostic identification information of the client.
- the diagnosed node can write the diagnostic identification information of the client and the diagnostic result of the diagnostic operation into the diagnostic response message and send the diagnostic response message.
- Step S360 the intermediate node routes and forwards the diagnosis response message.
- the intermediate node includes one or more nodes.
- the level of one or more nodes decreases in sequence according to the routing order from the client to the diagnosed node.
- the diagnostic response message is routed in the order of the diagnosed node, one or more nodes with a low to high level, and the client.
- the level of one or more nodes increases in sequence according to the routing order from the client to the diagnosed node.
- the diagnostic response message is routed in the order of the diagnosed node, one or more nodes with a high to low level, and the client.
- Step S370 When receiving the diagnosis response message, the client determines that the diagnosis response message routing is completed.
- the end of the routing of the diagnostic response message in the embodiment of the present application refers to the successful routing of the diagnostic response message to the client.
- the client can also obtain the diagnostic result of the diagnostic operation from the diagnostic response message and perform subsequent operations according to the diagnostic result. For example, continue to send new diagnostic request messages to the diagnosed node, or send other diagnostic request messages to other diagnosed nodes.
- the vehicle diagnostic routing method provided in the embodiment of the present application can automatically trigger client waiting through the above solution, thereby being able to adapt to changes in the conversion protocol between the diagnostic link and each node, and to adapt to the routing differences of each node provided by different suppliers, without the need for a large number of vehicle diagnostic routing stress tests and verifications, thereby solving the above three problems existing in the prior art.
- FIG. 7 an exemplary embodiment as shown in FIG. 7 is provided here to illustrate the vehicle diagnostic routing method provided by the embodiment of the present application.
- the client sends a "10 03" request to the diagnosed node, and the "10 03" request passes through the client, the first node, the second node, the third node, and the diagnosed node in sequence to reach the diagnosed node.
- the diagnosed node executes the same The corresponding diagnostic operation.
- the first node uses a timer to count after forwarding the "10 03" request. If no diagnostic response is received from the second node within the first timing period, a "7F 10 78" message is sent to the client at a preset period (e.g., 2 seconds) to request the client to wait, and the timer is restarted.
- a preset period e.g. 2 seconds
- the second node After forwarding the "10 03" request, the second node uses a timer to count. If the second node does not receive a diagnostic response from the third node within the first timing period, it sends a "7F 10 78" message to the first node at a preset period (for example, 2 seconds), and the timer restarts the timing. When the first node receives the "7F 10 78" message sent by the second node, it forwards the "7F 10 78" message to the client and requests the client to wait.
- a preset period for example, 2 seconds
- the third node After forwarding the "10 03" request, the third node uses a timer to count. If the third node does not receive a diagnostic response from the diagnosed node within the first timing period, it sends a "7F 10 78" message to the second node at a preset period (for example, 2 seconds), and the timer restarts the timing.
- the second node receives the "7F 10 78" message sent by the third node, it forwards the "7F 10 78" message to the first node.
- the first node receives the "7F 10 78" message sent by the second node, it forwards the "7F 10 78" message to the client, requesting the client to wait.
- the bold arrows shown in Figure 7 respectively indicate that after the first node, the second node, and the third node send the "7F 10 78" message for the first time, if no diagnostic response from the second node is received within the preset period, the first node, the second node, and the third node send the "7F 10 78" message for the second time.
- the diagnosed node After the diagnostic operation is completed, the diagnosed node sends a diagnostic response message to the client.
- the diagnostic response message passes through the diagnosed node, the third node, the second node, the first node, and the client in sequence and finally reaches the client, and the vehicle diagnostic route is completed.
- each intermediate node automatically triggers the client to wait, thereby extending the diagnostic response time, thereby effectively avoiding diagnostic response timeout and solving the problem of easy failure of diagnostic communication due to diagnostic response timeout.
- FIG8 is a schematic diagram of the structure of a vehicle diagnostic routing device provided by an embodiment of the present application.
- the vehicle diagnostic routing device 200 can be applied to an intermediate node in the vehicle diagnostic routing system 100 or an intermediate node or vehicle 400 of the vehicle diagnostic routing system 300 mentioned below.
- the vehicle diagnostic routing device 200 may include a first message forwarding module 210 and a second message forwarding module 220.
- the first message forwarding module 210 is used to forward the diagnosis request message when receiving the diagnosis request message sent by the client.
- the message that the requesting client is waiting for includes a target negative response code, the target negative response code indicating that the diagnostic request message is correctly received, and the target negative response code indicates that the diagnostic request message is correctly received. All parameters are valid, but the requested diagnostic operation has not been completed, and the diagnosed node cannot receive other diagnostic requests temporarily.
- the second message forwarding module 220 is further configured to determine that a preset condition is satisfied if a diagnosis response from the diagnosed node is received.
- the second message forwarding module 220 is further configured to determine that a preset condition is satisfied if no diagnostic response is received from the diagnosed node after a second timing duration has expired, and that the second timing duration is greater than the first timing duration.
- the vehicle diagnostic routing system 300 may be applied to a vehicle 400 to be mentioned below.
- the vehicle diagnostic routing system 300 may include a client 310, an intermediate node 320, and a diagnosed node 330.
- the client 310 is used to send a diagnosis request message.
- the diagnosed node 330 is used to determine that the routing of the diagnosis request message is completed when receiving the diagnosis request message.
- the level of the one or more nodes is sequentially reduced in the routing order from the client 310 to the diagnosed node 330.
- the diagnostic request message is routed in the order of the client 310, the one or more nodes from high to low levels, and the diagnosed node 330.
- the diagnosed node 330 is also used to perform a diagnostic operation corresponding to the diagnostic request message, and send a diagnostic response message when the diagnostic operation is completed.
- the diagnostic response message is routed in the order of the diagnosed node 330, the one or more nodes from low to high levels, and the client 310.
- the client 310 is also used to determine that the routing of the diagnostic response message is completed.
- the coupling, direct coupling or communication connection between the modules shown or discussed may be indirect coupling or communication coupling through some interfaces, devices or modules, and may be electrical, mechanical or other forms, and the embodiments of the present application are not limited to this.
- the processor 420 may include one or more processing cores.
- the processor 420 uses various interfaces and lines to connect various parts of the entire vehicle 400, and is used to run or execute instructions, programs, code sets or instruction sets stored in the memory 410, and call to run or execute data stored in the memory 410, perform various functions of the vehicle 400, and process data.
- the memory 410 may include a random access memory (RAM) or a read-only memory (ROM).
- the memory 410 may be used to store instructions, programs, codes, code sets or instruction sets.
- the memory 410 may include a program storage area and a data storage area.
- the program storage area may store instructions for implementing an operating system, instructions for implementing at least one function, instructions for implementing the above-mentioned various method embodiments, etc.
- the data storage area may store Stores data created during use of the vehicle 400, etc.
- the computer readable storage medium 500 can be an electronic memory such as a flash memory, an electrically erasable and programmable read-only memory (Electrically-Erasable Programmable Read-Only Memory, abbreviated as EEPROM), an erasable and programmable read-only memory (Erasable Programmable Read-Only Memory, abbreviated as EPROM), a hard disk or a ROM.
- EEPROM Electrically erasable and programmable read-only memory
- EPROM erasable and programmable read-only memory
- hard disk or a ROM a hard disk or a ROM.
- the computer-readable storage medium 500 includes a non-transitory computer-readable medium (Non-TCRSM).
- Non-TCRSM non-transitory computer-readable medium
- the computer-readable storage medium 500 has storage space for program codes 510 for executing any method steps in the above method. These program codes 510 can be read from or written to one or more computer program products. The program codes 510 can be compressed in an appropriate form.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Health & Medical Sciences (AREA)
- Computing Systems (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Mechanical Engineering (AREA)
- Small-Scale Networks (AREA)
Abstract
Description
Claims (16)
- 一种车辆诊断路由方法,其特征在于,包括:在接收到客户端发送的诊断请求报文时,转发所述诊断请求报文;若在第一计时时长内没有接收到下一级节点的诊断应答,向上一级节点发送请求客户端等待的报文,以通知所述客户端进行等待,直到满足预设条件。
- 根据权利要求1所述的方法,其特征在于,所述向上一级节点发送请求客户端等待的报文,包括:采用被诊断节点的诊断响应标识,以预设周期向上一级节点发送请求客户端等待的报文。
- 根据权利要求2所述的方法,其特征在于,所述请求客户端等待的报文包括目标否定响应码,所述目标否定响应码表征所述诊断请求报文被正确接收,所述诊断请求报文中的所有参数均有效,但是所请求的诊断操作尚未完成,所述被诊断节点暂时不能接收其他诊断请求。
- 根据权利要求1所述的方法,其特征在于,所述转发所述诊断请求报文之后,所述方法还包括:若接收到被诊断节点的诊断应答,确定满足预设条件。
- 根据权利要求1或4所述的方法,其特征在于,所述转发所述诊断请求报文之后,所述方法还包括:若在超过第二计时时长后仍没有接收到被诊断节点的诊断应答,确定满足预设条件,所述第二计时时长大于所述第一计时时长。
- 一种车辆诊断路由方法,其特征在于,包括:在客户端发送诊断请求报文后,中间节点按照如权利要求1至5任一项所述的方法对所述诊断请求报文进行路由转发,所述中间节点为所述客户端和被诊断节点之间的节点;在接收到所述诊断请求报文时,所述被诊断节点确定所述诊断请求报文路由结束。
- 根据权利要求6所述的方法,其特征在于,所述中间节点包括所述一个或多个节点。
- 根据权利要求7所述的方法,其特征在于,所述一个或多个节点的级别按照从所述客户端至所述被诊断节点的路由顺序依次降低。
- 根据权利要求8所述的方法,其特征在于,所述一个或多个节点中的每个节点包括子网路由标识表,每个节点的子网路由标识表包括节点自身的诊断标识信息以及所有下级节点的诊断标识信息。
- 根据权利要求7所述的方法,其特征在于,所述客户端、所述一个或多个节点以及所述被诊断节点中的相邻两个节点之间采用不同的通信协议。
- 根据权利要求8至10任一项所述的方法,其特征在于,所述诊断请求报文按照所述客户端、级别由高至低的所述一个或多个节点以及所述被诊断节 点的顺序依次进行路由。
- 根据权利要求11所述的方法,其特征在于,在所述被诊断节点确定所述诊断请求报文路由结束之后,所述方法还包括:所述被诊断节点发送诊断响应报文;所述诊断响应报文按照所述被诊断节点、级别由低至高的所述一个或多个节点以及所述客户端的顺序依次进行路由;在接收到所述诊断响应报文时,所述客户端确定所述诊断响应报文路由结束。
- 一种车辆诊断路由装置,其特征在于,包括:第一报文转发模块,用于在接收到客户端发送的诊断请求报文时,转发所述诊断请求报文;第二报文转发模块,用于若在第一计时时长内没有接收到下一级节点的诊断应答,向上一级节点发送请求客户端等待的报文,以通知所述客户端进行等待,直到满足预设条件。
- 一种车辆诊断路由系统,其特征在于,包括:客户端,用于发送诊断请求报文;中间节点,用于按照如权利要求1至5任一项所述的方法对所述诊断请求报文进行路由转发,所述中间节点为所述客户端和被诊断节点之间的节点;所述被诊断节点,用于在接收到所述诊断请求报文时,确定所述诊断请求报文路由结束。
- 一种车辆,其特征在于,包括:存储器;一个或多个处理器;一个或多个应用程序,其中,所述一个或多个应用程序存储在所述存储器中,并被配置为当被所述一个或多个处理器调用时,使得所述一个或多个处理器执行如权利要求1至12任一项所述的方法。
- 一种计算机可读取存储介质,其特征在于,所述计算机可读取存储介质中存储有程序代码,所述程序代码被配置为当被处理器调用时,使得所述处理器执行如权利要求1至12任一项所述的方法。
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| EP23902172.8A EP4629602A4 (en) | 2022-12-14 | 2023-08-29 | VEHICLE DIAGNOSTIC ROUTING METHOD AND APPARATUS, AND SYSTEM, VEHICLE AND STORAGE SUPPORT |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202211611417.2A CN118200400A (zh) | 2022-12-14 | 2022-12-14 | 车辆诊断路由方法、装置、系统、车辆及存储介质 |
| CN202211611417.2 | 2022-12-14 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2024124964A1 true WO2024124964A1 (zh) | 2024-06-20 |
Family
ID=91393655
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2023/115500 Ceased WO2024124964A1 (zh) | 2022-12-14 | 2023-08-29 | 车辆诊断路由方法、装置、系统、车辆及存储介质 |
Country Status (3)
| Country | Link |
|---|---|
| EP (1) | EP4629602A4 (zh) |
| CN (1) | CN118200400A (zh) |
| WO (1) | WO2024124964A1 (zh) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN119270825A (zh) * | 2024-10-08 | 2025-01-07 | 重庆赛力斯凤凰智创科技有限公司 | 一种车辆自动化测试方法、装置、电子设备及存储介质 |
| CN119520339A (zh) * | 2024-12-12 | 2025-02-25 | 长城汽车股份有限公司 | 一种设备测试方法、装置及系统 |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN118859900B (zh) * | 2024-07-03 | 2026-02-13 | 深圳市元征科技股份有限公司 | 应答反馈方法、装置、终端设备以及储介质 |
| CN121441930A (zh) * | 2024-07-30 | 2026-01-30 | 博世创新软件开发(无锡)有限公司 | Sovd服务器及其执行的方法 |
| CN119109759B (zh) * | 2024-08-26 | 2026-03-10 | 奇瑞汽车股份有限公司 | Can网络通信诊断方法、装置及车辆 |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH08163670A (ja) * | 1994-12-06 | 1996-06-21 | Nippondenso Co Ltd | 車両用通信システム |
| JP2015228622A (ja) * | 2014-06-02 | 2015-12-17 | 株式会社デンソー | 車載ネットワークシステム及び車載中継装置 |
| CN114253251A (zh) * | 2022-01-20 | 2022-03-29 | 深圳市元征科技股份有限公司 | 车辆远程诊断方法、装置、设备连接器及存储介质 |
| CN115016444A (zh) * | 2022-07-26 | 2022-09-06 | 深圳市元征科技股份有限公司 | 一种车辆远程诊断方法及相关组件 |
| CN115032972A (zh) * | 2022-08-10 | 2022-09-09 | 深圳市星卡软件技术开发有限公司 | 车辆诊断数据的通信方法、装置、电子设备及介质 |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP6717184B2 (ja) * | 2016-12-15 | 2020-07-01 | 株式会社デンソー | 車載制御装置 |
-
2022
- 2022-12-14 CN CN202211611417.2A patent/CN118200400A/zh active Pending
-
2023
- 2023-08-29 EP EP23902172.8A patent/EP4629602A4/en active Pending
- 2023-08-29 WO PCT/CN2023/115500 patent/WO2024124964A1/zh not_active Ceased
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH08163670A (ja) * | 1994-12-06 | 1996-06-21 | Nippondenso Co Ltd | 車両用通信システム |
| JP2015228622A (ja) * | 2014-06-02 | 2015-12-17 | 株式会社デンソー | 車載ネットワークシステム及び車載中継装置 |
| CN114253251A (zh) * | 2022-01-20 | 2022-03-29 | 深圳市元征科技股份有限公司 | 车辆远程诊断方法、装置、设备连接器及存储介质 |
| CN115016444A (zh) * | 2022-07-26 | 2022-09-06 | 深圳市元征科技股份有限公司 | 一种车辆远程诊断方法及相关组件 |
| CN115032972A (zh) * | 2022-08-10 | 2022-09-09 | 深圳市星卡软件技术开发有限公司 | 车辆诊断数据的通信方法、装置、电子设备及介质 |
Non-Patent Citations (1)
| Title |
|---|
| See also references of EP4629602A4 * |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN119270825A (zh) * | 2024-10-08 | 2025-01-07 | 重庆赛力斯凤凰智创科技有限公司 | 一种车辆自动化测试方法、装置、电子设备及存储介质 |
| CN119520339A (zh) * | 2024-12-12 | 2025-02-25 | 长城汽车股份有限公司 | 一种设备测试方法、装置及系统 |
Also Published As
| Publication number | Publication date |
|---|---|
| EP4629602A1 (en) | 2025-10-08 |
| EP4629602A4 (en) | 2026-04-15 |
| CN118200400A (zh) | 2024-06-14 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP4629602A1 (en) | Vehicle diagnostic routing method and apparatus, and system, vehicle and storage medium | |
| US12034604B2 (en) | MQTT protocol simulation method and simulation device | |
| CN103338118B (zh) | 一种通信网络连接方法及装置 | |
| WO2022134233A1 (zh) | 一种区块链的共识方法、装置、服务器及存储介质 | |
| CN111949293A (zh) | 固件升级方法、装置、计算机设备和存储介质 | |
| CN114503041B (zh) | 车辆诊断方法、诊断连接器及诊断设备 | |
| CN116670636A (zh) | 数据存取方法、装置和存储介质 | |
| CN111615819B (zh) | 一种传输数据的方法和装置 | |
| CN112114938A (zh) | 事务处理方法、装置及服务器 | |
| CN103685501A (zh) | 数据处理方法、装置和系统 | |
| CN115396479B (zh) | 机器人与云平台命令交互的方法、系统及存储介质 | |
| CN111198698B (zh) | 基于EtherCAT的多设备固件程序并行下载方法及系统 | |
| CN114301812B (zh) | 报文处理结果的监控方法、装置、设备以及存储介质 | |
| CN115422048A (zh) | 链路稳定性测试方法、装置、计算机设备和存储介质 | |
| CN113626139B (zh) | 一种高可用的虚拟机存储方法及装置 | |
| CN119402446B (zh) | 一种网卡自动绑定方法、装置、设备、介质及程序产品 | |
| CN112596447B (zh) | Ecu刷写数据长度的确定方法、装置、电子设备及介质 | |
| CN118862914A (zh) | 扫码登录方法、装置、计算机设备及存储介质 | |
| CN118784526A (zh) | 故障检测方法、报文传输方法、系统及客户端 | |
| CN112134749A (zh) | 一种动态入网管理方法及系统 | |
| CN118075278A (zh) | 数据传输方法、装置、设备及介质 | |
| CN111556043B (zh) | 一种报文处理方法、装置、系统、设备及可读存储介质 | |
| CN116389357B (zh) | 基于片上网络的空洞地址处理方法、装置、设备及介质 | |
| CN118450161B (zh) | 一种直播视频数据存储服务的管理方法及系统 | |
| TR2024016886T2 (tr) | Araç teşhi̇s yönlendi̇rme yöntemi̇, ci̇hazi, si̇stemi̇, araç ve bellek ortami |
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: 23902172 Country of ref document: EP Kind code of ref document: A1 |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 2024/016886 Country of ref document: TR |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 2023902172 Country of ref document: EP |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| ENP | Entry into the national phase |
Ref document number: 2023902172 Country of ref document: EP Effective date: 20250703 |
|
| WWP | Wipo information: published in national office |
Ref document number: 2023902172 Country of ref document: EP |