Diagnostic method and device of vehicle-mounted controller, vehicle and storage medium

By determining the target electronic control unit and obtaining a diagnostic instrument or remote diagnostic equipment, parallel diagnosis of multiple on-board controllers is achieved, which solves the problem in the existing technology that cannot be achieved in parallel diagnostic flashing of multiple controllers, and improves diagnosis efficiency and flexibility.

CN118760119APending Publication Date: 2024-10-11CHINA FAW CO LTD
View PDF 18 Cites 0 Cited by

Patent Information

Application Number
CN202410831199.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-25
Publication Date
2024-10-11

AI Technical Summary

Technical Problem

Existing diagnostic solutions for vehicle-mounted controllers cannot implement parallel diagnostic flash operations for multiple controllers, resulting in the failure of new diagnostic equipment to be connected for diagnosis when the diagnostic equipment has not completed the diagnosis of the vehicle-mounted controller.

Method used

By determining the target electronic control unit, obtain at least one diagnostic instrument or remote diagnostic device, and control it to perform diagnostic operations on multiple vehicle-mounted controllers, achieving parallel diagnosis of multiple vehicle-mounted controllers, and supporting the diagnostic instrument's diagnosis of the same automotive electronic control unit. Multiple chips are flashed in parallel.

Benefits of technology

This solves the problem of not allowing new diagnostic equipment to be connected for diagnosis when the diagnostic equipment has not completed the diagnosis of the vehicle-mounted controller, realizes parallel diagnosis of multiple vehicle-mounted controllers, and improves diagnosis efficiency and flexibility.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118760119A_ABST
    Figure CN118760119A_ABST
Patent Text Reader

Abstract

The invention discloses a vehicle-mounted controller diagnosis method and device, a vehicle and a storage medium, and the method comprises the steps: determining a target electronic control unit which comprises a plurality of vehicle-mounted controllers; acquiring at least one diagnostic instrument; and controlling at least one diagnostic instrument to diagnose the plurality of vehicle-mounted controllers. The technical problem that in the prior art, when diagnosis of the vehicle-mounted controller by the diagnosis equipment is not completed, access of new diagnosis equipment is not allowed for diagnosis is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of automated control technology, and in particular to a diagnostic method, device, vehicle and storage medium for a vehicle-mounted controller. Background Art

[0002] With the development of the intelligent connected vehicle industry and technology, the electronic and electrical architecture of the whole vehicle has also changed from a distributed architecture to a centralized architecture. The bus architecture of the distributed architecture controller unit has gradually evolved into an architecture of central control unit + regional communication. The main control chip of the central computing unit is a high-performance system-level chip that can provide powerful computing power and support the transmission and operation of big data. In the traditional architecture, the application algorithms on multiple controllers are integrated and deployed on the central control unit, which requires the establishment of links between multiple applications and external diagnostic equipment to meet the needs of parallel diagnosis of multiple application algorithms.

[0003] The communication medium for controller diagnosis is usually CAN bus (vehicle communication bus) or Ethernet bus, and the diagnostic protocol is UDS protocol (Unified Diagnostic Services), which is the standardized standard for diagnostic services, such as reading fault codes and reading ECU (vehicle control unit) data. The protocol data unit of UDS service contains address information and diagnostic message (data field). The data field consists of service identifier and optional data parameters. The data field consists of a one-byte service identifier to indicate the function of the control service. In the ECU software, the diagnostic processing module classifies and processes the service according to the functional unit of the service and the request service identifier.

[0004] Most of the operating systems used in the system-level chip are operating systems based on the POSIX standard interface, such as LINUX, QNX, etc. Applications are often implemented by multiple processes, and data communication between multiple processes can be carried out through messages, pipes, shared memory, etc. In the present invention, the module for the system-level chip to communicate with the external diagnostic device is deployed in the main process, and each relatively independent module is deployed in other processes, so as to realize the function of different application software to diagnose a central control unit at the same time.

[0005] The existing diagnostic scheme for vehicle controllers supports a single diagnostic instrument to diagnose and flash a certain controller on the vehicle, but cannot implement diagnostic and flash operations on multiple controllers in parallel. With the development of the vehicle's electronic and electrical architecture, vehicle controllers tend to be integrated, and the number is also reduced compared to before. Multiple applications with different functions are integrated into the same hardware controller.

[0006] Therefore, no effective solution has been proposed for the above-mentioned problems. Summary of the invention

[0007] The embodiments of the present invention provide a method, device, vehicle and storage medium for diagnosing an on-board controller, so as to at least solve the technical problem in the prior art that a new diagnostic device is not allowed to access for diagnosis before the diagnostic device has completed the diagnosis of the on-board controller.

[0008] According to one embodiment of the present invention, a method for diagnosing a vehicle-mounted controller is provided, comprising: determining a target electronic control unit, wherein the target electronic control unit includes a plurality of vehicle-mounted controllers; obtaining at least one diagnostic instrument; and controlling at least one diagnostic instrument to perform diagnostic operations on the plurality of vehicle-mounted controllers.

[0009] Optionally, the diagnostic method of the vehicle-mounted controller also includes: determining a target diagnostic program, wherein the target diagnostic program is a diagnostic program corresponding to a target electronic control unit; and determining at least one diagnostic instrument according to the target diagnostic program.

