CN118018978A - Multi-channel communication method and system based on vehicle diagnosis and electronic equipment - Google Patents

Multi-channel communication method and system based on vehicle diagnosis and electronic equipment Download PDF

Info

Publication number
CN118018978A
CN118018978A CN202410157047.2A CN202410157047A CN118018978A CN 118018978 A CN118018978 A CN 118018978A CN 202410157047 A CN202410157047 A CN 202410157047A CN 118018978 A CN118018978 A CN 118018978A
Authority
CN
China
Prior art keywords
vehicle
diagnosis
diagnosed
data transmission
transmission device
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
CN202410157047.2A
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 Xingka Technology Co ltd
Original Assignee
Shenzhen Xingka 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 Xingka Technology Co ltd filed Critical Shenzhen Xingka Technology Co ltd
Priority to CN202410157047.2A priority Critical patent/CN118018978A/en
Publication of CN118018978A publication Critical patent/CN118018978A/en
Pending legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The application provides a multichannel communication method, a multichannel communication system and electronic equipment based on vehicle diagnosis. In the method, after a Bluetooth communication connection is established between a vehicle diagnosis device and a data transmission device through a Bluetooth module, the vehicle diagnosis device sends a vehicle diagnosis request to the data transmission device; the data transmission device is connected with a connecting socket on the vehicle through a connecting plug of the data transmission device, and then the vehicle is subjected to system scanning through the connecting socket to obtain at least one system to be diagnosed; after each system to be diagnosed is allocated with a diagnosis channel, a diagnosis instruction is sent to the corresponding system to be diagnosed through each diagnosis channel; receiving diagnosis data of corresponding systems to be diagnosed fed back by each diagnosis channel, and sending the diagnosis data of each system to be diagnosed to vehicle diagnosis equipment; the vehicle diagnostic apparatus determines a vehicle diagnostic result of the vehicle based on diagnostic data of each of the systems to be diagnosed. The method improves the diagnosis efficiency of the vehicle electric control system through a parallel diagnosis mode of the multichannel electric control system.

Description

