[go: up one dir, main page]

CN112598816B - Vehicle data acquisition method and device and vehicle diagnosis system - Google Patents

Vehicle data acquisition method and device and vehicle diagnosis system Download PDF

Info

Publication number
CN112598816B
CN112598816B CN202011301014.9A CN202011301014A CN112598816B CN 112598816 B CN112598816 B CN 112598816B CN 202011301014 A CN202011301014 A CN 202011301014A CN 112598816 B CN112598816 B CN 112598816B
Authority
CN
China
Prior art keywords
task
data acquisition
vehicle
time
data
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.)
Active
Application number
CN202011301014.9A
Other languages
Chinese (zh)
Other versions
CN112598816A (en
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.)
Guangzhou Ruixiude Information Technology Co ltd
Original Assignee
Guangzhou Ruixiude Information Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Ruixiude Information Technology Co ltd filed Critical Guangzhou Ruixiude Information Technology Co ltd
Priority to CN202011301014.9A priority Critical patent/CN112598816B/en
Publication of CN112598816A publication Critical patent/CN112598816A/en
Application granted granted Critical
Publication of CN112598816B publication Critical patent/CN112598816B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C5/00Registering or indicating the working of vehicles
    • G07C5/08Registering or indicating performance data other than driving, working, idle, or waiting time, with or without registering driving, working, idle or waiting time
    • G07C5/0808Diagnosing performance data
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C5/00Registering or indicating the working of vehicles
    • G07C5/08Registering or indicating performance data other than driving, working, idle, or waiting time, with or without registering driving, working, idle or waiting time
    • G07C5/0841Registering performance data

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Testing And Monitoring For Control Systems (AREA)

Abstract

The invention discloses a vehicle data acquisition method, a vehicle data acquisition device and a vehicle diagnosis system, wherein a data acquisition task is generated according to a to-be-diagnosed item of a vehicle, a trigger task is generated according to a vehicle parameter corresponding to a monitoring item of the vehicle, the trigger task generates a data acquisition task with a second task time length when the vehicle parameter is detected to meet a trigger condition, and the data acquisition task and the trigger task are intelligently sequenced on the same time axis according to the executable time period and the task time length of each data acquisition task and the trigger task, so that the intelligent sequencing and optimization of a plurality of tasks are realized, and the vehicle data acquisition efficiency is improved.

Description