[0010] Optionally, the method for diagnosing a vehicle-mounted controller further includes: obtaining at least one initial diagnostic instrument from a diagnostic equipment queue; and controlling the at least one initial diagnostic instrument to perform diagnostic operations on a plurality of vehicle-mounted controllers.

[0011] Optionally, the diagnostic method for the vehicle-mounted controller also includes: in response to the initial diagnostic instrument performing a diagnostic operation on the vehicle-mounted controller, determining whether there is a target diagnostic instrument in the diagnostic equipment queue, wherein the priority level of the target diagnostic instrument is higher than the priority level of the initial diagnostic instrument, and each vehicle-mounted controller corresponds to an initial diagnostic instrument; in response to the existence of the target diagnostic instrument in the diagnostic equipment queue, controlling the initial diagnostic instrument to stop performing diagnostic operations on the vehicle-mounted controller; and controlling the target diagnostic instrument to perform diagnostic operations on the vehicle-mounted controller.

[0012] Optionally, the method for diagnosing a vehicle-mounted controller further includes: in response to at least one diagnostic instrument completing a diagnostic operation on a plurality of vehicle-mounted controllers in a target electronic control unit, determining that the target electronic control unit completes the diagnostic operation.

[0013] According to one embodiment of the present invention, a method for diagnosing a vehicle-mounted controller is provided, comprising: determining a target electronic control unit, wherein the target electronic control unit includes a plurality of vehicle-mounted controllers; acquiring at least one remote diagnostic device; and controlling at least one remote diagnostic device to perform diagnostic operations on the target electronic control unit.

[0014] According to one embodiment of the present invention, there is also provided a diagnostic device for a vehicle-mounted controller, comprising: a first determination module, used to determine a target electronic control unit, wherein the target electronic control unit includes a plurality of vehicle-mounted controllers; a first acquisition module, used to acquire at least one diagnostic instrument; and a first control module, used to control at least one diagnostic instrument to perform diagnostic operations on the target electronic control unit.

[0015] Optionally, the first acquisition module includes: a first determination unit, used to determine a target diagnostic program, wherein the target diagnostic program is a diagnostic program corresponding to a target electronic control unit; and a second determination unit, used to determine at least one diagnostic instrument according to the target diagnostic program.

[0016] Optionally, the first control module includes: an acquisition unit, used to acquire at least one initial diagnostic instrument from a diagnostic equipment queue; and a first control unit, used to control the at least one initial diagnostic instrument to perform diagnostic operations on multiple vehicle-mounted controllers.

[0017] Optionally, the first control module also includes: a third determination unit, used to determine whether there is a target diagnostic instrument in the diagnostic equipment queue in response to the initial diagnostic instrument performing a diagnostic operation on the vehicle-mounted controller, wherein the priority level of the target diagnostic instrument is higher than the priority level of the initial diagnostic instrument, and each vehicle-mounted controller corresponds to an initial diagnostic instrument; a second control unit, used to control the initial diagnostic instrument to stop performing diagnostic operations on the vehicle-mounted controller in response to the presence of a target diagnostic instrument in the diagnostic equipment queue; and a third control unit, used to control the target diagnostic instrument to perform diagnostic operations on the vehicle-mounted controller.

[0018] Optionally, the diagnostic device of the vehicle-mounted controller further includes: a third determination module, configured to determine that the target electronic control unit completes the diagnostic operation in response to at least one diagnostic instrument completing the diagnostic operation on multiple vehicle-mounted controllers in the target electronic control unit.

[0019] According to one embodiment of the present invention, a remote diagnostic device for a vehicle-mounted controller is also provided, including: a second determination module, used to determine a target electronic control unit, wherein the target electronic control unit includes multiple vehicle-mounted controllers; a second acquisition module, used to acquire at least one remote diagnostic device; and a second control module, used to control at least one remote diagnostic device to perform diagnostic operations on the target electronic control unit.

[0020] According to one embodiment of the present invention, a vehicle is provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute any of the above-mentioned methods for diagnosing a vehicle-mounted controller.

[0021] According to one embodiment of the present invention, there is also provided an electronic device, comprising a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to execute any of the above-mentioned methods for diagnosing a vehicle-mounted controller.

[0022] According to one embodiment of the present invention, a non-volatile storage medium is provided, in which a computer program is stored, wherein the computer program is configured to execute any of the above-mentioned methods for diagnosing a vehicle-mounted controller when running.

[0023] According to one embodiment of the present invention, a computer program product is further provided, wherein a computer program is stored in the computer program product, wherein the computer program implements the steps of any of the above-mentioned methods for diagnosing a vehicle-mounted controller when executed by a processor.

[0024] In an embodiment of the present invention, a target electronic control unit is determined, wherein the target electronic control unit includes multiple vehicle-mounted controllers, thereby achieving the purpose of obtaining at least one diagnostic instrument, thereby achieving the technical effect of controlling at least one diagnostic instrument to perform diagnostic operations on multiple vehicle-mounted controllers, and further solving the technical problem in the prior art that new diagnostic equipment is not allowed to access for diagnosis when the diagnostic equipment has not completed the diagnosis of the vehicle-mounted controller. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:

[0026] Figure 1 is a flow chart of a diagnostic method for a vehicle controller according to one embodiment of the present invention;

[0027] Figure 2 is a flow chart of a remote diagnosis method of a vehicle controller according to one embodiment of the present invention;

[0028] Figure 3 is a structural block diagram of a diagnostic device for a vehicle-mounted controller according to one embodiment of the present invention;

