CN111552268A - Vehicle remote diagnosis method, equipment connector and vehicle connector - Google Patents

Vehicle remote diagnosis method, equipment connector and vehicle connector Download PDF

Info

Publication number
CN111552268A
CN111552268A CN202010321688.9A CN202010321688A CN111552268A CN 111552268 A CN111552268 A CN 111552268A CN 202010321688 A CN202010321688 A CN 202010321688A CN 111552268 A CN111552268 A CN 111552268A
Authority
CN
China
Prior art keywords
vehicle
diagnosis
connector
data packet
diagnosed
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.)
Granted
Application number
CN202010321688.9A
Other languages
Chinese (zh)
Other versions
CN111552268B (en
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 CN202010321688.9A priority Critical patent/CN111552268B/en
Publication of CN111552268A publication Critical patent/CN111552268A/en
Application granted granted Critical
Publication of CN111552268B publication Critical patent/CN111552268B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B23/00Testing or monitoring of control systems or parts thereof
    • G05B23/02Electric testing or monitoring
    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C17/00Arrangements for transmitting signals characterised by the use of a wireless electrical link
    • G08C17/02Arrangements for transmitting signals characterised by the use of a wireless electrical link using a radio link

Landscapes

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

Abstract

The application discloses a vehicle remote diagnosis method, a device connector, a vehicle connector and a computer readable storage medium. In the scheme of the application, the vehicle to be diagnosed is not directly connected with the diagnosis device through the K line, but the vehicle to be diagnosed is connected with the vehicle connector through the K line, the diagnosis device is connected with the device connector through the K line, and then the vehicle connector is connected with the device connector through remote communication. That is, the vehicle connector and the equipment connector are used as data transfer stations to realize data interaction between the vehicle to be diagnosed and the diagnostic equipment. According to the scheme, the vehicle to be diagnosed is decoupled from the diagnostic equipment, so that the diagnostic equipment can diagnose the vehicle to be diagnosed remotely, and the application range of the diagnostic equipment based on the K line is widened.

Description

Vehicle remote diagnosis method, equipment connector and vehicle connector
Technical Field
The application belongs to the technical field of automobile communication, and particularly relates to a vehicle remote diagnosis method, an equipment connector, a vehicle connector and a computer readable storage medium.
Background
Currently, according to the standard of a vehicle diagnostic system specified by the Society of Automotive Engineers (SAE), in the vehicle industry, K may be used for diagnosis, specifically, an Electronic Control Unit (ECU) of a vehicle is queried, calibrated, programmed, and the like through the K line, and data interaction between a diagnostic device and the ECU is performed through the K line to implement diagnosis of a vehicle fault. However, at present, the diagnosis between the diagnosis device and the vehicle can only be performed by using the K-wire in a local cable wired connection manner within a short distance, which brings much inconvenience to vehicle diagnosis.
Disclosure of Invention
The application provides a vehicle remote diagnosis method, a device connector, a vehicle connector and a computer readable storage medium, so that a vehicle to be diagnosed can be diagnosed remotely by a diagnosis device, and the application range of the diagnosis device based on a K line is widened.
In a first aspect, the present application provides a vehicle remote diagnosis method applied to a vehicle remote diagnosis system, where the vehicle remote diagnosis system includes a diagnosis device, a device connector, a vehicle connector, and a vehicle to be diagnosed, and the vehicle remote diagnosis method includes:
the device connector receives a diagnosis instruction generated by the diagnosis device based on a K-line protocol, encapsulates the diagnosis instruction into a first data packet and sends the first data packet to the vehicle connector through remote communication, wherein the first data packet uses a data format suitable for the remote communication;
the vehicle connector receives the first data packet, analyzes the first data packet to obtain the diagnosis instruction, and sends the diagnosis instruction to the vehicle to be diagnosed so that the vehicle to be diagnosed generates diagnosis response data according to the diagnosis instruction;
the vehicle connector receives the diagnosis response data of the vehicle to be diagnosed, encapsulates the diagnosis response data into a second data packet, and sends the second data packet to the equipment connector through remote communication, wherein the second data packet uses a data format suitable for the remote communication;
the device connector receives the second data packet, analyzes the second data packet to obtain the diagnosis response data, and transmits the diagnosis response data to the diagnosis device so that the diagnosis device analyzes and processes the diagnosis response data to obtain a diagnosis result.
In a second aspect, the present application provides a vehicle remote diagnosis method applied to a device connector, including:
receiving a diagnosis instruction generated by the diagnosis equipment based on a K-line protocol;
encapsulating the diagnosis instruction into a first data packet;
sending the first data packet to a vehicle connector in a remote communication mode, so that the vehicle connector analyzes the first data packet to obtain the diagnosis instruction, further sending the diagnosis instruction to a vehicle to be diagnosed, receiving diagnosis response data generated by the vehicle to be diagnosed according to the diagnosis instruction, and packaging the diagnosis response data into a second data packet;
receiving the second data packet transmitted by the vehicle connector through remote communication;
analyzing the second data packet to obtain the diagnosis response data;
and sending the diagnosis response data to the diagnosis equipment so that the diagnosis equipment analyzes and processes the diagnosis response data to obtain a diagnosis result.
Optionally, before the receiving the diagnosis instruction generated by the diagnosis device based on the K-line protocol, the vehicle remote diagnosis method further includes:
acquiring vehicle information of a vehicle to be diagnosed;
determining corresponding K line configuration information according to the vehicle information;
and establishing K-line connection with the diagnosis equipment according to the configuration information.
Optionally, the determining the corresponding K-line configuration information according to the vehicle information specifically includes:
determining vehicle type information in the vehicle information;
and determining corresponding K-line configuration information in a preset configuration table according to the vehicle type information.
In a third aspect, the present application provides a vehicle remote diagnosis method applied to a vehicle connector, including:
receiving a first data packet sent by a device connector through remote communication;
analyzing the first data packet to obtain a diagnosis instruction, wherein the diagnosis instruction is generated by a diagnosis device based on a K-line protocol, and is encapsulated into the first data packet after being sent to a device connector;
sending the diagnosis instruction to a vehicle to be diagnosed so that the vehicle to be diagnosed generates diagnosis response data according to the diagnosis instruction;
receiving the diagnosis response data transmitted from the vehicle to be diagnosed;
encapsulating the diagnostic response data into a second data packet;
and sending the second data packet to the equipment connector through remote communication so that the equipment connector analyzes the second data packet to obtain diagnosis response data, and sending the diagnosis response data to the diagnosis equipment through the equipment connector so that the diagnosis equipment analyzes and processes the diagnosis response data to obtain a diagnosis result.
Optionally, before the receiving device connector receives the first data packet transmitted by remote communication, the vehicle remote diagnosis method further includes:
acquiring vehicle information of the vehicle to be diagnosed;
determining corresponding K line configuration information according to the vehicle information;
and establishing K line connection with the vehicle to be diagnosed according to the K line configuration information.
Optionally, the determining the corresponding K-line configuration information according to the vehicle information specifically includes:
determining vehicle type information and vehicle Electronic Control Unit (ECU) information in the vehicle information;
determining corresponding K line configuration information according to the vehicle type information and the ECU information;
the establishing of the K-line connection with the vehicle to be diagnosed according to the K-line configuration information specifically includes:
performing BPS configuration of K-line communication data transmission rate according to the K-line configuration information;
and establishing K line connection with the vehicle to be diagnosed according to the K line configuration information and the BPS.
Optionally, the diagnosis instruction is a K-line level signal;
the analyzing the first data packet to obtain a diagnosis instruction specifically includes:
analyzing the first data packet to obtain a K line horizontal signal;
processing the K line level signal to obtain a first level signal and a second level signal;
and forming a diagnosis command by the first level signal and the second level signal according to time sequence.
Optionally, the processing the K-line level signal to obtain a first level signal and a second level signal specifically includes:
separating the K line level signal to obtain an initial first level signal and an initial second level signal;
converting regular signals in the initial first level signals into newly-added second level signals;
determining a part of the initial first level signal except the regular signal as a first level signal; the initial second level signal and the new second level signal are combined into a second level signal.
In a fourth aspect, the present application provides a device connector comprising a memory, a processor and a computer program stored in the memory and executable on the processor, the processor implementing the steps of the method according to the second aspect when executing the computer program.
In a fifth aspect, the present application provides a vehicle connector comprising a memory, a processor and a computer program stored in the memory and executable on the processor, the processor implementing the steps of the method according to the third aspect when executing the computer program.
In a sixth aspect, the present application provides a computer-readable storage medium storing a computer program which, when executed by a processor, performs the steps of the method according to the second aspect; alternatively, the computer program as described above, when executed by a processor, performs the steps of the method as described above in the third aspect.
In a seventh aspect, the present application provides a computer program product comprising a computer program which, when executed by one or more processors, performs the steps of the method of the second aspect; alternatively, the computer program as described above, when executed by one or more processors, performs the steps of the method as described above in the third aspect.
Therefore, according to the scheme of the application, the diagnosis equipment does not directly establish K-line connection with the vehicle to be diagnosed any more, but establishes K-line connection with the equipment connector, and sends a diagnosis instruction to the equipment connector; the equipment connector encapsulates the received diagnosis instruction into a first data packet and sends the first data packet to the vehicle connector, and the vehicle connector analyzes the first data packet to obtain the diagnosis instruction and then sends the diagnosis instruction to the vehicle. In the process, the diagnostic equipment and the vehicle to be diagnosed are decoupled through the equipment connector and the vehicle connector, so that the K-line-based remote data interaction between the diagnostic equipment and the vehicle to be diagnosed is realized. It is to be understood that, the beneficial effects of the second to seventh aspects may be referred to the relevant description of the first aspect, and are not repeated herein.
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 those skilled in the art can also obtain other drawings according to the drawings without creative efforts.
FIG. 1 is a network architecture diagram of a vehicle remote diagnosis system provided by an embodiment of the present application;
FIG. 2 is a schematic flow chart illustrating an implementation of a vehicle remote diagnosis method according to an embodiment of the present disclosure;
FIG. 3 is a schematic flow chart illustrating another implementation of a vehicle remote diagnosis method provided by an embodiment of the present application;
FIG. 4 is a schematic flow chart illustrating an implementation of another vehicle remote diagnosis method provided in the embodiments of the present application;
FIG. 5 is a schematic diagram of a data format of a regular signal in the vehicle remote diagnosis method according to the embodiment of the present application;
fig. 6 is a block diagram illustrating a vehicle remote diagnosis apparatus according to an embodiment of the present application;
fig. 7 is a block diagram illustrating a structure of another vehicle remote diagnosis apparatus according to an embodiment of the present application;
FIG. 8 is a schematic structural diagram of a device connector provided in an embodiment of the present application;
fig. 9 is a schematic structural diagram of a vehicle 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.
At present, when a diagnostic device establishes a K-wire connection with a vehicle to be diagnosed to perform K-wire diagnosis, considering that the K-wire connection often depends on a local cable, and the transmission distance of the local cable is usually limited, the diagnostic device is required to perform diagnostic operation on the vehicle to be diagnosed through the local cable only within a limited distance. Once the distance between the diagnostic equipment and the vehicle to be diagnosed is far, the K-line diagnosis can not be carried out in the above mode, which greatly limits the application scene of the K-line diagnosis. Based on this, the embodiment of the application provides a vehicle remote diagnosis method, a device connector, a network connector and a computer readable storage medium, which can realize the decoupling of a vehicle to be diagnosed and a diagnosis device through the device connector and the network connector, so that the diagnosis device can remotely diagnose the vehicle to be diagnosed based on a K line. In order to explain the technical solutions proposed in the embodiments of the present application, the following description will be given by way of specific examples.
The following describes a vehicle remote diagnosis method provided by an embodiment of the present application. Referring to fig. 1, the vehicle remote diagnosis method is applied to a vehicle remote diagnosis system, which includes a vehicle to be diagnosed, a vehicle connector, an equipment connector and a diagnosis equipment; the vehicle to be diagnosed and the vehicle connector perform data interaction in a K-line communication mode; data interaction is carried out between the vehicle connector and the equipment connector in a remote communication mode; and the equipment connector and the diagnostic equipment also perform data interaction in a K-wire communication mode.
In the vehicle remote diagnosis system, the vehicle to be diagnosed is a vehicle with a diagnosis requirement at present, that is, any vehicle with a diagnosis requirement can be used as the vehicle to be diagnosed to be accessed to the vehicle remote diagnosis system; the vehicle connector can be used as a data transfer station and transfers data to a vehicle or equipment connector to be diagnosed; the equipment connector can also be used as a data transfer station for transferring data to the vehicle connector or the diagnostic equipment; the diagnostic device includes but is not limited to various vehicle scanning tools such as a handheld diagnostic apparatus or a PC, and a diagnostic database is stored on the diagnostic device, and can be used for diagnosing the diagnostic response data sent by the vehicle to be diagnosed and feeding back the diagnostic result of the vehicle to be diagnosed.
Referring to fig. 2, fig. 2 is a schematic diagram of an interaction flow among a vehicle to be diagnosed, a vehicle connector, a device connector and a diagnostic device, and the vehicle remote diagnosis method includes:
step 201, the device connector receives a diagnosis instruction generated by the diagnosis device based on a K-line protocol;
in the embodiment of the application, when a vehicle needing diagnosis exists, namely, when a vehicle to be diagnosed exists, the data interaction of the current round can be started by the diagnosis equipment. The diagnostic device may generate a diagnostic instruction based on the K-wire protocol and send the diagnostic instruction into the device connector via the K-wire protocol. Specifically, the diagnostic instruction is represented as a K-line level signal.
Step 202, the device connector encapsulates the diagnosis instruction into a first data packet;
in this embodiment, after receiving the diagnostic command, the device connector further performs data encapsulation on the diagnostic command to encapsulate the diagnostic command into a first data packet. Specifically, the encapsulation method used for encapsulating the first data packet is related to the transmission protocol used for subsequent remote communication. For example, if the diagnostic instruction is transmitted by a HyperText Transfer Protocol (HTTP), the diagnostic instruction is encapsulated based on the HTTP Protocol in this step, that is, the first data packet is embodied in the form of an HTTP data packet, and the encapsulation process is not limited herein.
Step 203, the device connector transmits the first data packet to the vehicle connector through remote communication;
in the embodiment of the present application, after the device connector encapsulates the diagnosis instruction into the first data packet, the first data packet may be transmitted to the vehicle connector connected to the vehicle to be diagnosed through remote communication. It should be noted that, the vehicle connector and the device connector may be remotely communicated with each other through a preset server as a data transfer station; alternatively, remote communication may also be achieved by peer-to-peer (P2P) technology; alternatively, remote communication may be achieved through a wired network; alternatively, the remote communication may be implemented through a cellular mobile network such as 2G, 3G, 4G or 5G, and the specific manner for implementing the remote communication is not limited herein.
Step 204, the vehicle connector receives the first data packet, and analyzes the first data packet to obtain the diagnosis instruction;
in this embodiment of the application, when the vehicle connector receives the first data packet sent by the device connector through the remote communication, the first data packet may be parsed to obtain the diagnosis instruction carried by the first data packet.
Step 205, the vehicle connector sends the diagnosis command to the vehicle to be diagnosed;
in the embodiment of the application, the vehicle connector can send the diagnosis instruction to the vehicle to be diagnosed through a K-wire protocol.
Step 206, the vehicle to be diagnosed generates diagnosis response data according to the diagnosis command;
in the embodiment of the present application, the vehicle to be diagnosed may generate corresponding diagnostic response data under the instruction of the diagnostic command, where the diagnostic response data includes, but is not limited to, various parameters related to vehicle diagnosis, such as a speed, an engine displacement and/or a transmission parameter at which the vehicle is currently running.
Step 207, the vehicle to be diagnosed feeds back the diagnosis response data to the vehicle connector;
in this embodiment of the application, the vehicle to be diagnosed may send the diagnosis response data to the vehicle connector through a K-wire protocol.
Step 208, the vehicle connector receives the diagnosis response data and encapsulates the diagnosis response data into a second data packet;
in the embodiment of the application, after receiving the diagnosis response data, the vehicle connector further performs data packaging on the diagnosis response data so as to package the diagnosis command into a second data packet. Specifically, the encapsulation method used for encapsulating the second data packet is related to the transmission protocol used for subsequent remote communication. For example, if the diagnostic response data is transmitted by the HTTP protocol, the diagnostic response data is encapsulated based on the HTTP protocol in this step, that is, the second data packet is embodied as an HTTP data packet, and the encapsulation process is not limited herein. It should be noted that, since the transmission protocol used when the vehicle connector and the device connector perform data interaction tends to remain unchanged, the data format of the second data packet and the data format of the first data packet also tend to be the same.
Step 209, the vehicle connector transmits the second data packet to the device connector through remote communication;
in the embodiment of the present application, the implementation of step 209 is similar to the implementation of step 203, except that the transmitting end is modified from the device connector to the vehicle connector, the receiving end is modified from the vehicle connector to the device connector, and the transmitted data is modified from the first data packet to the second data packet, so that the related explanation and description of this step can refer to step 203.
Step 210, the device connector receives the second data packet and parses the second data packet to obtain the diagnostic response data;
in this embodiment, when the device connector receives the second data packet sent by the vehicle connector through the remote communication, the second data packet may be parsed to obtain the diagnostic response data carried by the second data packet.
Step 211, the device connector transmits the diagnosis response data to the diagnosis device;
in this embodiment, the device connector may transmit the diagnostic response data to the diagnostic device via a K-wire protocol.
And step 212, the diagnosis equipment analyzes and processes the diagnosis response data to obtain a diagnosis result.
In the embodiment of the application, the diagnostic device analyzes and processes the diagnostic response data through a diagnostic database stored locally by the diagnostic device to obtain a diagnostic result obtained by diagnosing the vehicle to be diagnosed. The diagnosis result can be output through a display screen so as to timely and intuitively inform a diagnostician of possible problems of the current vehicle to be diagnosed; alternatively, the diagnosis result may be output to a mobile client associated with the vehicle to be diagnosed, and the output mode of the diagnosis result is not limited herein. At this point, the diagnostic device and the vehicle to be diagnosed complete one round of data interaction. It should be noted that in the embodiment of the present application, each round of data interaction needs to be initiated by the side of the diagnostic apparatus.
As can be seen from the above, in the embodiment of the present application, the diagnostic device does not directly establish a K-line connection with the vehicle to be diagnosed, but establishes a K-line connection with the device connector, and sends a diagnostic instruction to the device connector; the equipment connector encapsulates the received diagnosis instruction into a first data packet and sends the first data packet to the vehicle connector, the vehicle connector analyzes the first data packet to obtain the diagnosis instruction, then the diagnosis instruction is sent to the vehicle, and the vehicle feeds back diagnosis response data to the diagnosis equipment through the vehicle connector and the equipment connector according to the diagnosis instruction, so that the diagnosis equipment obtains a diagnosis result of the vehicle based on the diagnosis response data. In the process, the diagnostic equipment and the vehicle to be diagnosed are decoupled through the equipment connector and the vehicle connector, so that the K-line-based remote data interaction between the diagnostic equipment and the vehicle to be diagnosed is realized.
Another vehicle remote diagnosis method provided in the embodiments of the present application is described below, and is applied to a device connector. Referring to fig. 3, fig. 3 shows a specific implementation flow of the vehicle remote diagnosis method, which is detailed as follows:
step 301, receiving a diagnosis instruction generated by a diagnosis device based on a K-line protocol;
step 302, encapsulating the diagnosis instruction into a first data packet;
step 303, sending the first data packet to a vehicle connector through a remote communication mode, so that the vehicle connector analyzes the first data packet to obtain the diagnosis instruction, further sending the diagnosis instruction to a vehicle to be diagnosed, receiving diagnosis response data generated by the vehicle to be diagnosed according to the diagnosis instruction, and packaging the diagnosis response data into a second data packet;
step 304, receiving the second data packet transmitted by the vehicle connector through remote communication;
step 305, analyzing the second data packet to obtain the diagnosis response data;
step 306, sending the diagnosis response data to the diagnosis device, so that the diagnosis device performs analysis processing on the diagnosis response data to obtain a diagnosis result.
Step 301 is the same as or similar to step 201, step 302 is the same as or similar to step 202, step 303 is the same as or similar to step 203, steps 304 and 305 are the same as or similar to step 210, and step 306 is the same as or similar to step 211, which are not repeated herein.
Optionally, before the step 301, the vehicle remote diagnosis method further includes:
acquiring vehicle information of a vehicle to be diagnosed;
determining corresponding K line configuration information according to the vehicle information;
and establishing K-line connection with the diagnosis equipment according to the configuration information.
In the embodiment of the present application, the vehicle information is specifically used to identify the vehicle to be diagnosed. Because the number of current automobile manufacturers is large, in order to better establish the K-line connection between the equipment connector and the diagnosis equipment, the vehicle information of the vehicle to be diagnosed can be obtained firstly, and then the corresponding K-line configuration information is determined according to the vehicle information, so that the equipment connector can establish the K-line connection with the diagnosis equipment according to the configuration information. Specifically, because the differences between different vehicles are often expressed in the vehicle types, that is, vehicles of the same vehicle type can often adopt the same data processing flow, a diagnostician can create a configuration table in advance according to different vehicle types, and set K-line configuration information associated with each vehicle type in the configuration table; the K-wire configuration information used by the device connector may be determined by: and determining vehicle type information in the vehicle information, and determining corresponding K-line configuration information in a preset configuration table according to the vehicle type information.
In some embodiments, the Vehicle type of the Vehicle to be diagnosed may be obtained by analyzing a Vehicle Identification Number (VIN) of the Vehicle to be diagnosed after the VIN is read by the Vehicle connector; alternatively, the owner of the vehicle to be diagnosed may directly input the model of the vehicle to be diagnosed into the vehicle connector, which is not limited herein. After the vehicle connector acquires the vehicle type of the vehicle to be diagnosed, the vehicle type of the vehicle to be diagnosed can be synchronized into the equipment connector through remote communication, and then the equipment connector can determine corresponding K-line configuration information according to the acquired vehicle type of the vehicle to be diagnosed.
In some embodiments, the K-line configuration information specifically includes: a K-line pin used for data transmission by the K-line protocol, a data transmission rate (BPS) used for data transmission by the K-line protocol, and the like, which are not limited herein.
It should be noted that the K-wire connection is established in the form of a local cable, i.e. a wired connection between the device connector and the diagnostic device. The above K-line protocols include but are not limited to communication protocols such as ISO 14230, ISO9421, SAE J2740, and SAE J281, which are not described herein.
As can be seen from the above, in the embodiment of the present application, the diagnostic device does not directly establish a K-line connection with the vehicle to be diagnosed, but establishes a K-line connection with the device connector, and sends a diagnostic instruction to the device connector; and the equipment connector encapsulates the received diagnosis instruction into a first data packet and sends the first data packet to the vehicle connector, and the vehicle connector analyzes the first data packet to obtain the diagnosis instruction and then sends the diagnosis instruction to the vehicle. In the process, the diagnostic equipment and the vehicle to be diagnosed are decoupled through the equipment connector and the vehicle connector, so that the K-line-based remote data interaction between the diagnostic equipment and the vehicle to be diagnosed is realized.
The following describes still another vehicle remote diagnosis method provided in the embodiments of the present application, which is applied to a vehicle connector. Referring to fig. 4, fig. 4 shows a specific implementation flow of the vehicle remote diagnosis method, which is detailed as follows:
step 401, receiving a first data packet sent by a device connector through remote communication;
step 402, analyzing the first data packet to obtain a diagnosis instruction, wherein the diagnosis instruction is generated by a diagnosis device based on a K-line protocol, and is encapsulated into the first data packet after being sent to a device connector;
step 403, sending the diagnosis instruction to a vehicle to be diagnosed so that the vehicle to be diagnosed generates diagnosis response data according to the diagnosis instruction;
step 404, receiving the diagnosis response data sent by the vehicle to be diagnosed;
step 405, encapsulating the diagnostic response data into a second data packet;
step 406, sending the second data packet to the device connector through remote communication, so that the device connector analyzes the second data packet to obtain diagnosis response data, and sending the diagnosis response data to the diagnosis device through the device connector, so that the diagnosis device analyzes and processes the diagnosis response data to obtain a diagnosis result.
Wherein, steps 401 and 402 are the same as or similar to step 204, step 403 is the same as or similar to step 205, steps 404 and 405 are the same as or similar to step 208, and step 406 is the same as or similar to step 209, which are not repeated herein.
Optionally, before the step 401, the vehicle remote diagnosis method further includes:
acquiring vehicle information of the vehicle to be diagnosed;
determining corresponding K line configuration information according to the vehicle information;
and establishing K line connection with the vehicle to be diagnosed according to the K line configuration information.
In the embodiment of the present application, the vehicle information is specifically used to identify the vehicle to be diagnosed. Because the number of current automobile manufacturers is large, in order to better establish the K-line connection between the vehicle connector and the vehicle to be diagnosed, the vehicle information of the vehicle to be diagnosed can be obtained firstly, and then the corresponding K-line configuration information is determined according to the vehicle information, so that the equipment connector can establish the K-line connection with the diagnosis equipment according to the configuration information. Specifically, the vehicle connector is connected to the vehicle to be diagnosed through the ECU of the vehicle to be diagnosed, and thus, the K-line configuration information may be determined by: and determining vehicle type information and vehicle Electronic Control Unit (ECU) information in the vehicle information, and then determining corresponding K-line configuration information according to the vehicle type information and the ECU information.
In some embodiments, the vehicle type of the vehicle to be diagnosed may be obtained by analyzing a vehicle identification code of the vehicle to be diagnosed after the vehicle identification code is read by the vehicle connector; alternatively, the owner of the vehicle to be diagnosed may directly input the model of the vehicle to be diagnosed into the vehicle connector, which is not limited herein. After the vehicle connector acquires the vehicle type of the vehicle to be diagnosed, the vehicle type of the vehicle to be diagnosed can be synchronized into the equipment connector through remote communication.
In some embodiments, the K-line configuration information specifically includes: a K-line pin used for data transmission by the K-line protocol, a data transmission rate used for data transmission by the K-line protocol, and the like, which are not limited herein. Based on this, the establishing of the K-wire connection with the vehicle to be diagnosed according to the K-wire configuration information is specifically represented as: and performing K-line communication BPS configuration according to the K-line configuration information, and establishing K-line connection with the vehicle to be diagnosed according to the K-line configuration information and the BPS.
It should be noted that the K-wire connection is established in the form of a local cable, i.e., a wired connection between the vehicle connector and the vehicle to be diagnosed. The above K-line protocols include but are not limited to communication protocols such as ISO 14230, ISO9421, SAE J2740, and SAE J281, which are not described herein.
Specifically, the diagnosis instruction is a K-line level signal; accordingly, the step 402 specifically includes:
analyzing the first data packet to obtain a K line horizontal signal;
processing the K line level signal to obtain a first level signal and a second level signal;
and forming a diagnosis command by the first level signal and the second level signal according to time sequence.
In the embodiment of the application, the vehicle connector can send the diagnosis instruction represented by the level signal to the vehicle to be diagnosed through the K-wire protocol. According to the K-line protocol, the diagnostic instruction generated and transmitted by the diagnostic device includes level data and serial port data, which are all represented by level signals, that is, the data carried by the first data packet is actually K-line level signals; based on the above, after the vehicle connector analyzes the first data packet, only the K-line level signal is obtained firstly; the vehicle connector can then process the K-line level signal according to a preset K-line data transmission format to obtain a first level signal and a second level signal, wherein the first level signal is used for representing the real level (namely level data) of a K-line pin of the diagnostic equipment, and the second level signal is used for representing the K-line serial data of the diagnostic equipment; then, in order to avoid an error in reading signals due to an incorrect timing sequence of the vehicle to be diagnosed, the vehicle connector further needs to combine the first level signal and the second level signal into a diagnosis instruction according to the timing sequence, and at this time, the vehicle connector completes analysis of the first data packet, so as to obtain the diagnosis instruction carried by the first data packet.
Specifically, the step of processing the K-line level signal to obtain a first level signal and a second level signal includes:
separating the K line level signal to obtain an initial first level signal and an initial second level signal;
converting regular signals in the initial first level signals into newly-added second level signals;
determining a part of the initial first level signal except the regular signal as a first level signal; the initial second level signal and the new second level signal are combined into a second level signal.
In the embodiment of the present application, the K-line level signals may be signal-separated according to a data structure adopted by the K-line protocol to obtain the initial first level signals and the initial second level signals. The initial first level signal carries a regular signal. The data format of the regular signal is shown in fig. 5: it is composed of a start bit, a seven-bit data bit, a check bit and a stop bit; that is, the signals satisfying the data format shown in fig. 5 are regular signals. The data bits of the regular signal are related to K-line serial port data. Therefore, a regular signal in the initial first level signal may be converted into a new level signal, which is recorded as a new second level signal, and then a signal remaining after the removal of the regular signal from the initial first level signal may be determined as the first level signal, and a signal obtained by combining the initial second level signal and the new second level signal may be determined as the second level signal. It should be noted that, when converting the regular signal into the new second level signal, the conversion is performed based on the configured BPS, so as to avoid the conversion error caused by the misalignment of the read signal.
As can be seen from the above, in the embodiment of the present application, the vehicle to be diagnosed does not directly establish a K-line connection with the diagnostic device, but establishes a K-line connection with the vehicle connector, and receives the diagnostic instruction sent by the diagnostic device through the vehicle connector; and the vehicle connector encapsulates the diagnosis response data fed back by the vehicle to be diagnosed into a diagnosis response data packet and sends the diagnosis response data packet to the equipment connector, and the equipment connector analyzes the diagnosis response data packet to obtain the diagnosis response data and then sends the diagnosis response data to the diagnosis equipment. In the process, the vehicle to be diagnosed and the diagnostic equipment are decoupled through the vehicle connector and the equipment connector, so that the K-line-based remote data interaction between the vehicle to be diagnosed and the diagnostic equipment is realized.
In correspondence with the vehicle remote diagnosis method applied to the equipment connector as set forth above, the embodiment of the present application provides a vehicle remote diagnosis apparatus applied to the equipment connector. As shown in fig. 6, the vehicle remote diagnosis apparatus 600 includes:
a diagnostic instruction receiving unit 601 configured to receive a diagnostic instruction generated by the diagnostic apparatus based on the K-line protocol;
a first packet encapsulation unit 602, configured to encapsulate the diagnostic command into a first packet;
a first data packet sending unit 603, configured to send the first data packet to a vehicle connector through a remote communication manner, so that the vehicle connector analyzes the first data packet to obtain the diagnosis instruction, and further sends the diagnosis instruction to a vehicle to be diagnosed and receives diagnosis response data generated by the vehicle to be diagnosed according to the diagnosis instruction, and encapsulates the diagnosis response data into a second data packet;
a second packet receiving unit 604 for receiving the second packet transmitted by the vehicle connector through remote communication;
a second packet analyzing unit 605, configured to analyze the second packet to obtain the diagnostic response data;
a diagnostic response data sending unit 606, configured to send the diagnostic response data to the diagnostic device, so that the diagnostic device performs analysis processing on the diagnostic response data to obtain a diagnostic result.
Optionally, the vehicle remote diagnosis apparatus 600 further includes:
a vehicle information acquisition unit for acquiring vehicle information of a vehicle to be diagnosed;
the configuration information determining unit is used for determining corresponding K line configuration information according to the vehicle information;
and the connection establishing unit is used for establishing K-line connection with the diagnostic equipment according to the configuration information.
Optionally, the configuration information determining unit is specifically configured to determine vehicle type information in the vehicle information, and determine corresponding K-line configuration information in a preset configuration table according to the vehicle type information.
As can be seen from the above, in the embodiment of the present application, the diagnostic device does not directly establish a K-line connection with the vehicle to be diagnosed, but establishes a K-line connection with the device connector, and sends a diagnostic instruction to the device connector; and the equipment connector encapsulates the received diagnosis instruction into a first data packet and sends the first data packet to the vehicle connector, and the vehicle connector analyzes the first data packet to obtain the diagnosis instruction and then sends the diagnosis instruction to the vehicle. In the process, the diagnostic equipment and the vehicle to be diagnosed are decoupled through the equipment connector and the vehicle connector, so that the K-line-based remote data interaction between the diagnostic equipment and the vehicle to be diagnosed is realized.
In correspondence with the vehicle remote diagnosis method applied to the vehicle connector as set forth above, the embodiment of the present application provides a vehicle remote diagnosis device applied to the vehicle connector. As shown in fig. 7, the vehicle remote diagnosis apparatus 700 includes:
a first packet receiving unit 701 for receiving a first packet transmitted by the device connector through the remote communication;
a first packet parsing unit 702, configured to parse the first packet to obtain a diagnostic instruction, where the diagnostic instruction is generated by a diagnostic device based on a K-line protocol, and is encapsulated into the first packet after being sent to a device connector;
a diagnosis instruction sending unit 703, configured to send the diagnosis instruction to a vehicle to be diagnosed, so that the vehicle to be diagnosed generates diagnosis response data according to the diagnosis instruction;
a diagnostic response data receiving unit 704 configured to receive the diagnostic response data transmitted by the vehicle to be diagnosed;
a second packet encapsulating unit 705, configured to encapsulate the diagnostic response data into a second packet;
a second packet sending unit 706, configured to send the second packet to the device connector through remote communication, so that the device connector analyzes the second packet to obtain diagnosis response data, and send the diagnosis response data to the diagnosis device through the device connector, so that the diagnosis device analyzes and processes the diagnosis response data to obtain a diagnosis result.
Optionally, the vehicle remote diagnosis apparatus 700 further includes:
a vehicle information acquisition unit for acquiring vehicle information of the vehicle to be diagnosed;
the configuration information determining unit is used for determining corresponding K line configuration information according to the vehicle information;
and the connection establishing unit is used for establishing K line connection with the vehicle to be diagnosed according to the K line configuration information.
Optionally, the configuration information determining unit is specifically configured to determine vehicle type information and vehicle electronic control unit ECU information in the vehicle information, and determine corresponding K-line configuration information according to the vehicle type information and the ECU information;
the connection establishing unit is specifically configured to perform a K-line communication data transmission rate BPS configuration according to the K-line configuration information, and establish a K-line connection with the vehicle to be diagnosed according to the K-line configuration information and the BPS.
Optionally, the diagnosis instruction is a K-line level signal; the first packet parsing unit includes:
the analysis subunit is used for analyzing the first data packet to obtain a K line horizontal signal;
the processing subunit is used for processing the K line level signal to obtain a first level signal and a second level signal;
and the composition subunit is used for composing the first level signal and the second level signal into a diagnosis instruction according to time sequence.
Optionally, the processing subunit includes:
a separation subunit, configured to separate the K-line level signal to obtain an initial first level signal and an initial second level signal;
a conversion subunit, configured to convert a regular signal in the initial first level signal into a newly added second level signal;
and a determining subunit, configured to determine a portion of the initial first level signal excluding the regular signal as a first level signal, and combine the initial second level signal and the newly added second level signal into a second level signal.
As can be seen from the above, in the embodiment of the present application, the vehicle to be diagnosed does not directly establish a K-line connection with the diagnostic device, but establishes a K-line connection with the vehicle connector, and receives the diagnostic instruction sent by the diagnostic device through the vehicle connector; and the vehicle connector encapsulates the diagnosis response data fed back by the vehicle to be diagnosed into a diagnosis response data packet and sends the diagnosis response data packet to the equipment connector, and the equipment connector analyzes the diagnosis response data packet to obtain the diagnosis response data and then sends the diagnosis response data to the diagnosis equipment. In the process, the vehicle to be diagnosed and the diagnostic equipment are decoupled through the vehicle connector and the equipment connector, so that the K-line-based remote data interaction between the vehicle to be diagnosed and the diagnostic equipment is realized.
The embodiment of the application also provides an equipment connector. Referring to fig. 8, fig. 8 is a schematic structural diagram of an apparatus connector according to an embodiment of the present disclosure. As shown in fig. 8, the device connector 8 of this embodiment includes: at least one processor 80 (only one processor is shown in fig. 8), a memory 81, and a computer program 82 stored in the memory 81 and executable on the at least one processor 80, wherein the processor 80 executes the computer program 82 to implement the steps in the method embodiments applied to the device connector, such as:
receiving a diagnosis instruction generated by the diagnosis equipment based on a K-line protocol;
encapsulating the diagnosis instruction into a first data packet;
sending the first data packet to a vehicle connector in a remote communication mode, so that the vehicle connector analyzes the first data packet to obtain the diagnosis instruction, further sending the diagnosis instruction to a vehicle to be diagnosed, receiving diagnosis response data generated by the vehicle to be diagnosed according to the diagnosis instruction, and packaging the diagnosis response data into a second data packet;
receiving the second data packet transmitted by the vehicle connector through remote communication;
analyzing the second data packet to obtain the diagnosis response data;
and sending the diagnosis response data to the diagnosis equipment so that the diagnosis equipment analyzes and processes the diagnosis response data to obtain a diagnosis result.
The device connector may include, but is not limited to, a processor 80, a memory 81. Those skilled in the art will appreciate that fig. 8 is merely an example of the device connector 8 and does not constitute a limitation of the device connector 8, and may include more or less components than those shown, or combine certain components, or different components, such as input output devices, network access devices, etc.
The Processor 80 may be a Central Processing Unit (CPU), and the Processor 80 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, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 81 may be an internal storage unit of the device connector 8, such as a hard disk or a memory of the device connector 8. The memory 81 may be an external storage device of the device connector 8 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), and the like, which are provided on the device connector 8. Further, the memory 81 may include both an internal storage unit of the device connector 8 and an external storage device. The memory 81 is used for storing an operating system, an application program, a BootLoader (BootLoader), data, and other programs, such as a program code of the computer program. The above-mentioned memory 81 can also be used to temporarily store data that has been output or is to be output.
As can be seen from the above, in the embodiment of the present application, the vehicle to be diagnosed does not directly establish a K-line connection with the diagnostic device, but establishes a K-line connection with the vehicle device connector, and receives the diagnostic instruction sent by the diagnostic device through the vehicle device connector; and the vehicle equipment connector encapsulates the diagnosis response data fed back by the vehicle to be diagnosed into a diagnosis response data packet and sends the diagnosis response data to the equipment connector, and the equipment connector analyzes the diagnosis response data packet to obtain the diagnosis response data and then sends the diagnosis response data to the diagnosis equipment. In the process, the vehicle to be diagnosed and the diagnostic equipment are decoupled through the vehicle equipment connector and the equipment connector, so that the K-line-based remote data interaction between the vehicle to be diagnosed and the diagnostic equipment is realized.
The embodiment of the application also provides a vehicle connector. Referring to fig. 9, fig. 9 is a schematic structural diagram of a vehicle connector according to an embodiment of the present disclosure. As shown in fig. 9, the vehicle connector 9 of this embodiment includes: at least one processor 90 (only one processor is shown in fig. 9), a memory 91, and a computer program 92 stored in the memory 91 and executable on the at least one processor 90, the processor 90 implementing the steps in the method embodiments applied to the vehicle connector when executing the computer program 92, for example:
receiving a first data packet sent by a device connector through remote communication;
analyzing the first data packet to obtain a diagnosis instruction, wherein the diagnosis instruction is generated by a diagnosis device based on a K-line protocol, and is encapsulated into the first data packet after being sent to a device connector;
sending the diagnosis instruction to a vehicle to be diagnosed so that the vehicle to be diagnosed generates diagnosis response data according to the diagnosis instruction;
receiving the diagnosis response data transmitted from the vehicle to be diagnosed;
encapsulating the diagnostic response data into a second data packet;
and sending the second data packet to the equipment connector through remote communication so that the equipment connector analyzes the second data packet to obtain diagnosis response data, and sending the diagnosis response data to the diagnosis equipment through the equipment connector so that the diagnosis equipment analyzes and processes the diagnosis response data to obtain a diagnosis result.
The vehicle connector may include, but is not limited to, a processor 90, a memory 91. Those skilled in the art will appreciate that fig. 9 is merely an example of the vehicle connector 9, and does not constitute a limitation of the vehicle connector 9, and may include more or less components than those shown, or combine certain components, or different components, such as input-output devices, network access devices, etc.
The Processor 90 may be a Central Processing Unit (CPU), and the Processor 90 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, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 91 may be an internal storage unit of the vehicle connector 9 in some embodiments, such as a hard disk or a memory of the vehicle connector 9. The memory 91 may be an external storage device of the vehicle connector 9 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), and the like, which are provided on the vehicle connector 9. Further, the memory 91 may include both an internal storage unit of the vehicle connector 9 and an external storage device. The memory 91 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 above-mentioned memory 91 can also be used to temporarily store data that has been output or is to be output.
As can be seen from the above, in the embodiment of the present application, the vehicle to be diagnosed does not directly establish a K-line connection with the diagnostic device, but establishes a K-line connection with the vehicle connector, and receives the diagnostic instruction sent by the diagnostic device through the vehicle connector; and the vehicle connector encapsulates the diagnosis response data fed back by the vehicle to be diagnosed into a diagnosis response data packet and sends the diagnosis response data packet to the equipment connector, and the equipment connector analyzes the diagnosis response data packet to obtain the diagnosis response data and then sends the diagnosis response data to the diagnosis equipment. In the process, the vehicle to be diagnosed and the diagnostic equipment are decoupled through the vehicle connector and the equipment connector, so that the K-line-based remote data interaction between the vehicle to be diagnosed and the diagnostic equipment is realized.
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 functions may be distributed as different functional units and modules according to needs, that is, the internal structure of the apparatus may be divided into different functional units or modules to implement 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 embodiment of the present application further provides a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the computer program can implement the steps in the above method embodiments.
The embodiments of the present application provide a computer program product, which when running on a connector, enables the connector to implement the steps in the above method embodiments when executed.
The integrated unit may be stored in a computer-readable storage medium if it is implemented in the form of a software functional unit and sold or used as a separate product. 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. The computer program includes computer program code, and the computer program code may be in a source code form, an object code form, an executable file or some intermediate form. The computer-readable medium may include at least: any entity or device capable of carrying computer program code to a photographing apparatus/connector, a recording medium, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), an electrical carrier signal, a telecommunications signal, and a 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 above modules or units is only one logical function division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. 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 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 (11)