Vehicle data acquisition method and device and vehicle diagnosis system
Technical Field
The invention relates to the field of data acquisition, in particular to a vehicle data acquisition method and device and a vehicle diagnosis system.
Background
The vehicle fault diagnosis means that the vehicle fault diagnosis is realized by reading vehicle operation data stored by the electronic control unit when the fault is transmitted and analyzing the vehicle operation data by connecting the electronic control unit to a faulty vehicle by using a fault diagnosis device.
In the prior art, when vehicle data are read, a single data acquisition task is generated according to the requirements of a user and is sent to an electronic control unit of a vehicle one by one to acquire the data, so that the data acquisition efficiency is low.
Disclosure of Invention
The invention aims to overcome the defects of the prior art and provide a vehicle data acquisition method, a vehicle data acquisition device and a vehicle diagnosis system which can intelligently allocate data acquisition tasks and improve data acquisition efficiency.
In a first aspect, an embodiment of the present application provides a vehicle data acquisition method, including the following steps:
acquiring a to-be-diagnosed item and a monitoring item of a vehicle;
determining vehicle parameters required by the item to be diagnosed, and generating a corresponding data acquisition task; each data acquisition task is provided with an executable time period and a first task duration;
determining the latest execution time of each data acquisition task according to the executable time period and the first task time length;
determining the acquisition sequence of each data acquisition task on the same time axis according to the latest execution time of each data acquisition task;
if the blank time without the data acquisition task on the time axis is detected, acquiring a next data acquisition task closest to the blank time; if the blank time is within the executable time period of the data acquisition task, taking the blank time as the execution time of the data acquisition task; if the blank time is before the executable time period of the data acquisition task, taking the starting time of the executable time period as the execution time of the data acquisition task;
determining vehicle parameters corresponding to the monitoring items and generating corresponding trigger tasks; the triggering task is used for monitoring vehicle parameters corresponding to the monitoring project, when the vehicle parameters meet triggering conditions, a data acquisition task with a second task duration is generated, and the data acquisition task takes triggering time as execution time;
generating a plurality of execution tasks according to the acquisition sequence of each data acquisition task and trigger task on the time axis;
and executing the executing task and acquiring vehicle acquisition data.
Optionally, the step of generating the execution task further includes:
and for the data acquisition tasks and/or the trigger tasks with the intersection, segmenting the intersection part, combining the data acquisition tasks and/or the trigger tasks of the intersection part and generating independent execution tasks.
Optionally, the method further comprises the following steps:
acquiring the current moment;
before the step of taking the blank time as the execution time of the data acquisition task, the method further comprises the following steps:
if the blank moment is before the current moment, taking the current moment as the execution moment of the data acquisition task;
before the step of taking the starting time of the executable time period as the execution time of the data acquisition task, the method further comprises the following steps:
and if the starting time of the executable time period is before the current time, taking the current time as the execution time of the data acquisition task.
Optionally, the triggering task is provided with a tracing period; the tracing period is a preset time period including the trigger moment;
after monitoring the vehicle parameters corresponding to the monitoring items, the method further comprises the following steps:
generating a monitoring data cache;
after the vehicle parameter meets the triggering condition, the method further comprises the following steps:
and acquiring the monitoring data of the trace back period from the data cache.
Optionally, before the step of acquiring vehicle collected data, the method further includes:
acquiring a communication protocol of a vehicle;
the step of acquiring vehicle collected data comprises:
generating acquisition configuration information of the vehicle according to the execution task and a communication protocol of the vehicle;
sending the acquisition configuration information to an electronic control unit of the vehicle;
and receiving vehicle acquisition data sent by the electronic control unit.
Optionally, after the step of receiving the vehicle collected data sent by the electronic control unit, the method further includes:
analyzing the vehicle collected data according to the communication protocol of the vehicle to obtain analyzed vehicle diagnosis data;
and respectively acquiring task data corresponding to each data acquisition task from the analyzed vehicle diagnosis data and uploading the task data to a server.
Optionally, the electronic control unit of the vehicle executes the execution task according to the acquisition configuration information;
and when the actual execution time of the execution task exceeds the execution time of one or more corresponding data acquisition tasks, eliminating the overtime data acquisition tasks in the execution task and identifying.
In a second aspect, an embodiment of the present application provides a vehicle data acquisition device, including:
the detection item acquisition module is used for acquiring the items to be diagnosed and the monitoring items of the vehicle;
the acquisition task generating module is used for determining vehicle parameters required by the item to be diagnosed and generating a corresponding data acquisition task; each data acquisition task is provided with an executable time period and a first task duration;
a latest execution time determining module, configured to determine the latest execution time of each data acquisition task according to the executable time period and the first task duration;
the acquisition sequence acquisition module is used for determining the acquisition sequence of each data acquisition task on the same time axis according to the latest execution time of each data acquisition task;
the time sequence moving module is used for acquiring a next data acquisition task closest to a blank moment if the blank moment without the data acquisition task on the time axis is detected; if the blank time is within the executable time period of the data acquisition task, taking the blank time as the execution time of the data acquisition task; if the blank time is before the executable time period of the data acquisition task, taking the initial time of the executable time period as the execution time of the data acquisition task;
the trigger task generation module is used for determining vehicle parameters corresponding to the monitoring items and generating corresponding trigger tasks; the triggering task is used for monitoring vehicle parameters corresponding to the monitoring project, when the vehicle parameters meet triggering conditions, a data acquisition task with a second task duration is generated, and the data acquisition task takes triggering time as execution time;
the execution task generation module is used for generating a plurality of execution tasks according to the acquisition sequence of each data acquisition task and the trigger task on the time axis;
and the vehicle data acquisition module is used for executing the execution task and acquiring vehicle acquisition data.
In a third aspect, the present application provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the vehicle data acquisition method as described in any one of the above.
In a fourth aspect, an embodiment of the present application provides a vehicle diagnosis system, which includes a memory, a processor, and a computer program stored in the memory and executable by the processor, and when the processor executes the computer program, the steps of the vehicle data acquisition method described in any one of the above are implemented.
In the embodiment of the application, a data acquisition task is generated according to a to-be-diagnosed item of a vehicle, a trigger task is generated according to a vehicle parameter corresponding to a monitoring item of the vehicle, when the trigger task detects that the vehicle parameter meets a trigger condition, the data acquisition task with a second task duration is generated, and the data acquisition task and the trigger task are intelligently sequenced on the same time axis according to the executable time period and the task duration of each data acquisition task and each trigger task, so that the intelligent sequencing and optimization of a plurality of tasks are realized, and the acquisition efficiency of vehicle data is improved.
For a better understanding and practice, the invention is described in detail below with reference to the accompanying drawings.
Drawings
FIG. 1 is a flow chart of a vehicle data collection method in an exemplary embodiment of the invention;
FIG. 2 is a process diagram for generating executive tasks in an exemplary embodiment of the invention;
FIG. 3 is a schematic diagram of a process for generating an executive task in another exemplary embodiment of the invention;
fig. 4 is a schematic structural diagram of a vehicle data acquisition device according to an exemplary embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
It should be understood that the embodiments described are only some embodiments of the present application, and not all embodiments. All other examples, which can be obtained by a person skilled in the art without making any inventive step based on the embodiments in the present application, belong to the scope of protection of the embodiments in the present application.
The terminology used in the embodiments of the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the embodiments of the present application. As used in the examples of this application and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
The following description refers to the accompanying drawings in which the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the application, as detailed in the appended claims. In the description of the present application, it is to be understood that the terms "first," "second," "third," and the like are used solely to distinguish one from another and are not necessarily used to describe a particular order or sequence, nor are they to be construed as indicating or implying relative importance. The specific meaning of the above terms in the present application can be understood by those of ordinary skill in the art as appropriate.
In addition, in the description of the present application, "a plurality" means two or more unless otherwise specified. "and/or" describes the association relationship of the associated object, indicating that there may be three relationships, for example, a and/or B, which may indicate: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
The vehicle data acquisition method can be applied to a vehicle diagnosis system, the vehicle diagnosis system is respectively connected with the mobile terminal and the vehicle, and the vehicle diagnosis system is used for receiving a control command of the mobile terminal and conducting fault diagnosis on the vehicle from the outside. The vehicle diagnosis system comprises a main diagnosis device and a data acquisition device, wherein the data acquisition device can be used for acquiring driving parameters of a vehicle, and the main diagnosis device can analyze the driving parameters of the vehicle acquired by the data acquisition device so as to realize fault detection of the vehicle.
The vehicle is provided with one or more than one electronic control unit, and the electronic control unit receives the data request signal sent by the vehicle diagnosis system and returns the driving parameters of the vehicle to the data acquisition equipment.
As shown in fig. 1, an embodiment of the present application provides a vehicle data acquisition method, including the following steps:
step S1: acquiring a to-be-diagnosed item and a monitoring item of a vehicle;
the items to be diagnosed and the monitoring items of the vehicle may be items to be detected input by a user at a mobile terminal of the vehicle diagnosis system.
Step S2: determining vehicle parameters required by the item to be diagnosed, and generating a corresponding data acquisition task; each data acquisition task is provided with an executable time period and a first task duration;
the executable time period is the executable time of the data acquisition task, the first task time is the time required for executing the data acquisition task, and the executable time period can be set according to the actual requirements of users.
And step S3: determining the latest execution time of each data acquisition task according to the executable time period and the first task time length;
the latest execution time is the execution deadline of the data acquisition task, and when the latest execution time is exceeded, the data acquisition task cannot be completed within the executable time period.
Specifically, the last moment of the executable time period is used as the ending moment of each data acquisition task, and the latest execution moment of the data acquisition task is determined according to the task duration.
And step S4: determining the acquisition sequence of each data acquisition task on the same time axis according to the latest execution time of each data acquisition task;
the execution time of each data acquisition task is displayed on the same time axis, and the subsequent time sequence adjustment of each data acquisition task is facilitated.
Step S5: if the blank time without the data acquisition task on the time axis is detected, acquiring a next data acquisition task closest to the blank time; if the blank time is within the executable time period of the data acquisition task, taking the blank time as the execution time of the data acquisition task; if the blank time is before the executable time period of the data acquisition task, taking the initial time of the executable time period as the execution time of the data acquisition task;
the blank time is the starting time of a time period without a data acquisition task on the time axis.
Step S6: determining vehicle parameters corresponding to the monitoring items, and generating corresponding trigger tasks;
and the triggering task is used for monitoring the vehicle parameters corresponding to the monitoring items.
The triggering condition may be an early warning parameter for judging whether the vehicle has a fault, and when the triggering condition is satisfied, the vehicle is judged to have a fault. The specific numerical value of the early warning parameter can be set according to specific items monitored by a user.
And when the vehicle parameters meet the triggering conditions, generating a data acquisition task with a second task duration, wherein the data acquisition task is used for acquiring the vehicle parameters corresponding to the monitoring project. The data acquisition task takes the trigger time as the execution time, and the execution ending time of the acquisition task can be determined according to the second task duration.
Step S7: generating a plurality of execution tasks according to the acquisition sequence of each data acquisition task and trigger task on the time axis;
for the data acquisition task and/or the trigger task which do not have intersection on the time axis, the execution task can be the data acquisition task and/or the trigger task after the time sequence is adjusted; for data collection tasks and/or trigger tasks with intersection, the execution task may be a merged task generated by the intersection part.
Specifically, in one embodiment, the step of generating the execution task further includes:
and for the data acquisition tasks and/or the trigger tasks with the intersection, segmenting the intersection part, combining the data acquisition tasks and/or the trigger tasks of the intersection part and generating independent execution tasks.
By combining the data acquisition tasks and/or triggering intersection parts of the tasks and generating independent execution tasks, simultaneous acquisition of multiple tasks is realized, and the vehicle data acquisition efficiency is improved.
Step S8: and executing the execution task and acquiring vehicle acquisition data.
In the embodiment of the application, a data acquisition task is generated according to a to-be-diagnosed item of a vehicle, a trigger task is generated according to a vehicle parameter corresponding to a monitoring item of the vehicle, when the trigger task detects that the vehicle parameter meets a trigger condition, the data acquisition task with a second task duration is generated, and the data acquisition task and the trigger task are intelligently sequenced on the same time axis according to the executable time period and the task duration of each data acquisition task and each trigger task, so that the intelligent sequencing and optimization of a plurality of tasks are realized, and the acquisition efficiency of vehicle data is improved.
In a preferred embodiment, the trigger task is further provided with a trace back period;
the tracing period is a preset time period including the trigger time, and the duration of the tracing period can be set according to the actual requirement of a user.
After the step of monitoring the vehicle parameters corresponding to the monitoring items, the method further comprises the following steps:
generating a monitoring data cache;
after the vehicle parameters meet the triggering conditions, the method further comprises the following steps:
and acquiring the monitoring data of the trace back period from the data cache.
By monitoring the vehicle parameters corresponding to the monitoring items, generating a monitoring data cache and acquiring the monitoring data of the tracing period from the data cache after detecting that the vehicle parameters meet the triggering conditions, the vehicle data before and after the fault occurs can be conveniently acquired, and the accuracy of vehicle fault analysis can be improved.
In an exemplary embodiment, to avoid that the data collection task cannot work normally due to exceeding the current time, and reduce the error rate of the data collection task, the vehicle data collection method further includes:
acquiring the current moment;
before the step of taking the blank time as the execution time of the data acquisition task, the method further comprises the following steps:
if the blank moment is before the current moment, taking the current moment as the execution moment of the data acquisition task;
before the step of taking the starting time of the executable time period as the execution time of the data acquisition task, the method further comprises the following steps:
and if the starting time of the executable time period is before the current time, taking the current time as the execution time of the data acquisition task.
Preferably, the current time is a time after the current time is delayed by a preset disturbance time, so as to avoid the execution of a data acquisition task due to system instability or other environmental interference.
The preset disturbance time may be set according to an actual operation condition of the vehicle diagnostic system.
In an exemplary embodiment, before the step of acquiring the vehicle collected data, the method further comprises:
acquiring a communication protocol of a vehicle;
the step of acquiring the vehicle acquisition data comprises the following steps:
generating acquisition configuration information of the vehicle according to the execution task of the data acquisition task and the communication protocol of the vehicle;
sending the acquisition configuration information to an electronic control unit of the vehicle;
and receiving vehicle acquisition data sent by the electronic control unit.
In one embodiment, after the step of receiving the vehicle collected data sent by the electronic control unit, the method further comprises the following steps:
analyzing the vehicle collected data according to the communication protocol of the vehicle to obtain analyzed vehicle diagnosis data;
and respectively acquiring task data corresponding to each data acquisition task from the analyzed vehicle diagnosis data and uploading the task data to a server.
The communication protocol of the vehicle is used to establish a communication link between the vehicle diagnostic system and an electronic control unit of the vehicle.
And the received vehicle acquisition data sent by the electronic control unit is a data packet compiled by a vehicle communication protocol, and the task data of each data acquisition task is obtained by acquiring the vehicle communication protocol and analyzing and disassembling the data. And each task data is uploaded to the server for fault analysis, so that the rapid diagnosis of the vehicle fault reason is facilitated.
In an exemplary embodiment, the electronic control unit of the vehicle configures each parameter detection unit controlled by the electronic control unit according to the collected configuration information, and executes the execution task;
and when the actual execution time of the execution task exceeds the execution time of one or more corresponding data acquisition tasks, eliminating overtime data acquisition tasks in the execution task and identifying.
By identifying the overtime data acquisition tasks, the identification method is beneficial to the background to identify and remind the uncompleted data acquisition tasks. By eliminating overtime data acquisition tasks in the execution tasks, the execution time of the execution tasks is reduced, and the execution efficiency of the execution tasks is improved.
Fig. 2 is a schematic diagram illustrating an exemplary embodiment of a task process generated by the data collection method according to the present application. Wherein, the current moment is 11:50 with a preset perturbation time of 5 minutes. The data acquisition tasks are V1-V2, the trigger tasks are V3, the trigger tasks are not triggered, and the task information table is shown in table 1, wherein the first time is the starting time of the execution period, the second time is the ending time of the execution period, and A1-A3 are the execution tasks.
TABLE 1 task information Table
Task Task duration Executable time period Date of retrospective period
Data acquisition task V1 15 minutes 11:45-12:30 -
Data acquisition task V2 30 minutes 12:00-14:00 -
Trigger task V3 - - 10 minutes
As shown in fig. 2, the last moment of the executable time period is used as the ending time of the data acquisition task, and the data acquisition tasks are sequenced according to the task duration to obtain the latest execution time 12 of the data acquisition task V1: 15, the latest execution time 13 of the data acquisition task V2: 30.
at this time, a blank time 11 before the data acquisition task V1 is detected: 55, move the data collection task V1 to 11:55, obtaining the execution time of the data acquisition task V1 as 11:55-12:10. at this time, 12:10 is still blank time, since the first time of the data collection task V2 is at 12: before 10, moving the data acquisition task V2 to a blank time 12:10, obtaining the execution time of the data acquisition task V2 as 12:10-12:40.
and cutting the intersection part of the data acquisition tasks V1-V2 and the trigger task V3 to respectively generate 3 execution tasks A1, A2 and A3.
As shown in fig. 3, it is a schematic diagram of a process of generating an execution task after the trigger task is triggered; at this time, the execution tasks A1, A2, and A3 already exist on the time axis, and the current time is 12:00, after the trigger task is triggered, generating a data acquisition task A4 with the task duration of 20 minutes, wherein the execution time of the A4 is 12:00-12:20.
the execution tasks A1 and A2 which are intersected with the data acquisition task A4 on the time axis are divided, and meanwhile, the execution tasks A1', A2', A3 'and A4' are generated according to the acquisition sequence of each task on the time axis.
As shown in fig. 4, an embodiment of the present application further provides a vehicle data acquisition device, including:
the system comprises a detection item acquisition module 1, a monitoring item acquisition module and a diagnosis and treatment module, wherein the detection item acquisition module is used for acquiring an item to be diagnosed and a monitoring item of a vehicle;
the acquisition task generating module 2 is used for determining vehicle parameters required by the items to be diagnosed and generating corresponding data acquisition tasks; each data acquisition task is provided with an executable time period and a first task duration;
the latest execution time determining module 3 is configured to determine the latest execution time of each data acquisition task according to the executable time period and the first task duration;
the acquisition sequence acquisition module 4 is used for determining the acquisition sequence of each data acquisition task on the same time axis according to the latest execution time of each data acquisition task;
the time sequence moving module 5 is used for acquiring a next data acquisition task closest to a blank moment if the blank moment without the data acquisition task on the time axis is detected; if the blank time is within the executable time period of the data acquisition task, taking the blank time as the execution time of the data acquisition task; if the blank time is before the executable time period of the data acquisition task, taking the starting time of the executable time period as the execution time of the data acquisition task;
the trigger task generation module 6 is used for determining vehicle parameters corresponding to the monitoring items and generating corresponding trigger tasks; the triggering task is used for monitoring vehicle parameters corresponding to the monitoring project, when the vehicle parameters meet triggering conditions, a data acquisition task with a second task duration is generated, and the data acquisition task takes triggering time as execution time;
the execution task generating module 7 is used for generating a plurality of execution tasks according to the acquisition sequence of each data acquisition task and the trigger task on the time axis;
and the vehicle data acquisition module 8 is used for executing the execution task and acquiring vehicle acquisition data.
It should be noted that, when the vehicle data collecting device provided in the foregoing embodiment executes the vehicle data collecting method, only the division of the above functional modules is used for illustration, and in practical applications, the above functions may be distributed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules, so as to complete all or part of the above described functions. In addition, the vehicle data acquisition device and the vehicle data acquisition method provided by the embodiment belong to the same concept, and the detailed implementation process is shown in the method embodiment and is not described herein again.
Embodiments of the present application also provide a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the vehicle data acquisition method as described in any one of the above.
The present invention may take the form of a computer program product embodied on one or more storage media including, but not limited to, disk storage, CD-ROM, optical storage, and the like, having program code embodied therein. Computer readable storage media, which include both non-transitory and non-transitory, removable and non-removable media, may implement any method or technology for storage of information. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of the storage medium of the computer include, but are not limited to: phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technologies, compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transmission medium may be used to store the information that may be accessed by the computing device.
The embodiment of the application also provides a vehicle diagnosis system, which comprises a memory, a processor and a computer program stored in the memory and executable by the processor, wherein the processor executes the computer program to realize the steps of the vehicle data acquisition method.
The present invention is not limited to the above-described embodiments, and various modifications and variations of the present invention are intended to be included within the scope of the claims and the equivalent technology of the present invention if they do not depart from the spirit and scope of the present invention.

