WO2024109535A1 - 通信交互方法、装置、设备及存储介质 - Google Patents

通信交互方法、装置、设备及存储介质 Download PDF

Info

Publication number
WO2024109535A1
WO2024109535A1 PCT/CN2023/130107 CN2023130107W WO2024109535A1 WO 2024109535 A1 WO2024109535 A1 WO 2024109535A1 CN 2023130107 W CN2023130107 W CN 2023130107W WO 2024109535 A1 WO2024109535 A1 WO 2024109535A1
Authority
WO
WIPO (PCT)
Prior art keywords
communication
electronic control
communication command
control unit
command
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
Application number
PCT/CN2023/130107
Other languages
English (en)
French (fr)
Inventor
詹金勇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Autel Intelligent Technology Corp Ltd
Original Assignee
Autel Intelligent Technology Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Autel Intelligent Technology Corp Ltd filed Critical Autel Intelligent Technology Corp Ltd
Priority to EP23893626.4A priority Critical patent/EP4601264A4/en
Publication of WO2024109535A1 publication Critical patent/WO2024109535A1/zh
Priority to US19/215,147 priority patent/US20250286750A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME 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/00Registering or indicating the working of vehicles
    • G07C5/08Registering or indicating performance data other than driving, working, idle, or waiting time, with or without registering driving, working, idle or waiting time
    • G07C5/0808Diagnosing performance data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/40143Bus networks involving priority mechanisms
    • H04L12/4015Bus networks involving priority mechanisms by scheduling the transmission of messages at the communication node
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/14Multichannel or multilink protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/18Multiprotocol handlers, e.g. single devices capable of handling multiple protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L2012/40267Bus for use in transportation systems
    • H04L2012/40273Bus for use in transportation systems the transportation system being a vehicle
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions

