CN117872843A - Processing method and device of vehicle domain controller, storage medium and vehicle - Google Patents

Processing method and device of vehicle domain controller, storage medium and vehicle Download PDF

Info

Publication number
CN117872843A
CN117872843A CN202311709212.2A CN202311709212A CN117872843A CN 117872843 A CN117872843 A CN 117872843A CN 202311709212 A CN202311709212 A CN 202311709212A CN 117872843 A CN117872843 A CN 117872843A
Authority
CN
China
Prior art keywords
diagnostic
domain controller
diagnosis
message
vehicle
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
CN202311709212.2A
Other languages
Chinese (zh)
Inventor
逄晨曦
张晓谦
李岩
王宏民
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
FAW Group Corp
Original Assignee
FAW Group Corp
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 FAW Group Corp filed Critical FAW Group Corp
Priority to CN202311709212.2A priority Critical patent/CN117872843A/en
Publication of CN117872843A publication Critical patent/CN117872843A/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
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0423Input/output
    • 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/25Pc structure of the system
    • G05B2219/25257Microcontroller

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Testing And Monitoring For Control Systems (AREA)

Abstract

The invention discloses a processing method and device of a vehicle domain controller, a storage medium and a vehicle. The method relates to the field of Internet of vehicles, and comprises the following steps: acquiring a diagnosis message sent by at least one diagnosis device of the vehicle, wherein the diagnosis message is used for providing diagnosis service for at least one domain controller of the vehicle; determining a domain controller matched with at least one diagnostic device from a plurality of domain controllers of the vehicle based on the diagnostic message; and processing the matched domain controllers based on the diagnosis message to obtain a processing result, wherein the processing result is used for representing whether the matched domain controllers have faults or not. The invention solves the technical problem of low processing efficiency of a plurality of domain controllers of the vehicle in the related art.

Description

