CN-121979180-A - Whole vehicle operation data acquisition method, device and system and vehicle
Abstract
The application provides a method, a device and a system for acquiring whole vehicle operation data and a vehicle, and relates to the technical field of vehicle detection, wherein the method comprises the steps that a vehicle body controller acquires triggering operation of an alarm switch corresponding to a dangerous alarm lamp; the vehicle body controller sends a trigger operation to the vehicle body controller, the vehicle body controller determines whether the trigger operation is a data acquisition trigger operation or not, if the trigger operation is the data acquisition trigger operation, the vehicle body controller generates and sends a data acquisition trigger signal to the gateway, the gateway responds to the data acquisition trigger signal to identify the fault type of the vehicle to obtain the current target fault type of the vehicle, the gateway carries out message acquisition on the CAN bus according to the target fault type to obtain target CAN message data of a target fault system corresponding to the target fault type, and the gateway sends the target CAN message data to the cloud server. The application can improve the timeliness of the whole vehicle data acquisition.
Inventors
- SHENG QING
- LIU XUEJIANG
Assignees
- 质子汽车科技有限公司
Dates
- Publication Date
- 20260505
- Application Date
- 20260205
Claims (10)
- 1. The whole vehicle operation data acquisition method is characterized by being applied to a whole vehicle data acquisition device integrated on a vehicle, wherein the whole vehicle data acquisition device comprises a vehicle body controller, a whole vehicle controller and a gateway, the vehicle body controller, the whole vehicle controller and the gateway are all connected with a Control Area Network (CAN) bus, and the method comprises the following steps: the vehicle body controller acquires triggering operation of an alarm switch corresponding to the dangerous alarm lamp; The vehicle body controller sends the triggering operation to the whole vehicle controller; the whole vehicle controller determines whether the triggering operation is a data acquisition triggering operation or not; If the triggering operation is a data acquisition triggering operation, the whole vehicle controller generates and sends a data acquisition triggering signal to the gateway; responding to the data acquisition trigger signal, and identifying the fault type of the vehicle by the gateway to obtain the current target fault type of the vehicle; the gateway acquires the message from the CAN bus according to the target fault type to obtain target CAN message data of a target fault system corresponding to the target fault type; And the gateway sends the target CAN message data to a cloud server.
- 2. The method of claim 1, wherein the vehicle controller determining whether the trigger operation is a data acquisition trigger operation comprises: the whole vehicle controller determines whether the triggering operation meets a preset data acquisition operation condition or not; the whole vehicle controller determines whether the vehicle meets a preset data acquisition state condition or not; And if the triggering operation meets the preset data acquisition operation condition and the vehicle meets the preset data acquisition state condition, the whole vehicle controller determines the triggering operation as the data acquisition triggering operation.
- 3. The method of claim 2, wherein the vehicle controller determining whether the trigger operation satisfies a preset data acquisition operation condition comprises: the whole vehicle controller determines whether the triggering operation is a target double-click operation with the interval time being a preset duration; If the triggering operation is the target double-click operation, the whole vehicle controller determines that the triggering operation meets the preset data acquisition operation condition; Or alternatively The whole vehicle controller determines whether the triggering operation is a target long-press operation with the pressing time length within a preset pressing time length range; And if the triggering operation is the target long-press operation, the whole vehicle controller determines that the triggering operation meets the preset data acquisition operation condition.
- 4. The method of claim 2, wherein the vehicle controller determining whether the vehicle satisfies a preset data acquisition status condition comprises: the whole vehicle controller determines whether the vehicle is in a fault association state or not; and if the vehicle is in the fault association state, the whole vehicle controller determines that the vehicle meets the preset data acquisition state condition.
- 5. The method of claim 1, wherein the gateway performing fault type identification on the vehicle to obtain a target fault type in which the vehicle is currently located, comprises: the gateway reads the whole vehicle fault code of the vehicle and determines the target fault type according to the whole vehicle fault code, or And the gateway determines the target fault type according to the acquired initial abnormal parameter fluctuation.
- 6. The method of claim 1, wherein the gateway performs message collection on the CAN bus according to the target fault type to obtain target CAN message data of a target fault system corresponding to the target fault type, and the method comprises: The gateway determines acquisition parameters of a target fault system corresponding to the target fault type according to the target fault type, wherein the acquisition parameters comprise sampling frequency and acquisition time length; and the gateway acquires the message from the CAN bus according to the acquisition parameters to obtain the target CAN message data of the target fault system.
- 7. The method of claim 6, wherein the target fault type is a power system fault, the target fault system is a power system, the sampling frequency is a first frequency, the acquisition duration comprises a first duration before triggering and a second duration after triggering, or The target fault type is chassis system fault, the target fault system is chassis system, the sampling frequency is second frequency, the acquisition time length comprises a third time length before triggering and a fourth time length after triggering, or The target fault type is a vehicle body electronic fault, the target fault system is a vehicle body electronic system, the sampling frequency is a third frequency, and the acquisition time length comprises a fifth time length before triggering and a sixth time length after triggering; The first frequency is greater than the second frequency, the second frequency is greater than the third frequency, the first time period is greater than the third time period, the third time period is greater than the fifth time period, the second time period is greater than the fourth time period, and the fourth time period is greater than the sixth time period.
- 8. The whole vehicle data acquisition device is characterized by being integrally arranged on the vehicle and comprising a vehicle body controller, a whole vehicle controller and a gateway, wherein the vehicle body controller, the whole vehicle controller and the gateway are all connected with a control local area network (CAN) bus; The vehicle body controller is configured to execute the step executed by the vehicle body controller in the vehicle operation data acquisition method according to any one of claims 1 to 7, and the gateway is configured to execute the step executed by the gateway in the vehicle operation data acquisition method according to any one of claims 1 to 7.
- 9. A vehicle data acquisition system is characterized by comprising a power system, a chassis system, a vehicle body electronic system and a vehicle data acquisition device as set forth in claim 8, wherein the power system, the chassis system and the vehicle body electronic system are all connected with a Control Area Network (CAN) bus.
- 10. A vehicle, comprising a vehicle body, and the whole vehicle data acquisition system of claim 9 arranged on the vehicle body.
Description
Whole vehicle operation data acquisition method, device and system and vehicle Technical Field The application relates to the technical field of vehicle detection, in particular to a method, a device and a system for acquiring whole vehicle operation data and a vehicle. Background In development and verification of vehicle engineering and after-market service, the core of accurately diagnosing abnormal conditions of a vehicle is to acquire complete operation data when faults occur. It is common practice in the industry to use external specialized diagnostic tools (e.g., CANoe, CANalyzer portable instruments) that require field deployment by technicians, access to vehicle ports via wires, and enable monitoring and recording of vehicle network communications such as controller area networks (CAN, controller Area Network). The conventional path is faced with multiple limitations in practical application, namely, firstly, the usability of the tool is limited by personnel carrying conditions due to the external attribute of the tool, when a vehicle breaks down in road test or in use of a user, if no corresponding equipment is arranged at hand, the most critical data fragments before and after the fault occurs are permanently lost, great difficulty is brought to problem reproduction and root analysis, secondly, the purchase cost of professional equipment is high, the operation threshold is high, large-scale and prefabricated deployment is difficult to carry out in all vehicles of a vehicle team or a vast after-sales network, thirdly, time difference exists between the fault occurrence and the equipment placement, the state of the vehicle is possibly changed or relevant cache data is refreshed, so that the acquired information is not in a first field state, and the diagnostic value is greatly discounted. Therefore, a technical scheme for acquiring vehicle-mounted fault data, which can get rid of dependence on special hardware equipment, is simple and convenient to operate and can be triggered in real time, is urgently needed to solve the problem of data acquisition in the current research and development and after-sales scenes. Disclosure of Invention The embodiment of the application provides a method, a device and a system for acquiring running data of a whole vehicle and the vehicle, which can improve the timeliness of the data acquisition of the whole vehicle. In a first aspect, an embodiment of the present application provides a vehicle operation data acquisition method, which is applied to a vehicle data acquisition device integrated on a vehicle, where the vehicle data acquisition device includes a vehicle body controller, a vehicle controller, and a gateway, where the vehicle body controller, the vehicle controller, and the gateway are all connected to a control area network CAN bus, and the method includes: the vehicle body controller acquires triggering operation of an alarm switch corresponding to the dangerous alarm lamp; The vehicle body controller sends the triggering operation to the whole vehicle controller; the whole vehicle controller determines whether the triggering operation is a data acquisition triggering operation or not; If the triggering operation is a data acquisition triggering operation, the whole vehicle controller generates and sends a data acquisition triggering signal to the gateway; responding to the data acquisition trigger signal, and identifying the fault type of the vehicle by the gateway to obtain the current target fault type of the vehicle; the gateway acquires the message from the CAN bus according to the target fault type to obtain target CAN message data of a target fault system corresponding to the target fault type; And the gateway sends the target CAN message data to a cloud server. Optionally, the determining, by the vehicle controller, whether the triggering operation is a data acquisition triggering operation includes: the whole vehicle controller determines whether the triggering operation meets a preset data acquisition operation condition or not; the whole vehicle controller determines whether the vehicle meets a preset data acquisition state condition or not; And if the triggering operation meets the preset data acquisition operation condition and the vehicle meets the preset data acquisition state condition, the whole vehicle controller determines the triggering operation as the data acquisition triggering operation. Optionally, the determining, by the vehicle controller, whether the triggering operation meets a preset data acquisition operation condition includes: the whole vehicle controller determines whether the triggering operation is a target double-click operation with the interval time being a preset duration; If the triggering operation is the target double-click operation, the whole vehicle controller determines that the triggering operation meets the preset data acquisition operation condition; Or alternatively The whole vehicle controller determine