Multi-channel communication method and system based on vehicle diagnosis and electronic equipment
Technical Field
The application relates to the technical field of vehicles, in particular to a multichannel communication method, a multichannel communication system and electronic equipment based on vehicle diagnosis.
Background
With the increasing complexity of modern automotive systems, the acquisition and processing of automotive system data is critical for automotive repair, diagnostics, and performance optimization. Conventional data acquisition methods typically use wired connections, however, such connection methods have a number of problems including complex installation, limited vehicle range of movement, susceptibility to physical damage, and the like. With the rapid development of bluetooth technology, bluetooth connection becomes a more convenient and flexible choice. Especially in auto repair and diagnosis field, obtain car system data through bluetooth connection can improve the simple operation, also provide more activity space for vehicle driver simultaneously.
However, in the existing bluetooth connection technology, data is generally transmitted using a single channel, which results in a relatively slow data transmission speed. Automotive system data typically contains information generated by a number of subsystems, such as engine status, sensor data, brake system information, and the like. The transmission of these multi-source data through a single channel is limited in transmission speed, resulting in inefficiency in data processing.
Disclosure of Invention
The embodiment of the application aims to provide a multichannel communication method, a multichannel communication system and electronic equipment based on vehicle diagnosis, so as to solve the technical problem of low working efficiency of vehicle diagnosis.
In a first aspect, a multi-channel communication method based on vehicle diagnosis is provided, and the multi-channel communication method is applied to a communication system formed by vehicle diagnosis equipment, a data transmission device and a vehicle, wherein the data transmission device and the vehicle diagnosis equipment both comprise a bluetooth module, a connection socket is arranged on the vehicle, a connection plug corresponding to the connection socket is arranged on the data transmission device, and an MCU supporting a plurality of diagnosis channels is arranged in the data transmission device, and the method may include:
the data transmission device establishes Bluetooth communication connection between the vehicle diagnosis equipment and the data transmission device through a Bluetooth module and a Bluetooth module of the vehicle diagnosis equipment;
the data transmission device receives a vehicle diagnosis request sent by the vehicle diagnosis equipment, wherein the vehicle diagnosis request comprises a diagnosis instruction;
the data transmission device is connected with the connecting socket on the vehicle through the connecting socket after the connecting plug of the data transmission device is connected with the connecting socket on the vehicle, and the vehicle is subjected to system scanning to obtain at least one system to be diagnosed of the vehicle;
After each system to be diagnosed is allocated with a diagnosis channel by the data transmission device, a diagnosis instruction is sent to the corresponding system to be diagnosed through each diagnosis channel; receiving diagnosis data of corresponding systems to be diagnosed fed back by each diagnosis channel, and sending the diagnosis data of each system to be diagnosed to the vehicle diagnosis equipment;
The vehicle diagnostic apparatus acquires a vehicle diagnostic result of the vehicle based on the diagnostic data of the respective systems to be diagnosed.
In one possible implementation, the vehicle diagnosis request further includes model information of the vehicle; the method further comprises the steps of:
The data transmission device searches a comparison table between stored information of different vehicle types and different socket connection pins to obtain a target socket connection pin corresponding to the information of the vehicle types;
and switching the socket connection pin in the connection plug into the target socket connection pin so as to enable the connection plug of the data transmission device to be connected with the connection socket on the vehicle.
In one possible implementation, before the data transmission device searches the stored comparison table between the different vehicle type information and the socket connection pins, the method further includes:
the data transmission device searches a comparison table between stored information of different vehicle types and different communication protocols to obtain a target communication protocol corresponding to the information of the vehicle types;
after the data transmission device searches the stored comparison table between the information of different vehicle types and the socket connection pins, the method further comprises the following steps:
and switching the socket connection pin in the connection plug into the target socket connection pin, and controlling the target socket connection pin to support the target communication protocol so as to enable the connection plug of the data transmission device to be connected with the connection socket on the vehicle.
In one possible implementation, the data transmission device further includes a connection control module; the method further comprises the steps of:
And controlling connection and disconnection of the connection plug of the data transmission device and the connection socket on the vehicle in response to the received connection control request.
In one possible implementation, the method further comprises:
for any diagnosis channel, if the data transmission device does not receive the diagnosis data of the corresponding system to be diagnosed fed back by the diagnosis channel within a preset timeout period after sending a diagnosis instruction to the corresponding system to be diagnosed through the diagnosis channel, returning to the execution step: sending a diagnosis instruction to a corresponding system to be diagnosed through the diagnosis channel until the number of times of return execution reaches a preset number of times threshold;
If the number of the return execution times reaches a preset number threshold, the data transmission device sends indication information that the corresponding system to be diagnosed is not diagnosed successfully to the vehicle diagnosis equipment.
In one possible implementation, the method further comprises:
If the number of the systems to be diagnosed is greater than the number of the diagnostic channels, the data transmission device allocates one diagnostic channel to each system to be diagnosed according to the stored diagnostic priority identifiers of different systems to be diagnosed, and executes the steps of: sending diagnosis instructions to corresponding systems to be diagnosed through all diagnosis channels;
Monitoring the service condition of each diagnosis channel in real time, if an idle diagnosis channel is monitored, distributing the idle diagnosis channel to the system to be diagnosed with the highest diagnosis priority identification in the rest systems to be diagnosed, and executing the steps: and sending diagnosis instructions to the corresponding systems to be diagnosed through the diagnosis channels until all the systems to be diagnosed are diagnosed.
In a second aspect, a vehicle diagnostic-based multichannel communication system is provided, which may include:
The vehicle diagnosis device comprises vehicle diagnosis equipment, a data transmission device and a vehicle, wherein the data transmission device and the vehicle diagnosis equipment both comprise Bluetooth modules, a connection socket is arranged on the vehicle, a connection plug corresponding to the connection socket is arranged on the data transmission device, and an MCU (micro control unit) supporting a plurality of diagnosis channels is arranged in the data transmission device;
the vehicle diagnosis equipment is used for establishing Bluetooth communication connection between the vehicle diagnosis equipment and the data transmission device through a connection request sent by the Bluetooth module to the Bluetooth module of the data transmission device and sending a vehicle diagnosis request to the data transmission device, wherein the vehicle diagnosis request comprises a diagnosis instruction;
the data transmission device is used for receiving a vehicle diagnosis request sent by the vehicle diagnosis equipment; after the connecting plug of the data transmission device is connected with the connecting socket on the vehicle, the vehicle is subjected to system scanning through the connecting socket to obtain at least one system to be diagnosed of the vehicle;
After each system to be diagnosed is allocated with one diagnosis channel, a diagnosis instruction is sent to the corresponding system to be diagnosed through each diagnosis channel; receiving diagnosis data of corresponding systems to be diagnosed fed back by each diagnosis channel, and sending the diagnosis data of each system to be diagnosed to the vehicle diagnosis equipment;
the vehicle diagnostic apparatus is further configured to determine a vehicle diagnostic result of the vehicle based on the diagnostic data of the respective systems to be diagnosed.
In a third aspect, an electronic device is provided, the electronic device comprising a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory are in communication with each other via the communication bus;
a memory for storing a computer program;
A processor for implementing the method steps of any one of the above first aspects when executing a program stored on a memory.
In a fourth aspect, a computer-readable storage medium is provided, in which a computer program is stored which, when being executed by a processor, carries out the method steps of any of the first aspects.
In the multichannel communication method based on vehicle diagnosis, after the vehicle diagnosis equipment and the data transmission device are connected through Bluetooth communication, the vehicle diagnosis equipment sends a vehicle diagnosis request to the data transmission device; the data transmission device is connected with a connecting socket on the vehicle through the connecting socket after a connecting plug of the data transmission device is connected with the connecting socket, and the vehicle is subjected to system scanning to obtain at least one system to be diagnosed of the vehicle; after each system to be diagnosed is allocated with one diagnosis channel, a diagnosis instruction is sent to the corresponding system to be diagnosed through each diagnosis channel; receiving diagnosis data of corresponding systems to be diagnosed fed back by each diagnosis channel, and sending the diagnosis data of each system to be diagnosed to vehicle diagnosis equipment; the vehicle diagnostic apparatus determines a vehicle diagnostic result of the vehicle based on diagnostic data of each of the systems to be diagnosed. According to the method, the diagnosis sequence is determined through a multichannel electric control system parallel diagnosis mode and an electric control system priority ordering mode, so that the diagnosis efficiency of the vehicle electric control system is greatly improved, and the vehicle maintenance experience of a customer is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the embodiments of the present application will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and should not be considered as limiting the scope, and other related drawings can be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic diagram of a multichannel communication system based on vehicle diagnostics according to an embodiment of the present application;
Fig. 2 is a schematic structural diagram of a data transmission device according to an embodiment of the present application;
FIG. 3 is a schematic flow chart of a multi-channel communication method based on vehicle diagnosis according to an embodiment of the present application;
Fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments, but not all embodiments of the present application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
At present, the existing method for processing data by diagnosing joints in the process of diagnosing an automobile system is single-channel transceiving, as shown in fig. 1, when a plurality of systems exist, only one system can be scanned at a time, other systems wait for the completion of the first scanning and then sequentially go on, while the automobile is provided with a plurality of systems, when the automobile is scanned in a whole system, the time for processing data by diagnosing joints is very long, so that the diagnosis efficiency is low and the experience of customers is influenced.
In the existing diagnosis process, the data processing mode of the diagnosis joint is single-channel transceiving, when a plurality of systems exist, only one system can be scanned at a time, and when a plurality of systems exist, the data processing time of the diagnosis joint is the number of the systems multiplied by the scanning time of a single system, so that the speed of diagnosis is low, and the working efficiency of diagnosing the automobile system is low.
Based on the above, the embodiment of the application provides a multichannel communication method based on vehicle diagnosis, and the technical problem of low working efficiency in vehicle diagnosis can be relieved by the method.
The multi-channel communication method based on vehicle diagnosis provided by the embodiment of the application can be applied to the system architecture shown in fig. 1, and as shown in fig. 1, the system can comprise: a vehicle diagnostic device, a data transmission device and at least one vehicle to be diagnosed. If there are a plurality of vehicles to be diagnosed, the plurality of vehicles to be diagnosed may be vehicles of the same brand, different vehicle types, or vehicles of different brands, the same vehicle types, or vehicles of the same brand, the same vehicle types.
The vehicle diagnostic apparatus may include a bluetooth module and a diagnostic processing module for acquiring a vehicle diagnostic result.
The vehicle is provided with a connection socket and a plurality of ECU controlled systems to be diagnosed.
The data transmission device may include an MCU, a bluetooth module, and a connection plug provided corresponding to the connection socket, in which a plurality of diagnosis channels are supported, as shown in fig. 2.
The Bluetooth module in the data transmission device and the Bluetooth module of the vehicle diagnosis equipment can realize that the data transmission device and the vehicle diagnosis equipment are in communication connection; the connection of the connecting plug and the connecting socket can realize data transmission between the data transmission device and the vehicle.
The vehicle diagnosis equipment is used for establishing Bluetooth communication connection between the vehicle diagnosis equipment and the data transmission device through a connection request sent by the Bluetooth module to the Bluetooth module of the data transmission device, and sending a vehicle diagnosis request to the data transmission device, wherein the vehicle diagnosis request comprises a diagnosis instruction;
The data transmission device is used for receiving the vehicle diagnosis request sent by the vehicle diagnosis equipment; after the connecting plug of the data transmission device is connected with the connecting socket on the vehicle, the system scanning is carried out on the vehicle through the connecting socket, so as to obtain at least one system to be diagnosed of the vehicle; after each system to be diagnosed is allocated with one diagnosis channel, a diagnosis instruction is sent to the corresponding system to be diagnosed through each diagnosis channel; receiving diagnosis data of corresponding systems to be diagnosed fed back by each diagnosis channel, and sending the diagnosis data of each system to be diagnosed to vehicle diagnosis equipment;
The vehicle diagnosis device is also used for determining a vehicle diagnosis result of the vehicle based on the diagnosis data of each system to be diagnosed.
Further, the data transmission device may further include a connection control module and a pin switching module.
The connection control module is used for controlling connection and disconnection of a connection plug of the data transmission device and a connection socket on the vehicle;
the pin switching module is used for switching socket connection pins in the connection plug based on vehicle type information of the vehicle.
The vehicle diagnostic device may be a Mobile phone, a smart phone, a notebook computer, a digital broadcast receiver, a Personal Digital Assistant (PDA), a tablet personal computer (PAD), a User Equipment (UE), a handheld device, a vehicle-mounted device, a wearable device, a computing device, or other processing device connected to a wireless modem, a Mobile Station (MS), a Mobile Terminal (Mobile Terminal), or the like.
The preferred embodiments of the present application will be described below with reference to the accompanying drawings of the specification, it being understood that the preferred embodiments described herein are for illustration and explanation only, and not for limitation of the present application, and embodiments of the present application and features of the embodiments may be combined with each other without conflict.
Fig. 3 is a flow chart of a multi-channel communication method based on vehicle diagnosis according to an embodiment of the present application. As shown in fig. 3, the method may include:
and 31, the vehicle diagnosis equipment establishes Bluetooth communication connection between the vehicle diagnosis equipment and the data transmission device through the Bluetooth module and the Bluetooth module in the data transmission device.
Step 32, the vehicle diagnostic apparatus transmits a vehicle diagnostic request to the data transmission device.
The vehicle diagnostic request may include diagnostic instructions.
And step 33, after the connecting plug is connected with the connecting socket on the vehicle, the data transmission device establishes data communication connection between the data transmission device and the vehicle.
And step 34, the data transmission device performs system scanning on the vehicle through the connection socket to obtain at least one system to be diagnosed of the vehicle.
Specifically, the MCU in the data transmission device sends a detection request to the ECUs in the vehicle through the connection socket, and each ECU in the vehicle returns a detection response carrying the identification of the ECU after receiving the detection request, so that the data transmission device determines the number, the working state (on state or off state) and the like of the system to be diagnosed.
Step 35, after the data transmission device allocates a diagnosis channel to each system to be diagnosed, sending a diagnosis instruction to the corresponding system to be diagnosed through each diagnosis channel;
Step 36, the data transmission device receives the diagnosis data of the corresponding system to be diagnosed fed back by each diagnosis channel, and sends the diagnosis data of each system to be diagnosed to the vehicle diagnosis equipment.
Step 37, the vehicle diagnosis device obtains a vehicle diagnosis result of the determined vehicle based on the diagnosis data of each system to be diagnosed.
Further, the vehicle diagnostic device may also display diagnostic data of each system to be diagnosed in the vehicle, and a corresponding vehicle diagnostic result.
The method adopts a multichannel vehicle diagnosis method technology, greatly shortens the vehicle diagnosis test time, and the generated diagnosis result can support data review, so that the timeliness of diagnosis software is improved, and meanwhile, the checking analysis of vehicle data and the vehicle maintenance efficiency of a customer are facilitated.
In some embodiments, to achieve scalability of the connection plug in the data transmission device, the vehicle diagnostic request may further include model information of the vehicle;
in step 33, the data transmission device may search a comparison table between the stored information of different vehicle types and the connection pins of different sockets to obtain a target socket connection pin corresponding to the information of the vehicle types;
and then, switching the socket connection pin in the connection plug into a target socket connection pin so as to enable the connection plug of the data transmission device to be connected with the connection socket on the vehicle.
Further, before the data transmission device searches the stored comparison table between the different vehicle type information and the socket connection pins, the comparison table between the stored different vehicle type information and the different communication protocols can be searched first to obtain a target communication protocol corresponding to the vehicle type information;
after the data transmission device searches the stored comparison table between different vehicle type information and socket connection pins, the socket connection pins in the connection plug are switched to target socket connection pins, and the target socket connection pins are controlled to support a target communication protocol, so that the connection plug of the data transmission device is connected with the connection socket on the vehicle.
The implementation mode not only realizes the expandability of the connecting plug, but also realizes the compatibility of protocols in data transmission.
In some embodiments, the data transmission device may control connection and disconnection of the connection plug to the connection socket on the vehicle through the connection control module in response to the received connection control request.
In some embodiments, in step 35, for any diagnostic channel, if the data transmission device does not receive the diagnostic data of the corresponding system to be diagnosed fed back by the diagnostic channel within the preset timeout period after sending the diagnostic instruction to the corresponding system to be diagnosed through the diagnostic channel, the execution step is returned to: sending a diagnosis instruction to a corresponding system to be diagnosed through a diagnosis channel until the number of return execution reaches a preset number threshold, such as 5 times;
If the number of times of return execution reaches the preset number of times threshold, the data transmission device can send indication information that the corresponding system to be diagnosed is not diagnosed successfully to the vehicle diagnosis equipment, and the diagnosis personnel can perform manual diagnosis based on the indication information.
In some embodiments, if the number of the systems to be diagnosed is greater than the number of the diagnostic channels, the data transmission device allocates one diagnostic channel to each system to be diagnosed according to the stored diagnostic priority identifiers of different systems to be diagnosed, and performs the steps of: sending diagnosis instructions to corresponding systems to be diagnosed through all diagnosis channels;
Monitoring the service condition of each diagnosis channel in real time, if an idle diagnosis channel is monitored, distributing the idle diagnosis channel to the system to be diagnosed with the highest diagnosis priority identification in the rest systems to be diagnosed, and executing the steps: and sending diagnosis instructions to the corresponding systems to be diagnosed through the diagnosis channels until all the systems to be diagnosed are diagnosed.
It should be noted that, the diagnosis priority identifiers of different systems to be diagnosed may be predetermined based on the service requirement, or may be predetermined according to the protocols supported by different systems to be diagnosed, for example, the type priority identifiers corresponding to the protocol type 1-CAN protocol, the protocol type 2-KWP fast, and the protocol type 3-KWP address codes are 1, 2, and 3, respectively; i.e. the smaller the number identification, the higher the priority of the corresponding protocol type. Since the protocol processing speed of the protocol type 1-CAN protocol is relatively fastest, the overall diagnostic time CAN be reduced by arranging this type of electronic control system for the preceding processing.
In the multichannel communication method based on vehicle diagnosis, after the vehicle diagnosis equipment and the data transmission device are connected through Bluetooth communication, the vehicle diagnosis equipment sends a vehicle diagnosis request to the data transmission device; the data transmission device is connected with a connecting socket on the vehicle through the connecting socket after a connecting plug of the data transmission device is connected with the connecting socket, and the vehicle is subjected to system scanning to obtain at least one system to be diagnosed of the vehicle; after each system to be diagnosed is allocated with one diagnosis channel, a diagnosis instruction is sent to the corresponding system to be diagnosed through each diagnosis channel; receiving diagnosis data of corresponding systems to be diagnosed fed back by each diagnosis channel, and sending the diagnosis data of each system to be diagnosed to vehicle diagnosis equipment; the vehicle diagnostic apparatus determines a vehicle diagnostic result of the vehicle based on diagnostic data of each of the systems to be diagnosed. According to the method, the diagnosis sequence is determined through a multichannel electric control system parallel diagnosis mode and an electric control system priority ordering mode, so that the diagnosis efficiency of the vehicle electric control system is greatly improved, and the vehicle maintenance experience of a customer is improved.
The embodiment of the present application further provides an electronic device, as shown in fig. 4, including a processor 410, a communication interface 420, a memory 430, and a communication bus 440, where the processor 410, the communication interface 420, and the memory 430 complete communication with each other through the communication bus 440.
A memory 430 for storing a computer program;
the processor 410 is configured to execute the program stored in the memory 430, and implement the following steps:
establishing Bluetooth communication connection between the vehicle diagnosis equipment and the data transmission device through a Bluetooth module and a Bluetooth module of the vehicle diagnosis equipment;
receiving a vehicle diagnosis request sent by the vehicle diagnosis equipment, wherein the vehicle diagnosis request comprises a diagnosis instruction;
after the connecting plug of the data transmission device is connected with the connecting socket on the vehicle, performing system scanning on the vehicle through the connecting socket to obtain at least one system to be diagnosed of the vehicle;
After each system to be diagnosed is allocated with a diagnosis channel, a diagnosis instruction is sent to the corresponding system to be diagnosed through each diagnosis channel; and receiving the diagnosis data of the corresponding systems to be diagnosed fed back by the diagnosis channels, and sending the diagnosis data of the systems to be diagnosed to the vehicle diagnosis equipment so that the vehicle diagnosis equipment can acquire the vehicle diagnosis result of the vehicle based on the diagnosis data of the systems to be diagnosed.
The communication bus mentioned above may be a peripheral component interconnect standard (PERIPHERAL COMPONENT INTERCONNECT, PCI) bus or an extended industry standard architecture (Extended Industry Standard Architecture, EISA) bus, or the like. The communication bus may be classified as an address bus, a data bus, a control bus, or the like. For ease of illustration, the figures are shown with only one bold line, but not with only one bus or one type of bus.
The communication interface is used for communication between the electronic device and other devices.
The Memory may include random access Memory (Random Access Memory, RAM) or may include Non-Volatile Memory (NVM), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the aforementioned processor.
The processor may be a general-purpose processor, including a central processing unit (Central Processing Unit, CPU), a network processor (Network Processor, NP), etc.; but may also be a digital signal processor (DIGITAL SIGNAL Processing, DSP), application SPECIFIC INTEGRATED Circuit (ASIC), field-Programmable gate array (Field-Programmable GATE ARRAY, FPGA) or other Programmable logic device, discrete gate or transistor logic device, discrete hardware components.
Since the implementation manner and the beneficial effects of the solution to the problem of each device of the electronic apparatus in the foregoing embodiment may be implemented by referring to each step in the embodiment shown in fig. 3, the specific working process and the beneficial effects of the electronic apparatus provided by the embodiment of the present application are not repeated herein.
In yet another embodiment of the present application, a computer readable storage medium is provided, in which instructions are stored, which when run on a computer, cause the computer to perform the vehicle diagnosis-based multichannel communication method according to any of the above embodiments.
In yet another embodiment of the present application, there is also provided a computer program product containing instructions that, when run on a computer, cause the computer to perform the vehicle diagnostic-based multichannel communication method of any of the above embodiments.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as methods, systems, or computer program products. Accordingly, embodiments of the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present application may take the form of a computer program product on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
Embodiments of the present application are described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present application have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. It is therefore intended that the following claims be interpreted as including the preferred embodiment and all such alterations and modifications as fall within the scope of the embodiments of the application.
It will be apparent to those skilled in the art that various modifications and variations can be made in the embodiments of the present application without departing from the spirit or scope of the embodiments of the application. Thus, if such modifications and variations of the embodiments of the present application fall within the scope of the claims and the equivalents thereof, it is intended that such modifications and variations be included in the embodiments of the present application.

