Method and device for obtaining performance parameters

By receiving diagnostic messages in case of component failure on the automotive CAN bus and obtaining component performance parameters, the problem of low efficiency in the prior art is solved, and a method of efficient acquisition of performance parameters is realized.

CN115219241BActive Publication Date: 2025-09-02CHERY AUTOMOBILE CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210867959.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-07-22
Publication Date
2025-09-02
Estimated Expiration
2042-07-22

AI Technical Summary

Technical Problem

In the prior art, the efficiency of obtaining performance parameters of automobile parts is low, and the process of laying out sensors is complicated.

Method used

The control device uses the CAN bus of the car to receive the diagnostic messages sent by the component in the event of a failure, and sends parameter demand messages based on the identification and address information, and the component actively feedbacks performance parameters.

Benefits of technology

No need to disassemble the car or arrange sensors on components, improving efficiency in performance parameters acquisition and reducing costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115219241B_ABST
    Figure CN115219241B_ABST
Patent Text Reader

Abstract

This application relates to a method and apparatus for obtaining performance parameters, pertaining to the automotive field. The method comprises: a control device receiving, via a vehicle's CAN bus, a diagnostic message sent by a first vehicle component in the event of a fault; the first vehicle component being a component within the vehicle, the fault of the first vehicle component being artificially created, the diagnostic message including address information and identification information of the first vehicle component; the control device sending, based on the identification information and address information, a first message to the first vehicle component via the CAN bus; the first message including parameter request information indicating at least one performance parameter for which feedback from the first vehicle component is required; and the control device receiving, via the CAN bus, a second message sent by the first vehicle component based on the first message; the second message including the at least one performance parameter. This application improves the efficiency of obtaining performance parameters.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the automotive field, and in particular to a method and device for obtaining performance parameters. Background Art

[0002] By disassembling and / or scanning existing vehicles, automobile companies can reverse engineer a set of structural data. This data includes the performance parameters of each vehicle component, which can be used to develop new vehicle products.

[0003] Currently, the performance parameters of automobile parts can be obtained in the following way: first, the car is disassembled, holes are drilled in the disassembled automobile parts, and sensors are placed at the drilled holes; then, the disassembled automobile parts are assembled into a complete car; finally, the performance parameters of each automobile part are collected separately through the sensors placed on each automobile part.

[0004] During the process of implementing this application, the inventors discovered that the above method has at least the following defects:

[0005] Currently, performance parameters are obtained by arranging sensors. The process of arranging sensors is very complicated, resulting in low efficiency in obtaining performance parameters. Summary of the Invention

[0006] In order to improve the efficiency of obtaining performance parameters, the embodiments of the present application provide a method and apparatus for obtaining performance parameters. The technical solution is as follows:

[0007] According to a first aspect of an embodiment of the present application, a method for obtaining performance parameters is provided, the method comprising:

[0008] A control device receives, via a controller area network (CAN) bus of a vehicle, a diagnostic message sent by a first vehicle component when a fault occurs, wherein the first vehicle component is a component in the vehicle, the fault of the first vehicle component is an artificially created fault, and the diagnostic message includes address information of the first vehicle component and identification information of the first vehicle component;

[0009] The control device sends a first message to the first automobile component through the CAN bus based on the identification information and the address information, wherein the first message includes parameter requirement information, and the parameter requirement information is used to indicate at least one performance parameter that requires feedback from the first automobile component;

[0010] The control device receives, via the CAN bus, a second message sent by the first automobile component based on the first message, where the second message includes the at least one performance parameter.

[0011] Optionally, the control device sends a first message to the first automobile component through the CAN bus based on the identification information and the address information, including:

[0012] The control device obtains a requirement file corresponding to the first automobile component based on the identification information, wherein the requirement file includes at least one parameter type, and the at least one parameter type is a parameter type that requires feedback from the first automobile component;

[0013] The control device sends a first message to the first automobile component through the CAN bus based on the address information, where the first message includes the at least one parameter type.

[0014] Optionally, the control device sends a first message to the first automobile component through the CAN bus based on the address information, including:

[0015] The control device periodically sends the first message to the first vehicle component based on the address information.

[0016] Optionally, the control device is connected to the CAN bus via a digital acquisition device, and the control device receives, via the CAN bus, a second message sent by the first automobile component based on the first message, including:

[0017] The control device receives a second message sent by the first automobile component based on the first message from the CAN bus through the digital acquisition device.

