CN107368383B - Method and equipment for checking configuration file of automobile controller - Google Patents

Method and equipment for checking configuration file of automobile controller Download PDF

Info

Publication number
CN107368383B
CN107368383B CN201710516706.7A CN201710516706A CN107368383B CN 107368383 B CN107368383 B CN 107368383B CN 201710516706 A CN201710516706 A CN 201710516706A CN 107368383 B CN107368383 B CN 107368383B
Authority
CN
China
Prior art keywords
controller
configuration file
data
file
error
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
CN201710516706.7A
Other languages
Chinese (zh)
Other versions
CN107368383A (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.)
FAW Volkswagen Automotive Co Ltd
Original Assignee
FAW Volkswagen Automotive 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 FAW Volkswagen Automotive Co Ltd filed Critical FAW Volkswagen Automotive Co Ltd
Priority to CN201710516706.7A priority Critical patent/CN107368383B/en
Publication of CN107368383A publication Critical patent/CN107368383A/en
Application granted granted Critical
Publication of CN107368383B publication Critical patent/CN107368383B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/079Root cause analysis, i.e. error or fault diagnosis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0706Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Biomedical Technology (AREA)
  • Testing And Monitoring For Control Systems (AREA)
  • Stored Programmes (AREA)
  • General Factory Administration (AREA)

Abstract

The invention discloses a method and equipment for checking a configuration file of an automobile controller, and belongs to the technical field of automobiles. The method comprises the following steps: acquiring vehicle type configuration options in a vehicle type configuration file input by a user; generating a corresponding controller initialization file according to the vehicle type configuration options, wherein the controller initialization file is used for initializing the vehicle type controller; and checking the correctness of the controller configuration file of the controller, and positioning an error if the checking result shows an error. By the method, the correctness of the configuration file of the controller can be efficiently checked, and the problems of long time and low efficiency of the traditional manual checking are solved; meanwhile, errors can be positioned, the problem that the existing tool cannot position the errors is solved, the errors are positioned, and a user can conveniently check or search the error reasons; different versions of configuration files of the same controller can be compared, and different points can be located.

Description

