CN116841276A - Vehicle-mounted diagnosis system and method based on vehicle-mounted machine - Google Patents

Vehicle-mounted diagnosis system and method based on vehicle-mounted machine Download PDF

Info

Publication number
CN116841276A
CN116841276A CN202310751509.9A CN202310751509A CN116841276A CN 116841276 A CN116841276 A CN 116841276A CN 202310751509 A CN202310751509 A CN 202310751509A CN 116841276 A CN116841276 A CN 116841276A
Authority
CN
China
Prior art keywords
diagnosis
vehicle
main control
control module
task
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
CN202310751509.9A
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.)
Zero Beam Technology Co ltd
Original Assignee
Zero Beam 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 Zero Beam Technology Co ltd filed Critical Zero Beam Technology Co ltd
Priority to CN202310751509.9A priority Critical patent/CN116841276A/en
Publication of CN116841276A publication Critical patent/CN116841276A/en
Pending legal-status Critical Current

Links

Classifications

    • 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
    • G05B23/0205Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
    • G05B23/0208Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterized by the configuration of the monitoring system
    • G05B23/0213Modular or universal configuration of the monitoring system, e.g. monitoring system having modules that may be combined to build monitoring program; monitoring system that can be applied to legacy systems; adaptable monitoring system; using different communication protocols
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/24Pc safety
    • G05B2219/24065Real time diagnostics

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Vehicle Cleaning, Maintenance, Repair, Refitting, And Outriggers (AREA)

Abstract

The invention discloses a vehicle-mounted diagnosis system and a method based on a vehicle machine, wherein the vehicle-mounted diagnosis system comprises a diagnosis task which is sent to a main control module of the vehicle machine by a vehicle-mounted diagnosis request end in response to an operation instruction of a user, and the diagnosis task characterizes a diagnosis range of an electric control unit; the vehicle main control module receives the diagnosis task, generates a diagnosis instruction with the minimum granularity which can be identified by the diagnosis execution module based on the diagnosis task, and sequentially sends the diagnosis instruction to the diagnosis execution module according to the sequence; the diagnosis execution module receives the diagnosis instruction, converts the diagnosis instruction into a UDS message and sends the UDS message to the gateway module, receives a diagnosis result fed back by the gateway module and sends the diagnosis result to the vehicle main control module; the vehicle main control module feeds the diagnosis result back to the vehicle-mounted diagnosis request terminal, and the vehicle-mounted diagnosis request terminal displays the diagnosis result.

Description