[0018] Optionally, the control device includes a configuration file, the configuration file including protocol information and conversion information, the protocol information being used to indicate a position of each performance parameter of the at least one performance parameter in the second message, and the conversion information being used to convert each performance parameter in the second message into a decimal parameter; the method further comprising:

[0019] The control device obtains each performance parameter from the second message based on the protocol information;

[0020] The control device converts each of the performance parameters into a decimal performance parameter based on the conversion information.

[0021] According to a second aspect of an embodiment of the present application, there is provided an apparatus for obtaining performance parameters, the apparatus comprising:

[0022] a receiving module, configured to receive, via a controller area network (CAN) bus of a vehicle, a diagnostic message sent by a first vehicle component when a fault occurs, wherein the first vehicle component is a component in the vehicle, the fault of the first vehicle component is an artificially created fault, and the diagnostic message includes address information of the first vehicle component and identification information of the first vehicle component;

[0023] a sending module, configured to send a first message to the first automobile component via the CAN bus based on the identification information and the address information, wherein the first message includes parameter requirement information, and the parameter requirement information is used to indicate at least one performance parameter that requires feedback from the first automobile component;

[0024] The receiving module is further configured to receive, via the CAN bus, a second message sent by the first automobile component based on the first message, where the second message includes the at least one performance parameter.

[0025] Optionally, the device further includes a first processing module,

[0026] The first processing module is configured to obtain a requirement file corresponding to the first automobile component based on the identification information, wherein the requirement file includes at least one parameter type, and the at least one parameter type is a parameter type that requires feedback from the first automobile component;

[0027] The sending module is configured to send a first message to the first automobile component via the CAN bus based on the address information, where the first message includes the at least one parameter type.

[0028] Optionally, the sending module is configured to periodically send the first message to the first automobile component based on the address information.

[0029] Optionally, the device is connected to the CAN bus via a digital acquisition device, and the receiving module is used to:

[0030] A second message sent by the first automobile component based on the first message is received from the CAN bus through the digital acquisition device.

[0031] Optionally, the device includes a configuration file, the configuration file including protocol information and conversion information, the protocol information is used to indicate the position of each performance parameter of the at least one performance parameter in the second message, and the conversion information is used to convert each performance parameter in the second message into a decimal parameter; the device also includes a second processing module,

[0032] The second processing module is configured to:

[0033] Obtaining each performance parameter from the second message based on the protocol information;

[0034] Each performance parameter is converted into a decimal performance parameter based on the conversion information.

[0035] According to a third aspect of an embodiment of the present application, a control device is provided, the control device comprising:

[0036] processor;

[0037] a transceiver connected to the processor;

[0038] The processor is configured to execute executable instructions to implement the method for obtaining performance parameters as described in the above aspects.

[0039] According to a fourth aspect of an embodiment of the present application, a computer storage medium is provided, wherein the computer-readable storage medium stores at least one instruction, at least one program, a code set, or an instruction set, and the at least one instruction, the at least one program, the code set, or the instruction set is loaded and executed by a processor to implement the method for obtaining performance parameters as described in the above aspects.

[0040] According to a fifth aspect of an embodiment of the present application, a computer program product (or computer program) is provided, wherein the computer program product (or computer program) includes computer instructions, and the computer instructions are stored in a computer-readable storage medium; a processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the method for obtaining performance parameters as described in the above aspects.

[0041] According to a sixth aspect of an embodiment of the present application, a chip is provided, which includes an editable logic circuit and / or program instructions. When the chip is running, it is used to implement the method for obtaining performance parameters as described in the above aspects.

[0042] The technical solutions provided by the embodiments of the present application may have the following beneficial effects:

[0043] Because a first vehicle component is artificially induced to malfunction, it proactively transmits a diagnostic message over the vehicle's CAN bus. This message includes the first vehicle component's address and identification information. A control device receives the diagnostic message from the CAN bus and, based on the address information, sends a first message including parameter request information to the first vehicle component via the CAN bus. Based on the parameter request information, the first vehicle component obtains at least one performance parameter indicated by the parameter request information and sends a second message including the at least one performance parameter to the control device. This allows the performance parameters of each vehicle component to be acquired without disassembling the vehicle or placing sensors on each component, thereby improving the efficiency of acquiring performance parameters.

[0044] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0046] Figure 1 This is a schematic diagram of a network architecture provided by an embodiment of the present application;