Method and equipment for checking configuration file of automobile controller
Technical Field
The invention relates to the technical field of automobiles, in particular to a method and equipment for detecting a configuration file of an automobile controller.
Background
Before various vehicle types are used, the controller is configured according to the selected vehicle type configuration options, so that the controller completes initialization according to the controller configuration file, therefore, the correctness of the controller configuration file is a necessary condition for normal use of the controller, and the controller configuration file needs to be checked when vehicle type configuration is carried out.
In the prior art, the controller configuration file of the controller can be manually checked, but the manual checking has low efficiency and makes mistakes or checks incomplete; the controller configuration file can also be detected by a production line electric detection system, but although the system can give error information prompt to the controller configuration file with incomplete data, the feedback information is limited, correctly extracted data cannot be fed back to a user, specific errors cannot be positioned, initialization data for controller configuration cannot be recalculated by manually adjusting vehicle type configuration options, and certain application limitation is realized.
Disclosure of Invention
In order to solve the problems of long time and low efficiency of manual inspection of a configuration file of a controller in the prior art, solve the problem that an existing tool cannot position errors, improve inspection efficiency and facilitate a user to check or search error reasons, the embodiment of the invention provides a method and equipment for inspecting a configuration file of an automobile controller. The technical scheme is as follows:
in a first aspect, a method for checking an automobile controller configuration file is provided, where the method includes:
acquiring vehicle type configuration options in a vehicle type configuration file input by a user;
generating a corresponding controller initialization file according to the vehicle type configuration options, wherein the controller initialization file is used for initializing a controller of the vehicle type; and
and checking the correctness of the controller configuration file of the controller, and if the checking result shows an error, positioning the error.
With reference to the first aspect, in a first possible implementation manner, the correctness of the controller profile of the controller is verified according to one or more of the following manners:
checking whether configuration options of the same type of the vehicle model configuration file exist in the controller configuration file; or
Checking whether configuration options in the controller profile exist in the vehicle model profile; or,
and according to the selected vehicle type configuration option, checking whether the data of the control initialization file can be correctly and completely extracted from the data of the controller configuration file.
With reference to the first aspect or the first possible implementation manner of the first aspect, in a second possible implementation manner, the locating the error includes:
displaying valid data and invalid data according to the inspection result;
marking the error according to the invalid data, and marking the file name of the error;
wherein the valid data is data correctly extracted from the controller configuration file, and the invalid data is data which is not correctly extracted from the controller configuration file or data which is not related to the vehicle model configuration option.
With reference to the second possible implementation manner of the first aspect, in a third possible implementation manner, after the error is noted, the method further includes:
and adjusting the vehicle model configuration options and regenerating a controller initialization file.
With reference to the first aspect, in a fourth possible implementation manner, the method further includes:
comparing the controller configuration file to a correct version of a controller configuration file; or
Comparing the controller profile to controller profiles of different versions of a controller of the vehicle model.
In a second aspect, an automotive controller profile verification device is provided, the device comprising:
the vehicle type configuration option acquisition module is used for acquiring vehicle type configuration options in a vehicle type configuration file input by a user;
the controller initialization file generation module is used for generating a corresponding controller initialization file according to the vehicle type configuration options, and the controller initialization file is used for initializing a controller of the vehicle type;
a verification module for verifying correctness of a controller configuration file of the controller;
and the error positioning module is used for positioning the error when the detection result of the detection module shows the error.
With reference to the second aspect, in a first possible implementation manner, the verification module is specifically configured to:
checking whether configuration options of the same type of the vehicle model configuration file exist in the controller configuration file; or
Whether configuration options in the controller profile exist in the vehicle model profile; or,
and according to the selected vehicle type configuration option, checking whether the data of the controller initialization file can be correctly and completely extracted from the data of the controller configuration file.
With reference to the second aspect or the first possible implementation manner of the second aspect, in a second possible implementation manner, the error location module includes:
the display module is used for displaying valid data and invalid data according to the inspection result;
the marking module is used for marking the error according to the invalid data and marking the file name of the error;
wherein the valid data is data correctly extracted from the controller configuration file, and the invalid data is data which is not correctly extracted from the controller configuration file or data which is not related to the vehicle model configuration option.
With reference to the second possible implementation manner of the second aspect, in a third possible implementation manner, the apparatus further includes:
and the adjusting module is used for adjusting the vehicle type configuration options and regenerating the controller initialization file.
With reference to the second aspect, in a fourth possible implementation manner, the apparatus further includes a comparing module, specifically configured to:
comparing the controller configuration file to a correct version of a controller configuration file; or
Comparing the controller profile to controller profiles of different versions of a controller of the vehicle model.
The technical scheme provided by the embodiment of the invention has the following beneficial effects: by generating corresponding controller initialization files and checking the correctness of the controller configuration files of the controller, because the controller configuration files when leaving the factory are the same for a certain type of vehicle, after the vehicle type configuration is selected by a user, the controller initialization files matched with the vehicle type configuration selection selected by the user are extracted from the controller configuration files leaving the factory for the initialization of the vehicle, the controller configuration files for generating the controller initialization files need to be checked to ensure that the data in the controller configuration files are correct, so that the errors possibly generated during the vehicle type initialization are avoided by checking the correctness of the controller configuration files, the checking process is checked by the method provided by the embodiment of the invention, and the problems that the time for checking the controller configuration files manually is long and the controller configuration files are manually checked in the prior art are solved, The problem of low efficiency; meanwhile, errors can be positioned, the problem that the existing tool cannot position the errors is solved, the errors are positioned, and a user can conveniently check or search the error reasons.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a flowchart of a method for checking a configuration file of an automobile controller according to an embodiment of the present invention;
fig. 2 is a flowchart of a method for checking a configuration file of an automobile controller according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of an apparatus for checking a configuration file of an automobile controller according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Example one
The embodiment of the invention provides a method for checking a configuration file of an automobile controller, which is shown in figure 1 and comprises the following steps:
101. and acquiring vehicle type configuration options in the vehicle type configuration file input by the user.
102. And generating a corresponding controller initialization file according to the vehicle model configuration options, wherein the controller initialization file is used for initializing the controller of the vehicle model.
103. Checking the correctness of the controller configuration file of the controller, and if the checking result shows an error, executing the step 104; and if the test result shows that the data is correct, initializing the vehicle model controller according to the data in the controller initialization file.
In particular, the correctness of the controller profile of the controller is checked according to one or more of the following ways:
checking whether the configuration options of the same type of the vehicle type configuration file exist in the controller configuration file; or
Checking whether configuration options in the controller configuration file exist in the vehicle model configuration file; or,
and according to the selected vehicle type configuration option, checking whether the data of the controller initialization file can be correctly and completely extracted from the data of the controller configuration file.
It should be noted that step 102 and step 103 may be performed simultaneously.
104. A positioning error.
Specifically, according to the inspection result, valid data and invalid data are displayed;
according to the invalid data, marking errors and marking wrong file names;
the valid data is data which is correctly extracted from the controller configuration file, and the invalid data is data which is not correctly extracted from the controller configuration file or data which is irrelevant to vehicle type configuration options.
Optionally, after the positioning error, the method further includes:
and downloading the effective data.
Optionally, after the positioning error, the method further includes:
and adjusting vehicle type configuration options and regenerating a controller initialization file.
Optionally, the method further comprises:
comparing the controller configuration file with a controller configuration file of a correct version; or
The controller profile is compared to controller profiles of different versions of the controller for the vehicle model.
Optionally, the method further comprises:
and comparing different versions of configuration files of the same controller, and positioning different points.
It should be noted that the method may be applied to a controller profile verification tool, and the method according to the embodiment of the present invention may also be applied to other tools to verify a vehicle controller profile, which is not limited in the embodiment of the present invention.
The embodiment of the invention provides a method for checking a configuration file of an automobile controller, which comprises the steps of generating a corresponding controller initialization file, and checking the correctness of the controller configuration file of the controller, wherein the controller configuration file when leaving a factory is the same for a certain type of automobile, after the user selects the automobile type configuration, the controller initialization file matched with the automobile type configuration selection selected by the user is extracted from the controller configuration file leaving the factory for the initialization of the automobile, so that the controller configuration file generating the controller initialization file needs to be checked to ensure that the data in the controller configuration file is correct, and therefore, the errors possibly generated during the automobile type initialization are avoided by checking the correctness of the controller configuration file, and the checking process is checked by the method provided by the embodiment of the invention, the problems of long time and low efficiency of the traditional manual inspection of the configuration file of the controller are solved; meanwhile, errors can be positioned, the problem that the existing tool cannot position the errors is solved, the errors are positioned, and a user can conveniently check or search the error reasons.
Example two
The embodiment of the invention provides a method for checking a configuration file of an automobile controller, which is shown in figure 2 and comprises the following steps:
201. and acquiring vehicle type configuration options in the vehicle type configuration file input by the user.
Illustratively, the vehicle type configuration options selected by the user in the vehicle type configuration file are navigation type, vehicle lamp type, engine type, and the like.
When the user selects different vehicle type configuration types, the initialization parameters of the corresponding controllers are different, namely the parameters extracted from the controller configuration file for initializing the controllers are different.
202. And generating a corresponding controller initialization file according to the vehicle model configuration options, wherein the controller initialization file is used for initializing the controller of the vehicle model.
Specifically, the type selection and the configuration attribute can be configured according to a vehicle type selected by a user, a corresponding controller initialization file is generated through calculation, and the controller of the vehicle type is initialized through data in the controller initialization file.
203. Checking the correctness of the controller configuration file of the controller, and if the checking result shows an error, executing steps 204-205; and if the test result shows that the data is correct, initializing the vehicle model controller according to the data in the controller initialization file.
Wherein the correctness of the controller profile of the controller can be verified by one or more of:
a. it is checked whether the same type of configuration options of the vehicle model profile exist in the controller profile.
For example, it is checked that data of the parking assistance type, which includes both forward and backward parking radar and automatic parking data, are present in the vehicle model profile, and if not, an error message is displayed.
b. It is checked whether the configuration options in the controller profile are present in the vehicle model profile.
For example, the automatic parking controller contains a parking assistance data type, which is checked for the presence in a vehicle model configuration file.
c. And according to the selected vehicle type configuration option, checking whether the data of the controller initialization file can be correctly and completely extracted from the data of the controller configuration file.
Specifically, data in the controller configuration file is extracted, and whether the data of the controller initialization file for a certain vehicle type can be correctly and completely extracted from all data of the controller configuration file is checked;
wherein, each bit of the data complete extraction representation data comes from the controller configuration file; the correct extraction of data shows that each bit of the data can be mapped only once, and no data mapping contradiction can occur.
Besides the above modes, the correctness of the controller configuration file can be checked through the aspects of format correctness, logical relationship correctness or data stability and the like; wherein,
format correctness, such as the format of the controller configuration file, is divided into six types 020401, 0205, 0204, 0203, 0202, and 0152, each type including fixed tags, attributes, elements, and paragraphs. The tool can check whether the framework of the controller configuration file is correct according to the requirement of the format;
the correctness of the logic relationship or the stability of the data, the controller initialization data calculated according to the vehicle type configuration options needs to follow a logic relationship, specifically, each bit in each byte of the data can be assigned once; data stability means that each bit in each byte of data cannot be null or computationally infeasible and must be contiguous.
It should be noted that step 202 and step 203 may be performed simultaneously.
204. And displaying valid data and invalid data according to the checking result.
The valid data is data which is correctly extracted from the controller configuration file, and the invalid data is data which is not correctly extracted from the controller configuration file or data which is irrelevant to vehicle type configuration options.
Specifically, data in the controller configuration file is extracted, and if all the data can be extracted correctly, the data in the controller configuration file is correct; if only part of data in the controller configuration file can be correctly extracted, the part of data is valid data of the controller configuration file, the valid data is displayed, and invalid data which is not correctly extracted or data which is irrelevant to vehicle model configuration options is also displayed.
205. And marking errors according to the invalid data, and marking the file names of the errors.
Specifically, according to the displayed invalid data, if the invalid data is data irrelevant to the vehicle type configuration option, the invalid data may be deleted or labeled; if the invalid data is data which can not be correctly extracted from the controller configuration file, the invalid data is marked, and an error file name and the like are marked.
Steps 204 to 205 are processes for implementing positioning errors, and the processes may be implemented in other ways besides the above-mentioned ways, and the specific processes are not limited in the embodiment of the present invention.
By displaying the effective data and the invalid data in the controller configuration file and marking errors according to the invalid data, a user can check which data are not extracted according to the effective data and the invalid data, and search the reason of the errors, so that the errors can be positioned when the controller configuration file is checked to be wrong, and the user can check and adjust the controller configuration file in a targeted manner conveniently.
Optionally, after the positioning error, the method may further include:
206. and downloading the effective data.
By downloading the effective data when the configuration file of the controller is checked to have errors, compared with the traditional method that the downloading is stopped when the errors are detected, the effective data can be downloaded, and convenience is brought to a user for adjusting the configuration file of the controller.
Optionally, after the positioning error, the method may further include:
207. and adjusting vehicle type configuration options and regenerating a controller initialization file.
After the positioning error occurs, the vehicle type configuration options are adjusted, and the controller initialization file is regenerated, so that a user can adjust the vehicle type configuration options with positive alignment according to the positioned error, and the user can conveniently verify the reason of the error.
After step 207, the method further includes continuing to perform steps 201-207, which is a loop process; after step 208 and/or step 209 are executed after step 207, step 201 and the subsequent steps may be executed again, which is not limited in the embodiment of the present invention.
It should be noted that step 206 may be executed after step 204 or after step 205, and the specific execution order of step 206 is not limited in the embodiment of the present invention.
Optionally, the method may further include:
208. the controller configuration file is compared to the correct version of the controller configuration file.
The controller configuration file with the correct version is the saved controller initialization file which can be extracted correctly before aiming at the vehicle type and is verified to be the correct controller configuration file.
Specifically, the controller configuration file is compared with the saved controller configuration file of the correct version, and the comparison content may include, for example, comparison of basic information, comparison of original text, comparison of user perspective, comparison of vehicle type configuration options, or data comparison; therefore, whether the controller configuration file needing to be checked is consistent with the controller configuration file of the previous correct version or not is further confirmed, and the correctness of the extracted data from the controller configuration file is improved.
Optionally, the method may further include:
209. the controller profile is compared to controller profiles of different versions of the controller for the vehicle model.
Illustratively, the content of the comparison may include a comparison of basic information, a comparison of original text, a comparison of user perspective, a comparison of vehicle model configuration options, or a comparison of data.
It should be noted that, the steps 208 and 209 may be a comparison between the controller configuration file of the controller and other stored control configuration files on the basis of the steps 201 to 207, or a comparison between any selected controller configuration file in the stored controller configuration files, so as to facilitate the user to view the changes of the functions, attributes and configurations of different controllers through the comparison.
It should be noted that the method may be applied to a controller profile verification tool, and the method according to the embodiment of the present invention may also be applied to other tools to verify a vehicle controller profile, which is not limited in the embodiment of the present invention.
The embodiment of the invention provides a method for checking a configuration file of an automobile controller, which is characterized in that a corresponding controller initialization file is generated, and the correctness of the controller configuration file of the controller is checked, because the controller configuration files when leaving a factory are the same for a certain type of automobile, and after a user selects the automobile type configuration, the controller initialization file matched with the automobile type configuration selection selected by the user is extracted from the controller configuration files leaving the factory for the initialization of the automobile type, the controller configuration file generating the controller initialization file needs to be checked to ensure that the data in the controller configuration file is correct, so that the errors possibly generated during the automobile type initialization are avoided by checking the correctness of the controller configuration file, and the checking process is checked by the method provided by the embodiment of the invention, the problems of long time and low efficiency of the traditional manual inspection of the configuration file of the controller are solved; meanwhile, errors can be positioned, the problem that the existing tool cannot position the errors is solved, the errors are positioned, and a user can conveniently check or search the error reasons; in addition, the method provided by the embodiment of the invention downloads the effective data when the error is detected, so that the effective data can be stored, the user can check the effective data conveniently, and the problem that the downloading is stopped once the error is detected in the prior art is solved; meanwhile, the controller configuration file is compared with the controller configuration file with the correct version, and the controller configuration file is compared with the controller configuration files with different versions of the vehicle-type controller; therefore, the user can conveniently check the change of the functions, the attributes and the configuration of different controllers.
EXAMPLE III
An embodiment of the present invention provides an apparatus 3 for checking a configuration file of an automobile controller, and referring to fig. 3, the apparatus 3 includes:
a vehicle type configuration option obtaining module 31, configured to obtain a vehicle type configuration option in a vehicle type configuration file input by a user;
the controller initialization file generation module 32 is configured to generate a corresponding controller initialization file according to the vehicle type configuration options, where the controller initialization file is used for initializing a controller of a vehicle type;
a verification module 33 for verifying the correctness of the controller profile of the controller;
and an error locating module 34 for locating the error when the checking result of the checking module shows the error.
Optionally, the checking module 33 is specifically configured to:
checking whether the configuration options of the same type of the vehicle type configuration file exist in the controller configuration file; or
Whether configuration options in the controller configuration file exist in the vehicle model configuration file or not; or,
and according to the selected vehicle type configuration option, checking whether the data of the controller initialization file can be correctly and completely extracted from the data of the controller configuration file.
Optionally, the error locating module 34 includes:
a display module 341, configured to display valid data and invalid data according to the inspection result;
the labeling module 342 is used for labeling errors according to the invalid data and labeling file names of the errors;
the valid data is data which is correctly extracted from the controller configuration file, and the invalid data is data which is not correctly extracted from the controller configuration file or data which is irrelevant to vehicle type configuration options.
Optionally, the apparatus 3 further comprises:
and the valid data downloading module 35 is used for downloading valid data.
Optionally, the apparatus 3 further comprises:
and the adjusting module 36 is used for adjusting the vehicle model configuration options and regenerating the controller initialization file.
Optionally, the device 3 further includes a comparing module 37, specifically configured to:
comparing the controller configuration file with a controller configuration file of a correct version; or
The controller profile is compared to controller profiles of different versions of the controller for the vehicle model.
The embodiment of the invention provides a device for checking a configuration file of an automobile controller, which checks the correctness of the configuration file of the controller by generating a corresponding controller initialization file, because the configuration files of the controller when leaving a factory are the same for a certain type of automobile, and after a user selects the configuration of the automobile, the controller initialization file matched with the configuration and the selection of the automobile type selected by the user is extracted from the configuration files of the controller leaving the factory for the initialization of the automobile, so that the configuration file of the controller generating the controller initialization file needs to be checked to ensure that the data in the configuration file of the controller is correct, thereby avoiding the possible errors of the initialization of the automobile by checking the correctness of the configuration file of the controller, and the checking process is checked by the method provided by the embodiment of the invention, the problems of long time and low efficiency of the traditional manual inspection of the configuration file of the controller are solved; meanwhile, errors can be positioned, the problem that the existing tool cannot position the errors is solved, the errors are positioned, and a user can conveniently check or search the error reasons; in addition, when an error occurs in the detection, the device can download the effective data, so that the effective data can be stored, a user can conveniently check the effective data, and the problem that the downloading is stopped once the error is detected in the prior art is solved; meanwhile, the controller configuration file can be compared with the controller configuration file with the correct version through the device, and the controller configuration file can be compared with the controller configuration files with different versions of the controller of the vehicle type, so that the user can conveniently check the functions, attributes and configuration changes of different controllers, and the use of the user is facilitated.
All the above-mentioned optional technical solutions can be combined arbitrarily to form the optional embodiments of the present invention, and are not described herein again.
It should be noted that: when the method for checking the configuration file of the automobile controller is triggered, the device for checking the configuration file of the automobile controller provided in the embodiment is exemplified by only the division of the functional modules, and in practical application, the function distribution can be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the embodiment of the device for checking the configuration file of the automobile controller and the embodiment of the method for checking the configuration file of the automobile controller provided by the embodiment belong to the same concept, and the specific implementation process is detailed in the embodiment of the method and is not repeated herein.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