[0029] Figure 4 4 is a structural block diagram of a remote diagnosis device of a vehicle-mounted controller according to one embodiment of the present invention. DETAILED DESCRIPTION

[0030] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0031] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the terms used in this way can be interchangeable where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0032] According to an embodiment of the present invention, an embodiment of a diagnostic method for a vehicle-mounted controller is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system containing at least one set of computer-executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0033] The method embodiment can also be executed in an electronic device including a memory and a processor, a similar control device or a vehicle-mounted terminal. Taking a vehicle-mounted terminal as an example, the vehicle-mounted terminal may include one or more processors and a memory for storing data. Optionally, the vehicle-mounted terminal may also include a communication device and a display device for communication functions. It can be understood by those of ordinary skill in the art that the above structural description is only illustrative and does not limit the structure of the vehicle-mounted terminal. For example, the vehicle-mounted terminal may also include more or fewer components than the above structural description, or have a configuration different from the above structural description.

[0034] The processor may include one or more processing units. For example, the processor may include a central processing unit (CPU), a graphics processing unit (GPU), a digital signal processing (DSP) chip, a microprocessor, a field-programmable gate array (FPGA), a neural-network processing unit (NPU), a tensor processing unit (TPU), an artificial intelligence (AI) type processor, and other processing devices. Among them, different processing units may be independent components or integrated into one or more processors. In some instances, the electronic device may also include one or more processors.

[0035] The memory can be used to store computer programs, such as storing a computer program corresponding to the diagnostic method of the vehicle controller in the embodiment of the present invention. The processor implements the diagnostic method of the vehicle controller by running the computer program stored in the memory. The memory may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory may further include a memory remotely arranged relative to the processor, and these remote memories can be connected to the electronic device via a grid. Examples of the above-mentioned grid include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0036] The communication device is used to receive or send data via a grid. The specific examples of the above-mentioned grid may include a wireless grid provided by a communication provider of the mobile terminal. In one example, the communication device includes a grid adapter (network interface controller, NIC), which can be connected to other grid devices through a base station so as to communicate with the Internet. In one example, the communication device can be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly. In some embodiments of the present solution, the communication device is used to connect to mobile devices such as mobile phones and tablets, and instructions can be sent to the vehicle-mounted terminal through the mobile device.

[0037] The display device may be a touch screen type liquid crystal display (LCD) and a touch display (also referred to as a "touch screen" or "touch display screen"). The liquid crystal display may enable a user to interact with a user interface of the vehicle-mounted terminal. In some embodiments, the vehicle-mounted terminal has a graphical user interface (GUI), and a user may interact with the GUI by finger contact and / or gestures on a touch-sensitive surface. The human-computer interaction function here may include a vehicle gear shifting function, and executable instructions for executing the human-computer interaction function are configured / stored in a computer program product or a readable storage medium executable by one or more processors.

[0038] Figure 1 is a flow chart of a diagnostic method for a vehicle controller according to one embodiment of the present invention, Figure 1 As shown, the method comprises the following steps:

[0039] Step S102 : determining a target electronic control unit, wherein the target electronic control unit includes a plurality of vehicle-mounted controllers.

[0040] Optionally, the execution subject of this embodiment is a vehicle-mounted controller diagnostic system. It should be noted that other electronic devices and processors can also serve as execution subjects, and no further limitations are given here.

[0041] In the technical solution provided in the above step S102 of the present invention, the vehicle controller diagnostic system needs to first determine the electronic control unit that needs to be diagnosed, wherein the above target electronic control unit includes multiple vehicle controllers.

[0042] Specifically, the electronic control unit is composed of a central gateway connected to a domain controller and several vehicle controllers. The remote diagnosis flash operation is implemented by flashing the software from the Internet of Vehicles system to the embedded device controller (target controller) in the vehicle through the gateway and bus communication (CAN bus or Ethernet).

[0043] Step S104, obtaining at least one diagnostic instrument.

[0044] In the technical solution provided in the above step S104 of the present invention, the vehicle controller diagnostic system obtains one or more diagnostic instruments.

[0045] Specifically, the vehicle controller diagnostic system includes a diagnostic device module, wherein the diagnostic device module breaks the traditional diagnostic device input mode of only the diagnostic instrument, and can adopt remote diagnosis and diagnostic instrument as new input signal modes. The remote diagnosis includes diagnosis by mobile phone through network connection, realizing the advantages of wireless diagnosis. The control authority of the diagnostic device is realized through the first-come-first-served scheduling method.

[0046] Step S106, controlling at least one diagnostic instrument to perform diagnostic operations on multiple vehicle-mounted controllers.

[0047] In the technical solution provided in the above step S106 of the present invention, the vehicle controller diagnostic system controls the at least one diagnostic instrument obtained above to perform diagnostic operations on multiple vehicle controllers in the target electronic control unit.

[0048] Optionally, each on-board controller can only be diagnosed by one diagnostic instrument at a time, but each electronic control unit can be diagnosed by one or more diagnostic instruments.

[0049] From the above steps S102 to S106, it can be known that in the present invention, a target electronic control unit is determined, wherein the target electronic control unit includes multiple vehicle-mounted controllers, thereby achieving the purpose of obtaining at least one diagnostic instrument, thereby achieving the technical effect of controlling at least one diagnostic instrument to perform diagnostic operations on multiple vehicle-mounted controllers, thereby solving the technical problem in the prior art that a new diagnostic device is not allowed to access for diagnosis when the diagnostic device has not completed the diagnosis of the vehicle-mounted controller.