[0047] Figure 2 This is another network architecture diagram provided by an embodiment of the present application;

[0048] Figure 3 This is another network architecture diagram provided by an embodiment of the present application;

[0049] Figure 4 This is a flow chart of a method for obtaining performance parameters provided in an embodiment of the present application;

[0050] Figure 5 This is a schematic diagram of the structure of a device for obtaining performance data reports provided in an embodiment of the present application;

[0051] The above drawings illustrate specific embodiments of the present application, which will be described in more detail below. These drawings and the textual description are not intended to limit the scope of the present application in any way, but rather to illustrate the concepts of the present application to those skilled in the art by reference to specific embodiments. DETAILED DESCRIPTION

[0052] Exemplary embodiments will be described in detail herein, with examples illustrated in the accompanying drawings. In the following description, when referring to the drawings, identical numerals in different figures represent identical or similar elements, unless otherwise indicated. The embodiments described in the following exemplary embodiments are not intended to represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.

[0053] See also Figure 1 , an embodiment of the present application provides a network architecture 100, including:

[0054] The control device 11 and the car 12 include a controller area network (CAN) bus 121 and at least one car component 122 . The at least one car component 122 is connected to the CAN bus 121 . The control device 11 communicates with the CAN bus 121 .

[0055] The at least one automobile component 122 includes one or more of the following: an engine, an air conditioner, or an oil pump.

[0056] For any one of the at least one automobile component 122, for the sake of convenience, the automobile component is referred to as a first automobile component. The first automobile component includes a controller. The first automobile component has the following characteristics: when a fault occurs in the first automobile component, the controller of the first automobile component sends a diagnostic message to the CAN bus 121, and the diagnostic message includes address information and identification information of the first automobile component.

[0057] In order to obtain the address information of the first automobile component, in the embodiment of the present application, a fault is artificially created on the first automobile component, so that the first automobile component sends a diagnostic message to the CAN bus 121.

[0058] For example, assume that the first automotive component is the engine of vehicle 12. The engine is equipped with at least one sensor, including a temperature sensor and / or a pressure sensor. Some or all of the at least one sensor can be manually disconnected from the engine. Upon detecting that the sensor has been disconnected, the engine controller determines that the sensor has failed and sends a diagnostic message to CAN bus 122. The message includes the engine's address information "IP1" and identification information "engine."

[0059] The control device 11 is used to obtain a diagnostic message sent by a first automobile component from the CAN bus 121, where the diagnostic message includes address information and identification information of the first automobile component. Based on the identification information and the address information, a first message is sent to the first automobile component via the CAN bus 121, where the first message includes parameter requirement information, where the parameter requirement information is used to indicate at least one performance parameter that requires feedback from the first automobile component.

[0060] The correspondence between the identification information of the automobile component and the parameter requirement information is stored in advance. Since the diagnostic message sent by the first automobile component includes the identification information of the first automobile component, the parameter requirement information corresponding to the first automobile component is obtained from the correspondence between the identification information of the automobile component and the parameter requirement information based on the identification information of the first automobile component.

[0061] Because the diagnostic message sent by the first automotive component includes the address information of the first automotive component, the control device 11 can send the first message to the first automotive component via the CAN bus 121 based on the address information of the first automotive component. Optionally, the first message includes a message header and a payload, where the destination address of the message header is the address information of the first automotive component, the source address of the message header is the address information of the control device 11, and the payload includes parameter requirement information corresponding to the first automotive component.

[0062] The first automobile component receives a first message from CAN bus 121, determines at least one performance parameter to be reported based on parameter requirement information in the first message, obtains a parameter value for each of the at least one performance parameter, and sends a second message including the at least one performance parameter to control device 11 via CAN bus 121. Control device 11 receives the second message from CAN bus 121 and obtains the at least one performance parameter from the second message.

[0063] The second message includes a message header and a payload. The destination address of the message header is the address information of the control device 11 , the source address of the message header is the address information of the first automobile component, and the payload includes the parameter value of each performance parameter of the at least one performance parameter.

[0064] The control device 11 periodically sends a first message to the first automobile component via the CAN bus 121 , and the control device 11 periodically receives a second message returned by the first automobile component based on the first message via the CAN bus 121 .

[0065] Optionally, the control device 11 may be a computer or the like.