1. A vehicle remote diagnosis method is applied to a vehicle remote diagnosis system, the vehicle remote diagnosis system comprises a diagnosis device, a device connector, a vehicle connector and a vehicle to be diagnosed, and the vehicle remote diagnosis method comprises the following steps:
the device connector receives a diagnosis instruction generated by the diagnosis device based on a K-line protocol, encapsulates the diagnosis instruction into a first data packet and sends the first data packet to the vehicle connector through remote communication, wherein the first data packet uses a data format suitable for the remote communication;
the vehicle connector receives the first data packet, analyzes the first data packet to obtain the diagnosis instruction, and sends the diagnosis instruction to the vehicle to be diagnosed so that the vehicle to be diagnosed generates diagnosis response data according to the diagnosis instruction;
the vehicle connector receives the diagnosis response data of the vehicle to be diagnosed, encapsulates the diagnosis response data into a second data packet, and sends the second data packet to the equipment connector through remote communication, wherein the second data packet uses a data format suitable for the remote communication;
and the equipment connector receives the second data packet, analyzes the second data packet to obtain the diagnosis response data, and sends the diagnosis response data to the diagnosis equipment so that the diagnosis equipment analyzes and processes the diagnosis response data to obtain a diagnosis result.
2. A vehicle remote diagnosis method applied to an equipment connector, comprising:
receiving a diagnosis instruction generated by the diagnosis equipment based on a K-line protocol;
encapsulating the diagnostic instruction into a first data packet;
sending the first data packet to a vehicle connector in a remote communication mode so that the vehicle connector analyzes the first data packet to obtain the diagnosis instruction, further sending the diagnosis instruction to a vehicle to be diagnosed, receiving diagnosis response data generated by the vehicle to be diagnosed according to the diagnosis instruction, and packaging the diagnosis response data into a second data packet;
receiving the second data packet transmitted by the vehicle connector through remote communication;
analyzing the second data packet to obtain the diagnosis response data;
and sending the diagnosis response data to the diagnosis equipment so that the diagnosis equipment analyzes and processes the diagnosis response data to obtain a diagnosis result.
3. The vehicle remote diagnosis method according to claim 2, wherein, prior to receiving the diagnosis instruction generated by the diagnosis device based on the K-line protocol, the vehicle remote diagnosis method further comprises:
acquiring vehicle information of a vehicle to be diagnosed;
determining corresponding K line configuration information according to the vehicle information;
and establishing K-line connection with the diagnosis equipment according to the configuration information.
4. The vehicle remote diagnosis method according to claim 3, wherein the determining the corresponding K-line configuration information according to the vehicle information comprises:
determining vehicle type information in the vehicle information;
and determining corresponding K-line configuration information in a preset configuration table according to the vehicle type information.
5. A vehicle remote diagnosis method applied to a vehicle connector, comprising:
receiving a first data packet sent by a device connector through remote communication;
analyzing the first data packet to obtain a diagnosis instruction, wherein the diagnosis instruction is generated by a diagnosis device based on a K-line protocol, and is encapsulated into the first data packet after being sent to a device connector;
sending the diagnosis instruction to a vehicle to be diagnosed so that the vehicle to be diagnosed generates diagnosis response data according to the diagnosis instruction;
receiving the diagnostic response data transmitted by the vehicle to be diagnosed;
encapsulating the diagnostic response data into a second data packet;
and sending the second data packet to the equipment connector through remote communication so that the equipment connector analyzes the second data packet to obtain diagnosis response data, and sending the diagnosis response data to the diagnosis equipment through the equipment connector so that the diagnosis equipment analyzes and processes the diagnosis response data to obtain a diagnosis result.
6. The vehicle remote diagnosis method according to claim 5, wherein before the first data packet transmitted by the remote communication by the reception apparatus connector, the vehicle remote diagnosis method further comprises:
acquiring vehicle information of the vehicle to be diagnosed;
determining corresponding K line configuration information according to the vehicle information;
and establishing K line connection with the vehicle to be diagnosed according to the K line configuration information.
7. The vehicle remote diagnosis method according to claim 6, wherein the determining the corresponding K-line configuration information according to the vehicle information comprises:
determining vehicle type information and vehicle Electronic Control Unit (ECU) information in the vehicle information;
determining corresponding K line configuration information according to the vehicle type information and the ECU information;
the establishing of the K line connection with the vehicle to be diagnosed according to the K line configuration information comprises the following steps:
carrying out K line communication data transmission rate BPS configuration according to the K line configuration information;
and establishing K line connection with the vehicle to be diagnosed according to the K line configuration information and the BPS.
8. The vehicle remote diagnosis method according to any one of claims 5 to 7, wherein the diagnosis command is a K-line level signal;
the analyzing the first data packet to obtain a diagnosis instruction comprises:
analyzing the first data packet to obtain a K line horizontal signal;
processing the K line level signal to obtain a first level signal and a second level signal;
and composing the first level signal and the second level signal into a diagnosis instruction according to time sequence.
9. The vehicle remote diagnosis method according to claim 8, wherein said processing the K-line level signal into a first level signal and a second level signal comprises:
separating the K line level signal to obtain an initial first level signal and an initial second level signal;
converting regular signals in the initial first level signal into newly-added second level signals;
determining a part of the initial first level signal except the regular signal as a first level signal; and combining the initial second level signal and the newly added second level signal into a second level signal.
10. A device connector, characterized in that the device connector comprises:
a memory for storing an executable computer program;
a processor for executing the executable computer program to implement the method of any of claims 2-4.
11. A vehicle connector, characterized in that the vehicle connector comprises:
a memory for storing an executable computer program;
a processor for executing the executable computer program to implement the method of any one of claims 5-9.
CN202010321688.9A 2020-04-22 2020-04-22 Vehicle remote diagnosis method, equipment connector and vehicle connector Active CN111552268B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010321688.9A CN111552268B (en) 2020-04-22 2020-04-22 Vehicle remote diagnosis method, equipment connector and vehicle connector

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010321688.9A CN111552268B (en) 2020-04-22 2020-04-22 Vehicle remote diagnosis method, equipment connector and vehicle connector