[0050] It is worth noting that the existing on-board controller flashing diagnostic solution only supports a single diagnostic instrument to diagnose and flash a certain controller on the vehicle's electronic control unit, but cannot implement parallel diagnostic flashing of multiple controllers. With the development of the vehicle's electronic and electrical architecture, vehicle controllers tend to be integrated, and the number is also reduced compared to before. Multiple applications with different functions are integrated into the same hardware controller, but the existing technology can no longer meet the function of on-board controller diagnostic flashing.

[0051] Compared with the prior art, this application proposes a diagnostic method for an on-board controller, which supports the diagnostic instrument to flash multiple chips of the same automotive electronic control unit in parallel. The host computer diagnostic instrument can establish multiple diagnostic links with the central control unit, distinguish the diagnostic flash session status of each application by priority, and realize real-time diagnosis of applications on multiple processes. This method does not need to change the original first-come-first-served design of the diagnostic instrument, and can deploy applications on multiple controllers to the diagnostic agent unit, support separate diagnosis of them, and is independent of the model of the controller chip, with good portability.

[0052] The above method of this embodiment is further described in detail below.

[0053] As an optional implementation, acquiring at least one diagnostic instrument includes: determining a target diagnostic program, wherein the target diagnostic program is a diagnostic program corresponding to a target electronic control unit, and determining at least one diagnostic instrument according to the target diagnostic program.

[0054] In this embodiment, the vehicle controller diagnostic system acquires one or more diagnostic instruments including the following steps: the vehicle controller diagnostic system must first determine the target diagnostic program that needs to be diagnosed and flashed by the target electronic control unit, wherein the target diagnostic program is the diagnostic program corresponding to the target electronic control unit, and then determine at least one diagnostic instrument based on the above target diagnostic program.

[0055] As an optional implementation, controlling at least one diagnostic instrument to perform diagnostic operations on multiple vehicle-mounted controllers includes: obtaining at least one initial diagnostic instrument from a diagnostic device queue, and controlling the at least one initial diagnostic instrument to perform diagnostic operations on multiple vehicle-mounted controllers.

[0056] In this embodiment, the vehicle controller diagnostic system controls one or more diagnostic instruments to perform diagnostic operations on multiple vehicle controllers, including the following steps: the vehicle controller diagnostic system obtains one or more initial diagnostic instruments from the diagnostic device queue, and then controls the one or more initial diagnostic instruments to perform diagnostic operations on multiple vehicle controllers.

[0057] Specifically, the on-board controller diagnostic system adopts a first-come, first-served scheduling algorithm. The on-board controller diagnostic system will schedule according to the order in which the diagnostic instruments arrive. It will first select one or more diagnostic instruments at the head of the queue from the diagnostic equipment queue, load them into the memory, allocate the required resources, create a diagnostic process, and then put them into the "ready queue". The diagnostic process scheduler will not allocate the processor to other diagnostic processes until the diagnostic process runs to completion or a certain event blocks it. For example, under the same automotive electronic control unit module, while the diagnostic instrument is diagnosing the first on-board controller, the remote diagnostic device can start diagnosing the second on-board controller at the same time, so there is no need to wait for the diagnostic instrument to complete the diagnosis before diagnosing the second on-board controller.

[0058] As an optional implementation, the method further includes: in response to the initial diagnostic instrument performing a diagnostic operation on the vehicle-mounted controller, determining whether there is a target diagnostic instrument in the diagnostic device queue, wherein the priority level of the target diagnostic instrument is higher than the priority level of the initial diagnostic instrument, and each vehicle-mounted controller corresponds to an initial diagnostic instrument; in response to the existence of the target diagnostic instrument in the diagnostic device queue, controlling the initial diagnostic instrument to stop performing a diagnostic operation on the vehicle-mounted controller, and controlling the target diagnostic instrument to perform a diagnostic operation on the vehicle-mounted controller.

[0059] In this embodiment, when the initial diagnostic instrument starts to perform diagnostic operations on the vehicle controller, the vehicle controller diagnostic system needs to determine in real time whether there is a target diagnostic instrument with a higher priority than the initial diagnostic instrument in the diagnostic device queue. When the vehicle controller diagnostic system determines that there is a target diagnostic instrument with a higher priority than the initial diagnostic instrument in the diagnostic device queue, the vehicle controller diagnostic system begins to control the initial diagnostic instrument to stop performing diagnostic operations on the vehicle controller, and further controls the target diagnostic instrument to perform diagnostic operations on the vehicle controller.

[0060] Optionally, when the target diagnostic instrument performs diagnostic operations on the vehicle controller, the vehicle controller diagnostic system still needs to determine in real time whether there is a diagnostic instrument with a higher priority than the target diagnostic instrument in the diagnostic device queue. When the vehicle controller diagnostic system determines that there is a diagnostic instrument with a higher priority than the target diagnostic instrument in the diagnostic device queue, the vehicle controller diagnostic system begins to control the target diagnostic instrument to stop performing diagnostic operations on the vehicle controller, and further controls the new diagnostic instrument with a higher priority to start performing diagnostic operations on the vehicle controller.