[0066] Alternatively, see Figure 2The network architecture 100 further includes a control module 13 , which is connected to the CAN bus 121 . The control module 13 is connected to the control device 11 , and the control device 11 periodically sends a first message to the CAN bus 121 through the control module 13 .

[0067] Optionally, the control module 13 may be a module in the control device 11 , or the control module 13 may be a module in the car 12 .

[0068] Optionally, in the case where the control module 13 may be a module in the automobile 12 , the control module 123 may be a motor control unit (MCU) of the automobile 12 .

[0069] Alternatively, see Figure 3 The network architecture 100 further includes a digital acquisition device 14 , which is connected to the CAN bus 121 of the car 12 , and the digital acquisition device 14 also communicates with the control device 11 .

[0070] The control device 11 receives the second message returned by the first automobile component based on the first message from the CAN bus 121 through the digital acquisition device 14 .

[0071] See also Figure 4 , the embodiment of the present application provides a method 400 for obtaining performance parameters, which is applied to Figure 1 、 Figure 2 or Figure 3 In the network architecture 100 shown, the method 400 includes the following steps 401 to 405.

[0072] Step 401: A control device receives a diagnostic message sent by a first automobile component when a fault occurs through a CAN bus of the automobile. The diagnostic message includes address information and identification information of the first automobile component.

[0073] The first automobile component is any component in the automobile, and the failure of the first automobile component is a man-made failure. When the first automobile component fails, the controller of the first automobile component will send a diagnostic message to the CAN bus of the automobile, and the diagnostic message includes address information of the first automobile component and identification information of the first automobile component.

[0074] Optionally, the address information of the first vehicle component is the address of the first vehicle component on the CAN bus, and the first vehicle component can be addressed on the CAN bus using the address information. The identification information of the first vehicle component can include the name of the first vehicle component and / or the number of the first vehicle component. The identification information of the first vehicle can be used to identify the first vehicle component in the vehicle.

[0075] In this embodiment of the present application, if a control device needs to obtain performance parameters of a first automobile component, the control device needs to send a request to the first automobile component for obtaining the performance parameters of the first automobile component. However, since the address information of the first automobile component on the CAN bus is unknown, the control device cannot send the request to the first automobile component via the CAN bus.

[0076] Furthermore, since when the first automobile component fails, the controller of the first automobile component will actively send a diagnostic message on the CAN bus, and the diagnostic message includes the address information and identification information of the first automobile component, this characteristic of the first automobile component can be utilized to artificially cause the first automobile component to fail, thereby causing the first automobile component to send a diagnostic message including the address information and identification information of the first automobile component, so as to obtain the address information of the first automobile component.

[0077] In step 401, the control device communicates with the control module, the control module is connected to the CAN bus of the vehicle, the control module receives a diagnostic message sent by the first vehicle component from the CAN bus, and then sends a notification message to the control device.

[0078] When the control device needs to obtain the performance parameter of the first automobile component, it sends an acquisition instruction to the control module. The acquisition instruction is used to trigger the control module to send a request for obtaining the performance parameter to the first automobile component.

[0079] Optionally, the control device is connected to the control module of the car via a data line, or a wireless connection is established between the control device and the control module of the car, that is, the control device communicates with the control module of the car via the data line or the wireless connection.

[0080] Step 402: The control device sends a first message to the first automobile component via the CAN bus based on the identification information and address information of the first automobile component. The first message includes parameter requirement information, which is used to indicate at least one performance parameter that requires feedback from the first automobile component.

[0081] In step 402, based on the identification information of the first automotive component, the parameter requirement information corresponding to the first automotive component is obtained from the correspondence between the identification information and the parameter requirement information. Based on the address information of the first automotive component, a first message is sent to the first automotive component via the CAN bus. The first message includes the parameter requirement information. The first message is a request for obtaining performance parameters.

[0082] The parameter requirement information corresponding to the first automobile component includes at least one parameter type corresponding to the first automobile component. The parameter requirement information is used to instruct the first automobile component to feed back performance parameters corresponding to each parameter type in the at least one parameter type.

[0083] Optionally, a technician may input identification information of a first vehicle component and parameter requirement information corresponding to the first vehicle component into the control device in advance, and the control device may store the identification information of the first vehicle component and the parameter requirement information corresponding to the first vehicle component in a corresponding relationship between identification information and parameter requirement information. The technician may also input identification information and parameter requirement information of other vehicle components into the control device, and the control device may store the identification information and parameter requirement information of the other vehicle components in a corresponding relationship between identification information and parameter requirement information.