Processing method and device of vehicle domain controller, storage medium and vehicle
Technical Field
The invention relates to the field of internet of vehicles, in particular to a processing method and device of a vehicle domain controller, a storage medium and a vehicle.
Background
The existing vehicle domain controller diagnosis scheme is that a certain controller on a vehicle is diagnosed through a single application process, however, when a certain domain controller of the vehicle fails, the existing scheme needs to diagnose a plurality of domain controllers through a single process in turn to determine the failed domain controller, which results in low processing efficiency of the plurality of domain controllers.
In view of the above problems, no effective solution has been proposed at present.
Disclosure of Invention
The embodiment of the invention provides a processing method and device of a vehicle domain controller, a storage medium and a vehicle, which at least solve the technical problem of low processing efficiency of a plurality of domain controllers of the vehicle in the related technology.
According to an aspect of an embodiment of the present invention, there is provided a processing method of a vehicle domain controller, including: acquiring a diagnosis message sent by at least one diagnosis device of the vehicle, wherein the diagnosis message is used for providing diagnosis service for at least one domain controller of the vehicle; determining a domain controller matched with at least one diagnostic device from a plurality of domain controllers of the vehicle based on the diagnostic message; and processing the matched domain controllers based on the diagnosis message to obtain a processing result, wherein the processing result is used for representing whether the matched domain controllers have faults or not.
Optionally, before determining a domain controller matched with at least one diagnostic device among the plurality of domain controllers of the vehicle based on the diagnosed message, the method further comprises: reading a preset diagnosis relation, wherein the diagnosis relation is used for determining at least one domain controller matched with at least one diagnosis device; based on the diagnostic relationship, controlling at least one diagnostic device to send diagnostic messages to the matched domain controller.
Optionally, determining a domain controller matched with at least one diagnostic device from among a plurality of domain controllers of the vehicle based on the diagnosed message, including: judging whether the diagnostic message is complete or not, and judging whether diagnostic information in the diagnostic message is matched with a domain controller in a plurality of domain controllers, wherein the diagnostic information is a historical diagnostic result of the domain controller; responding to the complete diagnosis message, wherein diagnosis information in the diagnosis message is matched with the domain controller, and determining that the domain controller is the domain controller matched with at least one diagnosis device; in response to the diagnostic message being incomplete or the diagnostic information in the diagnostic message not matching the domain controller, determining that the domain controller is not a domain controller that matches at least one diagnostic device.
Optionally, after determining that the domain controller is not a domain controller that matches at least one diagnostic device, the method further comprises: intercepting the diagnosis message and re-accepting the diagnosis message sent by at least one diagnosis device.
Optionally, the method further comprises: analyzing the diagnosis message to obtain first address information of the matched domain controller; acquiring second address information of the matched domain controller from the matched domain controller; judging whether the first address information is the same as the second address information; and responding to the fact that the first address information is identical to the second address information, and processing the matched domain controllers based on the diagnosis message to obtain a processing result.
Optionally, obtaining a diagnostic message sent by at least one diagnostic device of the vehicle includes: acquiring a first diagnosis message sent by first diagnosis equipment in a vehicle; acquiring a second diagnosis message sent by second diagnosis equipment remotely connected with the vehicle; and summarizing the first diagnosis message and the second diagnosis message to obtain the diagnosis message.
Optionally, the diagnostic message includes at least one of: IP address, diagnostic information, and diagnostic services.
According to another aspect of the embodiment of the present invention, there is also provided a processing device of a vehicle domain controller, including: the system comprises an acquisition module, a control module and a control module, wherein the acquisition module is used for acquiring a diagnosis message sent by at least one diagnosis device of a vehicle, wherein the diagnosis message is used for providing diagnosis service for at least one domain controller of the vehicle; a determining module for determining a domain controller matched with at least one diagnostic device from among a plurality of domain controllers of the vehicle based on the diagnosed message; and the processing module is used for processing the matched domain controllers based on the diagnosis message to obtain a processing result, wherein the processing result is used for representing whether the matched domain controllers have faults or not.
According to another aspect of the embodiment of the present invention, there is also provided a computer readable storage medium, where the computer readable storage medium includes a stored program, and when the program runs, the device on which the computer readable storage medium is controlled to execute the method of any one of the above steps.
According to another aspect of an embodiment of the present invention there is also provided a vehicle comprising a memory having a computer program stored therein and a processor arranged to run the computer program to perform the method of any of the above.
In the embodiment of the invention, a diagnosis message sent by at least one diagnosis device of a vehicle is acquired; determining a domain controller matched with at least one diagnostic device from among a plurality of domain controllers of the vehicle based on the diagnosed message; and processing the matched domain controllers based on the diagnosis message to obtain a processing result. It is easy to notice that by determining the domain controller matched with at least one diagnostic device, the technical effect that the at least one diagnostic device processes the matched domain controller based on the diagnostic message is achieved, the domain controller does not need to be processed sequentially by the diagnostic device, and the purpose of efficiently processing a plurality of domain controllers is achieved, so that the technical effect of improving the processing efficiency of the plurality of domain controllers is achieved, and the technical problem that the processing efficiency of the plurality of domain controllers of the vehicle in the related art is low is solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiments of the invention and together with the description serve to explain the invention and do not constitute a limitation on the invention. In the drawings:
FIG. 1 is a flow chart of a method of processing a vehicle domain controller according to an embodiment of the invention;
FIG. 2 is a schematic diagram of an alternative vehicle domain controller diagnostic system according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of an alternative diagnostic device for diagnosing a domain controller via a Doip gateway in accordance with an embodiment of the present invention;
fig. 4 is a schematic diagram of a processing device of a vehicle domain controller according to an embodiment of the present invention.
Detailed Description
In order that those skilled in the art will better understand the present invention, a technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, shall fall within the scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present invention and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the invention described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example 1
According to an embodiment of the present invention, there is provided a processing method embodiment of a vehicle domain controller, it should be noted that the steps shown in the flowchart of the drawings may be performed in a computer system such as a set of computer executable instructions, and that although a logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in an order different from that shown or described herein.
Fig. 1 is a flowchart of a processing method of a vehicle domain controller according to an embodiment of the present invention, as shown in fig. 1, the method includes the steps of:
step S102, a diagnosis message sent by at least one diagnosis device of the vehicle is obtained, wherein the diagnosis message is used for providing diagnosis service for at least one domain controller of the vehicle.
The vehicle described above may be any vehicle equipped with a remote diagnosis technology and an integrated domain controller, and in this embodiment, the type of vehicle is not particularly limited. The diagnostic device may be a diagnostic device in a vehicle, or may be a terminal remotely connected to the vehicle, for example, and may include, but is not limited to: cell phone, tablet computer and personal computer. The above-mentioned diagnostic messages are used for diagnosing and monitoring various systems and components of a vehicle, wherein the diagnostic messages generally contain information about the address information of an engine, a transmission system, a brake system, a vehicle body control system, diagnostic equipment, and address information of a domain controller of the vehicle, such as sensor data, fault codes, system states, and the like. The diagnostic messages can be read and analyzed by a diagnostic scanning tool or diagnostic equipment to help vehicle service personnel to quickly and accurately diagnose and resolve vehicle faults. In this embodiment, the diagnostic message is used to diagnose the integrated domain controller of the vehicle to determine whether the domain controller has a fault.
The diagnostic services described above may include, but are not limited to, the following: network connection and communication diagnostics: and checking the connection and communication states of the domain controller and other network devices, including problems of network delay, data loss and the like. Hardware fault diagnosis: it is checked whether there is a fault or abnormal situation in the hardware devices of the domain controller, such as servers, storage devices, etc. Software configuration and running state diagnostics: the configuration and running state of the operating system, applications and services of the domain controller are checked to ensure its normal operation. Security and rights diagnostics: the security settings and rights configurations of the domain controller are checked to ensure the security and compliance of the domain controller. Performance and load diagnostics: the performance indicators and load conditions of the domain controllers are checked, as are possible performance bottlenecks and optimization suggestions. Log and event diagnostics: the system log and event log of the domain controller are analyzed to troubleshoot potential problems and anomalies. Troubleshooting and problem solving: and performing fault removal and problem solving aiming at the discovered problems and abnormal conditions, and ensuring the normal operation of the domain controller.
In an alternative embodiment, the diagnostic message sent by the at least one diagnostic device may be first obtained through an internet protocol network based automotive diagnostic protocol (Diagnostics over Internet Protocol, doIP) gateway to perform fault diagnosis on the at least one domain controller.
Step S104, determining a domain controller matched with at least one diagnostic device from a plurality of domain controllers of the vehicle based on the diagnostic message.
In an alternative embodiment, when the DoIP gateway receives the diagnostic message, the diagnostic message may be uploaded to a diagnostic agent dynamic library, which determines a domain controller matching at least one diagnostic device based on the diagnostic message. For example, in the case that the DoIP gateway receives a diagnostic message sent by a diagnostic device, the diagnostic message may be sent to the diagnostic agent dynamic library, the diagnostic agent dynamic library may determine whether the content of the diagnostic message is complete, and whether diagnostic information in the diagnostic message matches the domain controller, in the case that it is determined that the diagnostic message is complete and that the diagnostic information matches the domain controller, the diagnostic message may be returned to the DoIP gateway, the DoIP gateway forwards the diagnostic message to the matching domain controller, and in the case that it is determined that the diagnostic message is incomplete or does not match the domain controller, a value (for example, but not limited to, may be 1) may be returned, indicating to the DoIP gateway that the diagnostic message has been intercepted and needs to be reacquired.
For another example, in the case that the DoIP gateway receives a plurality of diagnostic messages sent by a plurality of diagnostic devices, the DoIP gateway may upload the plurality of diagnostic messages to the diagnostic agent dynamic library, and the diagnostic agent dynamic library may firstly determine a plurality of domain controllers matched with the plurality of diagnostic devices based on a preset diagnostic relationship, and secondly parse the plurality of diagnostic messages, for example, may determine whether the plurality of diagnostic messages are complete, and whether the content of the plurality of diagnostic messages matches with the matched domain controllers, and in the case that it is determined that the plurality of diagnostic messages are complete, and the content of the plurality of diagnostic messages matches with the matched domain controllers, may return the plurality of diagnostic messages to the DoIP gateway, and forward the plurality of diagnostic messages to the plurality of domain controllers matched with the plurality of diagnostic devices by the DoIP gateway.
It should be noted that, the diagnostic agent dynamic library is used for controlling the Doip gateway, and screening and controlling the diagnostic message sent by the diagnostic device to the domain controller by the Doip gateway, so as to realize the technical scheme that multiple application programs diagnose multiple domain controllers simultaneously. It should be noted that the above-mentioned pre-established diagnostic relationship is used to determine the domain controller to which the diagnostic device matches.
And step S106, processing the matched domain controllers based on the diagnosis message to obtain a processing result, wherein the processing result is used for representing whether the matched domain controllers have faults or not.
In an alternative embodiment, after the domain controller receives the matched diagnosis message, the matched domain controller may be processed based on the diagnosis message, for example, performance of the domain controller may be detected, and service status and storage status of the domain controller may be detected, so as to determine whether the performance, service status and storage status of the domain controller are abnormal, and further help a vehicle maintenance personnel to quickly and accurately diagnose and solve a vehicle fault.
In the embodiment of the invention, a diagnosis message sent by at least one diagnosis device of a vehicle is acquired; determining a domain controller matched with at least one diagnostic device from among a plurality of domain controllers of the vehicle based on the diagnosed message; and processing the matched domain controllers based on the diagnosis message to obtain a processing result. It is easy to notice that by determining the domain controller matched with at least one diagnostic device, the technical effect that the at least one diagnostic device processes the matched domain controller based on the diagnostic message is achieved, the domain controller does not need to be processed sequentially by the diagnostic device, and the purpose of efficiently processing a plurality of domain controllers is achieved, so that the technical effect of improving the processing efficiency of the plurality of domain controllers is achieved, and the technical problem that the processing efficiency of the plurality of domain controllers of the vehicle in the related art is low is solved.
Optionally, before determining a domain controller matched with at least one diagnostic device among the plurality of domain controllers of the vehicle based on the diagnosed message, the method further comprises: reading a preset diagnosis relation, wherein the diagnosis relation is used for determining at least one domain controller matched with at least one diagnosis device; based on the diagnostic relationship, controlling at least one diagnostic device to send diagnostic messages to the matched domain controller.
The above-mentioned preset diagnosis relation may be set in advance by a user, and is used for determining different domain controllers matched with different diagnosis devices.
In an alternative embodiment, after the diagnostic message sent by at least one diagnostic device of the vehicle is acquired, firstly, a preset diagnostic relationship can be read through a diagnostic agent dynamic library to determine at least one domain controller matched with the at least one diagnostic device, and secondly, the diagnostic agent dynamic library can control the Doip gateway to forward the diagnostic message sent by the at least one diagnostic device to the domain controller matched with the diagnostic message based on the diagnostic relationship.
Optionally, determining a domain controller matched with at least one diagnostic device from among a plurality of domain controllers of the vehicle based on the diagnosed message, including: judging whether the diagnostic message is complete or not, and judging whether diagnostic information in the diagnostic message is matched with a domain controller in a plurality of domain controllers, wherein the diagnostic information is a historical diagnostic result of the domain controller; responding to the complete diagnosis message, wherein diagnosis information in the diagnosis message is matched with the domain controller, and determining that the domain controller is the domain controller matched with at least one diagnosis device; in response to the diagnostic message being incomplete or the diagnostic information in the diagnostic message not matching the domain controller, determining that the domain controller is not a domain controller that matches at least one diagnostic device.
The diagnostic information may be a historical diagnostic result of the domain controller, wherein the diagnostic information may include, but is not limited to: event log: the event log of the domain controller records various events and error information of the system, and can help an administrator to know the running condition and the failure cause of the system. And (3) performance monitoring: the performance monitoring tool may help an administrator monitor system resource utilization of the domain controller, such as central processing unit (Central Processing Unit, CPU) utilization, memory usage, disk Input/Output (IO), etc., to discover system performance problems in time. Network connection state: an administrator needs to check the network connection status of the domain controller, including network bandwidth utilization, connection speed, network delay, etc., to ensure that the network communication of the system is normal. Service state: the administrator needs to check the status of various services running on the domain controller, such as domain services, domain name resolution system (Domain Name System, DNS) services, dynamic host configuration protocol (Dynamic Host Configuration Protocol, DHCP) services, etc., to ensure that these services are functioning properly. Security audit: the security audit tool may help an administrator check the security configuration and security event log of the domain controller to ensure the security and compliance of the system. Storage state: an administrator needs to check the storage device status of the domain controller, including disk space utilization, disk health status, redundant array of independent disks (Redundant Array of Independent Disks, RAID) configuration, etc., to ensure that the storage devices of the system are functioning properly. Through the inspection and analysis of the diagnosis information, an administrator can timely find out the problem of the domain controller and take corresponding measures to repair the problem so as to ensure the stability and the reliability of the system.
In an alternative embodiment, after the diagnostic agent dynamic library receives the diagnostic message sent by the Doip gateway, it may first determine whether the diagnostic message is complete, and whether diagnostic information in the diagnostic message is matched with a domain controller in the plurality of domain controllers, where the domain controller may be determined to be matched with the diagnostic device if the diagnostic message is complete and the diagnostic information in the diagnostic message is matched with the domain controller, and where the diagnostic message is incomplete or the diagnostic information in the diagnostic message is not matched with the domain controller, it may be determined that the domain controller is not matched with the diagnostic device. For example, in the case where address information of the diagnostic device or the domain controller is absent from the diagnostic message, or diagnostic information of other domain controllers is present in the diagnostic message, it may be determined that the diagnostic message is incomplete, and at this time, it may be determined that the domain controller does not match the diagnostic device.
Optionally, after determining that the domain controller is not a domain controller that matches at least one diagnostic device, the method further comprises: intercepting the diagnosis message and re-accepting the diagnosis message sent by at least one diagnosis device.
In an alternative embodiment, after the dynamic library of diagnostic agents determines that the domain controller does not match the diagnostic device, the unmatched diagnostic message may be intercepted and a value may be returned to the Doip gateway to indicate that the unmatched diagnostic message has been intercepted, at which time the Doip gateway may notify the domain controller of the fact that the matched diagnostic device resends the diagnostic message and re-accepts the diagnostic message sent by the domain controller matched diagnostic device.
Optionally, the method further comprises: analyzing the diagnosis message to obtain first address information of the matched domain controller; acquiring second address information of the matched domain controller from the matched domain controller; judging whether the first address information is the same as the second address information; and responding to the fact that the first address information is identical to the second address information, and processing the matched domain controllers based on the diagnosis message to obtain a processing result.
In an alternative embodiment, the diagnostic message at least includes address information of the diagnostic device and address information of the domain controller, after receiving the diagnostic message, the diagnostic message may be parsed to obtain first address information of the domain controller matched in the diagnostic message, second address information of the domain controller matched may be obtained from the domain controller matched in the diagnostic message, then the first address information and the second address information may be compared to determine whether the first address is the same as the second address, and if the first address information is the same as the second address information, the domain controller matched may be processed based on the diagnostic message to obtain a processing result. For example, the performance of the matched domain controller may be detected, so as to obtain a processing result of whether the performance of the domain controller fails.
Optionally, obtaining a diagnostic message sent by at least one diagnostic device of the vehicle includes: acquiring a first diagnosis message sent by first diagnosis equipment in a vehicle; acquiring a second diagnosis message sent by second diagnosis equipment remotely connected with the vehicle; and summarizing the first diagnosis message and the second diagnosis message to obtain the diagnosis message.
The first diagnostic device may be a diagnostic device in a vehicle, and the second diagnostic device may be a terminal device remotely connected to the vehicle.
In an alternative embodiment, the Doip gateway may receive a first diagnostic message sent by a first diagnostic device in the vehicle, and may also receive a second diagnostic message sent by a second diagnostic device remotely connected to the vehicle, and aggregate the first diagnostic message and the second diagnostic message to obtain the diagnostic message.
Optionally, the diagnostic message includes at least one of: IP address, diagnostic information, and diagnostic services.
In an alternative embodiment, to enable accurate fault diagnosis of a domain controller matched to a diagnostic device, the diagnostic message may include, but is not limited to: the domain controller's internet protocol (Internet Protocol, IP) address information, the diagnostic device's IP address information, diagnostic information, and diagnostic services.
FIG. 2 is a schematic diagram of an alternative vehicle domain controller diagnostic system, as shown in FIG. 2, according to an embodiment of the present invention, including: a diagnostic device 21, a diagnostic agent dynamic library 22, an internet protocol network based automotive diagnostic protocol (Diagnostics over Internet Protocol, doIP) gateway 23, and a domain controller 24. As can be seen from fig. 2, the diagnostic device 21 is connected to the DoIP gateway 23, the DoIP gateway 23 is connected to the diagnostic device 21, the diagnostic agent dynamic library 22, and the domain controller 24, the diagnostic agent dynamic library 22 is connected to the DoIP gateway 23, and the domain controller 24 is connected to the DoIP gateway 23.
As can be seen from fig. 2, when the diagnostic device 21 wants to diagnose the domain controller 24 of the vehicle, a diagnostic message may be sent to the DoIP gateway 23 first, after the DoIP gateway 23 receives the diagnostic message, the diagnostic message may be sent to the diagnostic agent dynamic library 22, the diagnostic agent dynamic library 22 determines whether the received diagnostic message is complete and whether the diagnostic message matches the domain controller through the diagnostic relationship, and when it is determined that the diagnostic message is complete and matches the domain controller, the diagnostic message may be returned to the DoIP gateway 23, and the DoIP gateway 23 forwards the diagnostic message to the matched domain controller 24, so that fault diagnosis may be performed on the domain controller through the diagnostic message.
The invention realizes the technical proposal that a plurality of diagnostic devices diagnose a plurality of domain controllers simultaneously by designing the diagnostic agent dynamic library, controlling the Doip gateway through the diagnostic agent dynamic library and screening the messages sent to the domain controllers by the diagnostic devices. The diagnostic agent dynamic library (so) is placed on a designated path to realize the functions of initializing, initializing and reporting diagnostic messages to an interface; the diagnostic agent dynamic library provides a diagnostic message reporting interface for the Doip gateway to send diagnostic messages, the Doip gateway can send all the diagnostic messages to the diagnostic agent dynamic library, and the diagnostic agent dynamic library uses a return value to indicate whether the diagnostic messages are intercepted or not, or the Doip gateway continues to forward the diagnostic messages; the diagnosis agent dynamic library can send diagnosis message through callback interface of the Doip gateway. The diagnostic messages are assembled by the diagnostic agent dynamic library itself. The diagnostic agent dynamic library realizes that different diagnostic devices can diagnose different domain controllers simultaneously through the original diagnostic device address information and the destination controller (namely the domain controllers matched with the diagnostic devices) address information in the diagnostic information carried by the diagnostic message. For example, the diagnostic device can diagnose the domain controller 1 at the same time, and the remote diagnostic device can diagnose the domain controller 2 at the same time, so that the diagnostic device is not required to diagnose the domain controller 2 after diagnosis is completed.
FIG. 3 is a schematic diagram of an alternative diagnostic device for diagnosing a domain controller via a Doip gateway according to an embodiment of the present invention, as shown in FIG. 3, the diagnostic device may include, but is not limited to: after the diagnostic apparatus (i.e. the first diagnostic apparatus), the remote apparatus (i.e. the second diagnostic apparatus) 1 and the remote apparatus 2 send a plurality of diagnostic messages to the Doip gateway, the Doip gateway may forward the diagnostic messages sent by the diagnostic apparatus to the matched domain controller 1, forward the diagnostic messages sent by the remote apparatus 1 to the matched domain controller 2, and forward the diagnostic messages sent by the remote apparatus 2 to the matched domain controller 3 based on a preset diagnostic relationship, so as to implement a technical scheme that the plurality of diagnostic apparatuses perform diagnosis on the plurality of domain controllers at the same time.
The invention discloses a parallel remote diagnosis agent system and a method for an on-board domain controller, which relate to the gateway remote diagnosis development technology in the automotive electronics field, and the invention sets a diagnosis agent to dynamically realize a message reporting function through a gateway, so that the problem of simultaneous diagnosis of a plurality of application programs on a high-performance automotive central control unit is solved, and the same diagnosis real-time performance as that of a single-user diagnosis device can be achieved while the parallel diagnosis is realized.
The invention is suitable for the controller developed on the intelligent driving automobile based on a high-performance System On Chip (SOC), and can simultaneously carry out parallel dynamic remote diagnosis on a plurality of control units by a plurality of diagnosis devices. The invention CAN support unified diagnostic service (Unified Diagnostic Services, UDS) diagnostics from different buses (serial communication protocol (Controller Area Network, CAN) ethernet). The diagnosis agent is used as a control module of the parallel diagnosis transmission module and is responsible for transmitting diagnosis data with a plurality of application algorithms.
Example 2
According to another aspect of the embodiments of the present invention, there is further provided a processing apparatus for a vehicle domain controller, where the processing method for a vehicle domain controller provided in the foregoing embodiment 1 may be executed, and a specific implementation manner and a preferred application scenario are the same as those of the foregoing embodiment 1, and are not described herein.
Fig. 4 is a schematic view of a processing device of a vehicle domain controller according to an embodiment of the present invention, as shown in fig. 4, the device includes: an acquisition module 42, configured to acquire a diagnostic message sent by at least one diagnostic device of the vehicle, where the diagnostic message is used to provide diagnostic services to at least one domain controller of the vehicle; a determining module 44 for determining a domain controller, of the plurality of domain controllers of the vehicle, that matches the at least one diagnostic device based on the diagnostic message; and the processing module 46 is configured to process the matched domain controllers based on the diagnostic message to obtain a processing result, where the processing result is used to characterize whether the matched domain controllers fail.
Optionally, before determining a domain controller matched with at least one diagnostic device among the plurality of domain controllers of the vehicle based on the diagnosed message, the apparatus further includes: the reading module is used for reading a preset diagnosis relation, wherein the diagnosis relation is used for determining at least one domain controller matched with at least one diagnosis device; and the control module is used for controlling at least one diagnostic device to send diagnostic messages to the matched domain controllers based on the diagnostic relationship.
Optionally, the determining module includes: the judging unit is used for judging whether the diagnosis message is complete or not and whether the diagnosis information in the diagnosis message is matched with the domain controllers in the plurality of domain controllers, wherein the diagnosis information is a historical diagnosis result of the domain controllers; the first determining unit is used for responding to the completeness of the diagnosis message, and the diagnosis information in the diagnosis message is matched with the domain controller, so that the domain controller is determined to be the domain controller matched with at least one diagnosis device; and a second determining unit, configured to determine that the domain controller is not a domain controller that matches at least one diagnostic device, in response to the diagnostic message being incomplete or the diagnostic information in the diagnostic message not matching the domain controller.
Optionally, after determining that the domain controller is not a domain controller that matches at least one diagnostic device, the determining module further comprises: the interception unit is used for intercepting the diagnosis message and re-receiving the diagnosis message sent by at least one diagnosis device.
Optionally, the apparatus further comprises: the analysis module is used for analyzing the diagnosis message to obtain first address information of the matched domain controller; the information acquisition module is used for acquiring second address information of the matched domain controller from the matched domain controller; the judging module is used for judging whether the first address information is the same as the second address information; and the domain controller processing module is used for responding to the fact that the first address information is the same as the second address information, and processing the matched domain controllers based on the diagnosis message to obtain a processing result.
Optionally, the acquiring module includes: the first acquisition unit is used for acquiring a first diagnosis message sent by first diagnosis equipment in the vehicle; the second acquisition unit is used for acquiring a second diagnosis message sent by second diagnosis equipment remotely connected with the vehicle; and the summarizing unit is used for summarizing the first diagnosis message and the second diagnosis message to obtain the diagnosis message.
Optionally, the diagnostic message includes at least one of: IP address, diagnostic information, and diagnostic services.
Example 3
According to another aspect of the embodiment of the present invention, there is also provided a computer readable storage medium, where the computer readable storage medium includes a stored program, and when the program runs, the device on which the computer readable storage medium is controlled to execute the method of any one of the above steps.
Example 4
According to another aspect of an embodiment of the present invention there is also provided a vehicle comprising a memory having a computer program stored therein and a processor arranged to run the computer program to perform the method of any of the above.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
In the foregoing embodiments of the present invention, the descriptions of the embodiments are emphasized, and for a portion of this disclosure that is not described in detail in this embodiment, reference is made to the related descriptions of other embodiments.
In the several embodiments provided in the present application, it should be understood that the disclosed technology content may be implemented in other manners. The above-described embodiments of the apparatus are merely exemplary, and the division of the units, for example, may be a logic function division, and may be implemented in another manner, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some interfaces, units or modules, or may be in electrical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied essentially or in part or all of the technical solution or in part in the form of a software product stored in a storage medium, including instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a removable hard disk, a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The foregoing is merely a preferred embodiment of the present invention and it should be noted that modifications and adaptations to those skilled in the art may be made without departing from the principles of the present invention, which are intended to be comprehended within the scope of the present invention.

