CN113954768B - Detection data acquisition method, vehicle controller and storage medium - Google Patents
Detection data acquisition method, vehicle controller and storage medium Download PDFInfo
- Publication number
- CN113954768B CN113954768B CN202111218404.4A CN202111218404A CN113954768B CN 113954768 B CN113954768 B CN 113954768B CN 202111218404 A CN202111218404 A CN 202111218404A CN 113954768 B CN113954768 B CN 113954768B
- Authority
- CN
- China
- Prior art keywords
- data
- parameters
- investigation
- vehicle controller
- extraction conditions
- 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
Links
- 238000001514 detection method Methods 0.000 title claims abstract description 85
- 238000000034 method Methods 0.000 title claims abstract description 43
- 238000011835 investigation Methods 0.000 claims abstract description 104
- 238000013075 data extraction Methods 0.000 claims abstract description 84
- 238000013024 troubleshooting Methods 0.000 claims abstract description 55
- 239000000284 extract Substances 0.000 claims abstract description 10
- 238000007689 inspection Methods 0.000 claims description 24
- 238000010586 diagram Methods 0.000 description 11
- 238000004891 communication Methods 0.000 description 7
- 238000004590 computer program Methods 0.000 description 7
- 238000012986 modification Methods 0.000 description 7
- 230000004048 modification Effects 0.000 description 7
- 238000012545 processing Methods 0.000 description 5
- 238000004458 analytical method Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 4
- 230000004075 alteration Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000011156 evaluation Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 230000000717 retained effect Effects 0.000 description 1
Classifications
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60R—VEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
- B60R16/00—Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for
- B60R16/02—Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements
- B60R16/023—Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements for transmission of signals between vehicle parts or subsystems
- B60R16/0231—Circuits relating to the driving or the functioning of the vehicle
- B60R16/0232—Circuits relating to the driving or the functioning of the vehicle for measuring vehicle parameters and indicating critical, abnormal or dangerous conditions
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60R—VEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
- B60R16/00—Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for
- B60R16/02—Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements
Landscapes
- Engineering & Computer Science (AREA)
- Mechanical Engineering (AREA)
- Automation & Control Theory (AREA)
- Testing And Monitoring For Control Systems (AREA)
Abstract
The invention discloses a detection data acquisition method, a vehicle controller and a storage medium, wherein the method comprises the following steps: the terminal determines first fault investigation data, wherein the first fault investigation data comprise set investigation parameters and data extraction conditions of the set investigation parameters; transmitting the first troubleshooting data to a vehicle controller; after receiving first fault investigation data sent by a terminal, the vehicle controller extracts target data corresponding to the set investigation parameters meeting the data extraction conditions from a pre-established parameter variable list, and sends the target data to the terminal, so that fault investigation capability is improved.
Description
Technical Field
The present invention relates to the field of vehicle controllers, and in particular, to a method for acquiring detection data, a vehicle controller, and a storage medium.
Background
The electronic controller is an important electronic product element, and is widely applied to the control of the automobile field by taking data acquisition, calculation processing, analysis judgment and decision countermeasures as input, sending control instructions and commanding an actuator to work as output. At present, the automobile electronic system has complex architecture, the fault investigation of the electronic controller depends on the reproduction of fault working conditions, but the automobile working conditions are complex, and the fault working conditions are difficult to reproduce, so that the fault investigation is not facilitated.
Disclosure of Invention
The embodiment of the application aims to improve the fault detection capability by providing a detection data acquisition method, a vehicle controller and a storage medium.
The embodiment of the application provides a method for acquiring detection data applied to a vehicle controller, wherein the first fault investigation data transmitted by a receiving terminal comprises set investigation parameters and data extraction conditions of the set investigation parameters;
extracting target data corresponding to the set investigation parameters meeting the data extraction conditions from a pre-established parameter variable list, wherein the set investigation parameters and/or the data extraction conditions are different, and the corresponding target data are different;
and sending the target data to the terminal.
In an embodiment, after the step of sending the target data to the terminal, the method further includes:
acquiring parameters to be inspected and data extraction conditions corresponding to the parameters to be inspected according to the second fault inspection data when receiving the second fault inspection data sent by the terminal within a preset time interval, wherein the parameters to be inspected are selected from the set inspection parameters;
updating the set investigation parameters by adopting the parameters to be investigated, and updating the data extraction conditions by adopting the data extraction conditions;
and returning to the step of extracting target data corresponding to the set checking parameters meeting the data extraction conditions from a pre-established parameter variable list.
In one embodiment, the step of extracting the target data corresponding to the set inspection parameter satisfying the data extraction condition from the pre-established parameter variable list includes:
determining parameter index information corresponding to the set investigation parameters;
extracting detection data corresponding to the parameter index information from the parameter variable list;
target data is determined based on the data extraction conditions and the detection data.
In an embodiment, the step of extracting the detection data corresponding to the parameter index information from the parameter variable list includes:
determining a parameter number according to the parameter index information;
and searching in a parameter variable list based on the parameter number to obtain detection data corresponding to the parameter number.
In an embodiment, the parameter variable list includes the investigation parameters under all the operation conditions and the parameter index information corresponding to the investigation parameters.
The embodiment of the application provides a method for acquiring detection data applied to a terminal, which comprises the following steps:
determining first fault troubleshooting data, wherein the first fault troubleshooting data comprise set troubleshooting parameters and data extraction conditions of the set troubleshooting parameters;
the first fault investigation data are sent to a vehicle controller, wherein the vehicle controller receives the first fault investigation data sent by a terminal, extracts target data corresponding to the set investigation parameters meeting the data extraction conditions from a pre-established parameter variable list, and sends the target data to the terminal;
and receiving the target data fed back by the vehicle controller.
In an embodiment, the step of sending the first troubleshooting data to a vehicle controller includes:
determining whether there is access rights for the vehicle controller;
and when the access right of the vehicle controller is provided, executing the step of sending the first troubleshooting data to the vehicle controller.
In addition, in order to achieve the above object, the present invention also provides a vehicle controller including: the device comprises a memory, a processor and a detection data acquisition program stored in the memory and capable of running on the processor, wherein the detection data acquisition program realizes the steps of the detection data acquisition method when being executed by the processor.
In addition, in order to achieve the above object, the present invention also provides a storage medium having stored thereon a detection data acquisition program which, when executed by a processor, implements the steps of the detection data acquisition method described above.
According to the technical scheme of the detection data acquisition method, the vehicle controller and the storage medium, as the vehicle controller receives the first fault investigation data sent by the terminal, the target data corresponding to the set investigation parameters meeting the data extraction conditions are extracted from the pre-established parameter variable list, and the target data are sent to the terminal.
Drawings
FIG. 1 is a schematic diagram of a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a flowchart of a first embodiment of a method for acquiring detection data according to the present invention;
FIG. 3 is a flowchart of a second embodiment of a method for acquiring detection data according to the present invention;
FIG. 4 is a flowchart of a third embodiment of a method for acquiring detection data according to the present invention;
fig. 5 is a flowchart of a fourth embodiment of a method for acquiring detection data according to the present invention.
The achievement of the objects, functional features and advantages of the present invention will be further described with reference to embodiments, with reference to the accompanying drawings, which are only illustrations of one embodiment, but not all of the inventions.
Detailed Description
In order that the above-described aspects may be better understood, exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
As shown in fig. 1, fig. 1 is a schematic structural diagram of a hardware running environment according to an embodiment of the present invention.
It should be noted that fig. 1 may be a schematic structural diagram of a hardware operating environment of a vehicle controller or a terminal.
As shown in fig. 1, when fig. 1 is a schematic structural diagram of a hardware operating environment of a vehicle controller, the processor is a first processor, and the memory is a first memory. When fig. 1 is a schematic structural diagram of a hardware running environment of a terminal, the processor is a second processor, and the memory is a second memory; the vehicle controller or terminal may include: a processor 1001, such as a CPU, memory 1005, user interface 1003, network interface 1004, communication bus 1002. Wherein the communication bus 1002 is used to enable connected communication between these components. The user interface 1003 may include a Display, an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may further include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a stable memory (non-volatile memory), such as a disk memory. The memory 1005 may also optionally be a storage device separate from the processor 1001 described above.
As shown in fig. 1, an operating system, a network communication module, a user interface module, and an acquisition program of detection data may be included in the memory 1005 as one type of storage medium. The operating system is a program for managing and controlling hardware and software resources of the vehicle controller, and a program for acquiring detection data and other software or running programs.
In the vehicle controller shown in fig. 1, the user interface 1003 is mainly used for connecting a terminal, and data communication is performed with the terminal; the network interface 1004 is mainly used for a background server and is in data communication with the background server; the processor 1001 may be used to invoke a retrieval program of the detection data stored in the memory 1005.
In the present embodiment, a vehicle controller includes: a memory 1005, a processor 1001, and a detection data acquisition program stored on the memory and executable on the processor, wherein:
when the processor 1001 calls the acquisition program of the detection data stored in the memory 1005, the following operations are performed:
receiving first fault investigation data sent by a terminal, wherein the first fault investigation data comprise data extraction conditions for setting investigation parameters;
extracting target data corresponding to the set investigation parameters meeting the data extraction conditions from a pre-established parameter variable list, wherein the set investigation parameters and/or the data extraction conditions are different, and the corresponding target data are different;
and sending the target data to the terminal.
When the processor 1001 calls the acquisition program of the detection data stored in the memory 1005, the following operations are also performed:
acquiring parameters to be inspected and data extraction conditions corresponding to the parameters to be inspected according to the second fault inspection data when receiving the second fault inspection data sent by the terminal within a preset time interval, wherein the parameters to be inspected are selected from the set inspection parameters;
updating the set investigation parameters by adopting the parameters to be investigated, and updating the data extraction conditions by adopting the data extraction conditions;
and returning to the step of extracting target data corresponding to the set checking parameters meeting the data extraction conditions from a pre-established parameter variable list.
When the processor 1001 calls the acquisition program of the detection data stored in the memory 1005, the following operations are also performed:
determining parameter index information corresponding to the set investigation parameters;
extracting detection data corresponding to the parameter index information from the parameter variable list;
target data is determined based on the data extraction conditions and the detection data.
When the processor 1001 calls the acquisition program of the detection data stored in the memory 1005, the following operations are also performed:
determining a parameter number according to the parameter index information;
and searching in a parameter variable list based on the parameter number to obtain detection data corresponding to the parameter number.
When the processor 1001 calls the acquisition program of the detection data stored in the memory 1005, the following operations are also performed:
the parameter variable list comprises investigation parameters under all operation conditions and parameter index information corresponding to the investigation parameters.
When the processor 1001 calls the acquisition program of the detection data stored in the memory 1005, the following operations are also performed:
determining first fault troubleshooting data, wherein the first fault troubleshooting data comprise set troubleshooting parameters and data extraction conditions of the set troubleshooting parameters;
the first fault investigation data are sent to a vehicle controller, wherein the vehicle controller receives the first fault investigation data sent by a terminal, extracts target data corresponding to the set investigation parameters meeting the data extraction conditions from a pre-established parameter variable list, and sends the target data to the terminal;
and receiving the target data fed back by the vehicle controller.
When the processor 1001 calls the acquisition program of the detection data stored in the memory 1005, the following operations are also performed:
determining whether there is access rights for the vehicle controller;
and when the access right of the vehicle controller is provided, executing the step of sending the first troubleshooting data to the vehicle controller.
Those skilled in the art will appreciate that the configuration of the vehicle controller or terminal shown in fig. 1 does not constitute a limitation of the vehicle controller or terminal, and may include more or fewer components than shown, or may combine certain components, or a different arrangement of components.
The embodiments of the present invention provide embodiments of a method of acquiring detection data, and it should be noted that although a logic sequence is shown in the flowchart, in some cases, the steps shown or described may be performed in a different order than that shown or described herein.
As shown in fig. 2, in a first embodiment of the present application, the method for acquiring detection data of the present application includes the following steps:
step S110, receiving first fault investigation data sent by a terminal, wherein the first fault investigation data comprise set investigation parameters and data extraction conditions of the set investigation parameters;
step S120, extracting target data corresponding to the set investigation parameters meeting the data extraction conditions from a pre-established parameter variable list, wherein the set investigation parameters and/or the data extraction conditions are different, and the corresponding target data are different;
and step S130, the target data is sent to the terminal.
In this embodiment, in order to solve the problem that the fault cannot be reproduced, the application designs a method for acquiring detection data, which establishes a parameter variable list in a vehicle controller, wherein the parameter variable list includes investigation parameters under all different working conditions and parameter index information of the investigation parameters; a researcher can dynamically determine and set the investigation parameters and the data extraction conditions of the investigation parameters at a terminal, and send the set investigation parameters and the data extraction conditions of the investigation parameters to a vehicle controller; the vehicle controller extracts target data corresponding to the set investigation parameters meeting the data extraction conditions from a pre-established parameter variable list; and after extracting the target data, sending the target data to the terminal, so that the fault detection capability is improved.
In this embodiment, the detection data acquisition method of the present application is applied to a vehicle controller; alternatively, the vehicle controller is an electronic controller, which is a controller with SATA, RAID, SCSI actuation, also referred to as an SRS controller. Optionally, the vehicle state detection sensor is used for detecting detection data of the vehicle under different operation conditions; wherein the vehicle state detection sensor comprises at least one of a temperature sensor, a vehicle speed sensor and a position sensor, and can also comprise other sensors; the operating condition may be at least one of an idle condition, a driving condition, and an acceleration condition.
In this embodiment, a global parameter variable list may be built in the electronic controller, where the parameter variable list includes the investigation parameters under all different operation conditions and parameter index information corresponding to the investigation parameters. Wherein, the parameter index information may be a parameter number, and the parameter number may be composed of letters, underlines, or numerals. The investigation parameter may be temperature, vehicle speed, etc. The parameter index information has an association relation with the investigation parameters, and each investigation parameter corresponds to one parameter index information. After the corresponding detection data are acquired through the parameter index information, the detection data acquired through the parameter index information can be used as the detection data of the investigation parameters according to the association relation, so that all investigation parameters can be globally accessed.
In this embodiment, when first troubleshooting data sent by a terminal is received, a set troubleshooting parameter and a data extraction condition of the set troubleshooting parameter are determined according to the first troubleshooting data; the set troubleshooting parameters in the first troubleshooting data and the data extraction conditions of the set troubleshooting parameters can be determined according to working experience of research personnel. The set checking parameters sent by the terminal can be multiple at the same time. When there are a plurality of the set inspection parameters, the set inspection parameters may be sent to the electronic controller in the form of an inspection parameter number list. When the terminal transmits the set investigation parameters, the terminal is accompanied with the data extraction conditions of the set investigation parameters. The data extraction conditions are generated according to parameter index information corresponding to the set investigation parameters and preset investigation thresholds of the set investigation parameters.
In this embodiment, after acquiring a set inspection parameter and a data extraction condition of the set inspection parameter, the electronic controller extracts target data corresponding to the set inspection parameter that satisfies the data extraction condition from a parameter variable list that is established in advance.
The following will be described by way of example:
in an example one, when the set investigation parameter is temperature and the parameter index information corresponding to the temperature is temperature_1, when the data extraction condition is that temperature_1 is less than 30 ℃, detection data corresponding to the parameter index information temperature_1 in each preset time interval may be extracted from the parameter variable list, target data with the temperature temperature_1 less than 30 ℃ is determined according to the detection data corresponding to each preset time interval, and the target data is sent to the terminal.
In the second example, when the set checking parameter is the vehicle speed and the parameter index information corresponding to the vehicle speed number is speed_1, when the data extraction condition is that speed_1 is less than 10m/s, detection data corresponding to the parameter index information speed_1 in each preset time interval can be extracted from the parameter variable list, target data with the temperature speed_1 less than 10m/s is determined according to the detection data corresponding to each preset time interval, and the target data is sent to the terminal.
It should be emphasized here that the corresponding extracted target data differs when the set investigation parameters and/or the data extraction conditions change.
In this embodiment, the electronic controller sends the target data to the terminal after obtaining the target data. The terminal and the electronic controller communicate through a wireless network, for example, the electronic controller and the terminal communicate through 4G/5G mobile signals, or the electronic controller and the terminal communicate through hot spot network signals; and transmitting the target data from the electronic controller to the terminal through the wireless network communication mode.
According to the technical scheme, as the vehicle controller receives the first fault troubleshooting data sent by the terminal, the target data corresponding to the set troubleshooting parameters meeting the data extraction conditions are extracted from the pre-established parameter variable list, and the target data is sent to the terminal.
As shown in fig. 3, in a second embodiment of the present application, the method for acquiring detection data of the present application includes the following steps:
step S110, receiving first fault investigation data sent by a terminal, wherein the first fault investigation data comprise set investigation parameters and data extraction conditions of the set investigation parameters;
step S120, extracting target data corresponding to the set investigation parameters meeting the data extraction conditions from a pre-established parameter variable list, wherein the set investigation parameters and/or the data extraction conditions are different, and the corresponding target data are different;
step S130, the target data is sent to the terminal;
step S140, acquiring parameters to be inspected and data extraction conditions corresponding to the parameters to be inspected according to the second fault inspection data when the second fault inspection data sent by the terminal are received within a preset time interval, wherein the parameters to be inspected are selected from the set inspection parameters;
step S150, updating the set checking parameters by using the parameters to be checked, and updating the data extraction conditions by using the data extraction conditions.
In this embodiment, after acquiring target data according to first failure investigation data and sending the target data to the terminal, in a preset time interval, the terminal may change investigation parameters and data extraction conditions corresponding to the investigation parameters according to returned target data, select parameters to be investigated from the set investigation parameters, obtain parameters to be investigated, and determine data extraction conditions corresponding to the parameters to be investigated; and then sending the parameters to be checked and the conditions for extracting the data corresponding to the parameters to be checked to an electronic controller. And the electronic controller adopts the parameter to be checked to update the set checking parameter and adopts the data condition to be extracted to update the data extraction condition, and returns to execute the step of extracting target data corresponding to the set checking parameter meeting the data extraction condition from a pre-established parameter variable list and sending the target data to the terminal.
In this embodiment, when the electronic controller simultaneously has the detected data of the vehicle speed or the temperature in the target data fed back according to the first fault detection data, the target data needs to be analyzed to determine whether the temperature or the vehicle speed causes the fault; when the fault is caused by temperature, the detection data of the vehicle speed can be screened out, and only the detection data related to the temperature is reserved; and further determining parameters to be inspected corresponding to the temperature and data extraction conditions corresponding to the parameters to be inspected according to the temperature detection data, and generating new second fault inspection data.
In the technical scheme of the embodiment, because the parameters to be inspected and the data extraction conditions corresponding to the parameters to be inspected are acquired according to the redetermined second fault inspection data within the preset time interval, the target data are extracted according to the parameters to be inspected and the data extraction conditions corresponding to the parameters to be inspected, and the fault inspection capability is improved by dynamically changing the inspection parameters and the data extraction conditions of the parameters to be inspected.
As shown in fig. 4, in a third embodiment of the present application, the method for acquiring detection data of the present application includes the following steps:
step S121, determining parameter index information corresponding to the set investigation parameters;
step S122, extracting detection data corresponding to the parameter index information from the parameter variable list.
And step S123, determining target data based on the data extraction conditions and the detection data.
In this embodiment, after the first troubleshooting data sent by the terminal is obtained, extracting target data corresponding to the set troubleshooting parameters that satisfy the data extraction condition from a parameter variable list that is established in advance; specifically, parameter index information corresponding to the set investigation parameter is determined, detection data corresponding to the parameter index information is extracted from the parameter variable list, and target data is determined based on the data extraction conditions and the detection data.
In this embodiment, the parameter number is determined according to the parameter index information. And searching in a parameter variable list based on the parameter number to obtain detection data corresponding to the parameter number. The parameter index information can be a parameter number or a parameter serial number; the parameter number may consist of letters, underlines or numbers; for example, the parameter numbers may be temperature_1, establishment_y, voltage_kl15, and the like.
According to the technical scheme, the embodiment adopts the parameter index information corresponding to the set investigation parameter; extracting detection data corresponding to the parameter index information from the parameter variable list; and determining target data based on the data extraction conditions and the detection data, thereby achieving the purpose of extracting the target data from the parameter variable list.
As shown in fig. 5, in a fourth embodiment of the present application, when the method for acquiring detection data of the present application is applied to a terminal, the method includes the following steps:
step S210, determining first troubleshooting data, wherein the first troubleshooting data comprise set troubleshooting parameters and data extraction conditions of the set troubleshooting parameters;
step S220, sending the first troubleshooting data to a vehicle controller, where the vehicle controller receives the first troubleshooting data sent by the terminal, extracts target data corresponding to the set troubleshooting parameters meeting the data extraction condition from a pre-established parameter variable list, and sends the target data to the terminal.
And step S230, receiving the target data fed back by the vehicle controller.
In this embodiment, the set troubleshooting parameters and the data extraction conditions of the set troubleshooting parameters may be determined according to the working experience of the development engineer to determine the first troubleshooting data; after first troubleshooting data are determined, the first troubleshooting data are sent to a vehicle controller, and the vehicle controller extracts corresponding target data based on the first troubleshooting data and sends the target data to the terminal. Specifically, the data extraction condition can be determined according to the parameter index information of the set investigation parameter and the preset investigation threshold value of the set investigation parameter; when the target data returned by the terminal changes, the investigation parameters can be redetermined according to the target data. When the investigation parameters are changed, the parameter index information corresponding to the investigation parameters in the data extraction conditions and the preset investigation threshold value of the investigation parameters are correspondingly changed. After first troubleshooting data are determined, the first troubleshooting data are sent to a vehicle controller through a wireless network, wherein the vehicle controller receives the first troubleshooting data sent by a terminal, extracts target data corresponding to the set troubleshooting parameters meeting the data extraction conditions from a pre-established parameter variable list, and sends the target data to the terminal.
Under other application scenes, the terminal can analyze the target data when receiving the target data fed back by the vehicle controller so as to obtain a fault analysis result; specifically, detection data of the vehicle speed or the temperature may exist in the target data at the same time; therefore, after obtaining the target data, the terminal needs to further analyze the target data to determine a fault analysis result; after obtaining the result of the fault analysis, for example, after determining that the fault is caused by temperature, the detected data of the vehicle speed may be screened out, and only the detected data related to the temperature may be retained; and further modifying the data extraction condition according to the detection data so as to improve the vehicle fault performance evaluation capability.
According to the technical scheme, the first troubleshooting data is determined and sent to the vehicle controller; and acquiring target data fed back by the vehicle controller according to the first fault investigation data, further modifying parameter index information and a preset investigation threshold according to the target data, determining new data extraction conditions, and realizing dynamic modification of the data extraction conditions and dynamic modification of the preset investigation threshold.
The following is a fifth embodiment of the present application, in which the method for acquiring detection data of the present application includes the following steps:
step S210, determining first troubleshooting data, wherein the first troubleshooting data comprise set troubleshooting parameters and data extraction conditions of the set troubleshooting parameters;
step S310, determining whether the vehicle controller has the access right;
and step S220, when the access right of the vehicle controller is provided, the first troubleshooting data is sent to the vehicle controller, wherein the vehicle controller receives the first troubleshooting data sent by the terminal, extracts target data corresponding to the set troubleshooting parameters meeting the data extraction condition from a pre-established parameter variable list, and sends the target data to the terminal.
And step S230, receiving the target data fed back by the vehicle controller.
In this embodiment, before the first troubleshooting data is sent to the vehicle controller, it is required to determine whether the terminal has the access right of the vehicle controller; before the terminal accesses the vehicle controller, the identity information of the terminal is registered in the vehicle controller in advance, so that the terminal has the access right of the vehicle controller. And when the terminal has the access right of the vehicle controller, the terminal sends the fault checking condition to the vehicle controller through a wireless network so as to acquire target data in the vehicle controller. When the terminal does not have the access right of the vehicle controller, generating alarm information which does not have the access right of the vehicle controller so as to process the alarm information in time, wherein the terminal can be set to have the access right of the vehicle controller or sent to a blacklist.
According to the technical scheme, the method and the device adopt the method for determining whether the access right of the vehicle controller exists or not; and when the access right of the vehicle controller is provided, the technical means for sending the fault checking condition to the vehicle controller is executed, so that the safety of the terminal accessing the vehicle controller is improved.
Based on the same inventive concept, the embodiments of the present application further provide a storage medium, where the storage medium stores a detection data acquisition program, where each step of the detection data acquisition described above is implemented when the detection data acquisition program is executed by a processor, and the same technical effects can be achieved, so that repetition is avoided, and no description is repeated here.
Because the storage medium provided in the embodiments of the present application is a storage medium used for implementing the method in the embodiments of the present application, based on the method described in the embodiments of the present application, a person skilled in the art can understand the specific structure and the modification of the storage medium, and therefore, the description thereof is omitted herein. All storage media used in the methods of the embodiments of the present application are within the scope of protection intended in the present application.
It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It should be noted that in the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The use of the words first, second, third, etc. do not denote any order. These words may be interpreted as names.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. It is therefore intended that the following claims be interpreted as including the preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various modifications and variations can be made to the present invention without departing from the spirit or scope of the invention. Thus, it is intended that the present invention also include such modifications and alterations insofar as they come within the scope of the appended claims or the equivalents thereof.
Claims (8)
1. A method of acquiring detection data, characterized by being applied to a vehicle controller, the method of acquiring detection data comprising:
receiving first fault investigation data sent by a terminal, wherein the first fault investigation data comprise data extraction conditions for setting investigation parameters;
extracting target data corresponding to the set investigation parameters meeting the data extraction conditions from a pre-established parameter variable list, wherein the set investigation parameters and/or the data extraction conditions are different, and the corresponding target data are different;
transmitting the target data to the terminal;
acquiring parameters to be inspected and data extraction conditions corresponding to the parameters to be inspected according to the second fault inspection data when receiving the second fault inspection data sent by the terminal within a preset time interval, wherein the parameters to be inspected are selected from the set inspection parameters;
updating the set investigation parameters by adopting the parameters to be investigated, and updating the data extraction conditions by adopting the data extraction conditions;
and returning to the step of extracting target data corresponding to the set checking parameters meeting the data extraction conditions from a pre-established parameter variable list.
2. The method according to claim 1, wherein the step of extracting target data corresponding to the set inspection parameter satisfying the data extraction condition from a pre-established parameter variable list includes:
determining parameter index information corresponding to the set investigation parameters;
extracting detection data corresponding to the parameter index information from the parameter variable list;
target data is determined based on the data extraction conditions and the detection data.
3. The method of acquiring detection data according to claim 2, wherein the step of extracting detection data corresponding to the parameter index information from the parameter variable list includes:
determining a parameter number according to the parameter index information;
and searching in a parameter variable list based on the parameter number to obtain detection data corresponding to the parameter number.
4. The method for acquiring detection data according to claim 1, wherein the parameter variable list includes investigation parameters under all operating conditions and parameter index information corresponding to the investigation parameters.
5. The detection data acquisition method is applied to a terminal and comprises the following steps:
determining first fault troubleshooting data, wherein the first fault troubleshooting data comprise set troubleshooting parameters and data extraction conditions of the set troubleshooting parameters;
the first fault investigation data are sent to a vehicle controller, wherein the vehicle controller receives the first fault investigation data sent by a terminal, extracts target data corresponding to the set investigation parameters meeting the data extraction conditions from a pre-established parameter variable list, and sends the target data to the terminal;
receiving the target data fed back by the vehicle controller;
transmitting second fault investigation data to the vehicle controller within a preset time interval, wherein when the vehicle controller receives the second fault investigation data transmitted by the terminal, acquiring parameters to be investigated and data extraction conditions corresponding to the parameters to be investigated according to the second fault investigation data, wherein the parameters to be investigated are selected from the set investigation parameters; updating the set investigation parameters by adopting the parameters to be investigated, and updating the data extraction conditions by adopting the data extraction conditions; and extracting new target data corresponding to the set investigation parameters meeting the data extraction conditions from a pre-established parameter variable list, and sending the new target data to the terminal.
6. The method of acquiring the detection data according to claim 5, wherein the step of transmitting the first troubleshooting data to a vehicle controller is preceded by:
determining whether there is access rights for the vehicle controller;
and when the access right of the vehicle controller is provided, executing the step of sending the first troubleshooting data to the vehicle controller.
7. A vehicle controller, characterized in that the vehicle controller comprises: a memory, a processor, and a detection data acquisition program stored on the memory and executable on the processor, which when executed by the processor, implements the steps of the detection data acquisition method according to any one of claims 1 to 4.
8. A storage medium having stored thereon a detection data acquisition program which, when executed by a processor, implements the steps of the detection data acquisition method of any one of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111218404.4A CN113954768B (en) | 2021-10-19 | 2021-10-19 | Detection data acquisition method, vehicle controller and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111218404.4A CN113954768B (en) | 2021-10-19 | 2021-10-19 | Detection data acquisition method, vehicle controller and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113954768A CN113954768A (en) | 2022-01-21 |
CN113954768B true CN113954768B (en) | 2024-03-12 |
Family
ID=79464751
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111218404.4A Active CN113954768B (en) | 2021-10-19 | 2021-10-19 | Detection data acquisition method, vehicle controller and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113954768B (en) |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101722908A (en) * | 2010-01-22 | 2010-06-09 | 力帆实业(集团)股份有限公司 | Electronic control harness installation assembly of carriage engine |
CN103809587A (en) * | 2014-02-26 | 2014-05-21 | 安徽安凯汽车股份有限公司 | Electric car automatic diagnostic system and method based on wireless network |
CN104977170A (en) * | 2015-06-18 | 2015-10-14 | 奇瑞汽车股份有限公司 | Vehicle fault remote diagnosis system and control method thereof |
CN107092246A (en) * | 2017-06-06 | 2017-08-25 | 合肥禄正新能源科技有限公司 | A kind of active diagnosing method of whole electric vehicle failure |
CN108956771A (en) * | 2018-07-07 | 2018-12-07 | 南京理工大学 | Special vehicle transmission shaft damage detection system based on supersonic guide-wave |
WO2020038427A1 (en) * | 2018-08-23 | 2020-02-27 | 比亚迪股份有限公司 | Method, device and system for establishing communication connection between vehicles |
CN111538317A (en) * | 2020-05-27 | 2020-08-14 | 徐州徐工挖掘机械有限公司 | Remote analysis method, device, system and medium for operating state of engineering machinery |
CN112863006A (en) * | 2021-02-24 | 2021-05-28 | 联合汽车电子有限公司 | Vehicle detection method, device, equipment, vehicle and storage medium |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6886472B2 (en) * | 2003-02-20 | 2005-05-03 | General Electric Company | Method and system for autonomously resolving a failure |
ITUA20164814A1 (en) * | 2016-06-30 | 2017-12-30 | Octo Telematics Spa | System and procedure for balancing data processing and sensor signals in a vehicle. |
-
2021
- 2021-10-19 CN CN202111218404.4A patent/CN113954768B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101722908A (en) * | 2010-01-22 | 2010-06-09 | 力帆实业(集团)股份有限公司 | Electronic control harness installation assembly of carriage engine |
CN103809587A (en) * | 2014-02-26 | 2014-05-21 | 安徽安凯汽车股份有限公司 | Electric car automatic diagnostic system and method based on wireless network |
CN104977170A (en) * | 2015-06-18 | 2015-10-14 | 奇瑞汽车股份有限公司 | Vehicle fault remote diagnosis system and control method thereof |
CN107092246A (en) * | 2017-06-06 | 2017-08-25 | 合肥禄正新能源科技有限公司 | A kind of active diagnosing method of whole electric vehicle failure |
CN108956771A (en) * | 2018-07-07 | 2018-12-07 | 南京理工大学 | Special vehicle transmission shaft damage detection system based on supersonic guide-wave |
WO2020038427A1 (en) * | 2018-08-23 | 2020-02-27 | 比亚迪股份有限公司 | Method, device and system for establishing communication connection between vehicles |
CN111538317A (en) * | 2020-05-27 | 2020-08-14 | 徐州徐工挖掘机械有限公司 | Remote analysis method, device, system and medium for operating state of engineering machinery |
CN112863006A (en) * | 2021-02-24 | 2021-05-28 | 联合汽车电子有限公司 | Vehicle detection method, device, equipment, vehicle and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN113954768A (en) | 2022-01-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110177108B (en) | Abnormal behavior detection method, device and verification system | |
CN110673590B (en) | Method, device and equipment for judging reliability of automatic driving system and storage medium | |
CN107888554B (en) | Method and device for detecting server attack | |
CN107864071B (en) | Active safety-oriented dynamic data acquisition method, device and system | |
CN108965001B (en) | Method and device for evaluating vehicle message data model | |
EP3488346B1 (en) | Anomaly detection using sequences of system calls | |
CN113961940B (en) | Override detection method and device based on authority dynamic update mechanism | |
US20200183373A1 (en) | Method for detecting anomalies in controller area network of vehicle and apparatus for the same | |
KR102088509B1 (en) | Method and apparatus for detection of anomaly on computer system | |
CN113779585A (en) | Unauthorized vulnerability detection method and device | |
CN104536776A (en) | Method and device for running plug-in application in plug-in running environment at host end | |
US20230229762A1 (en) | Anomaly detection device and anomaly detection method | |
CN111586071A (en) | Encryption attack detection method and device based on recurrent neural network model | |
CN107102929A (en) | The detection method and device of failure | |
CN102647409B (en) | Behavior status switching mode identification method of application program for Android-based smart phone | |
CN113954768B (en) | Detection data acquisition method, vehicle controller and storage medium | |
CN114679396B (en) | Method, device and system for testing routing performance of gateway | |
CN112632538B (en) | Android malicious software detection method and system based on mixed features | |
CN113672918A (en) | Malicious code detection method and device, storage medium and electronic equipment | |
CN103369520A (en) | Intention prejudging system and method for application program suspicious behavior of mobile terminal | |
CN108197475B (en) | Malicious so module detection method and related device | |
CN106940647B (en) | Code management method and device | |
CN106874759B (en) | Identification method and system for Trojan horse randomized behavior | |
CN111428886B (en) | Method and device for adaptively updating deep learning model of fault diagnosis | |
CN103366115A (en) | Safety detecting method and device |
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 |