[0084] Optionally, the parameter requirement information corresponding to the first automobile component is stored in a requirement file corresponding to the first automobile component. The correspondence between the identification information of the automobile component and the parameter requirement information can be the correspondence between the identification information of the automobile component and the requirement file.

[0085] Optionally, in step 402 , the control device receives a notification message sent by the control module, and then periodically sends an acquisition instruction to the control module.

[0086] The control module receives the acquisition instruction and, based on the acquisition instruction, acquires the address information and identification information of the first vehicle component from the received diagnostic message. Based on the identification information of the first vehicle component, the control module acquires the parameter requirement information corresponding to the first vehicle component from the correspondence between the identification information of the vehicle component and the parameter requirement information. Based on the address information of the first vehicle component, the control module transmits a first message to the first vehicle component via the CAN bus, the first message including the parameter requirement information. The first message is a request for acquiring performance parameters.

[0087] Optionally, the destination address of the first message is the address information of the first automobile component, and the source address of the first message is the address information of the control module. Optionally, when the control module is a module in a control device, the address information of the control module is the address information of the control device.

[0088] Optionally, when the correspondence between the identification information of the automobile component and the parameter requirement information is the correspondence between the identification information of the automobile component and a requirement file, based on the identification information of the first automobile component, the requirement file corresponding to the first automobile component is obtained from the correspondence between the identification information of the automobile component and the requirement file. The parameter requirement information corresponding to the first automobile component is read from the requirement file.

[0089] Optionally, the correspondence between the identification information of the automobile component and the parameter requirement information is stored in the control module in advance by the control device.

[0090] In step 402 , since the control device periodically sends an acquisition instruction to the control module, the acquisition instruction triggers the control module to periodically send the first message to the first automobile component.

[0091] After the control module sends the first message to the CAN bus of the car, since the destination address of the first message is the address information of the first car component, the CAN bus will route the first message to the first car component, and the first message will be received by the controller of the first car component.

[0092] Step 403: The first automobile component receives a first message including parameter requirement information, and obtains at least one performance parameter indicated by the parameter requirement information.

[0093] In step 403, the controller of the first automobile component receives the first message, obtains the parameter requirement information from the first message, determines at least one performance parameter indicated by the parameter requirement information, and obtains the current parameter value of each performance parameter in the at least one performance parameter.

[0094] For example, assuming that the first automobile component is an engine, the engine controller determines that the at least one characteristic parameter includes the engine speed, output power and torque, and collects the current engine speed, output power and torque.

[0095] Step 404: The first automobile component sends a second message to the CAN bus, where the second message includes the at least one performance parameter.

[0096] In step 404 , the controller of the first vehicle component broadcasts a second message to the CAN bus, wherein the payload of the second message includes a parameter value of each performance parameter of the at least one performance parameter.

[0097] The controller of the first automobile component encapsulates the at least one performance parameter into a second message according to specified protocol information, where the specified protocol information is information defined by the automobile manufacturer. The protocol information is used to indicate the position of each of the at least one performance parameter in the second message.

[0098] For example, assuming the first automobile component is an automobile engine, the at least one parameter includes the engine speed, output power, and torque. The protocol information defines that bits 0-x of the payload of the second message include the engine speed, bits (x+1)-y of the payload of the second message include the engine output power, and bits (y+1)-z of the payload of the second message include the engine torque. Here, x, y, and z are integers greater than 0, and x is less than y, and y is less than z.

[0099] Optionally, each performance parameter in the second message is hexadecimal data.

[0100] Step 405: The control device receives a second message from the CAN bus, and obtains the at least one performance parameter from the second message.

[0101] In step 405, the digital acquisition device is connected to the CAN bus and communicates with the control device. The digital acquisition device receives a second message from the CAN bus and sends the second message to the control device.

[0102] Optionally, the control device includes a configuration file, which includes protocol information and conversion information, the protocol information is used to indicate the position of each performance parameter of the at least one performance parameter in the second message, and the conversion information is used to convert each performance parameter in the second message into a decimal parameter.

[0103] In step 405 , the control device obtains each performance parameter from the second message based on the protocol information; and converts each performance parameter into a decimal performance parameter based on the conversion information.

[0104] Since the control device periodically sends the acquisition command to the control module, the control device can periodically obtain the second message, thereby being able to obtain the performance parameters of the first automobile component at different times.