Claims (10)

1. A method of processing a vehicle domain controller, comprising:
acquiring a diagnosis message sent by at least one diagnosis device of a vehicle, wherein the diagnosis message is used for providing diagnosis service for at least one domain controller of the vehicle;
determining a domain controller of the plurality of domain controllers of the vehicle that matches the at least one diagnostic device based on the diagnostic message;
and processing the matched domain controllers based on the diagnosis message to obtain a processing result, wherein the processing result is used for representing whether the matched domain controllers have faults or not.
2. The method of claim 1, wherein determining a domain controller of the plurality of domain controllers of the vehicle that matches the at least one diagnostic device based on the diagnostic messages is preceded by:
reading a preset diagnosis relation, wherein the diagnosis relation is used for determining the at least one domain controller matched with the at least one diagnosis device;
and controlling the at least one diagnostic device to send the diagnostic message to the matched domain controller based on the diagnostic relationship.
3. The method of claim 1, wherein determining a domain controller of the plurality of domain controllers of the vehicle that matches the at least one diagnostic device based on the diagnostic messages comprises:
judging whether the diagnostic message is complete or not, and judging whether diagnostic information in the diagnostic message is matched with a domain controller in the plurality of domain controllers, wherein the diagnostic information is a historical diagnostic result of the domain controller;
determining that the domain controller is a domain controller matched with the at least one diagnostic device in response to the diagnostic message being complete and diagnostic information in the diagnostic message being matched with the domain controller;
and determining that the domain controller is not a domain controller matched with the at least one diagnostic device in response to the diagnostic message being incomplete or the diagnostic information in the diagnostic message not matching the domain controller.
4. A method according to claim 3, wherein after determining that the domain controller is not a domain controller that matches the at least one diagnostic device, the method further comprises:
intercepting the diagnosis message and re-accepting the diagnosis message sent by the at least one diagnosis device.
5. The method according to claim 1, wherein the method further comprises:
analyzing the diagnosis message to obtain first address information of the matched domain controller;
acquiring second address information of the matched domain controller from the matched domain controller;
judging whether the first address information is the same as the second address information;
and responding to the fact that the first address information is the same as the second address information, and processing the matched domain controller based on the diagnosis message to obtain the processing result.
6. The method of claim 1, wherein obtaining diagnostic messages sent by at least one diagnostic device of the vehicle comprises:
acquiring a first diagnosis message sent by first diagnosis equipment in the vehicle;
acquiring a second diagnosis message sent by second diagnosis equipment remotely connected with the vehicle;
and summarizing the first diagnosis message and the second diagnosis message to obtain the diagnosis message.
7. The method of claim 1, wherein the diagnostic message comprises at least one of: IP address, diagnostic information, and diagnostic services.
8. A processing apparatus of a vehicle domain controller, comprising:
the system comprises an acquisition module, a control module and a control module, wherein the acquisition module is used for acquiring a diagnosis message sent by at least one diagnosis device of a vehicle, wherein the diagnosis message is used for providing diagnosis service for at least one domain controller of the vehicle;
a determining module configured to determine, based on the diagnostic message, a domain controller that matches the at least one diagnostic device among a plurality of domain controllers of the vehicle;
and the processing module is used for processing the matched domain controllers based on the diagnosis message to obtain a processing result, wherein the processing result is used for representing whether the matched domain controllers have faults or not.
9. A computer readable storage medium, characterized in that the computer readable storage medium comprises a stored program, wherein the program, when run, controls a device in which the computer readable storage medium is located to perform the method of any one of claims 1 to 7.
10. A vehicle comprising a memory and a processor, wherein the memory has stored therein a computer program, the processor being arranged to run the computer program to perform the method of any of claims 1 to 7.
CN202311709212.2A 2023-12-12 2023-12-12 Processing method and device of vehicle domain controller, storage medium and vehicle Pending CN117872843A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311709212.2A CN117872843A (en) 2023-12-12 2023-12-12 Processing method and device of vehicle domain controller, storage medium and vehicle

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311709212.2A CN117872843A (en) 2023-12-12 2023-12-12 Processing method and device of vehicle domain controller, storage medium and vehicle