Claims (9)

1. A multi-channel communication method based on vehicle diagnosis, which is characterized in that the method is applied to a communication system formed by vehicle diagnosis equipment, a data transmission device and a vehicle, wherein the data transmission device and the vehicle diagnosis equipment both comprise a bluetooth module, a connection socket is arranged on the vehicle, a connection plug corresponding to the connection socket is arranged on the data transmission device, and an MCU (micro control unit) supporting a plurality of diagnosis channels is arranged in the data transmission device, and the method comprises the following steps:
the data transmission device establishes Bluetooth communication connection between the vehicle diagnosis equipment and the data transmission device through a Bluetooth module and a Bluetooth module of the vehicle diagnosis equipment;
the data transmission device receives a vehicle diagnosis request sent by the vehicle diagnosis equipment, wherein the vehicle diagnosis request comprises a diagnosis instruction;
the data transmission device is connected with the connecting socket on the vehicle through the connecting socket after the connecting plug of the data transmission device is connected with the connecting socket on the vehicle, and the vehicle is subjected to system scanning to obtain at least one system to be diagnosed of the vehicle;
After each system to be diagnosed is allocated with a diagnosis channel by the data transmission device, a diagnosis instruction is sent to the corresponding system to be diagnosed through each diagnosis channel; receiving diagnosis data of corresponding systems to be diagnosed fed back by each diagnosis channel, and sending the diagnosis data of each system to be diagnosed to the vehicle diagnosis equipment;
The vehicle diagnostic apparatus acquires a vehicle diagnostic result of the vehicle based on the diagnostic data of the respective systems to be diagnosed.
2. The method of claim 1, wherein the vehicle diagnostic request further includes model information of the vehicle; the method further comprises the steps of:
The data transmission device searches a comparison table between stored information of different vehicle types and different socket connection pins to obtain a target socket connection pin corresponding to the information of the vehicle types;
and switching the socket connection pin in the connection plug into the target socket connection pin so as to enable the connection plug of the data transmission device to be connected with the connection socket on the vehicle.
3. The method of claim 2, wherein before the data transmission device searches the stored look-up table between the different vehicle model information and the socket connection pins, the method further comprises:
the data transmission device searches a comparison table between stored information of different vehicle types and different communication protocols to obtain a target communication protocol corresponding to the information of the vehicle types;
after the data transmission device searches the stored comparison table between the information of different vehicle types and the socket connection pins, the method further comprises the following steps:
and switching the socket connection pin in the connection plug into the target socket connection pin, and controlling the target socket connection pin to support the target communication protocol so as to enable the connection plug of the data transmission device to be connected with the connection socket on the vehicle.
4. The method of claim 1, wherein the data transmission device further comprises a connection control module; the method further comprises the steps of:
And controlling connection and disconnection of the connection plug of the data transmission device and the connection socket on the vehicle in response to the received connection control request.
5. The method of claim 1, wherein the method further comprises:
for any diagnosis channel, if the data transmission device does not receive the diagnosis data of the corresponding system to be diagnosed fed back by the diagnosis channel within a preset timeout period after sending a diagnosis instruction to the corresponding system to be diagnosed through the diagnosis channel, returning to the execution step: sending a diagnosis instruction to a corresponding system to be diagnosed through the diagnosis channel until the number of times of return execution reaches a preset number of times threshold;
If the number of the return execution times reaches a preset number threshold, the data transmission device sends indication information that the corresponding system to be diagnosed is not diagnosed successfully to the vehicle diagnosis equipment.
6. The method of claim 1, wherein the method further comprises:
If the number of the systems to be diagnosed is greater than the number of the diagnostic channels, the data transmission device allocates one diagnostic channel to each system to be diagnosed according to the stored diagnostic priority identifiers of different systems to be diagnosed, and executes the steps of: sending diagnosis instructions to corresponding systems to be diagnosed through all diagnosis channels;
Monitoring the service condition of each diagnosis channel in real time, if an idle diagnosis channel is monitored, distributing the idle diagnosis channel to the system to be diagnosed with the highest diagnosis priority identification in the rest systems to be diagnosed, and executing the steps: and sending diagnosis instructions to the corresponding systems to be diagnosed through the diagnosis channels until all the systems to be diagnosed are diagnosed.
7. A multi-channel communication system based on vehicle diagnostics, the system comprising:
The vehicle diagnosis device comprises vehicle diagnosis equipment, a data transmission device and a vehicle, wherein the data transmission device and the vehicle diagnosis equipment both comprise Bluetooth modules, a connection socket is arranged on the vehicle, a connection plug corresponding to the connection socket is arranged on the data transmission device, and an MCU (micro control unit) supporting a plurality of diagnosis channels is arranged in the data transmission device;
the vehicle diagnosis equipment is used for establishing Bluetooth communication connection between the vehicle diagnosis equipment and the data transmission device through a connection request sent by the Bluetooth module to the Bluetooth module of the data transmission device and sending a vehicle diagnosis request to the data transmission device, wherein the vehicle diagnosis request comprises a diagnosis instruction;
the data transmission device is used for receiving a vehicle diagnosis request sent by the vehicle diagnosis equipment; after the connecting plug of the data transmission device is connected with the connecting socket on the vehicle, the vehicle is subjected to system scanning through the connecting socket to obtain at least one system to be diagnosed of the vehicle;
After each system to be diagnosed is allocated with one diagnosis channel, a diagnosis instruction is sent to the corresponding system to be diagnosed through each diagnosis channel; receiving diagnosis data of corresponding systems to be diagnosed fed back by each diagnosis channel, and sending the diagnosis data of each system to be diagnosed to the vehicle diagnosis equipment;
the vehicle diagnostic apparatus is further configured to determine a vehicle diagnostic result of the vehicle based on the diagnostic data of the respective systems to be diagnosed.
8. An electronic device, characterized in that the electronic device comprises a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory are in communication with each other through the communication bus;
a memory for storing a computer program;
A processor for implementing the method of any of claims 1-6 when executing a program stored on a memory.
9. A computer readable storage medium, characterized in that the computer readable storage medium has stored therein a computer program which, when executed by a processor, implements the method of any of claims 1-6.
CN202410157047.2A 2024-01-31 2024-01-31 Multi-channel communication method and system based on vehicle diagnosis and electronic equipment Pending CN118018978A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410157047.2A CN118018978A (en) 2024-01-31 2024-01-31 Multi-channel communication method and system based on vehicle diagnosis and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410157047.2A CN118018978A (en) 2024-01-31 2024-01-31 Multi-channel communication method and system based on vehicle diagnosis and electronic equipment