Publications (2)

Publication Number Publication Date
CN111552268A true CN111552268A (en) 2020-08-18
CN111552268B CN111552268B (en) 2023-10-24

Family

ID=72004060

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010321688.9A Active CN111552268B (en) 2020-04-22 2020-04-22 Vehicle remote diagnosis method, equipment connector and vehicle connector

Country Status (1)

Country Link
CN (1) CN111552268B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114650194A (en) * 2022-03-29 2022-06-21 深圳市元征科技股份有限公司 Data communication method, device, electronic equipment and storage medium
CN114866585A (en) * 2022-04-24 2022-08-05 深圳市元征科技股份有限公司 Remote upgrading method, device and system and equipment end connector
CN115002240A (en) * 2022-08-04 2022-09-02 深圳市星卡软件技术开发有限公司 Data transmission system, method, device, equipment and medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105745939A (en) * 2013-11-21 2016-07-06 标致·雪铁龙汽车公司 Virtual communication interface for motor vehicle diagnosis
JP2016141160A (en) * 2015-01-29 2016-08-08 株式会社デンソー Electronic control unit and electronic control system
CN107272649A (en) * 2017-07-05 2017-10-20 东南(福建)汽车工业有限公司 Malfunction remote diagnosis system and method
CN111024405A (en) * 2019-11-28 2020-04-17 深圳市元征科技股份有限公司 Automobile diagnosis method, related device and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105745939A (en) * 2013-11-21 2016-07-06 标致·雪铁龙汽车公司 Virtual communication interface for motor vehicle diagnosis
JP2016141160A (en) * 2015-01-29 2016-08-08 株式会社デンソー Electronic control unit and electronic control system
CN107272649A (en) * 2017-07-05 2017-10-20 东南(福建)汽车工业有限公司 Malfunction remote diagnosis system and method
CN111024405A (en) * 2019-11-28 2020-04-17 深圳市元征科技股份有限公司 Automobile diagnosis method, related device and system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114650194A (en) * 2022-03-29 2022-06-21 深圳市元征科技股份有限公司 Data communication method, device, electronic equipment and storage medium
CN114650194B (en) * 2022-03-29 2024-05-10 深圳市元征科技股份有限公司 Data communication method, device, electronic equipment and storage medium
CN114866585A (en) * 2022-04-24 2022-08-05 深圳市元征科技股份有限公司 Remote upgrading method, device and system and equipment end connector
CN115002240A (en) * 2022-08-04 2022-09-02 深圳市星卡软件技术开发有限公司 Data transmission system, method, device, equipment and medium
CN115002240B (en) * 2022-08-04 2022-12-16 深圳市星卡软件技术开发有限公司 Data transmission system, method, device, equipment and medium

