CN114326673A - Vehicle remote diagnosis method and device, connector and storage medium - Google Patents

Vehicle remote diagnosis method and device, connector and storage medium Download PDF

Info

Publication number
CN114326673A
CN114326673A CN202111634831.0A CN202111634831A CN114326673A CN 114326673 A CN114326673 A CN 114326673A CN 202111634831 A CN202111634831 A CN 202111634831A CN 114326673 A CN114326673 A CN 114326673A
Authority
CN
China
Prior art keywords
vehicle
connector
target
baud rate
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111634831.0A
Other languages
Chinese (zh)
Inventor
刘均
李森
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Launch Technology Co Ltd
Original Assignee
Shenzhen Launch Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Launch Technology Co Ltd filed Critical Shenzhen Launch Technology Co Ltd
Priority to CN202111634831.0A priority Critical patent/CN114326673A/en
Publication of CN114326673A publication Critical patent/CN114326673A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Abstract

The application is applicable to the technical field of automotive electronics, and provides a serial port rate processing method and device for remote diagnosis, electronic equipment and a storage medium. The method comprises the following steps: establishing a communication connection with a diagnostic connector, wherein the diagnostic connector is in communication connection with a diagnostic device; acquiring vehicle information of a vehicle to be diagnosed; determining target configuration information according to the vehicle information; informing the diagnosis connector of target configuration information so that the diagnosis connector performs baud rate configuration according to the target configuration information; carrying out baud rate configuration according to the target configuration information; and diagnosing the vehicle to be diagnosed according to the configured baud rate. The technical scheme provided by the application enables the serial port to adapt to the speed of different buses, namely, the serial port is adjusted to different transmission speeds along with different types of the buses, so that various problems in the prior art are avoided.

Description