Publications (1)

Publication Number Publication Date
CN118018978A true CN118018978A (en) 2024-05-10

Family

ID=90957772

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410157047.2A Pending CN118018978A (en) 2024-01-31 2024-01-31 Multi-channel communication method and system based on vehicle diagnosis and electronic equipment

Country Status (1)

Country Link
CN (1) CN118018978A (en)

Similar Documents

Publication Publication Date Title
CN107848522B (en) System and method for transmitting diagnostic commands to a vehicle
CN108107875B (en) Automobile diagnosis method and device and vehicle communication interface
CN109656172B (en) Method and device for obtaining baud rate
CN108803577B (en) Diagnosis method, upper computer and lower computer
CN108958224B (en) Vehicle diagnosis method, diagnosis terminal and diagnosis box
US8798843B2 (en) Vehicle diagnosing apparatus
CN111538312B (en) Vehicle remote diagnosis method, system, equipment connector and vehicle connector
CN110519144B (en) Method and device for establishing communication between automobile diagnosis equipment and vehicle and automobile communication interface equipment
US11514731B2 (en) Method and system for remote vehicle diagnostics
CN108445860B (en) Diagnostic apparatus, diagnostic request processing method, and computer-readable storage medium
CN112927392A (en) Communication method, vehicle communication interface device and readable storage medium
CN112202884A (en) Data transmission method for vehicle connection interface device and related equipment
CN108390863B (en) Data processing method and device
CN115542875A (en) Vehicle detection method based on SOA service and related equipment
CN108427405A (en) A kind of automobile real-time diagnosis agency supporting multi-user operation and its data processing method
CN117135100B (en) System and method for testing signal transmission of vehicle-mounted optical fiber Ethernet of automobile
CN113985840A (en) Vehicle offline detection method, system, equipment and computer storage medium
CN111142504B (en) Bus detection device and method
CN118018978A (en) Multi-channel communication method and system based on vehicle diagnosis and electronic equipment
CN116319402A (en) Vehicle data acquisition and monitoring method, system, equipment and medium
CN116319499A (en) Diagnostic method and device for vehicle, electronic equipment and storage medium
CN112817888B (en) OBD device state setting method and device, OBD device and storage medium
CN115733871A (en) Communication interaction method, device, equipment and storage medium
CN114442590A (en) Vehicle diagnosis method, apparatus, diagnosis communication device, server, and storage medium
CN113671936A (en) Driving assistance system test method and system, electronic device and storage medium

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