Claims (10)

1. A vehicle data collection method, comprising the steps of:
acquiring a to-be-diagnosed item and a monitoring item of a vehicle;
determining vehicle parameters required by the item to be diagnosed, and generating a corresponding data acquisition task; each data acquisition task is provided with an executable time period and a first task duration;
determining the latest execution time of each data acquisition task according to the executable time period and the first task time length;
determining the acquisition sequence of each data acquisition task on the same time axis according to the latest execution time of each data acquisition task;
if detecting that a blank moment without a data acquisition task exists on the time axis, acquiring a next data acquisition task closest to the blank moment; if the blank time is within the executable time period of the data acquisition task, taking the blank time as the execution time of the data acquisition task; if the blank time is before the executable time period of the data acquisition task, taking the initial time of the executable time period as the execution time of the data acquisition task;
determining vehicle parameters corresponding to the monitoring items, and generating corresponding trigger tasks;
the triggering task is used for monitoring vehicle parameters corresponding to the monitoring project, when the vehicle parameters meet triggering conditions, a data acquisition task with a second task duration is generated, and the data acquisition task takes triggering time as execution time;
generating a plurality of execution tasks according to the acquisition sequence of each data acquisition task and trigger task on the time axis;
and executing the executing task and acquiring vehicle acquisition data.
2. The vehicle data collection method according to claim 1, characterized in that: the step of generating the execution task further comprises:
and for the data acquisition tasks and/or the trigger tasks with the intersection, segmenting the intersection part, combining the data acquisition tasks and/or the trigger tasks of the intersection part and generating independent execution tasks.
3. The vehicle data collection method according to claim 1, further comprising the steps of:
acquiring the current moment;
before the step of taking the blank time as the execution time of the data acquisition task, the method further comprises the following steps:
if the blank moment is before the current moment, taking the current moment as the execution moment of the data acquisition task;
before the step of taking the starting time of the executable time period as the execution time of the data acquisition task, the method further comprises the following steps:
and if the starting time of the executable time period is before the current time, taking the current time as the execution time of the data acquisition task.
4. The vehicle data acquisition method according to claim 1, wherein the trigger task is provided with a retroactive period; the tracing period is a preset time period including the trigger moment;
after monitoring the vehicle parameters corresponding to the monitoring items, the method further comprises the following steps:
generating a monitoring data cache;
after the vehicle parameter meets the triggering condition, the method further comprises the following steps:
and acquiring the monitoring data of the trace back period from the data cache.
5. The vehicle data collection method according to claim 1, further comprising, before the step of acquiring vehicle collection data:
acquiring a communication protocol of a vehicle;
the step of acquiring the vehicle acquisition data comprises the following steps:
generating acquisition configuration information of the vehicle according to the execution task and a communication protocol of the vehicle;
sending the acquisition configuration information to an electronic control unit of the vehicle;
and receiving vehicle acquisition data sent by the electronic control unit.
6. The vehicle data collection method according to claim 5, further comprising, after the step of receiving the vehicle collection data transmitted by the electronic control unit:
analyzing the vehicle collected data according to the communication protocol of the vehicle to obtain analyzed vehicle diagnosis data;
and respectively acquiring task data corresponding to each data acquisition task from the analyzed vehicle diagnosis data and uploading the task data to a server.
7. The vehicle data collection method according to claim 5, wherein an electronic control unit of the vehicle executes the execution task according to the collection configuration information;
and when the actual execution time of the execution task exceeds the execution time of one or more corresponding data acquisition tasks, eliminating overtime data acquisition tasks in the execution task and identifying.
8. A vehicle data collection device, comprising:
the detection item acquisition module is used for acquiring the items to be diagnosed and the monitoring items of the vehicle;
the acquisition task generating module is used for determining vehicle parameters required by the item to be diagnosed and generating a corresponding data acquisition task; each data acquisition task is provided with an executable time period and a first task duration;
the latest execution time determining module is used for determining the latest execution time of each data acquisition task according to the executable time period and the first task time length;
the acquisition sequence acquisition module is used for determining the acquisition sequence of each data acquisition task on the same time axis according to the latest execution time of each data acquisition task;
the time sequence moving module is used for acquiring a next data acquisition task closest to a blank moment if the blank moment without the data acquisition task on the time axis is detected; if the blank time is within the executable time period of the data acquisition task, taking the blank time as the execution time of the data acquisition task; if the blank time is before the executable time period of the data acquisition task, taking the starting time of the executable time period as the execution time of the data acquisition task;
the trigger task generation module is used for determining vehicle parameters corresponding to the monitoring items and generating corresponding trigger tasks; the triggering task is used for monitoring vehicle parameters corresponding to the monitoring project, when the vehicle parameters meet triggering conditions, a data acquisition task with a second task duration is generated, and the data acquisition task takes triggering time as execution time;
the execution task generation module is used for generating a plurality of execution tasks according to the acquisition sequence of each data acquisition task and the trigger task on the time axis;
and the vehicle data acquisition module is used for executing the execution task and acquiring vehicle acquisition data.
9. A computer-readable storage medium having stored thereon a computer program, characterized in that: the computer program realizes the steps of the vehicle data acquisition method as claimed in any one of claims 1 to 7 when executed by a processor.
10. A vehicle diagnostic system characterized by: comprising a memory, a processor and a computer program stored in said memory and executable by said processor, said processor implementing the steps of the vehicle data acquisition method according to any one of claims 1 to 7 when executing said computer program.
CN202011301014.9A 2020-11-19 2020-11-19 Vehicle data acquisition method and device and vehicle diagnosis system Active CN112598816B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011301014.9A CN112598816B (en) 2020-11-19 2020-11-19 Vehicle data acquisition method and device and vehicle diagnosis system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011301014.9A CN112598816B (en) 2020-11-19 2020-11-19 Vehicle data acquisition method and device and vehicle diagnosis system