Definitions

  • the present application relates to the field of communications, and in particular to communication interaction methods, devices, equipment and storage media.
  • ECUs electronice control units
  • ECU has fault self-diagnosis and protection functions. When the system fails, ECU can automatically record the fault code in random access memory (RAM) and prompt by lighting the fault light on the dashboard.
  • RAM random access memory
  • the fault information stored in ECU can be read by the car diagnostic instrument.
  • the car diagnostic instrument can be connected to the car through the car's on-board diagnostics (OBD) interface, and communicate with the ECU in the car through the OBD interface to obtain all fault information in the car and analyze it to obtain the current fault cause, fault description, fault status and other information.
  • OBD on-board diagnostics
  • the car diagnostic instrument and the car's ECU are based on serial communication, that is, the car diagnostic instrument communicates with the ECU one by one, and only after all the communication commands with the previous ECU are interacted one by one, it will interact with the next ECU one by one, which takes a long time and has low diagnostic efficiency.
  • the present application provides a communication interaction method, device, equipment and storage medium to solve the technical problem that communication between an automobile diagnostic instrument and an automobile ECU takes a long time.
  • a communication interaction method comprising:
  • VIN vehicle identification number
  • a plurality of electronic control units and a plurality of communication parameters in the target vehicle are obtained according to the VIN, wherein the plurality of communication parameters include communication parameters corresponding to each of the plurality of electronic control units;
  • At least one communication link is created for the plurality of electronic control units, wherein one communication link corresponds to one communication parameter;
  • multiple electronic control units in the vehicle and communication parameters of the multiple electronic control units are first obtained according to the vehicle identification code of the vehicle; then, according to the communication parameters corresponding to each of the multiple electronic control units, communication links are created for the multiple electronic control units in the vehicle, and one communication link corresponds to one communication parameter, thereby realizing the classification of the electronic control units in the vehicle, and allocating the electronic control units with the same communication parameters into a group to facilitate communication transmission; finally, through the created communication links, parallel communication command interactions are performed with the multiple electronic control units in the vehicle, and the communication command interactions of the multiple electronic control units in the vehicle do not depend on each other, thereby reducing the duration of the communication command interactions and improving the efficiency of communicating with the electronic control units in the vehicle.
  • the communication commands are exchanged in parallel with the electronic control units corresponding to the at least one communication link through each communication link, including: generating communication command queues corresponding to the electronic control units according to the communication commands of the target communication link, wherein the target communication link is any one of the at least one communication link, and a communication command queue includes all communication commands of an electronic control unit corresponding to the target communication link; and transmitting and processing the communication commands in the communication command queues corresponding to the electronic control units in parallel through the target communication link.
  • the communication commands of the electronic control units are arranged to form a communication command queue, so that the communication command interaction can be carried out in an orderly manner; the communication commands in the communication command queues are transmitted and processed in parallel through the communication link, and the communication command interaction between the electronic control units does not interfere with each other, so that the efficiency of the communication command interaction can be improved.
  • the method further includes: in the case of acquiring a first communication command of a first electronic control unit, inserting the first communication command into a first communication command queue, the first electronic control unit being any electronic control unit corresponding to the target communication link, the first communication command being a newly added communication command, and the first communication command queue being a communication command queue corresponding to the first electronic control unit.
  • the newly added communication command is inserted into the corresponding communication command queue, so that the newly added communication command can be processed, and the communication commands corresponding to the electronic control unit can be carried out in an orderly manner.
  • inserting the first communication command into a first communication command queue includes:
  • the first communication command is inserted into a position in the first communication command queue corresponding to the timing of the first communication command.
  • the parallel transmission and processing of the communication commands in the communication command queues corresponding to the respective electronic control units through the target communication link includes: sending the i-th communication command in the first communication command queue to the first electronic control unit through the target communication link, the first electronic control unit being the electronic control unit corresponding to the first communication command queue, the first electronic control unit being any electronic control unit corresponding to the target communication link, 1 ⁇ i ⁇ N, N being the total number of communication commands in the first communication command queue; upon receiving the i-th response corresponding to the i-th communication command sent by the first electronic control unit, processing the i-th response, and sending the (i+1)-th communication command in the first communication command queue to the first electronic control unit through the target communication link.
  • the method further includes: after receiving the response corresponding to the last communication command in the first communication command queue, generating the communication command processing result of the first electronic control unit according to the processing results of all the response corresponding to the first communication command queue. After processing the communication commands in a communication command queue, generating the communication command processing result of the electronic control unit according to the processing results of all the response corresponding to the communication command queue, thereby realizing timely feedback on the communication command interaction results.
  • the sending of the i-th communication command in the first communication command queue to the first electronic control unit through the target communication link includes: based on the first thread, sending the i-th communication command in the first communication command queue to the first electronic control unit through the target communication link; the processing of the i-th response and the (i+1)-th communication command in the first communication command queue includes: based on the second thread, processing the i-th response, and based on the first thread, sending the (i+1)-th communication command in the first communication command queue to the first electronic control unit through the target communication link, the second thread and the first thread are different threads.
  • the efficiency of communication command interaction can be improved by completing the sending and receiving of communication commands and data processing through different threads.
  • the communication command is used to obtain the fault information of the target vehicle; the method further includes: after the communication commands in the communication command queue corresponding to each communication link are transmitted and processed, generating a fault detection report corresponding to the target vehicle according to all the fault information obtained based on all the communication commands that have been transmitted. After all the communication commands are processed, a fault detection report for the vehicle is generated, which is helpful for the user to understand all the fault information of the vehicle.
  • a communication interaction device comprising:
  • An acquisition module is configured to acquire, when a vehicle identification code of a target vehicle is acquired, a plurality of electronic control units and a plurality of communication parameters in the target vehicle according to the vehicle identification code, wherein the plurality of communication parameters include communication parameters corresponding to each of the plurality of electronic control units;
  • a link creation module configured to create at least one communication link for the plurality of electronic control units according to the plurality of communication parameters, wherein one communication link corresponds to one communication parameter;
  • the parallel interaction module is used to perform parallel communication command interaction with the electronic control units corresponding to each communication link through each communication link in the at least one communication link.
  • a computer device comprising a memory and one or more processors, wherein the memory is connected to the one or more processors, and the one or more processors are used to execute one or more computer programs stored in the memory, and when the one or more processors execute the one or more computer programs, the computer device implements the communication interaction method of the first aspect.
  • a computer-readable storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a processor, the processor executes the communication interaction method of the first aspect.
  • the present application can achieve the following technical effects: reducing the duration of communication command interaction and improving the efficiency of communication with the electronic control unit in the vehicle.
  • FIG1 is a schematic diagram of a system architecture of an automobile communication system provided by an embodiment of the present application.
  • FIG2 is a flow chart of a communication interaction method provided in an embodiment of the present application.
  • FIG. 3 is a schematic diagram of the interaction between the upper layer application and the core communication module of the automobile diagnostic instrument according to the embodiment of the present application;
  • 4A-4D are schematic diagrams of a communication command queue provided in an embodiment of the present application.
  • FIG. 5 is a schematic diagram of a flow chart of transmitting and processing a communication command in a communication command queue on a communication link according to an embodiment of the present application
  • FIG6 is a schematic diagram of the structure of a communication interaction device provided in an embodiment of the present application.
  • FIG. 7 is a schematic diagram of the structure of a computer device provided in an embodiment of the present application.
  • FIG. 1 is a schematic diagram of the system architecture of an automobile communication system provided by an embodiment of the present application.
  • the automobile communication system 10 includes an automobile diagnostic instrument 101, a vehicle communication interface (VCI) module 102 and a vehicle 103, and the automobile diagnostic instrument 101 is connected to the vehicle 103 through the VCI module 102.
  • VCI vehicle communication interface
  • the automobile diagnostic instrument 101 can also be called an automobile decoder, which is used to communicate with the ECU in the vehicle 103 through a communication module such as a controller area network (CAN) communication module or a local interconnect network (LIN) communication module, and transmit the fault code and engine status information of the vehicle 103 to realize fault scanning detection of the vehicle 103; the automobile diagnostic instrument 101 can also be used for vehicle ECU positioning, vehicle ECU data backup and data restoration of the vehicle 103.
  • the VCI module 102 is a vehicle communication connection tool, which is used to connect to the OBD interface of the vehicle 103 to establish a communication connection between the vehicle diagnostic instrument 101 and the vehicle 103.
  • the VCI module 102 can be connected to the vehicle diagnostic instrument 101 through Bluetooth, universal serial bus (USB), WiFi, etc.
  • the VCI module 102 is connected to the OBD interface of the vehicle through a diagnostic main line.
  • the vehicle 103 includes multiple ECUs, and the ECU is composed of integrated circuits such as a microcontroller unit (MCU), RAM, read-only memory (ROM), and input and output interfaces.
  • MCU microcontroller unit
  • ROM read-only memory
  • Different ECUs can be set at different mechanical devices of the vehicle to detect the operation of different mechanical devices and record the fault conditions of different mechanical devices.
  • the ECU can be set on mechanical devices such as the engine and anti-lock braking system of the vehicle 103.
  • the automobile diagnostic instrument 101 and the ECU in the vehicle 103 perform fault detection by serial communication, that is, the automobile diagnostic instrument 101 interacts with the ECUs one by one in a sequential order, sends communication commands one by one and receives responses to the communication commands, sends the next communication command after receiving the response to the previous communication command, and interacts with the next ECU to obtain the fault information recorded in the next ECU after the communication interaction with the previous ECU is completed and the fault information recorded in the previous ECU is obtained.
  • This method takes a long time to obtain all the fault information in the vehicle 103, and the communication efficiency is low.
  • the present application proposes a communication interaction method, which groups the vehicle's ECUs according to the communication parameters of the ECUs in the vehicle, divides the ECUs with the same communication parameters into one group, and creates a communication link that matches the communication parameters of the ECUs to transmit communication commands of the ECUs with the same communication parameters; in the same communication link, the communication commands of the ECUs corresponding to the communication link are transmitted and interacted in parallel, so that the communication command interactions of the ECUs do not interfere with each other, thereby reducing the communication interaction time and improving the communication efficiency.
  • FIG. 2 is a flow chart of a communication interaction method provided in an embodiment of the present application.
  • the method can be applied to the aforementioned automobile diagnostic instrument 101. As shown in FIG. 2 , the method includes the following steps:
  • the target vehicle is a vehicle that has established a physical connection with the vehicle diagnostic instrument through the VCI module. After establishing a physical connection with the target vehicle, the VCI module can turn on the ignition key of the target vehicle, start the engine and other functional devices of the target vehicle, so that a communication connection is established between the vehicle diagnostic instrument and the target vehicle, thereby obtaining the vehicle identification code of the target vehicle.
  • the multiple electronic control units in the target vehicle refer to the multiple electronic control units that need to communicate with the target vehicle in order to perform a certain task. For example, if the automobile diagnostic instrument is currently performing a fault scan on the target vehicle, and the object of the fault scan is all the electronic control units in the target vehicle, then the multiple electronic control units refer to all the electronic control units in the target vehicle. For another example, if the automobile diagnostic instrument is currently performing a data backup on some electronic control units in the target vehicle, then the multiple electronic control units refer to the electronic control units in the target vehicle that need to perform data backup. The number of electronic control units depends on the task that needs to be performed.
  • the multiple communication parameters of the target vehicle include communication parameters corresponding to each electronic control unit in the multiple electronic control units in the target vehicle.
  • the communication parameters corresponding to the electronic control unit refer to the parameters required to be adopted/followed for communication with the electronic control unit, and the communication parameters corresponding to the electronic control unit may include the communication protocol, communication pin, baud rate, time parameter, communication command filling format, etc. adopted for communication with the electronic control unit.
  • the model of the target vehicle can be obtained based on the vehicle identification code of the target vehicle, and then the preset diagnostic database is queried based on the model of the target vehicle to obtain the entire system set and system configuration of the target vehicle, and then the electronic control unit list is obtained from the entire system set to obtain multiple electronic control units, and the communication parameters of the multiple electronic control units are obtained from the system configuration.
  • S202 Create at least one communication link for multiple electronic control units in the target vehicle according to multiple communication parameters of the target vehicle.
  • one communication link corresponds to one communication parameter
  • different communication links correspond to different communication parameters. If the communication parameters of multiple electronic control units in the target vehicle are the same, the multiple electronic control units share the same communication link.
  • the purpose of creating at least one communication link for multiple electronic control units in the target vehicle is to group the multiple electronic control units in the target vehicle and build an environment required for communication for the electronic control units in the same group.
  • the process of creating a communication link for the target vehicle may include filtering of ECUs.
  • an electronic control unit can be selected from multiple electronic control units in the target vehicle as the target electronic control unit, and a target communication link matching the communication parameters of the target electronic control unit is created according to the communication parameters of the target electronic control unit; then, according to the communication parameters of other electronic control units in the target vehicle, an electronic control unit with the same communication parameters as the target electronic control unit is determined to form a first electronic control unit combination with the target electronic control unit; finally, the target communication link is set to allow the reception of communication messages sent by the electronic control units in the first electronic control unit combination, thereby obtaining a communication link.
  • a communication link is created for the electronic control units in the target vehicle that have not yet been assigned to the electronic control unit combination, until all the electronic control units in the target vehicle have corresponding communication links, and one or more communication links can be obtained. It should be understood that, except for the different request addresses and response addresses, the communication parameters of the various electronic control units in the same electronic control unit combination are the same.
  • the way the present application creates a communication link is basically the same as the principle of creating a communication link when an automobile diagnostic instrument communicates serially with a vehicle.
  • the difference is that a communication link created when an automobile diagnostic instrument communicates serially with a vehicle only allows the reception of messages from one electronic control unit at a time; since the present application creates multiple communication links, and each communication link allows the reception of messages from multiple electronic control units at the same time, it can communicate and interact with all control units in the target vehicle at the same time.
  • S203 Perform parallel communication command interaction with the electronic control units corresponding to the at least one communication link through each communication link in the at least one communication link.
  • performing parallel communication command interaction with the electronic control unit corresponding to the communication link through the communication link means that for each communication link created, the communication commands of all electronic control units corresponding to the communication link are transmitted in parallel through the communication link.
  • the communication commands of each electronic control unit can be obtained by the upper-level application that performs a certain task in the automobile diagnostic instrument. After the upper-level application of the automobile diagnostic instrument obtains the communication commands of each electronic control unit, it can send the communication commands of each electronic control unit to the core communication module of the automobile diagnostic instrument.
  • the automobile diagnostic instrument currently performs a fault scanning task for BMW cars, and the upper-level application can refer to the BMW diagnostic software in the automobile diagnostic instrument.
  • the core communication module in the automobile diagnostic instrument can be, for example, a multi-channel communication module.
  • the upper-level application Q1 of the automobile diagnostic instrument obtains the entry command, positioning command, code reading command and exit command of each ECU respectively, and provides them to the core communication module Q2.
  • Each communication link transmits the communication commands of all electronic control units corresponding to the communication link in parallel in the same manner.
  • the commands of the various ECUs corresponding to the communication link can be queued in sequence to complete the parallel transmission of the communication commands of the various ECUs.
  • parallel transmission on the communication link can be achieved through the following steps A1-A2.
  • A1 Generate a communication command queue corresponding to each electronic control unit corresponding to the target communication link according to the communication commands of each electronic control unit corresponding to the target communication link.
  • the target communication link may be any one of the at least one communication link created in the aforementioned step S201.
  • a communication command queue includes all communication commands of an electronic control unit corresponding to the target communication link.
  • the communication commands of each electronic control unit corresponding to the target communication link may be arranged into a communication command queue according to the order in which the commands are executed.
  • step A1 By performing the processing of step A1 on the electronic control unit corresponding to each communication link, a communication command queue corresponding to each communication link can be obtained.
  • the communication command queues corresponding to the m communication links may be as shown in FIG4B .
  • the upper layer application of the vehicle diagnostic instrument can also add a communication command to the core communication module of the electronic control unit. After the above step A1, it can also include: when the first communication command of the first electronic control unit is obtained, insert the first communication command into the first communication command queue.
  • the first electronic control unit is any electronic control unit corresponding to the target communication link
  • the first communication command is a newly added communication command
  • the first communication command queue is a communication command queue corresponding to the first electronic control unit
  • the newly added communication command is generally not in the first communication command queue.
  • the first communication command may be inserted into a position in the first communication command queue corresponding to the timing of the first communication command according to the timing sequence relationship between the first communication command and the communication commands in the first communication command queue.
  • the communication command queue created for ECU (d) according to the communication command of ECU (d) is shown as d1 in FIG. 4C ; assuming that after the entry command of ECU (d) is sent to ECU (d) through the communication link (d), the upper layer application sends the code reading command of ECU (d) to the core communication module. Since the timing of the code reading command is after the timing of the positioning command, the code reading command of ECU (d) is inserted into the position after the positioning command, that is, inserted into the end of the communication command queue. After the code reading command is inserted into the end of the communication command queue of ECU (d), the communication command queue of ECU (d) is shown as d2 in FIG. 4C .
  • the communication command queue created for ECU(e) according to the communication command of ECU(e) is shown as e1 in FIG4C ;
  • the upper layer application sends a code reading command of ECU(e) to the core communication module, and the timing of the code reading command is after the timing of the positioning command and before the timing of command E, the code reading command is inserted after the code reading command and before command E.
  • the communication command queue of ECU(e) is shown as e2 in FIG4C .
  • the newly added communication command can occur at any stage of the parallel communication command interaction between the vehicle diagnostic instrument and the target vehicle.
  • the newly added communication command is inserted into the corresponding communication command queue so that the newly added communication command can be processed and the communication commands corresponding to the electronic control unit can be carried out in an orderly manner.
  • A2 Transmit and process, in parallel, through the target communication link, the communication commands in the communication command queues corresponding to the respective electronic control units corresponding to the target communication link.
  • parallel transmission and processing of communication commands in the communication command queues corresponding to the respective electronic control units corresponding to the target communication link means sequentially sending the communication commands in the command queues corresponding to the respective electronic control units corresponding to the target communication link, and respectively receiving responses in the command queues corresponding to the respective electronic control units corresponding to the target communication link.
  • the sending of communication commands and the receiving of responses in the respective command queues do not interfere with each other.
  • the process of parallel transmission and processing of the communication commands in the communication command queues corresponding to the electronic control units corresponding to the target communication link is as follows: an entry command is sent to ECU1, ECU2 and ECU3 in sequence, and upon receiving the entry response sent by ECU1, a positioning command is sent to ECU1; upon receiving the entry response sent by ECU2, a positioning command is sent to ECU2... until the exit commands of ECU1 to ECU3 have all been sent, and the response corresponding to the exit commands of ECU1 to ECU3 has been received.
  • Figure 5 is a schematic diagram of a process of transmitting and processing a communication command in a communication command queue on a communication link provided by an embodiment of the present application. As shown in Figure 5, the following steps may be included:
  • the first communication command queue is a communication command queue corresponding to the first electronic control unit
  • the first electronic control unit is a communication command queue corresponding to any electronic control unit corresponding to the target communication link.
  • step 304 and step 307 are executed; when the i-th response corresponding to the i-th communication command is not received, step 303 is continued to be executed.
  • N is the total number of communication commands contained in the first communication command queue.
  • step 306 When i is equal to N, it means that the response corresponding to the last communication command in the first communication command queue has been received, and step 306 is executed; when i is not equal to N, it means that there are communication commands in the first communication command queue that have not been sent, and step 305 is executed.
  • response data may be obtained from the i-th response and analyzed to complete processing of the i-th response.
  • the above steps 301 to 306 can all be executed by the first thread; the above step 307 can be executed by the second thread, and the first thread and the second thread are two different threads.
  • the efficiency of communication command interaction can be improved by completing the sending, receiving and processing of communication commands through different threads.
  • processing of communication commands in different communication command queues may also be completed by different threads.
  • the method may further include: generating a communication command processing result of the electronic control unit corresponding to the first communication command queue according to the processing results of all the response responses corresponding to the first communication command queue.
  • the communication command processing result is a result of the pointer executing a certain task for the electronic control unit corresponding to the first communication command queue.
  • the communication command processing result of the electronic control unit corresponding to the first communication command queue refers to the fault information of the electronic control unit corresponding to the first communication command queue.
  • the communication command processing result of the electronic control unit is generated according to all the responses corresponding to the communication command queue, thereby realizing timely feedback on the communication command interaction result.
  • the communication command in the solution of FIG. 1 may be a communication command for obtaining fault information of a target vehicle.
  • the method of FIG. 1 may also include: after all communication commands in the communication command queue corresponding to each communication link are transmitted and processed, generating a fault detection report corresponding to the target vehicle according to all fault information of the target vehicle obtained based on all the transmitted communication commands.
  • All communication commands refer to the communication commands in all communication command queues. Taking Figure 3 as an example, all communication commands include the communication commands of ECU1 to ECUn.
  • all fault information of the target vehicle can be obtained according to the fault information included in the response corresponding to all the communication commands, so as to generate a fault detection report corresponding to the target vehicle.
  • a fault detection report of the vehicle is generated, which helps users understand all the fault information of the vehicle.
  • broadcast instructions can also be sent to each electronic control unit through each communication link, and instruction responses sent by each electronic control unit in response to the broadcast instructions can be received to achieve parallel communication command interaction with each electronic control unit, thereby obtaining data of each electronic control unit in the target vehicle.
  • FIG. 6 is a schematic diagram of the structure of a communication interaction device provided in an embodiment of the present application.
  • the communication interaction device may be the aforementioned automobile diagnostic instrument 101.
  • the communication interaction device 40 includes:
  • a configuration acquisition module 401 is configured to acquire, when a vehicle identification code of a target vehicle is acquired, a plurality of electronic control units and a plurality of communication parameters in the target vehicle according to the vehicle identification code, wherein the plurality of communication parameters include communication parameters corresponding to each of the plurality of electronic control units;
  • a link creation module 402 configured to create at least one communication link for the plurality of electronic control units according to the plurality of communication parameters, wherein one communication link corresponds to one communication parameter;
  • the parallel interaction module 403 is used to perform parallel communication command interaction with the electronic control units corresponding to each communication link through each communication link in the at least one communication link.
  • the above-mentioned parallel interaction module 403 is specifically used to: generate a communication command queue corresponding to each electronic control unit according to the communication commands of each electronic control unit corresponding to the target communication link, the target communication link is any one of the at least one communication link, and a communication command queue includes all communication commands of an electronic control unit corresponding to the target communication link; and transmit and process the communication commands in the communication command queues corresponding to the each electronic control unit in parallel through the target communication link.
  • the parallel interaction module 403 is also used to: when a first communication command of a first electronic control unit is obtained, insert the first communication command into a first communication command queue, the first electronic control unit is any electronic control unit corresponding to the target communication link, the first communication command is a newly added communication command, and the first communication command queue is a communication command queue corresponding to the first electronic control unit.
  • the above-mentioned parallel interaction module 403 is specifically used to: insert the first communication command into the position in the first communication command queue corresponding to the timing of the first communication command according to the timing sequence relationship between the first communication command and the communication commands in the first communication command queue.
  • the above-mentioned parallel interaction module 403 is specifically used to: send the i-th communication command in the first communication command queue to the first electronic control unit through the target communication link, the first electronic control unit is the electronic control unit corresponding to the first communication command queue, the first electronic control unit is any electronic control unit corresponding to the target communication link, 1 ⁇ i ⁇ N, N is the total number of communication commands in the first communication command queue; when receiving the i-th response corresponding to the i-th communication command sent by the first electronic control unit, process the i-th response, and send the (i+1)-th communication command in the first communication command queue to the first electronic control unit through the target communication link.
  • the parallel interaction module 403 is also used to: after receiving the response corresponding to the last communication command in the first communication command queue, generate the communication command processing result of the first electronic control unit according to the processing results of all response corresponding to the first communication command queue.
  • the above-mentioned parallel interaction module 403 is specifically used to: based on the first thread, send the i-th communication command in the first communication command queue to the first electronic control unit through the target communication link; based on the second thread, process the i-th response, and based on the first thread, send the (i+1)-th communication command in the first communication command queue to the first electronic control unit through the target communication link, and the second thread and the first thread are different threads.
  • the communication command is used to obtain fault information of the target vehicle; the above-mentioned device also includes a report generation module 404, which is used to generate a fault detection report corresponding to the target vehicle according to all fault information obtained based on all transmitted communication commands after all communication commands in the communication command queue corresponding to each communication link are transmitted and processed.
  • a report generation module 404 which is used to generate a fault detection report corresponding to the target vehicle according to all fault information obtained based on all transmitted communication commands after all communication commands in the communication command queue corresponding to each communication link are transmitted and processed.
  • the above-mentioned device After obtaining the vehicle identification code of the vehicle, the above-mentioned device first obtains multiple electronic control units in the vehicle and communication parameters of the multiple electronic control units according to the vehicle identification code of the vehicle; then, according to the communication parameters corresponding to each of the multiple electronic control units, a communication link is created for the multiple electronic control units in the vehicle, and one communication link corresponds to one communication parameter, thereby realizing the classification of the electronic control units in the vehicle, and allocating the electronic control units with the same communication parameters to a group to facilitate communication transmission; finally, through the created communication link, parallel communication command interaction is performed with the multiple electronic control units in the vehicle, and the communication command interaction of the multiple electronic control units in the vehicle does not depend on each other, thereby reducing the duration of the communication command interaction and improving the efficiency of communication with the electronic control units in the vehicle.
  • FIG. 7 is a schematic diagram of the structure of a computer device provided in an embodiment of the present application, and the computer device may be the aforementioned automobile diagnostic instrument 101.
  • the computer device 50 includes a processor 501, a memory 502, and a communication interface 503.
  • the memory 502 and the communication interface 503 are connected to the processor 501, for example, via a bus.
  • the processor 501 is configured to support the computer device 50 to perform the corresponding functions in the method in the above method embodiment.
  • the processor 501 can be a central processing unit (CPU), a network processor (NP), a hardware chip or any combination thereof.
  • the above hardware chip can be an application specific integrated circuit (ASIC), a programmable logic device (PLD) or a combination thereof.
  • the above PLD can be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL) or any combination thereof.
  • the memory 502 is used to store program codes, etc.
  • the memory 502 may include a volatile memory (VM), such as a random access memory (RAM); the memory 502 may also include a non-volatile memory (NVM), such as a read-only memory (ROM), a flash memory, a hard disk drive (HDD) or a solid-state drive (SSD); the memory 502 may also include a combination of the above-mentioned types of memories.
  • VM volatile memory
  • RAM random access memory
  • NVM non-volatile memory
  • ROM read-only memory
  • HDD hard disk drive
  • SSD solid-state drive
  • the communication interface 503 is used to send a communication command under the instruction of the processor 501, or to receive a response corresponding to the communication command.
  • the communication interface 503 can be a hardware interface, such as a USB interface, etc.; the communication interface 503 can also be a software interface, such as a Bluetooth interface, a WiFi interface, etc. The limitations are not limited here.
  • the processor 501 may call the program code to perform the following operations:
  • a vehicle identification code of a target vehicle When a vehicle identification code of a target vehicle is obtained, a plurality of electronic control units and a plurality of communication parameters in the target vehicle are obtained according to the vehicle identification code, wherein the plurality of communication parameters include communication parameters corresponding to each of the plurality of electronic control units;
  • An embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a computer, the computer executes the method described in the above embodiment.
  • the storage medium can be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Small-Scale Networks (AREA)