[0061] As an optional implementation, the method further includes: in response to at least one diagnostic instrument completing a diagnostic operation on a plurality of vehicle-mounted controllers in the target electronic control unit, determining that the target electronic control unit completes the diagnostic operation.

[0062] In this embodiment, the on-board controller diagnostic system determines whether the electronic control unit has completed the diagnostic operation in the following steps: when multiple on-board controllers in the target electronic control unit have all completed the diagnostic operation, it can be determined that the current target electronic control unit has completed the diagnostic operation.

[0063] Figure 2 is a flow chart of a remote diagnosis method of a vehicle controller according to one embodiment of the present invention. Figure 2 As shown, the method comprises the following steps:

[0064] Step S202 , determining a target electronic control unit, wherein the target electronic control unit includes a plurality of vehicle-mounted controllers.

[0065] Optionally, the execution subject of this embodiment is a vehicle-mounted controller remote diagnosis system. It should be noted that other electronic devices and processors can also serve as execution subjects, and no further limitations are given here.

[0066] In the technical solution provided in the above step S202 of the present invention, the vehicle controller diagnostic system needs to first determine the electronic control unit that needs to be diagnosed, wherein the above target electronic control unit includes multiple vehicle controllers.

[0067] Specifically, the electronic control unit is composed of a central gateway connected to a domain controller and several vehicle controllers. The remote diagnosis flash operation is implemented by flashing the software from the Internet of Vehicles system to the embedded device controller (target controller) in the vehicle through the gateway and bus communication (CAN bus or Ethernet).

[0068] Step S204: Acquire at least one remote diagnostic device.

[0069] In the technical solution provided in the above step S204 of the present invention, the vehicle controller diagnostic system obtains one or more remote diagnostic devices.

[0070] Specifically, the vehicle controller diagnostic system includes a diagnostic device module, wherein the diagnostic device module breaks the traditional diagnostic device input mode of only the diagnostic instrument, and can adopt remote diagnosis and diagnostic instrument as new input signal modes. The remote diagnosis includes diagnosis by mobile phone through network connection, realizing the advantages of wireless diagnosis. The control authority of the diagnostic device is realized through the first-come-first-served scheduling method.

[0071] Step S206: Control at least one remote diagnostic device to perform diagnostic operations on multiple vehicle-mounted controllers.

[0072] In the technical solution provided in the above step S206 of the present invention, the vehicle controller diagnostic system controls the at least one remote diagnostic device obtained above to perform diagnostic operations on multiple vehicle controllers in the target electronic control unit.

[0073] Optionally, each on-board controller can only be diagnosed by one remote diagnostic device at a time, but each electronic control unit can have one or more remote diagnostic devices to diagnose it.

[0074] From the above steps S202 to S206, it can be known that, in the present invention, a target electronic control unit is determined, wherein the target electronic control unit includes a plurality of vehicle-mounted controllers, thereby achieving the purpose of acquiring at least one remote diagnostic device, thereby achieving the technical effect of controlling at least one remote diagnostic device to perform diagnostic operations on a plurality of vehicle-mounted controllers, thereby solving the technical problem in the prior art that a new diagnostic device is not allowed to access for diagnosis when the diagnostic device has not completed the diagnosis of the vehicle-mounted controller.

[0075] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, a computer, a server, or a grid device, etc.) to execute the methods of various embodiments of the present invention.

[0076] In this embodiment, a diagnostic device for a vehicle-mounted controller is also provided, which is used to implement the above-mentioned embodiments and preferred implementation modes, and the descriptions that have been made will not be repeated. As used below, the term "module" can implement a combination of software and / or hardware for a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.

[0077] Figure 3 is a structural block diagram of a diagnostic device 300 of a vehicle-mounted controller according to one embodiment of the present invention. Figure 3 As shown, the device includes: a first determining module 301 , a first acquiring module 302 and a first controlling module 303 .

[0078] A first determination module 301 is used to determine a target electronic control unit, wherein the target electronic control unit includes a plurality of vehicle-mounted controllers;

[0079] A first acquisition module 302, used to acquire at least one diagnostic instrument;

[0080] The first control module 303 is used to control at least one diagnostic instrument to perform diagnostic operations on a target electronic control unit.

[0081] Optionally, the first acquisition module 302 includes: a first determination unit, used to determine a target diagnostic program, wherein the target diagnostic program is a diagnostic program corresponding to a target electronic control unit; and a second determination unit, used to determine at least one diagnostic instrument according to the target diagnostic program.

[0082] Optionally, the first control module 303 includes: an acquisition unit, used to acquire at least one initial diagnostic instrument from the diagnostic equipment queue; and a first control unit, used to control the at least one initial diagnostic instrument to perform diagnostic operations on multiple vehicle-mounted controllers.

[0083] Optionally, the first control module 303 also includes: a third determination unit, used to determine whether there is a target diagnostic instrument in the diagnostic equipment queue in response to the initial diagnostic instrument performing a diagnostic operation on the vehicle-mounted controller, wherein the priority level of the target diagnostic instrument is higher than the priority level of the initial diagnostic instrument, and each vehicle-mounted controller corresponds to an initial diagnostic instrument; a second control unit, used to control the initial diagnostic instrument to stop performing a diagnostic operation on the vehicle-mounted controller in response to the presence of a target diagnostic instrument in the diagnostic equipment queue; and a third control unit, used to control the target diagnostic instrument to perform a diagnostic operation on the vehicle-mounted controller.