Publications (2)

Publication Number Publication Date
CN112598816A CN112598816A (en) 2021-04-02
CN112598816B true CN112598816B (en) 2022-10-04

Family

ID=75183476

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011301014.9A Active CN112598816B (en) 2020-11-19 2020-11-19 Vehicle data acquisition method and device and vehicle diagnosis system

Country Status (1)

Country Link
CN (1) CN112598816B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117076403B (en) * 2023-08-31 2025-09-30 零束科技有限公司 A monitoring method, system and medium for vehicle log file collection tasks

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101566850A (en) * 2008-04-23 2009-10-28 Spx公司 Diagnostic data mining for vehicles
CN106201715A (en) * 2016-06-30 2016-12-07 北京奇艺世纪科技有限公司 A kind of method for scheduling task and device
CN110221905A (en) * 2019-05-22 2019-09-10 网联清算有限公司 Timed task monitoring method, device, system, equipment and storage medium
CN111353719A (en) * 2020-03-11 2020-06-30 深圳市元征科技股份有限公司 Diagnostic task execution method, device, equipment and medium
CN111459754A (en) * 2020-03-26 2020-07-28 平安普惠企业管理有限公司 Abnormal task processing method, device, medium and electronic equipment
CN111781911A (en) * 2020-06-23 2020-10-16 浙江吉利汽车研究院有限公司 Automobile remote diagnosis method and system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7055151B1 (en) * 1998-04-03 2006-05-30 Applied Micro Circuits Corporation Systems and methods for multi-tasking, resource sharing and execution of computer instructions

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101566850A (en) * 2008-04-23 2009-10-28 Spx公司 Diagnostic data mining for vehicles
CN106201715A (en) * 2016-06-30 2016-12-07 北京奇艺世纪科技有限公司 A kind of method for scheduling task and device
CN110221905A (en) * 2019-05-22 2019-09-10 网联清算有限公司 Timed task monitoring method, device, system, equipment and storage medium
CN111353719A (en) * 2020-03-11 2020-06-30 深圳市元征科技股份有限公司 Diagnostic task execution method, device, equipment and medium
CN111459754A (en) * 2020-03-26 2020-07-28 平安普惠企业管理有限公司 Abnormal task processing method, device, medium and electronic equipment
CN111781911A (en) * 2020-06-23 2020-10-16 浙江吉利汽车研究院有限公司 Automobile remote diagnosis method and system