Publications (1)

Publication Number Publication Date
CN117872843A true CN117872843A (en) 2024-04-12

Family

ID=90595853

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311709212.2A Pending CN117872843A (en) 2023-12-12 2023-12-12 Processing method and device of vehicle domain controller, storage medium and vehicle

Country Status (1)

Country Link
CN (1) CN117872843A (en)

Similar Documents

Publication Publication Date Title
US7281040B1 (en) Diagnostic/remote monitoring by email
US4937825A (en) Method and apparatus for diagnosing problems in data communication networks
US7664986B2 (en) System and method for determining fault isolation in an enterprise computing system
US6772376B1 (en) System and method for reporting detected errors in a computer system
CN106034051B (en) Network monitoring data processing method and network monitoring data processing unit
JP2017507432A (en) Measuring system having a plurality of sensors
KR20070117954A (en) Apparatus and method for device management in mobile communication terminal and the system their of
CN103414916A (en) Fault diagnosis system and method
CN114363151A (en) Fault detection method and device, electronic equipment and storage medium
CN115858221A (en) Management method and device of storage equipment, storage medium and electronic equipment
CN115396529A (en) Multichannel communication method, device, terminal equipment and storage medium
CN117872843A (en) Processing method and device of vehicle domain controller, storage medium and vehicle
CN115484184B (en) Fault diagnosis method, fault diagnosis system, vehicle, and readable storage medium
CN115729220B (en) Vehicle diagnostic system, method and storage medium
CN112398672B (en) Message detection method and device
CN117271234A (en) Fault diagnosis method and device, storage medium and electronic device
CN108983751B (en) Method for diagnosing abnormal processing of joint and server
CN110442468A (en) Collapse diagnostic message collection method, system and electronic equipment
CN115766526A (en) Test method and device for switch physical layer chip and electronic equipment
CN111143225B (en) Vulnerability processing method of automobile diagnosis software and related products
CN114979239A (en) Remote diagnosis method, device and related equipment
CN114461350A (en) Method and device for testing availability of container
CN115687036A (en) Log collection method and device and log system
CN113965447A (en) Online cloud diagnosis method, device, system, equipment and storage medium
US20090198764A1 (en) Task Generation from Monitoring 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