Abstract

本申请提供通信交互方法、装置、设备及存储介质,方法包括:在获取到目标车辆的车辆识别码的情况下,根据所述车辆识别码,获取所述目标车辆中的多个电子控制单元和多个通信参数,所述多个通信参数包括所述多个电子控制单元中的每个电子控制单元对应的通信参数;根据所述多个通信参数,为所述多个电子控制单元创建至少一个通信链路,其中,一个通信链路对应一种通信参数;通过所述至少一个通信链路中的各个通信链路,分别与所述各个通信链路对应的电子控制单元进行并行通信命令交互。该技术方案可以减少通信命令交互的时长,提高与车辆中的电子控制单元进行通信的效率。

Description

通信交互方法、装置、设备及存储介质
本申请要求于2022年11月21日提交中国专利局、申请号为2022114584493、申请名称为“通信交互方法、装置、设备及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及通信领域,尤其涉及通信交互方法、装置、设备及存储介质。
背景技术
随着汽车行业飞速的发展、科技的进步和人们的高需求,汽车电子技术不断更新,汽车上安装的电子控制单元(electronic control unit,ECU)的数量增多,用以实现不同的控制功能。
ECU具有故障自诊断和保护功能,当系统产生故障时,ECU能在随机存储器(random access memory,RAM)中自动记录故障代码并通过点亮仪表盘上的故障灯进行提示。ECU中保存的故障信息可以通过汽车诊断仪来读取,汽车诊断仪可以与汽车的车载诊断系统(on board diagnostics,OBD)接口与汽车连接,并通过OBD接口与汽车中的ECU进行通信,以获取汽车中的所有故障信息并进行解析,得到当前故障原因、故障描述、故障状态等信息。目前,汽车诊断仪与汽车的ECU是基于串行通信的方式,即汽车诊断仪逐个与ECU进行通信,在待与上一个ECU之间的所有通信命令逐个交互结束后,才进行与下一ECU之间的逐个通信命令交互,耗时较长,诊断效率低。
发明内容
本申请提供通信交互方法、装置、设备及存储介质,以解决汽车诊断仪与汽车的ECU通信耗时较长技术问题。
第一方面,提供一种通信交互方法,包括:
在获取到目标车辆的车辆识别码(vehicle identification number,VIN)的情况下,根据所述车辆识别码,获取所述目标车辆中的多个电子控制单元和多个通信参数,所述多个通信参数包括所述多个电子控制单元中的每个电子控制单元对应的通信参数;
根据所述多个通信参数,为所述多个电子控制单元创建至少一个通信链路,其中,一个通信链路对应一种通信参数;
通过所述至少一个通信链路中的各个通信链路,分别与所述各个通信链路对应的电子控制单元进行并行通信命令交互。
在该技术方案中,在获取到车辆的车辆识别码之后,先根据车辆的车辆识别码获取车辆中的多个电子控制单元和多个电子控制单元的通信参数;然后根据多个电子控制单元各自对应的通信参数,为车辆中的多个电子控制单元创建通信链路,一个通信链路对应一种通信参数,实现了对车辆中的电子控制单元的分类,将通信参数相同的电子控制单元分配到一组,便于通信传输;最后通过创建的通信链路,与车辆中的多个电子控制单元进行并行通信命令交互,车辆中的多个电子控制单元的通信命令交互相互不存在依赖,从而可以减少通信命令交互的时长,提高与车辆中的电子控制单元进行通信的效率。
结合第一方面,所述通过所述至少一个通信链路中的各个通信链路,分别与所述各个通信链路对应的电子控制单元进行并行通信命令交互,包括:根据目标通信链路对应的各个电子控制单元的通信命令,生成所述各个电子控制单元对应的通信命令队列,所述目标通信链路为所述至少一个通信链路中的任意一个通信链路,一个通信命令队列包括所述目标通信链路对应的一个电子控制单元的所有通信命令;通过所述目标通信链路,并行传输和处理所述各个电子控制单元对应的通信命令队列中的通信命令。通过将电子控制单元的通信命令排列形成通信命令队列,使得通信命令交互能够有序进行;通过通信链路并行传输和处理各个通信命令队列中的通信命令,并且电子控制单元相互之间的通信命令交互互不干扰,可以提高通信命令交互的效率。
结合第一方面,在一种可能的实现方式中,所述根据目标通信链路对应的各个电子控制单元的通信命令,生成所述各个电子控制单元对应的通信命令队列之后,所述方法还包括:在获取到第一电子控制单元的第一通信命令的情况下,将所述第一通信命令插入第一通信命令队列,所述第一电子控制单元为目标通信链路对应的任意一个电子控制单元,所述第一通信命令为新增的通信命令,所述第一通信命令队列为所述第一电子控制单元对应的通信命令队列。当检测到针对于电子控制单元的新增的通信命令时,将新增的通信命令插入到对应的通信命令队列中,使得新增的通信命令能够得到处理,并且电子控制单元对应的通信命令能够有序进行。
结合第一方面,在一种可能的实现方式中,所述将所述第一通信命令插入第一通信命令队列,包括:
根据所述第一通信命令与所述第一通信命令队列中的通信命令之间的时序先后关系,将所述第一通信命令插入到所述第一通信命令队列中与所述第一通信命令的时序对应的位置。
结合第一方面,在一种可能的实现方式中,所述通过所述目标通信链路,并行传输和处理所述各个电子控制单元对应的通信命令队列中的通信命令,包括:将所述第一通信命令队列中的第i个通信命令,通过所述目标通信链路发送给第一电子控制单元,所述第一电子控制单元为所述第一通信命令队列为对应的电子控制单元,所述第一电子控制单元为所述目标通信链路对应的任意一个电子控制单元,1≤i≤N,N为所述第一通信命令队列中的通信命令的总数量;在接收到所述第一电子控制单元发送的所述第i个通信命令对应的第i个应答响应的情况下,处理所述第i个应答响应,并将所述第一通信命令队列中的第(i+1)个通信命令,通过所述目标通信链路发送给所述第一电子控制单元。通过依次处理通信命令队列中的通信命令,能够实现通信命令的有序交互。
结合第一方面,在一种可能的实现方式中,所述方法还包括:在接收到所述第一通信命令队列中的最后一个通信命令对应的应答响应之后,根据所述第一通信命令队列对应的所有应答响应的处理结果,生成所述第一电子控制单元的通信命令处理结果。在处理完一个通信命令队列中的通信命令后,根据通信命令队列对应的所有的应答响应的处理结果,生成电子控制单元的通信命令处理结果,实现了对通信命令交互结果的及时反馈。
结合第一方面,在一种可能的实现方式中,所述将所述第一通信命令队列中的第i个通信命令,通过所述目标通信链路发送给第一电子控制单元,包括:基于第一线程,将所述第一通信命令队列中的第i个通信命令,通过所述目标通信链路发送给第一电子控制单元;所述处理所述第i个应答响应,并将所述第一通信命令队列中的第(i+1)个通信命令,包括:基于第二线程,处理所述第i个应答响应,并基于所述第一线程,将所述第一通信命令队列中的第(i+1)个通信命令,通过所述目标通信链路发送给所述第一电子控制单元,所述第二线程与所述第一线程为不同的线程。通过不同的线程来完成通信命令的收发和数据处理,能够提升通信命令交互的效率。
结合第一方面,在一种可能的实现方式中,所述通信命令用于获取所述目标车辆的故障信息;所述方法还包括:在所述各个通信链路对应的通信命令队列中的通信命令均传输处理完毕之后,根据基于已传输的所有通信命令获取到的所有故障信息,生成所述目标车辆对应的故障检测报告。在所有的通信命令处理完后,生成车辆的故障检测报告,有利于用户了解车辆的全部故障信息。
第二方面,提供一种通信交互装置,包括:
配置获取模块,用于在获取到目标车辆的车辆识别码的情况下,根据所述车辆识别码,获取所述目标车辆中的多个电子控制单元和多个通信参数,所述多个通信参数包括所述多个电子控制单元中的每个电子控制单元对应的通信参数;
链路创建模块,用于根据所述多个通信参数,为所述多个电子控制单元创建至少一个通信链路,其中,一个通信链路对应一种通信参数;
并行交互模块,用于通过所述至少一个通信链路中的各个通信链路,分别与所述各个通信链路对应的电子控制单元进行并行通信命令交互。
第三方面,提供一种计算机设备,包括存储器以及一个或多个处理器,所述存储器连接至所述一个或多个处理器,一个或多个处理器用于执行存储在存储器中的一个或多个计算机程序,一个或多个处理器在执行一个或多个计算机程序时,使得该计算机设备实现上述第一方面的通信交互方法。
第四方面,提供一种计算机可读存储介质,计算机可读存储介质存储有计算机程序,计算机程序包括程序指令,上述程序指令当被处理器执行时使上述处理器执行上述第一方面的通信交互方法。
本申请可以实现如下技术效果:减少通信命令交互的时长,提高与车辆中的电子控制单元进行通信的效率。
附图说明
图1为本申请实施例提供的一种汽车通信系统的系统架构示意图;
图2为本申请实施例提供的一种通信交互方法的流程示意图;
图3为本申请实施例汽车诊断仪的上层应用与核心通信模块之间的交互示意图;
图4A-图4D为本申请实施例提供的通信命令队列的示意图;
图5为本申请实施例提供的一种在通信链路上传输和处理一个通信命令队列中的通信命令的流程示意图;
图6是本申请实施例提供的一种通信交互装置的结构示意图;
图7是本申请实施例提供的一种计算机设备的结构示意图。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行描述。
本申请的技术方案可适用于汽车通信场景,具体适用于汽车诊断仪与车辆进行通信的场景。为便于理解,首先介绍本申请的通信架构。参见图1,图1为本申请实施例提供的一种汽车通信系统的系统架构示意图,如图1所示,汽车通信系统10包括汽车诊断仪101、车辆通信接口(vehicle communication interface,VCI)模块102和车辆103,汽车诊断仪101通过VCI模块102与车辆103连接。其中,汽车诊断仪101又可以称为汽车解码器,用于通过控制器局域网络(controller area network,CAN)通信模块或本地互联网络(local interconnect network,LIN)通信模块等通信模块与车辆103内的ECU进行通信,传输车辆103的故障代码和发动机状态信息,以实现对车辆103的故障扫描检测;汽车诊断仪101还可以用于对车辆103进行车辆ECU定位、车辆ECU数据备份与数据还原等。VCI模块102是汽车通信连接工具,用于与车辆103的OBD接口连接,构建汽车诊断仪101与车辆103之间的通信连接。VCI模块102可以通过蓝牙、通用串行总线(universal serial bus,USB)、WiFi等方式与汽车诊断仪101连接。VCI模块102通过诊断主线与车辆的OBD接口连接。车辆103包括多个ECU,ECU由微控制器(microcontroller unit,MCU)、RAM、只读存储器(read only memory,ROM)、输入输出接口等集成电路组成,不同ECU可设置在车辆的不同机械装置处,用于检测不同机械装置的运行情况,以及记录不同机械装置的故障情况。具体地,ECU可以设置在车辆103的发动机、防抱死系统等机械装置上。
基于图1所示的系统架构,可以实现对汽车故障信息的检测。在目前的一些方案中,汽车诊断仪101与车辆103中的ECU是通过串行通信的方式进行故障检测,即汽车诊断仪101按先后顺序逐个与ECU进行通信命令交互,逐个发送通信命令并接收通信命令的应答响应,在接收到上一个通信命令的应答响应后再发送下一个通信命令,在与上一个ECU通信交互结束并获得该上一个ECU中记录的故障信息后,再与下一ECU进行通信交互获得下一个ECU中记录的故障信息。车辆103中的ECU的数量较多,此种方式获得车辆103中的所有的故障信息所需时间较长,通信效率低。
有鉴于此,本申请提出了一种通信交互方法,按车辆中的ECU的通信参数对车辆的ECU进行分组,将通信参数相同的ECU划分到一组,并创建与ECU的通信参数相匹配的通信链路,用于传输通信参数相同的ECU的通信命令;在同一通信链路中,对该通信链路对应的ECU的通信命令进行并行传输交互,使得ECU的通信命令交互互不干扰,减少通信交互时间,提高通信效率。
以下具体介绍本申请的技术方案。
参见图2,图2为本申请实施例提供的一种通信交互方法的流程示意图,该方法可应用在前述的汽车诊断仪101上,如图2所示,该方法包括如下步骤:
S201,在获取到目标车辆的车辆识别码的情况下,根据目标车辆的车辆识别码,获取目标车辆中的多个电子控制单元和目标车辆的多个通信参数。
其中,目标车辆为已经通过VCI模块与汽车诊断仪建立物理连接的车辆。在与目标车辆建立物理连接后,VCI模块可以打开目标车辆的点火钥匙,启动目标车辆的发动机等功能器件,使得汽车诊断仪与目标车辆之间建立通信连接,从而获取到目标车辆的车辆识别码。
目标车辆中的多个电子控制单元是指当前执行某种任务需与之进行通信的多个电子控制单元。例如,汽车诊断仪当前执行对目标车辆的故障扫描,故障扫描的对象是目标车辆中的所有电子控制单元,则多个电子控制单元是指目标车辆中的所有电子控制单元。又如,汽车诊断仪当前执行对目标车辆中的部分电子控制单元进行数据备份,则多个电子控制单元是指目标车辆中需进行数据备份的电子控制单元。电子控制单元的数量取决于当前需执行的任务。
目标车辆的多个通信参数包括目标车辆中的多个电子控制单元中的每个电子控制单元对应的通信参数。电子控制单元对应的通信参数是指与电子控制单元通信所需采用/遵循的参数,电子控制单元对应的通信参数可包括与电子控制单元通信所采用的通信协议、通信引脚、波特率、时间参数、通信命令填充格式等。
具体地,在获取到目标车辆的车辆识别码的情况下,可以根据目标车辆的车辆识别码解析得到目标车辆的型号,然后根据目标车辆的型号查询预设的诊断数据库,以得到目标车辆的全部系统集合和系统配置,然后从全部系统集合中获取电子控制单元列表,以得到多个电子控制单元,并从系统配置中获取多个电子控制单元的通信参数。
S202,根据目标车辆的多个通信参数,为目标车辆中的多个电子控制单元创建至少一个通信链路。
其中,一个通信链路对应一种通信参数,不同通信链路对应的通信参数不同。如果目标车辆中的多个电子控制单元的通信参数相同,则多个电子控制单元共享同一通信链路。为目标车辆中的多个电子控制单元创建至少一个通信链路的目的在于对目标车辆中的多个电子控制单元进行分组,并为同一组别的电子控制单元构建通信所需的环境。
其中,为目标车辆创建通信链路的过程可包含对ECU的过滤,对于至少一个通信链路中的任意一个目标通信链路,需设置允许接收该目标通信链路对应的ECU发送的通信消息,即对于一个通信链路,其用于接收通信参数与该通信链路对应的通信参数相同的ECU发送的通信消息。
具体实现中,可以从目标车辆中的多个电子控制单元中选择一个电子控制单元作为目标电子控制单元,根据目标电子控制单元的通信参数,创建与该目标电子控制单元的通信参数匹配的目标通信链路;然后根据目标车辆中的其他电子控制单元的通信参数,确定与该目标电子控制单元的通信参数相同的电子控制单元,与目标电子控制单元组成第一电子控制单元组合;最后将目标通信链路设置为允许接收第一电子控制单元组合中的电子控制单元发送的通信消息,以此得到一个通信链路。按照同样的方式为目标车辆中还未分配到电子控制单元组合中的电子控制单元创建通信链路,直至目标车辆中的所有电子控制单元均对应有通信链路,可得到一个或多个通信链路。应理解的是,同一电子控制单元组合中的各个电子控制单元除了请求地址和应答地址不同外,其他通信参数均相同。
需要说明的是,本申请创建通信链路的方式与汽车诊断仪与车辆进行串行通信创建通信链路的原理基本相同,不同之处在于,汽车诊断仪与车辆进行串行通信时创建的一个通信链路同时只允许接收一个电子控制单元的消息;本申请由于创建了多个通信链路,并且每个通信链路同时允许接收多个电子控制单元的消息,因而同时与目标车辆中的所有控制单元进行通信交互。
S203,通过至少一个通信链路中的各个通信链路,分别与各个通信链路对应的电子控制单元进行并行通信命令交互。
其中,通过通信链路,与通信链路对应的电子控制单元进行并行通信命令交互,是指对于创建的每一个通信链路,通过通信链路并行传输对应于该通信链路的所有电子控制单元的通信命令。各个电子控制单元的通信命令可以由汽车诊断仪中执行某种任务的上层应用获取得到,汽车诊断仪的上层应用获取得到各个电子控制单元的通信命令后,可以将各个电子控制单元的通信命令发送给汽车诊断仪的核心通信模块。例如,汽车诊断仪当前执行的是对宝马汽车的故障扫描任务,则上层应用可以是指汽车诊断仪中的宝马诊断软件。汽车诊断仪中的核心通信模块例如可以为多通道通信模块。
以汽车诊断仪执行车辆故障扫描业务为例,如图3所示,汽车诊断仪的上层应用Q1在遍历得到目标车辆的全部ECU(ECU1、ECU2、ECU3…ECUn)后,分别获取每个ECU的进入命令、定位命令、读码命令以及退出命令,提供给核心通讯模块Q2。
每个通信链路并行传输对应于通信链路的所有电子控制单元的通信命令的方式相同。在一种可行的方式中,对于其中一个通信链路,可以将该通信链路对应的各个ECU的命令按顺序形成队列的方式,完成对各个ECU的通信命令的并行传输。
具体地,可以通过如下步骤A1-A2实现通信链路上的并行传输。
A1、根据目标通信链路对应的各个电子控制单元的通信命令,生成目标通信链路对应的各个电子控制单元对应的通信命令队列。
其中,目标通信链路可以为前述步骤S201中创建的至少一个通信链路中的任意一个通信链路。
一个通信命令队列包括目标通信链路对应的一个电子控制单元的所有通信命令。
具体地,可以将目标通信链路对应的各个电子控制单元的通信命令,按命令执行的先后顺序排列为通信命令队列。
仍以汽车诊断仪执行车辆故障扫描业务为例,假设图3中的ECU1、ECU2以及ECU3的通信参数相同,为ECU1、ECU2以及ECU3创建的通信链路为通信链路a,则生成的通信链路a对应的通信命令队列可以如图4A所示。
通过对每一个通信链路对应的电子控制单元均进行步骤A1的处理,可得到每一个通信链路对应的通信命令队列。
仍以汽车诊断仪执行车辆故障扫描业务为例,假设根据图3中的ECU的通信参数,一共创建了m个通信链路,则m个通信链路对应的通信命令队列可以如图4B所示。
在一些可能的情况中,汽车诊断仪的上层应用还可以给电子控制单元的核心通信模块新增通信命令。上述步骤A1之后,还可以包括:在获取到第一电子控制单元的第一通信命令的情况下,将第一通信命令插入第一通信命令队列。
其中,第一电子控制单元为目标通信链路对应的任意一个电子控制单元,第一通信命令为新增的通信命令,第一通信命令队列为第一电子控制单元对应的通信命令队列,新增的通信命令一般不在第一通信命令队列中。
具体地,可以根据第一通信命令与第一通信命令队列中的通信命令之间的时序先后关系,将第一通信命令插入到第一通信命令队列中与第一通信命令的时序对应的位置。
例如,可参见图4C,假设第一电子控制单元为图4C中的ECU(d),根据ECU(d)的通信命令为ECU(d)创建的通信命令队列如图4C中的d1所示;假设在ECU(d)的进入命令通过通信链路(d)发送给ECU(d)之后,上层应用向核心通信模块发送了ECU(d)的读码命令,由于读码命令的时序在定位命令的时序之后,则将ECU(d)的读码命令插入到定位命令之后的位置,即插入到通信命令队列的队尾。将读码命令插入到ECU(d)的通信命令队列的队尾后,ECU(d)的通信命令队列如图4C中的d2所示。
又如,可参见图4D,假设第一电子控制单元为图4D中的ECU(e),根据ECU(e)的通信命令为ECU(e)创建的通信命令队列如图4C中的e1所示;假设上层应用向核心通信模块发送了ECU(e)的读码命令,读码命令的时序在定位命令的时序之后,并在命令E的时序之前,则将读码命令插入到读码命令之后,命令E之前。将读码命令插入到ECU(e)的通信命令队列后,ECU(e)的通信命令队列如图4C中的e2所示。
应理解的是,新增通信命令可以在汽车诊断仪与目标车辆进行并行通信命令交互的任意一个阶段发生。将新增的通信命令插入到对应的通信命令队列中,使得新增的通信命令能够得到处理,并且电子控制单元对应的通信命令能够有序进行。
A2、通过目标通信链路,并行传输和处理目标通信链路对应的各个电子控制单元对应的通信命令队列中的通信命令。
其中,并行传输和处理目标通信链路对应的各个电子控制单元对应的通信命令队列中的通信命令:是指依次发送目标通信链路对应的各个电子控制单元对应的命令队列中的通信命令,并分别接收目标通信链路对应的各个电子控制单元对应的命令队列中的应答响应。各个命令队列中的通信命令的发送和应答响应的接收互不干扰。
以目标通信链路为前述图4A的通信链路(a)为例,并行传输和处理目标通信链路对应的各个电子控制单元对应的通信命令队列中的通信命令的过程如下:依次向ECU1、ECU2以及ECU3发送进入命令,在接收到ECU1发送的进入应答响应时,则向ECU1发送定位命令;在接收到ECU2发送的进入应答响应时,则向ECU2发送定位命令……直至ECU1~ECU3的退出命令均已发送,并接收到ECU1~ECU3的退出命令对应的应答响应。
其中,对于目标通信链路对应的一个通信命令队列,在目标通信链路上传输和处理通信命令队列的具体流程可参考图5,图5为本申请实施例提供的一种在通信链路上传输和处理一个通信命令队列中的通信命令的流程示意图,如图5所示,可包括如下步骤:
301、将第一通信命令队列中的首个通信命令作为第i个通信命令。
其中,第一通信命令队列为第一电子控制单元对应的通信命令队列,第一电子控制单元为目标通信链路对应的任意一个电子控制单元对应的通信命令队列。
302、将第i个通信命令通过目标通信链路发送给第一电子控制单元。
303,判断是否接收到第i个通信命令对应的第i个应答响应。
在接收到第i个通信命令对应的第i个应答响应的情况下,执行步骤304和步骤307;在未接收到第i个通信命令对应的第i个应答响应的情况下,继续执行步骤303。
304,判断i是否等于N。
其中,N为第一通信命令队列中包含的通信命令的总数量。
当i等于N时,说明已经接收到第一通信命令队列中的最后一个通信命令对应的应答响应,执行步骤306;当i不等于N时,说明第一通信命令队列中还有通信命令未发送,执行步骤305。
305,将i加1,返回执行步骤302。
306,确定第一通信命令队列中的通信命令处理完毕。
307,处理第i个应答响应。
具体地,可以从第i个应答响应中获取响应数据并进行分析以完成对第i个应答响应的处理。
按上述步骤301~307分别处理各通信链路对应的各通信命令队列,可以完成与电子控制单元之间的通信命令交互。
通过依次处理通信命令队列中的通信命令,能够实现通信命令的有序交互。
在一些可能的情况中,上述步骤301~306均可以通过第一线程执行;上述步骤307可以通过第二线程执行,第一线程和第二线程是两个不同的线程。通过不同的线程来完成通信命令的收发和处理,能够提升通信命令交互的效率。
在一些可能的情况中,还可以通过不同的线程完成不同通信命令队列中的通信命令的处理。
在一些可能情况中,在上述步骤306之后,还可以包括:根据第一通信命令队列对应的所有应答响应的处理结果,生成第一通信命令队列对应的电子控制单元的通信命令处理结果。
其中,通信命令处理结果是指针对于第一通信命令队列对应的电子控制单元执行某种任务的结果。以汽车诊断仪执行车辆故障扫描业务为例,第一通信命令队列对应的电子控制单元的通信命令处理结果是指第一通信命令队列对应的电子控制单元的故障信息。
在处理完一个通信命令队列中的通信命令后,根据通信命令队列对应的所有的应答响应,生成电子控制单元的通信命令处理结果,实现了对通信命令交互结果的及时反馈。
在上述图1对应的技术方案中,在获取到车辆的车辆识别码之后,先根据车辆的车辆识别码获取车辆中的多个电子控制单元和多个电子控制单元的通信参数;然后根据多个电子控制单元各自对应的通信参数,为车辆中的多个电子控制单元创建通信链路,一个通信链路对应一种通信参数,实现了对车辆中的电子控制单元的分类,将通信参数相同的电子控制单元分配到一组,便于通信传输;最后通过创建的通信链路,与车辆中的多个电子控制单元进行并行通信命令交互,车辆中的多个电子控制单元的通信命令交互相互不存在依赖,从而可以减少通信命令交互的时长,提高与车辆中的电子控制单元进行通信的效率。
在一些具体实施场景中,上述图1的方案中的通信命令可以是用于获取目标车辆的故障信息的通信命令。上述图1的方法还可以包括:在各个通信链路对应的通信命令队列中的通信命令均传输处理完毕之后,根据基于已传输的所有通信命令获取到的目标车辆的所有故障信息,生成目标车辆对应的故障检测报告。
[根据细则91更正 05.12.2023]
其中,各个通信链路对应的通信命令队列中的通信命令均传输处理完毕,是指接收到所有的通信命令对应的应答响应并完成所有的应答响应的处理。所有的通信命令是指所有的通信命令队列中的通信命令。以图3为例,所有的通信命令包括ECU1~ECUn的通信命令。
具体地,可以根据所有的通信命令对应的应答响应中包含的故障信息,得到目标车辆的所有故障信息,以生成目标车辆对应的故障检测报告。
在并行传输和处理每个电子控制单元的通信命令后,生成车辆的故障检测报告,有利于用户了解车辆的全部故障信息。
在另一些可能的情况中,在目标车辆中的电子控制单元支持广播指令的情况下,对于上述图1中的步骤S203,也可以通过各个通信链路向各个电子控制单元发送广播指令,并接收各个电子控制单元响应该广播指令发送的指令响应,以实现与各个电子控制单元之间的并行通信命令交互,从而获取到目标车辆中的各个电子控制单元的数据。
上述介绍了本申请的方法,下面介绍本申请的装置。
参见图6,图6是本申请实施例提供的一种通信交互装置的结构示意图,该通信交互装置可以为前述提到的汽车诊断仪101。如图6所示,该通信交互装置40包括:
配置获取模块401,用于在获取到目标车辆的车辆识别码的情况下,根据所述车辆识别码,获取所述目标车辆中的多个电子控制单元和多个通信参数,所述多个通信参数包括所述多个电子控制单元中的每个电子控制单元对应的通信参数;
链路创建模块402,用于根据所述多个通信参数,为所述多个电子控制单元创建至少一个通信链路,其中,一个通信链路对应一种通信参数;
并行交互模块403,用于通过所述至少一个通信链路中的各个通信链路,分别与所述各个通信链路对应的电子控制单元进行并行通信命令交互。
在一种可能的设计中,上述并行交互模块403具体用于:根据目标通信链路对应的各个电子控制单元的通信命令,生成所述各个电子控制单元对应的通信命令队列,所述目标通信链路为所述至少一个通信链路中的任意一个通信链路,一个通信命令队列包括所述目标通信链路对应的一个电子控制单元的所有通信命令;通过所述目标通信链路,并行传输和处理所述各个电子控制单元对应的通信命令队列中的通信命令。
在一种可能的设计中,上述并行交互模块403还用于:在获取到第一电子控制单元的第一通信命令的情况下,将所述第一通信命令插入第一通信命令队列,所述第一电子控制单元为目标通信链路对应的任意一个电子控制单元,所述第一通信命令为新增的通信命令,所述第一通信命令队列为所述第一电子控制单元对应的通信命令队列。
在一种可能的设计中,上述并行交互模块403具体用于:根据所述第一通信命令与所述第一通信命令队列中的通信命令之间的时序先后关系,将所述第一通信命令插入到所述第一通信命令队列中与所述第一通信命令的时序对应的位置。
在一种可能的设计中,上述并行交互模块403具体用于:将所述第一通信命令队列中的第i个通信命令,通过所述目标通信链路发送给第一电子控制单元,所述第一电子控制单元为所述第一通信命令队列为对应的电子控制单元,所述第一电子控制单元为所述目标通信链路对应的任意一个电子控制单元,1≤i≤N,N为所述第一通信命令队列中的通信命令的总数量;在接收到所述第一电子控制单元发送的所述第i个通信命令对应的第i个应答响应的情况下,处理所述第i个应答响应,并将所述第一通信命令队列中的第(i+1)个通信命令,通过所述目标通信链路发送给所述第一电子控制单元。
在一种可能的设计中,上述并行交互模块403还用于:在接收到所述第一通信命令队列中的最后一个通信命令对应的应答响应之后,根据所述第一通信命令队列对应的所有应答响应的处理结果,生成所述第一电子控制单元的通信命令处理结果。
在一种可能的设计中,上述并行交互模块403具体用于:基于第一线程,将所述第一通信命令队列中的第i个通信命令,通过所述目标通信链路发送给第一电子控制单元;基于第二线程,处理所述第i个应答响应,并基于所述第一线程,将所述第一通信命令队列中的第(i+1)个通信命令,通过所述目标通信链路发送给所述第一电子控制单元,所述第二线程与所述第一线程为不同的线程。
在一种可能的设计中,所述通信命令用于获取所述目标车辆的故障信息;上述装置还包括报告生成模块404,用于在所述各个通信链路对应的通信命令队列中的通信命令均传输处理完毕之后,根据基于已传输的所有通信命令获取到的所有故障信息,生成所述目标车辆对应的故障检测报告。
需要说明的是,图6对应的实施例中未提及的内容可参见前述方法实施例的描述,这里不再赘述。
上述装置,在获取到车辆的车辆识别码之后,先根据车辆的车辆识别码获取车辆中的多个电子控制单元和多个电子控制单元的通信参数;然后根据多个电子控制单元各自对应的通信参数,为车辆中的多个电子控制单元创建通信链路,一个通信链路对应一种通信参数,实现了对车辆中的电子控制单元的分类,将通信参数相同的电子控制单元分配到一组,便于通信传输;最后通过创建的通信链路,与车辆中的多个电子控制单元进行并行通信命令交互,车辆中的多个电子控制单元的通信命令交互相互不存在依赖,从而可以减少通信命令交互的时长,提高与车辆中的电子控制单元进行通信的效率。
参见图7,图7是本申请实施例提供的一种计算机设备的结构示意图,该计算机设备可以为前述的汽车诊断仪101。该计算机设备50包括处理器501、存储器502以及通信接口503。存储器502和通信接口503连接至处理器501,例如通过总线连接至处理器501。
处理器501被配置为支持该计算机设备50执行上述方法实施例中的方法中相应的功能。该处理器501可以是中央处理器(central processing unit,CPU),网络处理器(network processor,NP),硬件芯片或者其任意组合。上述硬件芯片可以是专用集成电路(application specific integrated circuit,ASIC),可编程逻辑器件(programmable logic device,PLD)或其组合。上述PLD可以是复杂可编程逻辑器件(complex programmable logic device,CPLD),现场可编程逻辑门阵列(field-programmable gate array,FPGA),通用阵列逻辑(generic array logic,GAL)或其任意组合。
存储器502用于存储程序代码等。存储器502可以包括易失性存储器(volatile memory,VM),例如随机存取存储器(random access memory,RAM);存储器502也可以包括非易失性存储器(non-volatile memory,NVM),例如只读存储器(read-only memory,ROM),快闪存储器(flash memory),硬盘(hard disk drive,HDD)或固态硬盘(solid-state drive,SSD);存储器502还可以包括上述种类的存储器的组合。
通信接口503用于在处理器501的指示下发送通信命令,或者,接收通信命令对应的应答响应。通信接口503可以为硬件接口,如为USB接口等;通信接口503也可以为软件接口,如为蓝牙接口、WiFi接口等。不限于这里的限制。
处理器501可以调用所述程序代码以执行以下操作:
在获取到目标车辆的车辆识别码的情况下,根据所述车辆识别码,获取所述目标车辆中的多个电子控制单元和多个通信参数,所述多个通信参数包括所述多个电子控制单元中的每个电子控制单元对应的通信参数;
根据所述多个通信参数,为所述多个电子控制单元创建至少一个通信链路,其中,一个通信链路对应一种通信参数;
通过所述至少一个通信链路中的各个通信链路,分别与所述各个通信链路对应的电子控制单元进行并行通信命令交互。
本申请实施例还提供一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序包括程序指令,所述程序指令当被计算机执行时使所述计算机执行如前述实施例所述的方法。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only memory,ROM)或随机存储记忆体(Random Access memory,RAM)等。
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。