Vehicle-mounted diagnosis system and method based on vehicle-mounted machine
Technical Field
The invention relates to the field of vehicle diagnosis, in particular to a vehicle-mounted diagnosis system and method based on a vehicle machine.
Background
When a vehicle has a functional failure or the vehicle needs to perform daily system data maintenance, etc., the vehicle needs to be diagnosed, usually, operation data of a plurality of electronic control units (ElectronicControl Unit, ECU) in the vehicle CAN be obtained through a controller area network (Controller Area Network, CAN) bus, SOA service, etc., and then the vehicle diagnosis is performed according to the operation data.
There are generally two diagnostic modes in the prior art: one is to diagnose the vehicle by connecting the vehicle OBD port with the entity diagnostic device, which has the disadvantage of requiring external entity diagnostic device, thereby bringing the purchase and management cost of the entity diagnostic device to the user. In addition, the connection process of the entity diagnosis equipment is complex, and the diagnosis efficiency is affected. The vehicle diagnosis method has the advantages that the vehicle diagnosis is carried out by depending on a cloud background, the vehicle diagnosis task is initiated and the management and control of the whole diagnosis flow are carried out on the cloud background, the greatest problem of the diagnosis mode is that the vehicle cloud network is seriously relied on, the remote diagnosis cannot be used when the vehicle cannot be connected, in addition, a host factory needs to maintain a remote diagnosis cloud operation team, and extra cost is increased.
Disclosure of Invention
Aiming at the technical problems, the invention provides a vehicle-mounted diagnosis system and method based on a vehicle machine, which can realize the completion of diagnosis tasks on vehicles at the vehicle machine side.
In a first aspect of the present invention, there is provided an on-board diagnostic system based on a vehicle machine, comprising: the system comprises a vehicle-mounted diagnosis request end, a vehicle main control module, a diagnosis execution module, a gateway module and a diagnosis data storage; the vehicle-mounted diagnosis request end is displayed in a vehicle-mounted display screen and communicated with the vehicle main control module by adopting a Browser/Server (Browser/Server) architecture, the vehicle main control module sends a diagnosis instruction to the diagnosis execution module, the gateway module forwards a UDS message to the electric control unit, and the vehicle main control module acquires a diagnosis file from the diagnosis data memory through a network;
the vehicle-mounted diagnosis request end responds to an operation instruction of a user and sends a diagnosis task to the vehicle main control module, and the diagnosis task characterizes a diagnosis range of the electric control unit;
the vehicle main control module receives the diagnosis task, generates a diagnosis instruction with the minimum granularity which can be identified by the diagnosis execution module based on the diagnosis task, and sequentially sends the diagnosis instruction to the diagnosis execution module according to the sequence;
the diagnosis execution module receives the diagnosis instruction, converts the diagnosis instruction into a UDS message and sends the UDS message to the gateway module, receives a diagnosis result fed back by the gateway module and sends the diagnosis result to the vehicle main control module;
the vehicle main control module feeds the diagnosis result back to the vehicle-mounted diagnosis request terminal, and the vehicle-mounted diagnosis request terminal displays the diagnosis result.
In an alternative embodiment, the vehicle-mounted diagnosis request terminal is an HTML webpage or a vehicle-mounted APP.
In an alternative embodiment, the diagnostic data store includes a cloud or a removable storage medium; the mobile storage medium is connected with the vehicle main control module through a vehicle interface, and the vehicle main control module acquires a diagnosis file from the mobile storage medium by using an http-server technology.
In an optional embodiment, before the vehicle host control module receives the diagnosis task and generates the diagnosis instruction with the minimum granularity identifiable by the diagnosis execution module based on the diagnosis task, the method further includes:
and the vehicle main control module judges the current vehicle state, and if the current vehicle state does not meet the precondition for executing the diagnosis task, the diagnosis task is not executed.
In an optional implementation manner, in the vehicle-mounted diagnostic system based on the vehicle machine, during the execution of the diagnostic task, the vehicle-mounted main control module continuously detects whether the vehicle state meets the precondition for requiring the execution of the diagnostic task, and if the vehicle state does not meet the requirement, the vehicle-mounted main control module terminates the diagnostic task.
In an optional implementation manner, the gateway module forwards or routes the message to each electronic control unit according to address information carried by the diagnosis request of the diagnosis execution module, receives diagnosis responses of each electronic control unit, feeds back the diagnosis responses to the vehicle main control module, and the vehicle main control module sends the diagnosis responses to the vehicle-mounted diagnosis request terminal for display by using an HTML file.
In an optional implementation manner, the vehicle-mounted diagnosis request end is further used for verifying an account number and a password input by a user when diagnosis is started, and if verification is passed, a diagnosis function of the vehicle-mounted diagnosis request end is started.
In a second aspect of the present invention, there is provided a vehicle-mounted diagnosis method based on a vehicle machine, comprising:
responding to a diagnosis task sent based on an operation instruction of a user, wherein the diagnosis task is sent based on an HTML file;
generating identifiable diagnostic instructions with minimum granularity based on the diagnostic tasks, and sequentially executing the diagnostic instructions according to the sequence;
acquiring a diagnosis file, sending the diagnosis file to each electronic control unit, and receiving diagnosis responses fed back by each electronic control unit;
and sending the diagnosis response to a vehicle-mounted display screen for display by using the HTML file.
In a third aspect of the present invention, there is provided an electronic apparatus comprising:
at least one processor; and at least one memory communicatively coupled to the processor, wherein: the memory stores program instructions executable by the processor, the processor invoking the program instructions to perform the method according to the second aspect of the embodiments of the invention.
In a fourth aspect of the invention, a computer-readable storage medium is provided, on which a computer program is stored which, when run by a computer, performs the method according to the second aspect of the embodiment of the invention.
The vehicle-mounted diagnosis system is carried in the vehicle to execute the vehicle-mounted diagnosis function, the interaction between the vehicle and the user is realized by means of the B/S architecture, the diagnosis task can be completely executed at the vehicle end, external entity diagnosis equipment is not required, the vehicle diagnosis operation connection step is simplified, and the purchase and management cost of the entity diagnosis equipment is saved; compared with remote diagnosis, the vehicle diagnosis task is initiated and the whole diagnosis process is controlled at the vehicle-to-machine terminal, the cloud end is only used for storing files, and the files can be transmitted to the vehicle through a mobile storage medium when the vehicle is not provided with a network, so that the vehicle-to-machine diagnosis is not strongly dependent on the smoothness of the vehicle cloud network, and the background operation cost is avoided.
Drawings
Fig. 1 is a schematic diagram of an on-board diagnostic system based on a vehicle machine according to an embodiment of the present invention.
Fig. 2 is a flow chart of a vehicle-mounted diagnosis method based on a vehicle machine in an embodiment of the invention.
Fig. 3 is a schematic structural view of an electronic device according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention 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 of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Referring to fig. 1, the vehicle-mounted diagnosis system based on the vehicle machine provided by the invention aims to provide a new vehicle diagnosis mode, and the vehicle-mounted diagnosis system based on the vehicle machine can be operated, so that the vehicle diagnosis cost can be effectively reduced, the vehicle diagnosis efficiency can be improved, and the aims of reducing the cost and enhancing the efficiency can be achieved. The invention integrates the diagnosis function contained in the entity diagnosis equipment outside the vehicle into the vehicle-mounted domain controller, so that the vehicle has the vehicle-mounted diagnosis function, a user can sit on a main drive or a secondary drive, and the diagnosis operation and the result check are executed on the vehicle through clicking the vehicle-mounted interface.
The on-board diagnostic system includes: the system comprises a vehicle-mounted diagnosis request end, a vehicle main control module, a diagnosis execution module, a gateway module and a diagnosis data memory. The diagnosis execution module is used for executing the minimum granularity diagnosis instructions after the diagnosis tasks such as vehicle software refreshing and the reading of the fault codes of the electric control unit and the like are decomposed.
The vehicle-mounted diagnosis request end and the vehicle main control module are communicated by adopting a B/S architecture, the vehicle-mounted diagnosis request end is an HTML webpage or a vehicle-mounted APP (it is understood that the communication mode of the vehicle-mounted APP also comprises webpage communication), the HTML webpage or the vehicle-mounted APP is displayed in a vehicle-mounted display screen, and a user can realize the initiation of a vehicle-mounted diagnosis task and the browsing of a diagnosis process and a result by operating the vehicle-mounted diagnosis request end. The method can realize instruction interaction and information feedback with the main control module of the vehicle machine only by installing a browser on the vehicle machine. The vehicle-mounted diagnosis request end (client) adopts HTML5 (hypertext markup language) to communicate and only triggers the execution of diagnosis tasks, and the central disconnection and the server connection of the vehicle-mounted diagnosis request end do not influence the diagnosis tasks being executed by the vehicle main control module, so that the execution stability and the integrity of the vehicle-mounted diagnosis tasks can be ensured. The vehicle-mounted diagnosis request terminal and the vehicle main control module can be deployed in a lightweight mode on a system and hardware which meet requirements at will, and mutual decoupling can be achieved.
The vehicle-mounted diagnosis request terminal analyzes the HTML webpage and displays the HTML webpage on a vehicle-mounted screen. The vehicle main control module can send a diagnosis instruction to the diagnosis execution module according to a diagnosis task, and acquire a diagnosis file from the diagnosis data memory through a network; the gateway module forwards the UDS message to the electronic control unit, and the electronic control unit can call the diagnosis file and execute the diagnosis task.
Specifically, a user operates a vehicle-mounted APP serving as a vehicle-mounted diagnosis request end, and the vehicle-mounted diagnosis request end responds to an operation instruction of the user to send a diagnosis task to the vehicle main control module. The diagnostic tasks characterize the diagnostic scope of the electronic control unit, for example: the diagnosis of a network-connected vehicle-mounted entertainment module, a brake anti-lock system, an air bag module, an engine control module, an electric power steering module, an automobile electronic stability control system, an air conditioner control module, a combination instrument module, a vehicle body control module, a radar sensor and the like.
The vehicle main control module receives the diagnosis task, generates a diagnosis instruction with the minimum granularity which can be identified by the diagnosis execution module based on the diagnosis task, and sequentially sends the diagnosis instruction to the diagnosis execution module according to the sequence.
In an embodiment, the HTML5 content of the diagnostic task includes a diagnostic request for a network-connected vehicle entertainment module, a brake anti-lock system, an air bag module, an engine control module, an electric power steering module, an electronic stability control system of an automobile, an air conditioner control module, a combination meter module, a vehicle body control module, and a radar sensor, and the vehicle-to-machine system generates a single diagnostic command for the network-connected vehicle entertainment module, the brake anti-lock system, the air bag module, the engine control module, the electric power steering module, the electronic stability control system of the automobile, the air conditioner control module, the combination meter module, the vehicle body control module, and the radar sensor, respectively, and sends the diagnostic command to the diagnostic execution module according to a priority order.
The diagnosis execution module receives the diagnosis instruction sent by the vehicle main control module, converts the diagnosis instruction into a UDS message and sends the UDS message to the gateway module. The diagnosis execution module integrates a UDS diagnosis protocol stack and is responsible for converting a diagnosis instruction sent by the vehicle main control module into a standard UDS diagnosis message to be sent out, and the gateway module forwards or routes the UDS diagnosis message to each target electric control unit according to address information contained in the UDS diagnosis message.
And each target electronic control unit can call the vehicle main control module to acquire diagnosis files from the diagnosis data memory through a network, and the diagnosis files are combined to complete diagnosis tasks. After each target electric control unit runs the diagnosis task, the diagnosis results fed back to the gateway module are fed back. The gateway module forwards or routes the message to each electronic control unit according to the address information carried by the diagnosis request of the diagnosis execution module, receives the diagnosis response of each electronic control unit, feeds back the diagnosis response to the vehicle main control module, and sends the diagnosis response to the vehicle-mounted diagnosis request terminal for display by using an HTML file.
And the diagnosis execution module receives the diagnosis result fed back by the gateway module and sends the diagnosis result to the main control module of the vehicle. And the vehicle main control module feeds the diagnosis result back to the vehicle-mounted diagnosis request terminal. The vehicle main control module can display the intermediate state of the execution of the diagnostic task according to the execution result of each diagnostic instruction, and form the final execution result of the diagnostic task after all diagnostic instructions of the diagnostic task are executed, and finally the vehicle-mounted diagnostic request end displays the diagnostic result.
In an embodiment of the invention, the diagnostic data store comprises a cloud or a removable storage medium. The cloud end can download diagnostic files, such as a brush file, from the cloud end through the T-BOX and the vehicle system by utilizing a network.
The mobile storage medium can be a U disk, an SD card and other mediums, the mobile storage medium is connected with the vehicle host control module through a vehicle interface (USB interface or Type-C interface), and the vehicle host control module obtains diagnostic files from the mobile storage medium by using an http-server technology.
It is known that related files are required when a diagnosis operation is performed on a vehicle (for example, software of an electronic control unit is written), and the vehicle diagnosis is performed on a vehicle, because no off-vehicle entity diagnosis device is provided, the acquired files are mainly downloaded from a cloud disk through a network, but in some special situations (for example, production lines), the vehicle may not be networked, and at this time, the files can be acquired through mobile storage media, a user only needs to insert the mobile storage media (for example, a USB flash disk and an SD card) into a USB or Type-C interface of the vehicle, and the on-vehicle diagnosis system can automatically identify the mobile storage media and acquire the required files from the mobile storage media. In one embodiment, an http-server (lightweight http server) is disposed in the vehicle, and any one directory can be made to be a directory of the server, where the http-server makes a file directory of the mobile storage medium be a file directory of the vehicle, and the on-board diagnostic system can access the file directory of the mobile storage medium through an in-vehicle ethernet, and download a required file from the mobile storage medium according to the URL.
In summary, the invention uses the vehicle as the operation and display terminal of the vehicle-mounted diagnosis system, and has no dependence on the outside of the vehicle. In the prior art, the operation and display terminal of the vehicle-mounted remote diagnosis system is locally diagnosed on the external entity equipment, and the operation and display terminal of the vehicle-mounted remote diagnosis system is remotely diagnosed on the cloud background.
The invention adopts a B/S architecture to be applied to the field of vehicle-mounted diagnosis systems, namely, a vehicle-mounted diagnosis APP is used as a Browser (Browser), and a main control module of the vehicle-mounted diagnosis system is used as a server. The complex calculation tasks are distributed to the server side for processing, so that the calculation pressure of the client side is reduced, and the influence on the performance of the vehicle-mounted system is reduced as much as possible.
Furthermore, the invention obtains the file from the outside of the vehicle through the mobile storage medium, and the http server of the http-server level is deployed in the main control module of the vehicle, so that the file directory of the mobile storage medium becomes the file directory of the vehicle, the operation of a user is convenient, the diagnosis of the vehicle is not strongly dependent on the smoothness of the vehicle cloud network, and the background operation cost is avoided.
Further, before the vehicle main control module receives the diagnosis task and generates the diagnosis instruction with the minimum granularity identifiable by the diagnosis execution module based on the diagnosis task, the method further comprises:
and the vehicle main control module judges the current vehicle state, and if the current vehicle state does not meet the precondition for executing the diagnosis task, the diagnosis task is not executed. And during the execution of the diagnosis task, the vehicle main control module continuously detects whether the vehicle state meets the precondition for requiring the execution of the diagnosis task, and if the vehicle state does not meet the requirement, the vehicle main control module terminates the diagnosis task.
In an embodiment, when a vehicle main control module of the vehicle-mounted diagnosis system receives a diagnosis task sent by a vehicle-mounted diagnosis request end, the current vehicle state is firstly judged, and if the current vehicle state does not meet the execution precondition of the diagnosis task, the diagnosis task is not executed. During the execution of the diagnostic task, the vehicle main control module can continuously detect whether the vehicle state meets the requirement, and once the vehicle state is found to be unsatisfied with the requirement, the main control module immediately terminates the execution of the diagnostic task. For example, an OTA program or a remote diagnosis occupation electronic control unit of the vehicle determines that the vehicle state is not suitable for performing a diagnosis task; for example, when the vehicle is in a running state and the electronic control units execute other running tasks of the vehicle, the vehicle state is judged to be unsuitable for executing the diagnosis task.
In one embodiment, the vehicle-mounted diagnosis request end is further used for verifying an account number and a password input by a user when diagnosis is started, and if verification is passed, the diagnosis function of the vehicle-mounted diagnosis request end is started. The user enters the vehicle to click on the screen of the vehicle machine, and starts the vehicle-mounted diagnosis request terminal; the vehicle-mounted diagnosis request terminal automatically executes authorization authentication after being started, and if the authorization authentication fails, the user is refused to use the vehicle machine diagnosis; if the authorization authentication is successful, the user clicks on the browser to initiate the execution of the diagnostic task.
Referring to fig. 2, the invention also provides a vehicle-mounted diagnosis method based on the vehicle machine, which is applied to a main control module of the vehicle machine and comprises the following steps:
step 210: the diagnostic tasks are sent based on the HTML file in response to the diagnostic tasks sent based on the user's operating instructions.
Specifically, the vehicle-mounted diagnosis request end and the vehicle main control module are communicated by adopting a B/S architecture, the vehicle-mounted diagnosis request end is an HTML webpage or a vehicle-mounted APP, the HTML webpage or the vehicle-mounted APP is displayed in a vehicle-mounted display screen, and a user can realize the initiation of a vehicle-mounted diagnosis task and the browsing of diagnosis processes and results by operating the vehicle-mounted diagnosis request end. The invention takes the vehicle as the operation and display terminal of the vehicle-mounted diagnosis system, and has no dependence on the outside of the vehicle. And the vehicle-mounted diagnosis request end responds to an operation instruction of a user and sends a diagnosis task to the vehicle main control module, and the vehicle main control module receives the diagnosis task.
Step 220: generating diagnostic instructions with the minimum identifiable granularity based on the diagnostic tasks, and sequentially executing the diagnostic instructions according to the sequence.
And the vehicle main control module generates diagnostic instructions with minimum granularity which can be identified by the diagnostic execution module based on the diagnostic tasks, and sequentially executes the diagnostic instructions according to the sequence.
Step 230: and acquiring a diagnosis file, sending the diagnosis file to each electric control unit, and receiving diagnosis responses fed back by each electric control unit.
The vehicle main control module acquires the diagnosis file from the mobile storage medium. Specifically, the mobile storage medium is connected with the vehicle main control module through a vehicle interface, and the vehicle main control module acquires the diagnosis file from the mobile storage medium by using an http-server technology. An http server of the http-server level is deployed in the vehicle main control module, so that the file directory of the mobile storage medium becomes the file directory of the vehicle, the operation of a user is convenient, the diagnosis of the vehicle is not strongly dependent on the smoothness of the vehicle cloud network, and the background operation cost is avoided.
Step 240: and sending the diagnosis response to a vehicle-mounted display screen for display by using the HTML file.
From the above, the vehicle-mounted diagnosis request end and the vehicle-mounted diagnosis request end communicate with each other by adopting a B/S architecture, so that the vehicle-mounted diagnosis request end sends the diagnosis result to the front end of the vehicle-mounted display screen for display in an HTML file, and the vehicle-mounted diagnosis request end sends the diagnosis result to the vehicle-mounted diagnosis request end for display after collecting the execution feedback of each diagnosis instruction, analyzing and generating the diagnosis task execution result.
As shown in fig. 3, the present invention further provides an electronic device, including:
at least one processor; and at least one memory communicatively coupled to the processor, wherein: the memory stores program instructions executable by the processor, and the processor invokes the program instructions to perform the vehicle-mounted diagnostic method based on the vehicle machine.
The invention also provides a computer readable storage medium, wherein the computer readable storage medium stores a computer program, and the computer program realizes the vehicle-mounted diagnosis method based on the vehicle machine when being executed by a processor.
It is understood that the computer-readable storage medium may include: any entity or device capable of carrying a computer program, a recording medium, a USB flash disk, a removable hard disk, a magnetic disk, an optical disk, a computer Memory, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a software distribution medium, and so forth. The computer program comprises computer program code. The computer program code may be in the form of source code, object code, executable files, or in some intermediate form, among others. The computer readable storage medium may include: any entity or device capable of carrying computer program code, a recording medium, a U disk, a removable hard disk, a magnetic disk, an optical disk, a computer Memory, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a software distribution medium, and so forth.
In some embodiments of the present invention, the apparatus may include a controller, which is a single-chip microcomputer chip, integrated with a processor, a memory, a communication module, etc. The processor may refer to a processor comprised by the controller. The processor may be a central processing unit (Central Processing Unit, CPU), but may also be other general purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), off-the-shelf programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and additional implementations are included within the scope of the preferred embodiment of the present invention in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present invention.
Those of ordinary skill in the art will appreciate that the elements and algorithm steps of the examples described in connection with the embodiments disclosed herein may be embodied in electronic hardware, in computer software, or in a combination of the two, and that the elements and steps of the examples have been generally described in terms of function in the foregoing description to clearly illustrate the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. 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 invention.
The above embodiments are only for illustrating the technical solution of the present invention, and are not limiting; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (10)