Also Published As

Publication number Publication date
CN112598816A (en) 2021-04-02

Similar Documents

Publication Publication Date Title
EP3425524A1 (en) Cloud platform-based client application data calculation method and device
CN111639002B (en) Sleep power consumption testing method, system, computer equipment and storage medium
CN110502366B (en) Case execution method, device, equipment and computer readable storage medium
EP3690583B1 (en) Trace data acquisition system, trace data acquisition method, and program
CN114415973A (en) Slow disk detection method and device, electronic equipment and storage medium
US11448700B2 (en) Operation data collection system, operation data collection method, and information storage medium
CN111949496B (en) A data detection method and device
CN112732531A (en) Monitoring data processing method and device
CN112598816B (en) Vehicle data acquisition method and device and vehicle diagnosis system
CN112406748A (en) Vehicle data acquisition method and device and vehicle diagnosis system
CN112530615B (en) Variable forcing method and system suitable for nuclear power station equipment
CN112035322A (en) JVM monitoring method and device
CN104239180B (en) Changing process method, Apparatus and system
CN114579347B (en) Page abnormity detection method and device, computer equipment and readable storage medium
CN114500178B (en) Self-operation intelligent Internet of things gateway
CN113706739B (en) Remote fault diagnosis processing method, platform and system
CN106445949A (en) Method and device for detecting data change in data table
CN115545452A (en) Operation and maintenance method, operation and maintenance system, equipment and storage medium
CN112634489B (en) Vehicle state determination method, device and system based on mobile terminal
CN112379656A (en) Processing method, device, equipment and medium for detecting abnormal data of industrial system
CN114138533A (en) Intelligent fault analysis method and device, cloud platform and readable storage medium
CN112632702A (en) Vehicle protocol diagnostic tool detection method and device
JP7524784B2 (en) Information processing device, control system, and report output method
CN113778857B (en) Servo BUG positioning method, device, equipment, readable storage medium and program product
CN114448793B (en) Method and device for managing and operating server

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
GR01 Patent grant
GR01 Patent grant