Claims (11)

  1. 一种通信交互方法,包括:
    在获取到目标车辆的车辆识别码的情况下,根据所述车辆识别码,获取所述目标车辆中的多个电子控制单元和多个通信参数,所述多个通信参数包括所述多个电子控制单元中的每个电子控制单元对应的通信参数;
    根据所述多个通信参数,为所述多个电子控制单元创建至少一个通信链路,其中,一个通信链路对应一种通信参数;
    通过所述至少一个通信链路中的各个通信链路,分别与所述各个通信链路对应的电子控制单元进行并行通信命令交互。
  2. 根据权利要求1所述的方法,其中,所述通过所述至少一个通信链路中的各个通信链路,分别与所述各个通信链路对应的电子控制单元进行并行通信命令交互,包括:
    根据目标通信链路对应的各个电子控制单元的通信命令,生成所述各个电子控制单元对应的通信命令队列,所述目标通信链路为所述至少一个通信链路中的任意一个通信链路,一个通信命令队列包括所述目标通信链路对应的一个电子控制单元的所有通信命令;
    通过所述目标通信链路,并行传输和处理所述各个电子控制单元对应的通信命令队列中的通信命令。
  3. 根据权利要求2所述的方法,其中,所述根据目标通信链路对应的各个电子控制单元的通信命令,生成所述各个电子控制单元对应的通信命令队列之后,所述方法还包括:
    在获取到第一电子控制单元的第一通信命令的情况下,将所述第一通信命令插入第一通信命令队列,所述第一电子控制单元为目标通信链路对应的任意一个电子控制单元,所述第一通信命令为新增的通信命令,所述第一通信命令队列为所述第一电子控制单元对应的通信命令队列。
  4. 根据权利要求3所述的方法,其中,所述将所述第一通信命令插入第一通信命令队列,包括:
    根据所述第一通信命令与所述第一通信命令队列中的通信命令之间的时序先后关系,将所述第一通信命令插入到所述第一通信命令队列中与所述第一通信命令的时序对应的位置。
  5. 根据权利要求2所述的方法,其中,所述通过所述目标通信链路,并行传输和处理所述各个电子控制单元对应的通信命令队列中的通信命令,包括:
    将第一通信命令队列中的第i个通信命令,通过所述目标通信链路发送给第一电子控制单元,所述第一电子控制单元为所述第一通信命令队列对应的电子控制单元,所述第一电子控制单元为所述目标通信链路对应的任意一个电子控制单元,1≤i≤N,N为所述第一通信命令队列中的通信命令的总数量;
    在接收到所述第一电子控制单元发送的所述第i个通信命令对应的第i个应答响应的情况下,处理所述第i个应答响应,并将所述第一通信命令队列中的第(i+1)个通信命令,通过所述目标通信链路发送给所述第一电子控制单元。
  6. 根据权利要求5所述的方法,其中,所述方法还包括:
    在接收到所述第一通信命令队列中的最后一个通信命令对应的应答响应之后,根据所述第一通信命令队列对应的所有应答响应的处理结果,生成所述第一电子控制单元的通信命令处理结果。
  7. 根据权利要求5所述的方法,其中,所述将所述第一通信命令队列中的第i个通信命令,通过所述目标通信链路发送给第一电子控制单元,包括:
    基于第一线程,将所述第一通信命令队列中的第i个通信命令,通过所述目标通信链路发送给第一电子控制单元;
    所述处理所述第i个应答响应,并将所述第一通信命令队列中的第(i+1)个通信命令,包括:
    基于第二线程,处理所述第i个应答响应,并基于所述第一线程,将所述第一通信命令队列中的第(i+1)个通信命令,通过所述目标通信链路发送给所述第一电子控制单元,所述第二线程与所述第一线程为不同的线程。
  8. 根据权利要求2-7任一项所述的方法,其中,所述通信命令用于获取所述目标车辆的故障信息;
    所述方法还包括:
    在所述各个通信链路对应的通信命令队列中的通信命令均传输处理完毕之后,根据基于已传输的所有通信命令获取到的所有故障信息,生成所述目标车辆对应的故障检测报告。
  9. 一种通信交互装置,其中,包括:
    配置获取模块,用于在获取到目标车辆的车辆识别码的情况下,根据所述车辆识别码,获取所述目标车辆中的多个电子控制单元和多个通信参数,所述多个通信参数包括所述多个电子控制单元中的每个电子控制单元对应的通信参数;
    链路创建模块,用于根据所述多个通信参数,为所述多个电子控制单元创建至少一个通信链路,其中,一个通信链路对应一种通信参数;
    并行交互模块,用于通过所述至少一个通信链路中的各个通信链路,分别与所述各个通信链路对应的电子控制单元进行并行通信命令交互。
  10. 一种计算机设备,其中,包括存储器、处理器以及通信接口,所述通信接口和所述存储器连接至所述处理器,所述处理器用于执行存储在所述存储器中的一个或多个计算机程序,所述处理器在执行所述一个或多个计算机程序时,使得所述计算机设备实现如权利要求1-8任一项所述的方法。
  11. 一种计算机可读存储介质,其中,所述计算机可读存储介质存储有计算机程序,所述计算机程序包括程序指令,所述程序指令当被处理器执行时使所述处理器执行如权利要求1-8任一项所述的方法。