Vehicle remote diagnosis method and device, connector and storage medium
Technical Field
The application belongs to the technical field of automotive electronics, and particularly relates to a vehicle remote diagnosis method, device, connector and storage medium.
Background
With the popularization of vehicles and the development of communication technology, when the vehicle is diagnosed, the diagnosis can be performed remotely. The remote diagnosis of the vehicle generally comprises the steps that a first joint serving as a client is inserted into a target vehicle, and data are interacted between a central processing unit of the first joint and a single chip microcomputer through a serial port between the central processing unit and the single chip microcomputer; a second connector as a server is inserted on the diagnostic instrument, and data are exchanged between the central processing unit of the second connector and the singlechip through serial ports between the central processing unit and the singlechip; the first joint and the second joint interact data through the cloud platform, and the diagnosis process is completed. When the serial port between the central processing unit of the first joint or the second joint and the singlechip exchanges data, the speed of the bus in the target vehicle is not considered. Once the vehicle plugged in the first connector is not the previous target vehicle, it means that the bus rate of the vehicle may change, and thus, when the serial port still uses the original data rate, the data may be lost during transmission.
Disclosure of Invention
The embodiment of the application provides a vehicle remote diagnosis method, a vehicle remote diagnosis device, a connector and a storage medium, so that a serial port can adapt to the speed of different buses.
In a first aspect, an embodiment of the present application provides a vehicle remote diagnosis method, which is applied to a vehicle remote diagnosis system, where the vehicle remote diagnosis system includes a diagnosis device, a diagnosis connector, and a vehicle connector, the diagnosis device is communicatively connected to the diagnosis connector, and the vehicle connector is communicatively connected to a vehicle to be diagnosed, and the method includes:
establishing a communication connection of the vehicle connector with the diagnostic connector;
the vehicle connector acquires vehicle information of the vehicle to be diagnosed;
the vehicle connector determines target configuration information according to the vehicle information;
the vehicle connector notifying the diagnostic connector of the target configuration information;
the vehicle connector and the diagnosis connector carry out baud rate configuration according to the target configuration information;
and the vehicle remote diagnosis system diagnoses the vehicle to be diagnosed according to the configured baud rate.
In a second aspect, another embodiment of the present application provides a vehicle remote diagnosis method, which is applied to a vehicle connector communicatively connected to a vehicle to be diagnosed, and includes:
establishing a communication connection with a diagnostic connector, the diagnostic connector being in communication connection with a diagnostic device;
acquiring vehicle information of the vehicle to be diagnosed;
determining target configuration information according to the vehicle information;
notifying the target configuration information to the diagnostic connector so that the diagnostic connector performs baud rate configuration according to the target configuration information;
carrying out baud rate configuration according to the target configuration information;
and diagnosing the vehicle to be diagnosed according to the configured baud rate.
In a third aspect, another embodiment of the present application provides a vehicle remote diagnosis method applied to a diagnosis connector, where the diagnosis connector is communicatively connected to a diagnosis device, including:
establishing communication connection with a vehicle connector, wherein the vehicle connector is in communication connection with a vehicle to be diagnosed;
acquiring a notification of the vehicle connector, wherein the notification comprises target configuration information, the target configuration information is determined by the vehicle connector according to the vehicle information, and the vehicle information is acquired from the vehicle to be diagnosed by the vehicle connector;
carrying out baud rate configuration according to the target configuration information;
and diagnosing the vehicle to be diagnosed according to the configured baud rate.
In a fourth aspect, the present application provides a vehicle connector, which includes a memory, a processor, and a computer program stored in the memory and capable of running on the processor, and when the processor executes the computer program, the method of the second aspect is implemented.
In a fifth aspect, an embodiment of the present application provides a diagnostic connector, which includes a memory, a processor, and a computer program stored in the memory and capable of running on the processor, and when the processor executes the computer program, the method according to the above technical solution of the third aspect is implemented.
In a sixth aspect, an embodiment of the present application provides a computer-readable storage medium, including: the computer readable storage medium stores a computer program which, when executed by a processor, performs the method steps of the first aspect described above.
In a seventh aspect, this application provides a computer program product, which when run on an electronic device, causes the electronic device to perform the method steps of the first aspect.
According to the technical scheme, after the target configuration information is determined according to the vehicle information, on one hand, the target configuration information is notified to the diagnosis connector so that the diagnosis connector can carry out baud rate configuration according to the target configuration information, on the other hand, the vehicle connector also carries out baud rate configuration according to the target configuration information, in other words, the transmission rate of a serial port between a central processing unit of the vehicle connector or the diagnosis connector and a single chip microcomputer can be always matched with the rate which can be supported by a bus of a target vehicle, therefore, when the bus type of the vehicle is changed, the transmission rate of the serial port between the central processor of the vehicle connector or the diagnosis connector and the singlechip is matched with the rate supported by the changed bus type, so that the serial port can adapt to the rates of different buses, i.e., to different transfer rates, depending on the type of bus, thereby avoiding the problems of the prior art.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
FIG. 1-a is a schematic flow chart diagram of a vehicle remote diagnosis method provided by an embodiment of the present application;
1-b is a schematic structural diagram of a vehicle remote diagnosis system provided by an embodiment of the application;
FIG. 2 is a schematic flow chart diagram illustrating a vehicle remote diagnosis method provided by an embodiment of the present application;
FIG. 3 is a schematic flow chart diagram illustrating a method for remote vehicle diagnostics provided in accordance with another embodiment of the present application;
FIG. 4 is a schematic structural diagram of a vehicle remote diagnosis device provided in an embodiment of the present application;
fig. 5 is a schematic structural diagram of a vehicle remote diagnosis device according to another embodiment of the present application;
FIG. 6 is a schematic structural diagram of a vehicle connector provided in an embodiment of the present application;
fig. 7 is a schematic structural diagram of a diagnostic connector provided in an embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It should also be understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
As used in this specification and the appended claims, the term "if" may be interpreted contextually as "when", "upon" or "in response to" determining "or" in response to detecting ". Similarly, the phrase "if it is determined" or "if a [ described condition or event ] is detected" may be interpreted contextually to mean "upon determining" or "in response to determining" or "upon detecting [ described condition or event ]" or "in response to detecting [ described condition or event ]".
Furthermore, in the description of the present application and the appended claims, the terms "first," "second," "third," and the like are used for distinguishing between descriptions and not necessarily for describing or implying relative importance.
Reference throughout this specification to "one embodiment" or "some embodiments," or the like, means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the present application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," or the like, in various places throughout this specification are not necessarily all referring to the same embodiment, but rather "one or more but not all embodiments" unless specifically stated otherwise. The terms "comprising," "including," "having," and variations thereof mean "including, but not limited to," unless expressly specified otherwise.
Currently, in a vehicle remote diagnosis method, a vehicle connector reads vehicle information through a vehicle bus, then data is transmitted to a diagnosis connector through a server, and the diagnosis connector transmits the data to a diagnosis device, so that remote diagnosis is realized. However, a problem of untimely transmission occurs when the communication protocol employed by the vehicle uses a data transmission rate that is not compatible with the vehicle connector or the diagnostic connector. At present, aiming at untimely transmission, two main solutions are provided, one is to increase the buffer area of the MCU of the joint, however, on one hand, the MCU usually has no large memory space, so the space for increasing the buffer area is limited, and when continuous big data still can cause data loss; on the other hand, even if the buffer is large enough, the data cannot be buffered in time for forwarding through the serial port in the future, but still causes data delay, and remote diagnosis has a high requirement on data delay, which usually cannot exceed 50 milliseconds, so that the remote diagnosis fails due to the delay even if data is not lost. The other method is to improve the baud rate of the serial port, although the method can solve the problems of data loss and transmission delay, on one hand, the higher the rate is, the higher the error rate is, the worse the anti-interference capability is, and the worse the power supply environment of the vehicle is, the more easily interfered; on the other hand, when the baud rate of the serial port is increased, if the bus of the vehicle does not support the increased baud rate, the remote diagnosis may fail due to the increase of the bit error rate, and therefore, it is not preferable to increase the baud rate of the serial port at once.
In view of the above problems in the prior art, the present application provides a method and an apparatus for vehicle remote diagnosis, an electronic device, and a storage medium, so that a serial port can adapt to the rates of different buses.
Fig. 1-a illustrates a vehicle remote diagnosis method provided in an embodiment of the present application, which is applicable to the vehicle remote diagnosis system illustrated in fig. 1-b, wherein the vehicle remote diagnosis system includes a diagnosis device 101, a diagnosis connector 102, and a vehicle connector 103, the diagnosis device 101 is communicatively connected to the diagnosis connector 102, the vehicle connector 103 is communicatively connected to a vehicle 104 to be diagnosed, and the vehicle connector 103 and the diagnosis connector 102 can communicate via a network 105, for example, a cloud server. The method illustrated in fig. 1-a mainly comprises steps S101 to S106, which are explained as follows:
step S101: a communication connection of the vehicle connector with the diagnostic connector is established.
In the embodiment of the present application, the communication connection between the vehicle connector and the diagnostic connector may be performed through the network illustrated in fig. 1-b, firstly, the vehicle connector and a server (cloud server) of the network establish the communication connection through two or three handshakes, and secondly, the diagnostic connector and the server of the network also establish the communication connection through two or three handshakes, so as to establish the communication connection between the vehicle connector and the diagnostic connector.
Step S102: the vehicle connector acquires vehicle information of a vehicle to be diagnosed.
The vehicle connector acquires vehicle information of the vehicle to be diagnosed including vehicle type information and/or vehicle bus configuration information of the vehicle to be diagnosed, and the like.
Step S103: the vehicle connector determines target configuration information from the vehicle information.
In this embodiment of the application, the target configuration information may be a download path of a configuration file corresponding to the vehicle type information, or a configuration file generated according to the vehicle bus configuration information.
Step S104: the vehicle connector notifies the diagnostic connector of the target configuration information.
The vehicle connector notifies the diagnosis connector of the target configuration information mainly comprises two situations of direct notification and indirect notification, wherein the direct notification means that the vehicle connector directly sends the target configuration information to the diagnosis connector, and the indirect notification means that the vehicle connector sends the vehicle information to a server on a network side, and the server inquires the corresponding target configuration information and then sends the target configuration information to the diagnosis connector or the diagnosis connector downloads the target configuration information from the server.
Step S105: the vehicle connector and the diagnostic connector perform baud rate configuration according to the target configuration information.
Specifically, on the side of the vehicle connector, when a target vehicle bus protocol is consistent with a bus protocol preset by the vehicle connector, carrying out baud rate configuration according to a baud rate corresponding to the bus protocol preset by the vehicle connector, otherwise, carrying out baud rate configuration according to a target baud rate corresponding to the target vehicle bus protocol; on the side of the diagnosis connector, when the bus protocol of the target vehicle is consistent with the bus protocol preset by the diagnosis connector, carrying out baud rate configuration according to the baud rate corresponding to the bus protocol preset by the diagnosis connector, otherwise, carrying out baud rate configuration according to the target baud rate corresponding to the bus protocol of the target vehicle.
Step S106: and the vehicle remote diagnosis system diagnoses the vehicle to be diagnosed according to the configured baud rate.
Specifically, the step S106 may be implemented by the diagnostic device sending a diagnostic instruction to the diagnostic connector, the diagnostic connector transmitting the diagnostic instruction to the vehicle connector through remote communication, the vehicle connector reading vehicle data of the vehicle to be diagnosed according to the diagnostic instruction and then feeding the vehicle data back to the diagnostic connector through remote communication, the diagnostic connector feeding back to the diagnostic device, the diagnostic device analyzing the vehicle data and obtaining a diagnostic result, and the diagnostic result may be fed back to the side of the vehicle connector through communication connection between the vehicle connector and the diagnostic connector.
As can be seen from the above-mentioned technical solutions illustrated in fig. 1-a, after determining the target configuration information according to the vehicle information, on one hand, the target configuration information is notified to the diagnostic connector so as to configure the baud rate according to the target configuration information, and on the other hand, the vehicle connector also configures the baud rate according to the target configuration information, in other words, the transmission rate of the serial port between the central processor of the vehicle connector or the diagnostic connector and the single chip microcomputer can always match the rate that can be supported by the bus of the target vehicle, so when the bus type of the vehicle changes, the transmission rate of the serial port between the central processor of the vehicle connector or the diagnostic connector and the single chip microcomputer will match the rate that is supported by the changed bus type, so that the serial port can adapt to the rates of different buses, that is, the serial port can be adjusted to different transmission rates according to different bus types, thereby avoiding the problems of the prior art.
Fig. 2 illustrates a vehicle remote diagnosis method provided by the embodiment of the application, which is applicable to a vehicle connector, and the vehicle connector is in communication connection with a vehicle to be diagnosed. The vehicle remote diagnosis method illustrated in fig. 2 mainly includes steps S201 to S206, which are explained as follows:
step S201: a communication connection is established with a diagnostic connector, wherein the diagnostic connector is in communication with the diagnostic device.
Before or during the communication connection with the diagnostic connector, the microcontroller of the vehicle connector may be reset, and the serial port is set to the default transmission rate, where the serial port is a data transmission interface between the central processing unit of the vehicle connector and the microcontroller. The reason for setting the serial port, namely the data transmission interface between the central processing unit of the vehicle connector and the microcontroller, as the default transmission rate is to consider that the rate of the bus of most vehicles, such as a CAN bus, is matched with the default transmission rate, or a large amount of data is not transmitted before the remote diagnosis is started, so that the command for configuring the vehicle CAN be ensured to be reliable by setting the serial port as the default transmission rate, and the user experience is not influenced. As for the method for resetting the microcontroller of the vehicle connector, the method may specifically be to pull the reset pin of the microprocessor to a low level, keep the low level for a period of time, then pull the reset pin of the microprocessor to a high level, and finally set the serial port to a default transmission rate, for example, a rate matching with a conventional CAN bus of the vehicle. It should be noted that the default serial port transmission rate set here may be a default baud rate.
As for establishing the communication connection with the diagnostic connector, in the embodiment of the present application, the communication connection may be an indirect communication connection or a direct communication connection, where the indirect communication connection includes a communication connection established through a server (a physical server or a cloud server), data interaction between the vehicle diagnostic device and the diagnostic connector is performed through the server, and the direct communication connection does not have a relay device between the vehicle diagnostic device and the diagnostic connector, but directly interacts in a Peer-to-Peer (P2P) communication manner. On the other hand, if the communication connection between the vehicle diagnostic device and the diagnostic connector is described from the perspective of connection, both may be wired networks or wireless networks, including mobile communication networks such as 4G, 5G, or 6G.
Step S202: vehicle information of a vehicle to be diagnosed is acquired.
In the embodiment of the present application, the vehicle information of the vehicle to be diagnosed mainly includes vehicle type information of the vehicle to be diagnosed or vehicle bus configuration information of the vehicle to be diagnosed, and the like, where the vehicle type information of the vehicle to be diagnosed mainly refers to what vehicle type the vehicle to be diagnosed belongs to, and the vehicle bus configuration information of the vehicle to be diagnosed mainly includes bus types supported by the vehicle to be diagnosed, for example, a high-speed CAN bus, a medium-speed CAN bus, a low-speed CAN bus, and/or a CAN FD bus, and the like. One method of acquiring vehicle information of a vehicle to be diagnosed may be: analyzing a Vehicle Identification Number (VIN) of a Vehicle Electronic Control Unit (ECU) to be diagnosed to determine Vehicle type information of the Vehicle to be diagnosed; and determining whether a communication protocol of the vehicle supports a CAN bus or a CAN FD bus according to the vehicle type information of the vehicle to be diagnosed, wherein if the CAN bus is supported, communication attempts with the vehicle to be diagnosed at different speeds are carried out through a vehicle connector, for example, 250k, 500k, 125k or 1M (the unit is bit/s), and after the communication attempts are normal, whether the corresponding CAN bus is a high-speed CAN bus, a medium-speed CAN bus or a low-speed CAN bus is determined.
Step S203: target configuration information is determined based on the vehicle information.
As described above, the vehicle information includes the model information of the vehicle to be diagnosed or the vehicle bus configuration information of the vehicle to be diagnosed. When the vehicle information is the vehicle type information of the vehicle to be diagnosed, as an embodiment of the present application, determining the target configuration information according to the vehicle information may be: sending the vehicle type information to a server so that the server searches a configuration file corresponding to the vehicle type information in a preset vehicle type configuration file database according to the vehicle type information; and determining a download path of the configuration file corresponding to the vehicle type information as target configuration information. Obviously, in the above embodiment, the server has pre-stored the configuration file corresponding to the vehicle type information, so that the server can search the configuration file corresponding to the vehicle type information in the preset vehicle type configuration file database according to the vehicle type information sent by the vehicle connector.
When the vehicle information is the vehicle bus configuration information of the vehicle to be diagnosed, as another embodiment of the present application, the determining the target configuration information according to the vehicle information may be: generating a configuration file according to the vehicle bus configuration information; and determining the generated configuration file as target configuration information. Different from the foregoing embodiment, in this embodiment, the server does not pre-store the configuration file corresponding to the vehicle type information, so that the vehicle bus configuration information of the vehicle to be diagnosed can only be read by the vehicle connector, then the configuration file is generated according to the vehicle bus configuration information of the vehicle to be diagnosed, and finally, the generated configuration file is determined as the target configuration information.
Step S204: and informing the target configuration information to the diagnosis connector so that the diagnosis connector carries out baud rate configuration according to the target configuration information.
In the embodiment of the application, the informing of the target configuration information to the diagnosis connector mainly includes two situations, namely direct informing and indirect informing, wherein the direct informing means that the vehicle connector directly sends the target configuration information to the diagnosis connector, the indirect informing means that the vehicle connector sends the vehicle information to a server on a network side, the server queries a configuration file corresponding to the vehicle type information in a preset vehicle type configuration file database according to the vehicle type information, determines the target configuration information and then sends the target configuration information to the diagnosis connector or the diagnosis connector downloads the target configuration information from the server, and the diagnosis connector performs baud rate configuration according to the target configuration information.
Step S205: and carrying out baud rate configuration according to the target configuration information.
Different from the prior art that the transmission rate of a serial port (a data transmission interface between a central processing unit of a diagnosis connector or a vehicle connector and a microcontroller) is improved uniformly, so that the error rate is improved, the technical scheme of the application does not improve the transmission rate of the serial port uniformly, but performs baud rate configuration according to target configuration information, and sets the transmission rate of the serial port to be the rate corresponding to bus configuration information of a vehicle to be diagnosed. Therefore, when the transmission rate of the serial port does not need to be increased or the bus of the vehicle to be diagnosed is matched with the default transmission rate of the serial port, the error rate caused by the increase of the transmission rate of the serial port can be avoided.
Specifically, as an embodiment of the present application, the performing baud rate configuration according to the target configuration information may be: determining a target configuration file according to the target configuration information; analyzing the target configuration file to obtain a target vehicle bus protocol; judging whether a bus protocol of the target vehicle is consistent with a bus protocol preset by a vehicle connector; if the bus protocol is consistent with the bus protocol preset by the vehicle connector, carrying out baud rate configuration according to the baud rate corresponding to the bus protocol preset by the vehicle connector; and if the bus rate is inconsistent with the target bus rate, carrying out baud rate configuration according to the target baud rate corresponding to the target bus protocol. For example, if the bus type supported by the target vehicle bus protocol is a CAN bus, the transmission rate of the serial port is kept as the default transmission rate; and if the bus type supported by the target vehicle bus protocol is the CAN FD bus, switching the transmission rate of the serial port to the transmission rate corresponding to the CAN FD bus through the interaction between the central processing unit of the vehicle connector and the microcontroller. It should be noted here that even if the bus type supported by the target vehicle bus protocol is a CAN bus, since the CAN bus further includes a high-speed CAN bus, a medium-speed CAN bus or a low-speed CAN bus, when the bus type supported by the target vehicle bus protocol is a CAN bus, communication attempts at different speeds, for example, 250k, 500k, 125k or 1M (the unit is bit/s) are performed with the vehicle to be diagnosed through the vehicle connector, and when the communication attempts are normal, it is determined whether the corresponding CAN bus is the high-speed CAN bus, the medium-speed CAN bus or the low-speed CAN bus. In the above embodiment, the baud rate configuration according to the baud rate corresponding to the target vehicle bus protocol may specifically be: judging whether the vehicle connector supports the target baud rate or not; if so, carrying out baud rate configuration according to the target baud rate; if not, returning failure information. Specifically, a rate switch command may be sent to the microcontroller through the central processor of the vehicle connector; and if the confirmation response returned by the microcontroller is received, the transmission rate of the serial port between the central processing unit and the microcontroller is switched to the transmission rate corresponding to the CAN FD bus through the central processing unit. After confirming that the bus type supported by the target vehicle is the CAN FD bus, the central processing unit sends a speed switching command to the microcontroller, and then waits for the response of the microcontroller. If the microcontroller supports the transmission rate to be switched, namely the transmission rate corresponding to the CAN FD bus, the transmission rate of the serial port is switched to the transmission rate corresponding to the CAN FD bus, meanwhile, a confirmation response is returned to the microcontroller, the confirmation response indicates that the microcontroller supports the transmission rate corresponding to the CAN FD bus and successfully switches the transmission rate of the serial port to the transmission rate corresponding to the CAN FD bus, and otherwise, a failure response indicates that the microcontroller does not support the transmission rate corresponding to the CAN FD bus and/or does not switch the transmission rate of the serial port to the transmission rate corresponding to the CAN FD bus. And the central processing unit receives the confirmation response returned by the microcontroller, and switches the transmission rate of the serial port to the transmission rate corresponding to the CAN FD bus.
Step S206: and diagnosing the vehicle to be diagnosed according to the configured baud rate.
Specifically, the diagnostic device may send diagnostic instructions to the diagnostic connector at the configured baud rate, and the diagnostic connector transmits the diagnostic instructions to the vehicle connector via remote communication. And after reading the vehicle data of the vehicle to be diagnosed according to the diagnosis instruction, the vehicle connector feeds the vehicle data back to the diagnosis connector through remote communication according to the configured baud rate, the diagnosis connector feeds back the vehicle data to the diagnosis equipment, the diagnosis equipment analyzes the vehicle data and obtains a diagnosis result, and the diagnosis result can be fed back to one side of the vehicle connector through the communication connection between the vehicle connector and the diagnosis connector.
As can be seen from the vehicle remote diagnosis method illustrated in fig. 2, after the target configuration information is determined according to the vehicle information, on one hand, the target configuration information is notified to the diagnosis connector to configure the baud rate according to the target configuration information, and on the other hand, the vehicle connector also configures the baud rate according to the target configuration information, in other words, the transmission rate of the serial port between the central processing unit of the vehicle connector or the diagnosis connector and the single chip microcomputer can always match with the rate that can be supported by the bus of the target vehicle, so when the bus type of the vehicle changes, the transmission rate of the serial port between the central processing unit of the vehicle connector or the diagnosis connector and the single chip microcomputer matches with the rate that is supported by the changed bus type, so that the serial port can adapt to the rates of different buses, that is, the serial port can be adjusted to different transmission rates according to different bus types, thereby avoiding the problems of the prior art.
Fig. 3 illustrates a vehicle remote diagnosis method provided in another embodiment of the present application, which is applicable to a diagnosis connector, the diagnosis connector being communicatively connected to a diagnosis device, and the method includes steps S301 to S304, which are described in detail as follows:
step S301: and establishing a communication connection with a vehicle connector, wherein the vehicle connector is in communication connection with the vehicle to be diagnosed.
Similar to the previous embodiment, before or while establishing the communication connection with the vehicle connector, the microcontroller of the diagnostic connector may be reset, setting the serial port as the default transmission rate, wherein the serial port is the data transmission interface between the central processor of the diagnostic connector and the microcontroller. The reason for setting the serial port, i.e., the data transmission interface between the central processing unit of the diagnostic connector and the microcontroller, as the default transmission rate is to consider that the rate of the bus of most vehicles, such as a CAN bus, is matched with the default transmission rate, or a large amount of data is not transmitted before the remote diagnosis is started, so that the command for configuring the vehicle CAN be ensured to be reliable by setting the serial port as the default transmission rate, and the user experience is not influenced. As for the method of resetting the microcontroller of the diagnostic connector, the reset pin of the microprocessor may be first pulled to a low level, the low level is maintained for a period of time, then the reset pin of the microprocessor is pulled to a high level, and finally the serial port is set to a default transmission rate, for example, a rate matching the conventional CAN bus of the vehicle. It should be noted that the default serial port transmission rate set here may be a default baud rate. In addition, the communication connection established with the vehicle connector may be an indirect communication connection or a direct communication connection, wherein the indirect communication connection includes a communication connection established through a server (a physical server or a cloud server), data interaction between the diagnosis connector and the vehicle diagnostic device is performed through the server, and the direct communication connection has no relay equipment between the diagnosis connector and the vehicle diagnostic device, but directly interacts in a P2P communication manner. On the other hand, if the communication connection between the diagnostic connector and the vehicle diagnostic device is described from the perspective of connection, the two may be wired networks or wireless networks, including mobile communication networks such as 4G, 5G, or 6G.
Step S302: and acquiring the notification of the vehicle connector, wherein the notification of the vehicle connector comprises target configuration information, the target configuration information is determined by the vehicle connector according to the vehicle information, and the vehicle information is acquired by the vehicle connector from the vehicle to be diagnosed.
In the embodiment of the application, the method for acquiring the notification of the vehicle connector by the diagnosis connector mainly comprises a direct mode and an indirect mode, wherein the direct mode is that the vehicle connector directly sends the target configuration information, the diagnosis connector receives the target configuration information, and the indirect mode is that the server notifies the diagnosis connector, and the diagnosis connector downloads the target configuration information from the server or the server sends the target configuration information to the diagnosis connector. It should be noted that the target configuration information includes a download path of the target configuration file or the target configuration file.
Step S303: and carrying out baud rate configuration according to the target configuration information.
As previously mentioned, the target configuration information includes a download path of the target configuration file or the target configuration file. When the target configuration information is a download path of the target configuration file, as an embodiment of the present application, performing baud rate configuration according to the target configuration information may be: downloading the target configuration file according to the download path of the target configuration file; analyzing the target configuration file to obtain a target vehicle bus protocol; judging whether the bus protocol of the target vehicle is consistent with the bus protocol preset by the diagnosis connector; if the bus protocol is consistent with the preset bus protocol, carrying out baud rate configuration according to the baud rate corresponding to the bus protocol preset by the diagnosis connector; and if the bus rate is inconsistent with the target bus rate, carrying out baud rate configuration according to the target baud rate corresponding to the target bus protocol. When the target configuration information is the target configuration file, as another embodiment of the present application, the performing baud rate configuration according to the target configuration information may be: analyzing the target configuration file to obtain a target vehicle bus protocol; judging whether the bus protocol of the target vehicle is consistent with the bus protocol preset by the diagnosis connector; if the bus protocol is consistent with the preset bus protocol, carrying out baud rate configuration according to the baud rate corresponding to the bus protocol preset by the diagnosis connector; and if the bus rate is inconsistent with the target bus rate, carrying out baud rate configuration according to the target baud rate corresponding to the target bus protocol. For example, if the bus type supported by the bus protocol of the target vehicle is a CAN bus, the transmission rate of a serial port (a data transmission interface between a central processing unit of the diagnostic connector and a microcontroller) is kept as a default transmission rate; and if the bus type supported by the bus protocol of the target vehicle is the CAN FD bus, switching the transmission rate of the serial port of the diagnostic connector to the transmission rate corresponding to the CAN FD bus through the interaction between the central processing unit of the diagnostic connector and the microcontroller. .
Step S304: and diagnosing the vehicle to be diagnosed according to the configured baud rate.
Specifically, the diagnostic device may send diagnostic instructions to the diagnostic connector at the configured baud rate, and the diagnostic connector transmits the diagnostic instructions to the vehicle connector via remote communication. And after reading the vehicle data of the vehicle to be diagnosed according to the diagnosis instruction, the vehicle connector feeds the vehicle data back to the diagnosis connector through remote communication according to the configured baud rate, the diagnosis connector feeds back the vehicle data to the diagnosis equipment, the diagnosis equipment analyzes the vehicle data and obtains a diagnosis result, and the diagnosis result can be fed back to one side of the vehicle connector through the communication connection between the vehicle connector and the diagnosis connector.
As can be seen from the vehicle remote diagnosis method illustrated in fig. 3, after the target configuration information is determined according to the vehicle information, on one hand, the target configuration information is notified to the diagnosis connector to configure the baud rate according to the target configuration information, and on the other hand, the vehicle connector also configures the baud rate according to the target configuration information, in other words, the transmission rate of the serial port between the central processing unit of the vehicle connector or the diagnosis connector and the single chip microcomputer can always match with the rate that can be supported by the bus of the target vehicle, so when the bus type of the vehicle changes, the transmission rate of the serial port between the central processing unit of the vehicle connector or the diagnosis connector and the single chip microcomputer matches with the rate that is supported by the changed bus type, so that the serial port can adapt to the rates of different buses, that is, the serial port can be adjusted to different transmission rates according to different bus types, thereby avoiding the problems of the prior art.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
Fig. 4 illustrates a vehicle remote diagnosis apparatus provided in an embodiment of the present application, which may be applied to the vehicle connector of the foregoing embodiment, corresponding to the vehicle remote diagnosis method illustrated in fig. 2 described above. The apparatus illustrated in fig. 4 may include a first establishing module 401, a first obtaining module 402, a first determining module 403, a notifying module 404, a first configuring module 405, and a first diagnosing module 406, which are described in detail as follows:
a first establishing module 401 for establishing a communication connection with a diagnostic connector, wherein the diagnostic connector is in communication connection with a diagnostic device;
a first obtaining module 402, configured to obtain vehicle information of a vehicle to be diagnosed;
a first determining module 403, configured to determine target configuration information according to the vehicle information;
a notification module 404, configured to notify the diagnostic connector of the target configuration information, so that the diagnostic connector performs baud rate configuration according to the target configuration information;
a first configuration module 405, configured to perform baud rate configuration according to the target configuration information;
and the first diagnosis module 406 is used for diagnosing the vehicle to be diagnosed according to the configured baud rate.
Alternatively, the vehicle information of the above example may be vehicle type information, and the first determining module 403 of the example of fig. 4 may include a first transmitting unit and a first determining unit, where:
the system comprises a first sending unit, a second sending unit and a third sending unit, wherein the first sending unit is used for sending vehicle type information to a server so that the server searches a configuration file corresponding to the vehicle type information in a preset vehicle type configuration file database according to the vehicle type information;
and the first determining unit is used for determining a download path of the configuration file corresponding to the vehicle type information as the target configuration information.
Alternatively, the vehicle information of the above example may be vehicle bus configuration information, and the first determining module 403 of the example of fig. 4 may include a generating unit and a second determining unit, wherein:
the generating unit is used for generating a configuration file according to the vehicle bus configuration information;
and the second determining unit is used for determining the generated configuration file as target configuration information.
Optionally, the first configuration module 405 illustrated in fig. 4 may include a third determining unit, a first parsing unit, a first judging unit, a first configuration unit, and a second configuration unit, where:
a third determining unit, configured to determine a target configuration file according to the target configuration information;
the first analysis unit is used for analyzing the target configuration file to obtain a target vehicle bus protocol;
the first judgment unit is used for judging whether the bus protocol of the target vehicle is consistent with the bus protocol preset by the vehicle connector or not;
the system comprises a first configuration unit, a second configuration unit and a third configuration unit, wherein the first configuration unit is used for carrying out baud rate configuration according to the baud rate corresponding to a bus protocol preset by a vehicle connector if a target vehicle bus protocol is consistent with the bus protocol preset by the vehicle connector;
and the second configuration unit is used for carrying out baud rate configuration according to the target baud rate corresponding to the target vehicle bus protocol if the target vehicle bus protocol is inconsistent with the bus protocol preset by the vehicle connector.
Optionally, the second configuration unit of the above example may include a second determination unit, a third configuration unit, and a first return unit, wherein:
a second judgment unit for judging whether the vehicle connector supports the target baud rate;
the third configuration unit is used for carrying out baud rate configuration according to the target baud rate if the vehicle connector supports the target baud rate;
the first returning unit is used for returning failure information if the connector does not support the target baud rate.
It is understood that various embodiments and combinations of the embodiments in the above embodiments and their advantages are also applicable to this embodiment, and are not described herein again.
Fig. 5 illustrates a vehicle remote diagnosis apparatus provided in an embodiment of the present application, which may be applied to the diagnosis connector of the foregoing embodiment, corresponding to the vehicle remote diagnosis method illustrated in fig. 3 described above. The apparatus illustrated in fig. 5 may include a second establishing module 501, a second obtaining module 502, a second configuring module 503, and a second diagnosing module 504, which are described in detail as follows:
a second establishing module 501, configured to establish a communication connection with a vehicle connector, where the vehicle connector is in communication connection with a vehicle to be diagnosed;
a second obtaining module 502, configured to obtain a notification of the vehicle connector, where the notification includes target configuration information, the target configuration information is determined by the vehicle connector according to vehicle information, and the vehicle information is obtained by the vehicle connector from a vehicle to be diagnosed;
a second configuration module 503, configured to perform baud rate configuration according to the target configuration information;
and the second diagnosis module 504 is used for diagnosing the vehicle to be diagnosed according to the configured baud rate.
Optionally, the target configuration information may be a download path of the target configuration file, and the second configuration module 503 illustrated in fig. 5 may include a download unit, a second parsing unit, a third determining unit, a fourth configuration unit, and a fifth configuration unit, where:
the downloading unit is used for downloading the target configuration file according to the downloading path of the target configuration file;
the second analysis unit is used for analyzing the target configuration file to obtain a target vehicle bus protocol;
the third judging unit is used for judging whether the bus protocol of the target vehicle is consistent with the bus protocol preset by the diagnosis connector or not;
the fourth configuration unit is used for carrying out baud rate configuration according to the baud rate corresponding to the bus protocol preset by the diagnosis connector if the bus protocol of the target vehicle is consistent with the bus protocol preset by the diagnosis connector;
and the fifth configuration unit is used for carrying out baud rate configuration according to the target baud rate corresponding to the bus protocol of the target vehicle if the bus protocol of the target vehicle is inconsistent with the bus protocol preset by the diagnosis connector.
Optionally, the target configuration information may be a target configuration file, and the second configuration module 503 illustrated in fig. 5 may include a third parsing unit, a fourth determining unit, a sixth configuration unit, and a seventh configuration unit, where:
the third analysis unit is used for analyzing the target configuration file to obtain a target vehicle bus protocol;
the fourth judging unit is used for judging whether the bus protocol of the target vehicle is consistent with the bus protocol preset by the diagnosis connector or not;
the sixth configuration unit is used for carrying out baud rate configuration according to the baud rate corresponding to the bus protocol preset by the diagnosis connector if the bus protocol of the target vehicle is consistent with the bus protocol preset by the diagnosis connector;
and the seventh configuration unit is used for carrying out baud rate configuration according to the target baud rate corresponding to the bus protocol of the target vehicle if the bus protocol of the target vehicle is inconsistent with the bus protocol preset by the diagnosis connector.
Fig. 6 is a schematic structural diagram of a vehicle connector according to an embodiment of the present application, where the vehicle connector D10 includes: at least one processor D100 (only one is shown in fig. 6), a memory D101, and a computer program D102 stored in the memory D101 and executable on the at least one processor D100, wherein the processor D100, when executing the computer program D102, implements the steps of any of the above-described method embodiments, i.e., establishing a communication connection with a diagnostic connector, the diagnostic connector being in communication connection with a diagnostic device; acquiring vehicle information of a vehicle to be diagnosed; determining target configuration information according to the vehicle information; informing the diagnosis connector of target configuration information so that the diagnosis connector performs baud rate configuration according to the target configuration information; carrying out baud rate configuration according to the target configuration information; and diagnosing the vehicle to be diagnosed according to the configured baud rate.
Alternatively, the vehicle information may be vehicle type information, and the determining of the target configuration information according to the vehicle information performed by the processor D100 may be: sending the vehicle type information to a server so that the server searches a configuration file corresponding to the vehicle type information in a preset vehicle type configuration file database according to the vehicle type information; and determining a download path of the configuration file corresponding to the vehicle type information as target configuration information.
Optionally, the vehicle information may be vehicle bus configuration information, and the determining of the target configuration information according to the vehicle information may be: generating a configuration file according to the vehicle bus configuration information; and determining the generated configuration file as target configuration information.
Optionally, the performing, by the processor D100, baud rate configuration according to the target configuration information may be: determining a target configuration file according to the target configuration information; analyzing the target configuration file to obtain a target vehicle bus protocol; judging whether a bus protocol of the target vehicle is consistent with a bus protocol preset by a vehicle connector; if the bus protocol of the target vehicle is consistent with the bus protocol preset by the vehicle connector, carrying out baud rate configuration according to the baud rate corresponding to the bus protocol preset by the vehicle connector; and if the bus protocol of the target vehicle is inconsistent with the bus protocol preset by the vehicle connector, carrying out baud rate configuration according to the target baud rate corresponding to the bus protocol of the target vehicle.
Optionally, the performing, by the processor D100, baud rate configuration according to the baud rate corresponding to the target vehicle bus protocol may be: judging whether the vehicle connector supports the target baud rate or not; if so, carrying out baud rate configuration according to the target baud rate; if not, returning failure information.
Alternatively, the processor D100, when executing the computer program D102, implements the functions of the modules/units in the above-mentioned device embodiments, such as the functions of the first establishing module 401, the first obtaining module 402, the first determining module 403, the notifying module 404, the first configuring module 405, and the first diagnosing module 406 shown in fig. 4. The vehicle connector D10 may include, but is not limited to, a processor D100, a memory D101. Those skilled in the art will appreciate that fig. 6 is merely exemplary of the vehicle connector D10 and does not constitute a limitation on the vehicle connector D10 and may include more or fewer components than shown, or some components in combination, or different components, such as input output devices, network access devices, etc. Processor D100 may be a Central Processing Unit (CPU), and Processor D100 may be other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field-Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The memory D101 may in some embodiments be an internal storage unit of the vehicle connector D10, such as a hard disk or memory of the vehicle connector D10. The memory D101 may also be an external storage device of the vehicle connector D10 in other embodiments, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), etc. provided on the vehicle connector D10. Further, the memory D101 may also include both an internal storage unit and an external storage device of the vehicle connector D10. The memory D101 is used for storing an operating system, an application program, a BootLoader (BootLoader), data, and other programs, such as program codes of the computer programs. The memory D101 may also be used to temporarily store data that has been output or is to be output.
Fig. 7 is a schematic structural diagram of a diagnostic connector according to an embodiment of the present application, in which a vehicle connector D20 includes: at least one processor D200 (only one is shown in fig. 7), a memory D201, and a computer program D202 stored in the memory D201 and operable on the at least one processor D200, wherein the processor D200, when executing the computer program D202, implements the steps of any of the above-described method embodiments, i.e., establishing a communication connection with a vehicle connector that is in communication connection with a vehicle to be diagnosed; acquiring a notification of a vehicle connector, wherein the notification comprises target configuration information, the target configuration information is determined by the vehicle connector according to vehicle information, and the vehicle information is acquired from a vehicle to be diagnosed by the vehicle connector; carrying out baud rate configuration according to the target configuration information; and diagnosing the vehicle to be diagnosed according to the configured baud rate.
Optionally, the target configuration information may be a download path of the target configuration file, and the performing, by the processor D200, the baud rate configuration according to the target configuration information may be: downloading the target configuration file according to the download path of the target configuration file; analyzing the target configuration file to obtain a target vehicle bus protocol; judging whether the bus protocol of the target vehicle is consistent with the bus protocol preset by the diagnosis connector; if the bus protocol of the target vehicle is consistent with the bus protocol preset by the diagnosis connector, carrying out baud rate configuration according to the baud rate corresponding to the bus protocol preset by the diagnosis connector; and if the bus protocol of the target vehicle is not consistent with the bus protocol preset by the diagnosis connector, carrying out baud rate configuration according to the target baud rate corresponding to the bus protocol of the target vehicle.
Optionally, the target configuration information may be a target configuration file, and the performing, by the processor D200, baud rate configuration according to the target configuration information may be: analyzing the target configuration file to obtain a target vehicle bus protocol; judging whether the bus protocol of the target vehicle is consistent with the bus protocol preset by the diagnosis connector; if the bus protocol of the target vehicle is consistent with the bus protocol preset by the diagnosis connector, carrying out baud rate configuration according to the baud rate corresponding to the bus protocol preset by the diagnosis connector; and if the bus protocol of the target vehicle is not consistent with the bus protocol preset by the diagnosis connector, carrying out baud rate configuration according to the target baud rate corresponding to the bus protocol of the target vehicle.
Alternatively, the processor D200, when executing the computer program D202, implements the functions of each module/unit in the above-mentioned apparatus embodiments, for example, the functions of the second establishing module 501, the second obtaining module 502, the second configuring module 503 and the second diagnosing module 504 shown in fig. 5. The vehicle connector D20 may include, but is not limited to, a processor D200, a memory D201. Those skilled in the art will appreciate that fig. 7 is merely exemplary of the vehicle connector D20 and does not constitute a limitation on the vehicle connector D20 and may include more or fewer components than shown, or some components in combination, or different components, such as input output devices, network access devices, etc. Processor D200 may be a Central Processing Unit (CPU), and Processor D200 may be other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field-Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The memory D201 may in some embodiments be an internal storage unit of the vehicle connector D20, such as a hard disk or memory of the vehicle connector D20. The memory D201 may also be an external storage device of the vehicle connector D20 in other embodiments, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), etc. provided on the vehicle connector D20. Further, the memory D201 may also include both an internal storage unit and an external storage device of the vehicle connector D20. The memory D201 is used for storing an operating system, an application program, a BootLoader (BootLoader), data, and other programs, such as program codes of the computer programs. The memory D201 may also be used to temporarily store data that has been output or is to be output.
It should be noted that, for the information interaction, execution process, and other contents between the above-mentioned devices/units, the specific functions and technical effects thereof are based on the same concept as those of the embodiment of the method of the present application, and specific reference may be made to the part of the embodiment of the method, which is not described herein again.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
The embodiments of the present application further provide a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the steps in the above-mentioned method embodiments may be implemented.
Embodiments of the present application provide a computer program product, which when executed on an electronic device, enables the electronic device to implement the steps in the above method embodiments.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, all or part of the processes in the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium and can implement the steps of the embodiments of the methods described above when the computer program is executed by a processor. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer readable medium may include at least: any entity or device capable of carrying computer program code to a photographing apparatus/terminal apparatus, a recording medium, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signal, telecommunication signal, and software distribution medium. Such as a usb-disk, a removable hard disk, a magnetic or optical disk, etc. In certain jurisdictions, computer-readable media may not be an electrical carrier signal or a telecommunications signal in accordance with legislative and patent practice.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus/network device and method may be implemented in other ways. For example, the above-described apparatus/network device embodiments are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implementing, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.