[0105] For other automobile components in the automobile except the first automobile component, the operations of steps 401 to 405 above may be performed on the other automobile components, so that the control device obtains the performance parameters of the other automobile components at different times.

[0106] In an embodiment of the present application, a first automotive component is artificially caused to malfunction. Upon malfunctioning, the first automotive component proactively transmits a diagnostic message over the vehicle's CAN bus. This diagnostic message includes the first automotive component's address information and identification information. A control device receives this diagnostic message from the CAN bus. Because the diagnostic message includes the first automotive component's address information, the control device, based on this address information, transmits a first message to the first automotive component via the CAN bus. The first message includes parameter request information. Based on this parameter request information, the first automotive component obtains at least one performance parameter indicated by the parameter request information and transmits a second message to the control device. The second message includes the at least one performance parameter. This allows the performance parameters of each automotive component to be acquired without disassembling the vehicle or placing sensors on each component, thereby improving the efficiency and reducing the cost of acquiring performance parameters.

[0107] The following are device embodiments of the present application, which can be used to implement the method embodiments of the present application. For details not disclosed in the device embodiments of the present application, please refer to the method embodiments of the present application.

[0108] Figure 5This is a block diagram of an apparatus 500 for obtaining performance parameters according to an exemplary embodiment. The file execution apparatus 500 can be implemented as part or all of a control device through software, hardware, or a combination of both. The apparatus 500 may include:

[0109] a receiving module 501 configured to receive, via a controller area network (CAN) bus of a vehicle, a diagnostic message sent by a first vehicle component when a fault occurs, wherein the first vehicle component is a component in the vehicle, the fault of the first vehicle component is an artificially created fault, and the diagnostic message includes address information of the first vehicle component and identification information of the first vehicle component;

[0110] a sending module 502 configured to send a first message to the first automobile component via the CAN bus based on the identification information and the address information, wherein the first message includes parameter requirement information, and the parameter requirement information is used to indicate at least one performance parameter that requires feedback from the first automobile component;

[0111] The receiving module 501 is further configured to receive, via the CAN bus, a second message sent by the first automobile component based on the first message, where the second message includes the at least one performance parameter.

[0112] Optionally, the apparatus 500 further includes a first processing module 503,

[0113] The first processing module 503 is configured to obtain a requirement file corresponding to the first automobile component based on the identification information, wherein the requirement file includes at least one parameter type, and the at least one parameter type is a parameter type that requires feedback from the first automobile component;

[0114] The sending module 502 is configured to send a first message to the first automobile component via the CAN bus based on the address information, where the first message includes the at least one parameter type.

[0115] Optionally, the sending module 502 is configured to periodically send the first message to the first automobile component based on the address information.

[0116] Optionally, the apparatus 500 is connected to the CAN bus via a digital acquisition device, and the receiving module 501 is configured to:

[0117] A second message sent by the first automobile component based on the first message is received from the CAN bus through the digital acquisition device.

[0118] Optionally, the apparatus 500 includes a configuration file, the configuration file including protocol information and conversion information, the protocol information being used to indicate a position of each performance parameter of the at least one performance parameter in the second message, and the conversion information being used to convert each performance parameter in the second message into a decimal parameter; the apparatus 500 further includes a second processing module 504,

[0119] The second processing module 504 is configured to:

[0120] Obtaining each performance parameter from the second message based on the protocol information;

[0121] Each performance parameter is converted into a decimal performance parameter based on the conversion information.

[0122] In an embodiment of the present application, a first automotive component is artificially caused to malfunction. Upon malfunctioning, the first automotive component proactively transmits a diagnostic message over the vehicle's CAN bus. This diagnostic message includes the first automotive component's address and identification information. A receiving module receives the diagnostic message from the CAN bus, and a transmitting module, based on the address information, transmits a first message to the first automotive component via the CAN bus. The first message includes parameter requirement information. Based on the parameter requirement information, the first automotive component obtains at least one performance parameter indicated by the parameter requirement information. The receiving module also receives a second message sent by the first automotive component, the second message including the at least one performance parameter. This allows the performance parameters of each automotive component to be acquired without disassembling the vehicle or placing sensors on each component, thereby improving the efficiency of acquiring performance parameters.