PCT/CN2023/130107 2022-11-21 2023-11-07 通信交互方法、装置、设备及存储介质 Ceased WO2024109535A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP23893626.4A EP4601264A4 (en) 2022-11-21 2023-11-07 METHOD AND APPARATUS FOR COMMUNICATION INTERACTION, DEVICE AND STORAGE MEDIA
US19/215,147 US20250286750A1 (en) 2022-11-21 2025-05-21 Communication interaction method, apparatus, device, and storage medium

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202211458449.3A CN115733871A (zh) 2022-11-21 2022-11-21 通信交互方法、装置、设备及存储介质
CN202211458449.3 2022-11-21

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US19/215,147 Continuation US20250286750A1 (en) 2022-11-21 2025-05-21 Communication interaction method, apparatus, device, and storage medium

Publications (1)

Publication Number Publication Date
WO2024109535A1 true WO2024109535A1 (zh) 2024-05-30

Family

ID=85297491

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/130107 Ceased WO2024109535A1 (zh) 2022-11-21 2023-11-07 通信交互方法、装置、设备及存储介质

Country Status (4)

Country Link
US (1) US20250286750A1 (zh)
EP (1) EP4601264A4 (zh)
CN (1) CN115733871A (zh)
WO (1) WO2024109535A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115733871A (zh) * 2022-11-21 2023-03-03 深圳市道通科技股份有限公司 通信交互方法、装置、设备及存储介质

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108536121A (zh) * 2018-03-16 2018-09-14 深圳市道通科技股份有限公司 逻辑通道的建立方法、装置和交通工具通信接口vci
CN112034819A (zh) * 2020-08-14 2020-12-04 深圳市元征科技股份有限公司 一种车辆诊断方法、车辆诊断装置及诊断设备
US20210012587A1 (en) * 2018-01-25 2021-01-14 Autel Intelligent Technology Corp., Ltd. Automobile diagnostic method, apparatus and vehicle communication interface
CN112286170A (zh) * 2020-10-29 2021-01-29 深圳市元征科技股份有限公司 车辆ecu刷写方法、装置、设备及存储介质
CN112927392A (zh) * 2021-01-19 2021-06-08 深圳市元征科技股份有限公司 一种通信方法、车辆通信接口装置及可读存储介质
CN113985841A (zh) * 2021-10-26 2022-01-28 深圳市元征科技股份有限公司 车辆故障检测的方法、装置、电子设备及存储介质
CN114879630A (zh) * 2022-04-25 2022-08-09 深圳市元征科技股份有限公司 车辆故障诊断方法、装置、设备及可读存储介质
CN115733871A (zh) * 2022-11-21 2023-03-03 深圳市道通科技股份有限公司 通信交互方法、装置、设备及存储介质

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104181839A (zh) * 2014-08-07 2014-12-03 深圳市元征科技股份有限公司 一种车辆实时行车数据处理方法和装置
CN106970609A (zh) * 2017-04-22 2017-07-21 深圳市元征科技股份有限公司 车辆诊断盒的诊断方法及车辆诊断盒
CN110850841A (zh) * 2019-10-30 2020-02-28 深圳市元征科技股份有限公司 故障诊断方法和相关装置
JP7033580B2 (ja) * 2019-12-27 2022-03-10 本田技研工業株式会社 車両及びソフトウェア更新方法
CN113366399B (zh) * 2019-12-30 2024-09-20 深圳元戎启行科技有限公司 基于远程接管的车辆控制方法、装置和计算机设备
CN111600883A (zh) * 2020-05-15 2020-08-28 深圳市元征科技股份有限公司 一种车辆诊断方法、系统及电子设备和存储介质
CN111880515A (zh) * 2020-07-30 2020-11-03 深圳市元征科技股份有限公司 一种车辆系统扫描方法以及相关装置
CN113934198B (zh) * 2021-10-19 2025-02-14 深圳市元征科技股份有限公司 车辆诊断方法、装置、电子设备及存储介质
CN113978394B (zh) * 2021-10-26 2024-06-07 深圳市元征科技股份有限公司 车辆故障检测的方法、装置、电子设备及存储介质
CN114296428A (zh) * 2021-12-22 2022-04-08 深圳市元征科技股份有限公司 一种车辆诊断方法、装置、电子设备及存储介质

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20210012587A1 (en) * 2018-01-25 2021-01-14 Autel Intelligent Technology Corp., Ltd. Automobile diagnostic method, apparatus and vehicle communication interface
CN108536121A (zh) * 2018-03-16 2018-09-14 深圳市道通科技股份有限公司 逻辑通道的建立方法、装置和交通工具通信接口vci
CN112034819A (zh) * 2020-08-14 2020-12-04 深圳市元征科技股份有限公司 一种车辆诊断方法、车辆诊断装置及诊断设备
CN112286170A (zh) * 2020-10-29 2021-01-29 深圳市元征科技股份有限公司 车辆ecu刷写方法、装置、设备及存储介质
CN112927392A (zh) * 2021-01-19 2021-06-08 深圳市元征科技股份有限公司 一种通信方法、车辆通信接口装置及可读存储介质
CN113985841A (zh) * 2021-10-26 2022-01-28 深圳市元征科技股份有限公司 车辆故障检测的方法、装置、电子设备及存储介质
CN114879630A (zh) * 2022-04-25 2022-08-09 深圳市元征科技股份有限公司 车辆故障诊断方法、装置、设备及可读存储介质
CN115733871A (zh) * 2022-11-21 2023-03-03 深圳市道通科技股份有限公司 通信交互方法、装置、设备及存储介质

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP4601264A4 *