1. An on-board diagnostic system based on a vehicle, comprising: the system comprises a vehicle-mounted diagnosis request end, a vehicle main control module, a diagnosis execution module, a gateway module and a diagnosis data storage; the vehicle-mounted diagnosis request end is displayed in a vehicle-mounted display screen and communicated with the vehicle main control module through a B/S architecture, the vehicle main control module sends a diagnosis instruction to the diagnosis execution module, the gateway module forwards a UDS message to the electric control unit, and the vehicle main control module acquires a diagnosis file from the diagnosis data memory through a network;
the vehicle-mounted diagnosis request end responds to an operation instruction of a user and sends a diagnosis task to the vehicle main control module, and the diagnosis task characterizes a diagnosis range of the electric control unit;
the vehicle main control module receives the diagnosis task, generates a diagnosis instruction with the minimum granularity which can be identified by the diagnosis execution module based on the diagnosis task, and sequentially sends the diagnosis instruction to the diagnosis execution module according to the sequence;
the diagnosis execution module receives the diagnosis instruction, converts the diagnosis instruction into a UDS message and sends the UDS message to the gateway module, receives a diagnosis result fed back by the gateway module and sends the diagnosis result to the vehicle main control module;
the vehicle main control module feeds the diagnosis result back to the vehicle-mounted diagnosis request terminal, and the vehicle-mounted diagnosis request terminal displays the diagnosis result.
2. The vehicle-mounted diagnosis system based on the vehicle machine according to claim 1, wherein the vehicle-mounted diagnosis request terminal is an HTML webpage or a vehicle-mounted APP.
3. The vehicle-based onboard diagnostic system of claim 1, wherein the diagnostic data store comprises a cloud or a removable storage medium; the mobile storage medium is connected with the vehicle main control module through a vehicle interface, and the vehicle main control module acquires a diagnosis file from the mobile storage medium by using an http-server technology.
4. The vehicle-based onboard diagnostic system of claim 1, wherein before the vehicle host module receives the diagnostic task and generates the diagnostic instruction of the smallest granularity identifiable by the diagnostic execution module based on the diagnostic task, further comprising:
and the vehicle main control module judges the current vehicle state, and if the current vehicle state does not meet the precondition for executing the diagnosis task, the diagnosis task is not executed.
5. The vehicle-mounted diagnostic system based on a vehicle according to claim 1, wherein during the execution of a diagnostic task, the vehicle-mounted main control module continuously detects whether a vehicle state meets a precondition requiring the execution of the diagnostic task, and if the vehicle state does not meet the requirement, the vehicle-mounted main control module terminates the diagnostic task.
6. The vehicle-mounted diagnosis system based on the vehicle machine according to claim 1, wherein the gateway module forwards or routes the message to each electric control unit according to address information carried by the diagnosis request of the diagnosis execution module, receives diagnosis responses of each electric control unit, feeds back the diagnosis responses to the vehicle machine main control module, and the vehicle machine main control module sends the diagnosis responses to the vehicle-mounted diagnosis request terminal for display by using an HTML file.
7. The vehicle-mounted diagnosis system based on the vehicle machine according to claim 1, wherein the vehicle-mounted diagnosis request end is further used for verifying an account number and a password input by a user when diagnosis is started, and if verification is passed, a diagnosis function of the vehicle-mounted diagnosis request end is started.
8. A vehicle-mounted diagnostic method based on a vehicle machine, comprising:
responding to a diagnosis task sent based on an operation instruction of a user, wherein the diagnosis task is sent based on an HTML file;
generating identifiable diagnostic instructions with minimum granularity based on the diagnostic tasks, and sequentially executing the diagnostic instructions according to the sequence;
acquiring a diagnosis file, sending the diagnosis file to each electronic control unit, and receiving diagnosis responses fed back by each electronic control unit;
and sending the diagnosis response to a vehicle-mounted display screen for display by using the HTML file.
9. An electronic device, comprising:
at least one processor; and at least one memory communicatively coupled to the processor, wherein: the memory stores program instructions executable by the processor, the processor invoking the program instructions to perform the method of claim 8.
10. A computer-readable storage medium, on which a computer program is stored, which computer program, when being run by a computer, performs the method according to claim 8.
CN202310751509.9A 2023-06-25 2023-06-25 Vehicle-mounted diagnosis system and method based on vehicle-mounted machine Pending CN116841276A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310751509.9A CN116841276A (en) 2023-06-25 2023-06-25 Vehicle-mounted diagnosis system and method based on vehicle-mounted machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310751509.9A CN116841276A (en) 2023-06-25 2023-06-25 Vehicle-mounted diagnosis system and method based on vehicle-mounted machine