Claims (10)

1. An automobile controller configuration file verification method is characterized by comprising the following steps:
acquiring vehicle type configuration options in a vehicle type configuration file input by a user;
generating a corresponding controller configuration file according to the vehicle type configuration options, wherein the controller configuration file is used for initializing the vehicle type controller;
verifying the correctness of the controller profile, comprising: according to the selected vehicle type configuration option, whether the data in the controller configuration file can be correctly and completely extracted or not is judged;
if the checking result shows an error, positioning the error, including: annotating the error according to invalid data, wherein the invalid data comprises data that failed to be correctly extracted from the controller configurator file.
2. The method of claim 1, wherein verifying the correctness of the controller configuration file further comprises:
checking whether configuration options of the same type of the vehicle model configuration file exist in the controller configuration file; or
Checking whether configuration options in the controller profile are present in the vehicle model profile.
3. The method of claim 1 or 2, wherein the locating the error further comprises:
according to the inspection result, displaying valid data and invalid data in the controller configuration file;
marking the file name of the error data;
wherein the valid data is correctly extracted from the controller configuration file, and the invalid data further includes: data not related to the vehicle model configuration options.
4. The method of claim 3, wherein after said flagging said error, said method further comprises:
and adjusting the vehicle model configuration options and regenerating a controller configuration file.
5. The method of claim 1, further comprising:
comparing the controller configuration file to a correct version of a controller configuration file; or
Comparing the controller configuration file with different versions of the controller configuration file of the vehicle model controller.
6. An automotive controller profile verification device, the device comprising:
the vehicle type configuration option acquisition module is used for acquiring vehicle type configuration options in a vehicle type configuration file input by a user;
the controller configuration file generation module is used for generating a corresponding controller configuration file according to the vehicle type configuration options, and the controller configuration file is used for initializing the vehicle type controller;
the checking module is used for checking the correctness of the controller configuration file;
and the error positioning module is used for positioning the error when the detection result of the detection module shows the error.
7. The apparatus of claim 6, wherein the inspection module is specifically configured to:
checking whether configuration options of the same type of the vehicle model configuration file exist in the controller configuration file; or
Checking whether configuration options in the controller profile exist in the vehicle model profile; or,
and according to the selected vehicle type configuration option, whether the data in the controller configuration file can be correctly and completely extracted or not can be judged.
8. The apparatus of claim 6 or 7, wherein the error localization module comprises:
the display module is used for displaying valid data and invalid data in the controller configuration file according to the inspection result;
the marking module is used for marking the error according to the invalid data and marking the file name of the error data;
wherein the valid data is data correctly extracted from the controller configuration file, and the invalid data is data which is not correctly extracted from the controller configuration file or data which is not related to the vehicle model configuration option.
9. The apparatus of claim 8, further comprising:
and the adjusting module is used for adjusting the vehicle type configuration options and regenerating a controller configuration file.
10. The device according to claim 6, further comprising a comparison module, specifically configured to:
comparing the controller configuration file to a correct version of a controller configuration file; or
Comparing the controller configuration file with different versions of the controller configuration file of the vehicle model controller.
CN201710516706.7A 2017-06-29 2017-06-29 Method and equipment for checking configuration file of automobile controller Active CN107368383B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710516706.7A CN107368383B (en) 2017-06-29 2017-06-29 Method and equipment for checking configuration file of automobile controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710516706.7A CN107368383B (en) 2017-06-29 2017-06-29 Method and equipment for checking configuration file of automobile controller