[0084] Optionally, the diagnostic device 300 for the vehicle controller further includes: a third determination module for determining that the target electronic control unit completes the diagnostic operation in response to at least one diagnostic instrument completing the diagnostic operation on multiple vehicle controllers in the target electronic control unit.

[0085] Figure 4 4 is a block diagram of a remote diagnostic device 400 of a vehicle controller according to one embodiment of the present invention. Figure 4 As shown, the device includes: a second determination module 401 , a second acquisition module 402 and a second control module 403 .

[0086] A second determination module 401 is used to determine a target electronic control unit, wherein the target electronic control unit includes a plurality of vehicle-mounted controllers;

[0087] A second acquisition module 402, used to acquire at least one diagnostic instrument;

[0088] The second control module 403 is used to control at least one diagnostic instrument to perform diagnostic operations on a target electronic control unit.

[0089] An embodiment of the present invention further provides a vehicle, comprising a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to execute the above-mentioned diagnostic method for the vehicle-mounted controller.

[0090] Optionally, in this embodiment, the vehicle may be configured to store a computer program for performing the following steps:

[0091] Step S102, determining a target electronic control unit, wherein the target electronic control unit includes a plurality of vehicle-mounted controllers;

[0092] Step S104, obtaining at least one diagnostic instrument;

[0093] Step S106, controlling at least one diagnostic instrument to perform diagnostic operations on multiple vehicle-mounted controllers.

[0094] Optionally, when the processor executes the program, the following steps are also implemented: determining a target diagnostic program, wherein the target diagnostic program is a diagnostic program corresponding to a target electronic control unit; and determining at least one diagnostic instrument according to the target diagnostic program.

[0095] Optionally, when the processor executes the program, the following steps are also implemented: obtaining at least one initial diagnostic instrument from the diagnostic equipment queue; and controlling the at least one initial diagnostic instrument to perform diagnostic operations on multiple vehicle-mounted controllers.

[0096] Optionally, the processor also implements the following steps when executing the program: in response to the initial diagnostic instrument performing a diagnostic operation on the vehicle-mounted controller, determining whether there is a target diagnostic instrument in the diagnostic device queue, wherein the priority level of the target diagnostic instrument is higher than the priority level of the initial diagnostic instrument, and each vehicle-mounted controller corresponds to an initial diagnostic instrument; in response to the existence of the target diagnostic instrument in the diagnostic device queue, controlling the initial diagnostic instrument to stop performing a diagnostic operation on the vehicle-mounted controller; and controlling the target diagnostic instrument to perform a diagnostic operation on the vehicle-mounted controller.

[0097] Optionally, when executing the program, the processor further implements the following steps: in response to at least one diagnostic instrument completing a diagnostic operation on a plurality of vehicle-mounted controllers in a target electronic control unit, determining that the target electronic control unit completes the diagnostic operation.

[0098] Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation modes, and this embodiment will not be described in detail here.

[0099] An embodiment of the present invention further provides an electronic device, including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to execute the above-mentioned diagnostic method for the vehicle controller.

[0100] Optionally, in this embodiment, the electronic device may be configured to store a computer program for performing the following steps:

[0101] Step S102, determining a target electronic control unit, wherein the target electronic control unit includes a plurality of vehicle-mounted controllers;

[0102] Step S104, obtaining at least one diagnostic instrument;

[0103] Step S106, controlling at least one diagnostic instrument to perform diagnostic operations on multiple vehicle-mounted controllers.

[0104] Optionally, when the processor executes the program, the following steps are also implemented: determining a target diagnostic program, wherein the target diagnostic program is a diagnostic program corresponding to a target electronic control unit; and determining at least one diagnostic instrument according to the target diagnostic program.

[0105] Optionally, when the processor executes the program, the following steps are also implemented: obtaining at least one initial diagnostic instrument from the diagnostic equipment queue; and controlling the at least one initial diagnostic instrument to perform diagnostic operations on multiple vehicle-mounted controllers.

[0106] Optionally, the processor also implements the following steps when executing the program: in response to the initial diagnostic instrument performing a diagnostic operation on the vehicle-mounted controller, determining whether there is a target diagnostic instrument in the diagnostic device queue, wherein the priority level of the target diagnostic instrument is higher than the priority level of the initial diagnostic instrument, and each vehicle-mounted controller corresponds to an initial diagnostic instrument; in response to the existence of the target diagnostic instrument in the diagnostic device queue, controlling the initial diagnostic instrument to stop performing a diagnostic operation on the vehicle-mounted controller; and controlling the target diagnostic instrument to perform a diagnostic operation on the vehicle-mounted controller.

[0107] Optionally, when executing the program, the processor further implements the following steps: in response to at least one diagnostic instrument completing a diagnostic operation on a plurality of vehicle-mounted controllers in a target electronic control unit, determining that the target electronic control unit completes the diagnostic operation.

[0108] Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation modes, and this embodiment will not be described in detail here.

[0109] An embodiment of the present invention further provides a computer-readable storage medium, wherein a computer program is stored in the computer-readable storage medium, and the computer program is configured to execute the above-mentioned diagnostic method of the vehicle-mounted controller when running on a computer or a processor.

[0110] Optionally, in this embodiment, the computer-readable storage medium may be configured to store a computer program for performing the following steps:

[0111] Step S102, determining a target electronic control unit, wherein the target electronic control unit includes a plurality of vehicle-mounted controllers;