Also Published As

Publication number Publication date
CN111552268B (en) 2023-10-24

Similar Documents

Publication Publication Date Title
CN111427335B (en) Vehicle remote diagnosis method, equipment connector and vehicle connector
CN111552268B (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
CN114253251A (en) Vehicle remote diagnosis method and device, equipment connector and storage medium
CN111294235B (en) Data processing method, device, gateway and readable storage medium
CN111506047B (en) Vehicle diagnosis method, device and storage medium
CN112362983A (en) Battery management system diagnosis method, upper computer and system
CN112187936A (en) Vehicle data processing method, device, equipment, storage medium and vehicle
US20230114166A1 (en) Log acquisition method and apparatus, terminal, server, and computer readable storage medium
CN114839959A (en) Vehicle remote diagnosis method and system based on SOA (service oriented architecture) service
CN112740627A (en) Vehicle remote diagnosis method and system
CN108390863B (en) Data processing method and device
CN113645097A (en) Vehicle signal monitoring method, terminal equipment and electronic control unit
CN109660436B (en) Dual-CAN channel data processing method, gateway equipment and system
CN114360096A (en) Data transmission method, device, communication equipment and storage medium
DE69913927T2 (en) communication system
CN114338270B (en) Data communication method, device, electronic equipment and storage medium
CN114326673A (en) Vehicle remote diagnosis method and device, connector and storage medium
KR20240017005A (en) Remote vehicle communication filtering
CN112492546A (en) Automobile control method and system and readable storage medium
CN112650597A (en) Processing system and method for high-concurrency acquired data
CN111683347B (en) Ignition signal synchronization method and related equipment
US10529149B1 (en) Off road vehicle network translation device
CN213213677U (en) Vehicle-mounted camera and motor vehicle video acquisition system

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
GR01 Patent grant
GR01 Patent grant