Publications (2)

Publication Number Publication Date
CN107368383A CN107368383A (en) 2017-11-21
CN107368383B true CN107368383B (en) 2020-11-24

Family

ID=60305740

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710516706.7A Active CN107368383B (en) 2017-06-29 2017-06-29 Method and equipment for checking configuration file of automobile controller

Country Status (1)

Country Link
CN (1) CN107368383B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110197046B (en) * 2019-06-12 2020-10-20 珠海格力电器股份有限公司 Rapid model selection method of multi-split system, storage medium and processor
CN112445197B (en) * 2019-09-02 2022-03-22 北京新能源汽车股份有限公司 Controller version information verification method, processor and whole vehicle test system
CN112181519A (en) * 2020-09-25 2021-01-05 中国建设银行股份有限公司 Data processing method, device, equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102306023A (en) * 2011-06-20 2012-01-04 奇瑞汽车股份有限公司 Online configuration method of automobile controller
CN104122883A (en) * 2014-07-14 2014-10-29 重庆长安汽车股份有限公司 Automatic automobile controller configuring method
CN106326128A (en) * 2016-09-06 2017-01-11 网易(杭州)网络有限公司 Configuration file detection method and system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3801906B2 (en) * 2001-11-07 2006-07-26 株式会社日立製作所 Electric vehicle control device and control method
CN106627432A (en) * 2016-11-15 2017-05-10 华晨汽车集团控股有限公司 Method for function configurationof automobile control units

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102306023A (en) * 2011-06-20 2012-01-04 奇瑞汽车股份有限公司 Online configuration method of automobile controller
CN104122883A (en) * 2014-07-14 2014-10-29 重庆长安汽车股份有限公司 Automatic automobile controller configuring method
CN106326128A (en) * 2016-09-06 2017-01-11 网易(杭州)网络有限公司 Configuration file detection method and system