[0112] Step S104, obtaining at least one diagnostic instrument;

[0113] Step S106, controlling at least one diagnostic instrument to perform diagnostic operations on multiple vehicle-mounted controllers.

[0114] Optionally, the storage medium is configured to store program codes for executing the following steps: determining a target diagnostic program, wherein the target diagnostic program is a diagnostic program corresponding to a target electronic control unit; and determining at least one diagnostic instrument according to the target diagnostic program.

[0115] Optionally, the storage medium is configured to store program codes for executing the following steps: obtaining at least one initial diagnostic instrument from a diagnostic equipment queue; and controlling the at least one initial diagnostic instrument to perform diagnostic operations on a plurality of vehicle-mounted controllers.

[0116] Optionally, the storage medium is configured to store program code for executing the following steps: in response to the initial diagnostic instrument performing a diagnostic operation on the vehicle-mounted controller, determining whether there is a target diagnostic instrument in the diagnostic device queue, wherein the priority level of the target diagnostic instrument is higher than the priority level of the initial diagnostic instrument, and each vehicle-mounted controller corresponds to an initial diagnostic instrument; in response to the existence of the target diagnostic instrument in the diagnostic device queue, controlling the initial diagnostic instrument to stop performing a diagnostic operation on the vehicle-mounted controller; and controlling the target diagnostic instrument to perform a diagnostic operation on the vehicle-mounted controller.

[0117] Optionally, the storage medium is configured to store program code for executing the following steps: in response to at least one diagnostic instrument completing a diagnostic operation on a plurality of onboard controllers within a target electronic control unit, determining that the target electronic control unit completes the diagnostic operation.

[0118] Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation modes, and this embodiment will not be described in detail here.

[0119] An embodiment of the present invention further provides a computer program product, comprising a computer program, wherein the computer program implements the steps of the above-mentioned vehicle controller diagnosis method when executed by a processor.

[0120] Optionally, in this embodiment, the computer program product may be configured to store a computer program for performing the following steps:

[0121] Step S102, determining a target electronic control unit, wherein the target electronic control unit includes a plurality of vehicle-mounted controllers;

[0122] Step S104, obtaining at least one diagnostic instrument;

[0123] Step S106, controlling at least one diagnostic instrument to perform diagnostic operations on multiple vehicle-mounted controllers.

[0124] Optionally, when the computer program is executed, the following steps are also implemented: determining a target diagnostic program, wherein the target diagnostic program is a diagnostic program corresponding to a target electronic control unit; and determining at least one diagnostic instrument according to the target diagnostic program.

[0125] Optionally, when the computer program is executed, the following steps are also implemented: obtaining at least one initial diagnostic instrument from the diagnostic equipment queue; and controlling at least one initial diagnostic instrument to perform diagnostic operations on multiple vehicle-mounted controllers.

[0126] Optionally, when the computer program is executed, the following steps are also implemented: in response to the initial diagnostic instrument performing a diagnostic operation on the vehicle-mounted controller, determining whether there is a target diagnostic instrument in the diagnostic device queue, wherein the priority level of the target diagnostic instrument is higher than the priority level of the initial diagnostic instrument, and each vehicle-mounted controller corresponds to an initial diagnostic instrument; in response to the existence of the target diagnostic instrument in the diagnostic device queue, controlling the initial diagnostic instrument to stop performing a diagnostic operation on the vehicle-mounted controller; and controlling the target diagnostic instrument to perform a diagnostic operation on the vehicle-mounted controller.

[0127] Optionally, when the computer program is executed, the following steps are further implemented: in response to at least one diagnostic instrument completing a diagnostic operation on a plurality of vehicle-mounted controllers in a target electronic control unit, determining that the target electronic control unit completes the diagnostic operation.

[0128] An embodiment of the present invention further provides a vehicle, comprising a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to execute the above-mentioned remote diagnosis method of the vehicle-mounted controller.

[0129] Optionally, in this embodiment, the vehicle may be configured to store a computer program for performing the following steps:

[0130] Step S102, determining a target electronic control unit, wherein the target electronic control unit includes a plurality of vehicle-mounted controllers;

[0131] Step S104, obtaining at least one remote diagnostic device;

[0132] Step S106: Control at least one remote diagnostic device to perform diagnostic operations on multiple vehicle-mounted controllers.

[0133] An embodiment of the present invention further provides an electronic device, including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to execute the above-mentioned remote diagnosis method of the vehicle-mounted controller.

[0134] Optionally, in this embodiment, the electronic device may be configured to store a computer program for performing the following steps:

[0135] Step S102, determining a target electronic control unit, wherein the target electronic control unit includes a plurality of vehicle-mounted controllers;

[0136] Step S104, obtaining at least one remote diagnostic device;

[0137] Step S106: Control at least one remote diagnostic device to perform diagnostic operations on multiple vehicle-mounted controllers.

[0138] An embodiment of the present invention further provides a computer-readable storage medium, wherein a computer program is stored in the computer-readable storage medium, and the computer program is configured to execute the above-mentioned remote diagnosis method of the vehicle-mounted controller when running on a computer or a processor.

[0139] Optionally, in this embodiment, the computer-readable storage medium may be configured to store a computer program for performing the following steps:

[0140] Step S102, determining a target electronic control unit, wherein the target electronic control unit includes a plurality of vehicle-mounted controllers;