Claims (12)

1. A vehicle remote diagnosis method is applied to a vehicle remote diagnosis system, the vehicle remote diagnosis system comprises a diagnosis device, a diagnosis connector and a vehicle connector, the diagnosis device is connected with the diagnosis connector in a communication mode, the vehicle connector is connected with a vehicle to be diagnosed in a communication mode, and the method comprises the following steps:
establishing a communication connection of the vehicle connector with the diagnostic connector;
the vehicle connector acquires vehicle information of the vehicle to be diagnosed;
the vehicle connector determines target configuration information according to the vehicle information;
the vehicle connector notifying the diagnostic connector of the target configuration information;
the vehicle connector and the diagnosis connector carry out baud rate configuration according to the target configuration information;
and the vehicle remote diagnosis system diagnoses the vehicle to be diagnosed according to the configured baud rate.
2. A vehicle remote diagnosis method is characterized by being applied to a vehicle connector which is in communication connection with a vehicle to be diagnosed, and comprises the following steps:
establishing a communication connection with a diagnostic connector, the diagnostic connector being in communication connection with a diagnostic device;
acquiring vehicle information of the vehicle to be diagnosed;
determining target configuration information according to the vehicle information;
notifying the target configuration information to the diagnostic connector so that the diagnostic connector performs baud rate configuration according to the target configuration information;
carrying out baud rate configuration according to the target configuration information;
and diagnosing the vehicle to be diagnosed according to the configured baud rate.
3. The method according to claim 2, wherein the vehicle information includes vehicle type information, and the determining the target configuration information according to the vehicle information specifically includes:
sending the vehicle type information to a server so that the server searches a configuration file corresponding to the vehicle type information in a preset vehicle type configuration file database according to the vehicle type information;
and determining a download path of a configuration file corresponding to the vehicle type information as the target configuration information.
4. The method according to claim 2, wherein the vehicle information includes vehicle bus configuration information, and the determining target configuration information according to the vehicle information specifically includes:
generating a configuration file according to the vehicle bus configuration information;
and determining the generated configuration file as target configuration information.
5. The method according to any one of claims 2 to 4, wherein the performing baud rate configuration according to the target configuration information specifically includes:
determining a target configuration file according to the target configuration information;
analyzing the target configuration file to obtain a target vehicle bus protocol;
judging whether the bus protocol of the target vehicle is consistent with the bus protocol preset by the vehicle connector;
if the bus protocol is consistent with the bus protocol preset by the vehicle connector, carrying out baud rate configuration according to the baud rate corresponding to the bus protocol preset by the vehicle connector;
and if not, carrying out baud rate configuration according to the target baud rate corresponding to the target vehicle bus protocol.
6. The method according to claim 5, wherein the performing baud rate configuration according to the baud rate corresponding to the target vehicle bus protocol specifically comprises:
judging whether the vehicle connector supports the target baud rate;
if so, carrying out baud rate configuration according to the target baud rate;
if not, returning failure information.
7. A vehicle remote diagnosis method applied to a diagnosis connector which is connected with a diagnosis device in a communication way, the method comprising:
establishing communication connection with a vehicle connector, wherein the vehicle connector is in communication connection with a vehicle to be diagnosed;
acquiring a notification of the vehicle connector, wherein the notification comprises target configuration information, the target configuration information is determined by the vehicle connector according to the vehicle information, and the vehicle information is acquired from the vehicle to be diagnosed by the vehicle connector;
carrying out baud rate configuration according to the target configuration information;
and diagnosing the vehicle to be diagnosed according to the configured baud rate.
8. The method according to claim 7, wherein the target configuration information includes a download path of a target configuration file, and the performing baud rate configuration according to the target configuration information specifically includes:
downloading the target configuration file according to the download path of the target configuration file;
analyzing the target configuration file to obtain a target vehicle bus protocol;
judging whether the bus protocol of the target vehicle is consistent with the bus protocol preset by the diagnosis connector or not;
if the bus protocol is consistent with the preset bus protocol, carrying out baud rate configuration according to the baud rate corresponding to the preset bus protocol of the diagnosis connector;
and if not, carrying out baud rate configuration according to the target baud rate corresponding to the target vehicle bus protocol.
9. The method according to claim 7, wherein the target configuration information includes a target configuration file, and the performing baud rate configuration according to the target configuration information specifically includes:
analyzing the target configuration file to obtain a target vehicle bus protocol;
judging whether the bus protocol of the target vehicle is consistent with the bus protocol preset by the diagnosis connector or not;
if the bus protocol is consistent with the preset bus protocol, carrying out baud rate configuration according to the baud rate corresponding to the preset bus protocol of the diagnosis connector;
and if not, carrying out baud rate configuration according to the target baud rate corresponding to the target vehicle bus protocol.
10. A vehicle connector comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the method of any one of claims 2 to 6 when executing the computer program.
11. A diagnostic connector comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the method according to any one of claims 7 to 9 when executing the computer program.
12. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 2 to 6 or 7 to 9.
CN202111634831.0A 2021-12-29 2021-12-29 Vehicle remote diagnosis method and device, connector and storage medium Pending CN114326673A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111634831.0A CN114326673A (en) 2021-12-29 2021-12-29 Vehicle remote diagnosis method and device, connector and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111634831.0A CN114326673A (en) 2021-12-29 2021-12-29 Vehicle remote diagnosis method and device, connector and storage medium