[0123] Regarding the apparatus in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0124] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the application disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present application that follow the general principles of this application and include common knowledge or customary techniques in the art not disclosed herein. The description and examples are to be considered as exemplary only, and the true scope and spirit of the present application are indicated by the following claims.

[0125] It should be understood that the present application is not limited to the exact structures described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.

Claims

1. A method for obtaining performance parameters, characterized in that: The method comprises: A control device receives, via a controller area network (CAN) bus of a vehicle, a diagnostic message sent by a first vehicle component when a fault occurs, wherein the first vehicle component is a component in the vehicle, the fault of the first vehicle component is an artificially created fault, and the diagnostic message includes address information of the first vehicle component and identification information of the first vehicle component; The control device sends a first message to the first automobile component through the CAN bus based on the identification information and the address information, wherein the first message includes parameter requirement information, and the parameter requirement information is used to indicate at least one performance parameter that requires feedback from the first automobile component; The control device receives, via the CAN bus, a second message sent by the first automobile component based on the first message, where the second message includes the at least one performance parameter.

2. The method according to claim 1, wherein The control device sends a first message to the first automobile component through the CAN bus based on the identification information and the address information, including: The control device obtains a requirement file corresponding to the first automobile component based on the identification information, wherein the requirement file includes at least one parameter type, and the at least one parameter type is a parameter type that requires feedback from the first automobile component; The control device sends a first message to the first automobile component through the CAN bus based on the address information, where the first message includes the at least one parameter type.

3. The method according to claim 2, wherein The control device sends a first message to the first automobile component through the CAN bus based on the address information, including: The control device periodically sends the first message to the first vehicle component based on the address information.

4. The method according to claim 1, wherein The control device is connected to the CAN bus via a digital acquisition device, and the control device receives a second message sent by the first automobile component based on the first message via the CAN bus, including: The control device receives a second message sent by the first automobile component based on the first message from the CAN bus through the digital acquisition device.

5. The method according to any one of claims 1 to 4, characterized in that The control device includes a configuration file, the configuration file including protocol information and conversion information, the protocol information being used to indicate a position of each performance parameter of the at least one performance parameter in the second message, and the conversion information being used to convert each performance parameter in the second message into a decimal parameter; The method further comprises: The control device obtains each performance parameter from the second message based on the protocol information; The control device converts each of the performance parameters into a decimal performance parameter based on the conversion information.

6. A device for obtaining performance parameters, characterized in that: The device comprises: a receiving module, configured to receive, via a controller area network (CAN) bus of a vehicle, a diagnostic message sent by a first vehicle component when a fault occurs, wherein the first vehicle component is a component in the vehicle, the fault of the first vehicle component is an artificially created fault, and the diagnostic message includes address information of the first vehicle component and identification information of the first vehicle component; a sending module, configured to send a first message to the first automobile component via the CAN bus based on the identification information and the address information, wherein the first message includes parameter requirement information, and the parameter requirement information is used to indicate at least one performance parameter that requires feedback from the first automobile component; The receiving module is further configured to receive, via the CAN bus, a second message sent by the first automobile component based on the first message, where the second message includes the at least one performance parameter.

7. The device according to claim 6, characterized in that The device further includes a first processing module, The first processing module is configured to obtain a requirement file corresponding to the first automobile component based on the identification information, wherein the requirement file includes at least one parameter type, and the at least one parameter type is a parameter type that requires feedback from the first automobile component; The sending module is configured to send a first message to the first automobile component via the CAN bus based on the address information, where the first message includes the at least one parameter type.

8. The device according to claim 7, wherein The sending module is configured to periodically send the first message to the first automobile component based on the address information.

9. The device according to claim 6, wherein The device is connected to the CAN bus via a digital acquisition device, and the receiving module is used to: A second message sent by the first automobile component based on the first message is received from the CAN bus through the digital acquisition device.

10. The device according to any one of claims 6 to 9, characterized in that The device includes a configuration file, the configuration file includes protocol information and conversion information, the protocol information is used to indicate the position of each performance parameter of the at least one performance parameter in the second message, and the conversion information is used to convert each performance parameter in the second message into a decimal parameter; the device also includes a second processing module, The second processing module is configured to: Obtaining each performance parameter from the second message based on the protocol information; Each performance parameter is converted into a decimal performance parameter based on the conversion information.

Citation Information

Patent Citations

  • Method and device for processing message

    CN101325551A

  • Automobile diagnosis method, related device and system

    CN111024405A