Also Published As

Publication number Publication date
CN107368383A (en) 2017-11-21

Similar Documents

Publication Publication Date Title
CN107368383B (en) Method and equipment for checking configuration file of automobile controller
US9535781B2 (en) System file repair method and apparatus
CN106484453B (en) Method and device for realizing system upgrading
JP2014203314A (en) ECU simulation device
WO2019114603A1 (en) Vehicle detection method and apparatus and vehicle diagnostic device
US7921337B2 (en) Systems and methods for diagnosing faults in electronic systems
CN107301070A (en) A kind of upgrade method and terminal
CN114880220B (en) Development system and method of vehicle automatic driving software
CN111414183A (en) Upgrade detection method and device for vehicle component, computer equipment and storage medium
US20150269056A1 (en) Self verifying device driver for multi-version compatible data manipulation devices
CN110928556A (en) Automatic program burning method and device for railway vehicle, and testing method and system
CN114281374A (en) Remote flash method and system for vehicle electronic control unit and storage medium
CN108196975B (en) Data verification method and device based on multiple checksums and storage medium
CN103399804A (en) Method and system for repairing remote package files
CN111857740A (en) Software upgrading method and device
CN114691174A (en) Vehicle-mounted software upgrading method, device and equipment
CN108039984A (en) A kind of automatic identification method of automobile engine communications protocol
CN109828752B (en) Project code automatic generation method, device, computer equipment and storage medium
JP5823478B2 (en) Output file verification system
CN109945892B (en) Online testing method for complex algorithm requirements of inertial navigation system
CN116010239B (en) Automatic test method based on assembly line
CN117827769A (en) Vehicle log acquisition method and device, vehicle and storage medium
CN117785273A (en) Configuration word processing method and device of vehicle machine, vehicle and storage medium
CN113238786A (en) Online upgrading APP code verification method and system for electric vehicle charging and distribution system
Kapular et al. Testing of Model Verifier within Software Development in Automotive Industry

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