Also Published As

Publication number Publication date
EP4601264A1 (en) 2025-08-13
US20250286750A1 (en) 2025-09-11
EP4601264A4 (en) 2026-01-21
CN115733871A (zh) 2023-03-03

Similar Documents

Publication Publication Date Title
CN114137937B (zh) 一种自动化诊断功能测试方法及系统
CN108107875B (zh) 一种汽车诊断方法、装置和车辆通讯接口
CN113189970B (zh) Can总线控制器的硬件在环自动测试方法、系统及存储介质
CN112463190A (zh) 一种车辆升级方法和装置
CN109947465B (zh) 一种数据处理方法及系统
CN110324281B (zh) 一种车载网络控制器刷新系统及方法
CN108521459A (zh) 交通工具的诊断方法、相关设备和系统
CN116319499B (zh) 车辆的诊断方法、装置、电子设备及存储介质
WO2022041720A1 (zh) 一种基于uds的通信方法、ecu及上位机
CN111775864A (zh) 远程调试方法、系统以及车辆
CN104461610A (zh) 平台化的多ecu在线刷写方法
CN115118577A (zh) 远程升级异常原因确定方法、装置、电子设备及存储介质
CN113406944B (zh) 车辆诊断方法、装置、设备及计算机可读存储介质
CN113934198A (zh) 车辆诊断方法、装置、电子设备及存储介质
CN108803577A (zh) 一种诊断方法、上位机及下位机
CN110554937A (zh) 车辆用软件诊断系统以及其操作方法
CN113468070A (zh) 车载以太网的一致性测试方法
US20250286750A1 (en) Communication interaction method, apparatus, device, and storage medium
CN115840434B (zh) 一种车辆ecu识别方法、装置及相关设备
CN115344030B (zh) 一种汽车故障诊断系统及方法
CN115202323B (zh) 车辆的服务请求管理方法、装置、车辆及介质
CN116954653A (zh) 一种车辆ecu的升级方法、装置、计算机设备和存储介质
KR102154279B1 (ko) 차량용 디버깅 시스템의 동작 방법
CN116775375A (zh) 数据存储的方法和系统
CN117857341A (zh) 一种车端ota并行刷写方法、车辆、介质及设备

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: 23893626

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 2023893626

Country of ref document: EP

ENP Entry into the national phase

Ref document number: 2023893626

Country of ref document: EP

Effective date: 20250508

NENP Non-entry into the national phase

Ref country code: DE

WWP Wipo information: published in national office

Ref document number: 2023893626

Country of ref document: EP