Publications (1)

Publication Number Publication Date
CN116841276A true CN116841276A (en) 2023-10-03

Family

ID=88171860

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310751509.9A Pending CN116841276A (en) 2023-06-25 2023-06-25 Vehicle-mounted diagnosis system and method based on vehicle-mounted machine

Country Status (1)

Country Link
CN (1) CN116841276A (en)

Similar Documents

Publication Publication Date Title
US20180293811A1 (en) Vehicle remote diagnosis method and device
WO2019144820A1 (en) Vehicle diagnosis method and device, and vehicle communication interface
EP3761605B1 (en) Vehicle diagnosis method, related device and system
US10723361B2 (en) Monitoring apparatus, communication system, vehicle, monitoring method, and non-transitory storage medium
WO2019128928A1 (en) Vehicle diagnostics method and device, terminal, and computer readable storage medium
CN110928567A (en) Vehicle system upgrading method, terminal device and computer-readable storage medium
CN112805645B (en) Vehicle remote diagnosis method and related device
CN109895712B (en) Method for reading and displaying automobile information of OBD (on-Board diagnostics) equipment through serial port
KR20170026186A (en) Method and subsystem for installing a software update in a vehicle
CN112652089A (en) Diagnostic method, vehicle, system, and storage medium
CN111527389A (en) Vehicle diagnosis method, vehicle diagnosis device and storage medium
CN104836859A (en) Cloud data integration method based on vehicle-borne diagnostic system and system thereof
CN108241514A (en) Vehicle-mounted program updating method and device
CN113759883A (en) Vehicle diagnosis method, vehicle gateway device, server, and storage medium
CN113505056A (en) Vehicle diagnosis method, system, device and storage medium
CN116841276A (en) Vehicle-mounted diagnosis system and method based on vehicle-mounted machine
CN115022297B (en) Remote debugging method, device and system of vehicle-end controller and vehicle
CN115903758A (en) Remote diagnosis system, method, electronic device, and storage medium
CN108021376B (en) Method and system for updating automobile electronic system program
CN117193229A (en) Heterogeneous multi-core vehicle gateway and ECU fault diagnosis and program upgrading method
US20220258749A1 (en) Method for testing a motor vehicle
KR102404700B1 (en) Method for communicating with vehicle and control unit for same
CN112381966A (en) Method for acquiring driving data signal and related device thereof
CN112532657A (en) Activation method and device for intelligent vehicle-mounted networking terminal
CN115933621B (en) Vehicle remote diagnosis service method and 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