[0141] Step S104, obtaining at least one remote diagnostic device;

[0142] Step S106: Control at least one remote diagnostic device to perform diagnostic operations on multiple vehicle-mounted controllers.

[0143] An embodiment of the present invention further provides a computer program product, including a computer program, wherein the computer program implements the steps of the above-mentioned remote diagnosis method of the vehicle-mounted controller when executed by a processor.

[0144] Optionally, in this embodiment, the computer program product may be configured to store a computer program for performing the following steps:

[0145] Step S102, determining a target electronic control unit, wherein the target electronic control unit includes a plurality of vehicle-mounted controllers;

[0146] Step S104, obtaining at least one remote diagnostic device;

[0147] Step S106: Control at least one remote diagnostic device to perform diagnostic operations on multiple vehicle-mounted controllers.

[0148] Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation modes, and this embodiment will not be described in detail here.

[0149] In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0150] In some embodiments provided in the present application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.

[0151] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed over multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0152] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0153] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server or a grid device, etc.) to perform all or part of the steps of the methods of various embodiments of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk, etc., which can store program codes.

[0154] The above are only preferred embodiments of the present invention. It should be pointed out that, for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A diagnostic method for a vehicle controller, characterized in that: include: determining a target electronic control unit, wherein the target electronic control unit includes a plurality of vehicle-mounted controllers; Obtain at least one diagnostic instrument; The at least one diagnostic instrument is controlled to perform diagnostic operations on the plurality of vehicle-mounted controllers.

2. The diagnostic method of the vehicle controller according to claim 1, characterized in that: Acquiring the at least one diagnostic instrument includes: Determining a target diagnostic program, wherein the target diagnostic program is a diagnostic program corresponding to the target electronic control unit; The at least one diagnostic tool is determined according to the target diagnostic program.

3. The diagnostic method of the vehicle controller according to claim 1, characterized in that: Controlling the at least one diagnostic instrument to perform the diagnostic operation on the plurality of vehicle-mounted controllers includes: Obtain at least one initial diagnostic instrument from a diagnostic equipment queue; The at least one initial diagnostic instrument is controlled to perform the diagnostic operation on the plurality of onboard controllers.

4. The diagnostic method of the vehicle controller according to claim 3, characterized in that: The method further comprises: In response to the initial diagnostic instrument performing the diagnostic operation on the vehicle controller, determining whether there is a target diagnostic instrument in the diagnostic device queue, wherein the priority level of the target diagnostic instrument is higher than the priority level of the initial diagnostic instrument, and each vehicle controller corresponds to an initial diagnostic instrument; In response to the target diagnostic instrument being present in the diagnostic equipment queue, controlling the initial diagnostic instrument to stop performing the diagnostic operation on the onboard controller; The target diagnostic instrument is controlled to perform the diagnostic operation on the vehicle-mounted controller.

5. The diagnostic method of the vehicle controller according to claim 1, characterized in that: The method further comprises: In response to the at least one diagnostic instrument completing the diagnostic operation on a plurality of onboard controllers within the target electronic control unit, it is determined that the target electronic control unit completes the diagnostic operation.

6. A remote diagnosis method for a vehicle controller, characterized in that: include: determining a target electronic control unit, wherein the target electronic control unit includes a plurality of vehicle-mounted controllers; acquiring at least one remote diagnostic device; The at least one remote diagnostic device is controlled to perform a diagnostic operation on the target electronic control unit.

7. A diagnostic device for a vehicle-mounted controller, characterized in that: include: A first determination module is used to determine a target electronic control unit, wherein the target electronic control unit includes a plurality of vehicle-mounted controllers; A first acquisition module, used to acquire at least one diagnostic instrument; The first control module is used to control the at least one diagnostic instrument to perform diagnostic operations on the target electronic control unit.

8. A remote diagnostic device for a vehicle-mounted controller, characterized in that: include: A second determination module is used to determine a target electronic control unit, wherein the target electronic control unit includes a plurality of vehicle-mounted controllers; A second acquisition module, used to acquire at least one remote diagnostic device; The second control module is used to control the at least one remote diagnostic device to perform a diagnostic operation on the target electronic control unit.

9. A vehicle comprising a memory and a processor, characterized in that: The memory stores a computer program, and the processor is configured to run the computer program to execute the diagnosis method of the vehicle controller as claimed in any one of claims 1 to 6.

10. An electronic device comprising a memory and a processor, characterized in that: The memory stores a computer program, and the processor is configured to run the computer program to execute the diagnosis method of the vehicle controller as claimed in any one of claims 1 to 6.

11. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, wherein the computer program is configured to execute the diagnostic method for the vehicle-mounted controller described in any one of claims 1 to 6 when running on a computer or a processor.

12. A computer program product, characterized in that The invention comprises a computer program, which, when executed by a processor, implements the steps of the diagnostic method of the on-vehicle controller as claimed in any one of claims 1 to 6.

Citation Information

Patent Citations

  • Method and device for diagnosing vehicle-mounted electronic control devices

    CN103455022A

  • Method and device for vehicle remote diagnosis

    CN108717292A

  • Vehicle diagnostic communication apparatus, system including the same and method thereof

    CN112015161A

  • Diagnosis method, diagnosis instrument, diagnosis system and storage medium

    CN112684776A

  • Electrical architecture for service-oriented vehicle diagnostics

    CN114341758A