Publications (1)

Publication Number Publication Date
CN114326673A true CN114326673A (en) 2022-04-12

Family

ID=81017832

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111634831.0A Pending CN114326673A (en) 2021-12-29 2021-12-29 Vehicle remote diagnosis method and device, connector and storage medium

Country Status (1)

Country Link
CN (1) CN114326673A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116136685A (en) * 2023-04-14 2023-05-19 武汉亦创智联信息技术有限公司 Communication control system and method suitable for high-speed CAN and low-speed CAN

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116136685A (en) * 2023-04-14 2023-05-19 武汉亦创智联信息技术有限公司 Communication control system and method suitable for high-speed CAN and low-speed CAN
CN116136685B (en) * 2023-04-14 2023-07-18 武汉亦创智联信息技术有限公司 Communication control system and method suitable for high-speed CAN and low-speed CAN

Similar Documents

Publication Publication Date Title
CN111427335B (en) Vehicle remote diagnosis method, equipment connector and vehicle connector
CN111538312B (en) Vehicle remote diagnosis method, system, equipment connector and vehicle connector
CN111552266B (en) Vehicle remote diagnosis method, system, equipment connector and vehicle connector
CN113645097A (en) Vehicle signal monitoring method, terminal equipment and electronic control unit
CN112927392A (en) Communication method, vehicle communication interface device and readable storage medium
CN115390546A (en) Vehicle diagnostic communication method, device, equipment and medium
CN114326673A (en) Vehicle remote diagnosis method and device, connector and storage medium
CN111552268A (en) Vehicle remote diagnosis method, equipment connector and vehicle connector
CN111736866A (en) One-to-one and one-to-many compatible online upgrading method and terminal equipment
CN117640720A (en) Remote diagnosis channel creation method, vehicle connector and remote diagnosis system
CN112822087A (en) Data distinguishing method, data distinguishing device, router and network relay equipment
CN114442590A (en) Vehicle diagnosis method, apparatus, diagnosis communication device, server, and storage medium
CN114756585A (en) Vehicle data acquisition method and device, electronic equipment and storage medium
CN111624983B (en) Synchronous connection method and vehicle remote diagnosis system
CN110876852B (en) Network game data processing method and system for micro-service
CN114326666A (en) Vehicle parameter configuration method and device, electronic equipment and storage medium
CN111741075A (en) Communication connection method, vehicle remote connection system and connection equipment
CN112203264B (en) Equipment pairing method applied to equipment group and equipment in equipment group
CN114650194B (en) Data communication method, device, electronic equipment and storage medium
CN112566082B (en) Data transmission method, device, equipment and medium
CN111107663B (en) Data transmission method and device, storage medium and electronic device
CN114503041B (en) Vehicle diagnosis method, diagnosis connector and diagnosis device
CN109597813B (en) Vehicle data processing method and device
CN112765076B (en) MODBUS data processing method, device, equipment and computer readable storage medium
CN111740888B (en) Ignition signal synchronization method and related equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination