Automatic processing method for basic communication data of intelligent driving and related products

Through the automatic processing method of intelligent driving basic communication data, the message information in the data file is parsed and compared, and the problem of insufficient inspection and inflexible data processing in the existing technology is solved, and fully automatic basic communication data inspection and statistics are realized.

CN119696729APending Publication Date: 2025-03-25SAIC MOTOR
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202311240080.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-09-22
Publication Date
2025-03-25

AI Technical Summary

Technical Problem

The existing basic communication data inspection technology cannot fully automatically classify and count the inspection results in an in-depth and detailed manner, resulting in insufficient comprehensive inspections and insufficient flexible data processing methods.

Method used

It provides an automatic processing method for basic communication data of intelligent driving. By obtaining data files, analyzing and extracting message information, calculating the actual values ​​of message cycles, message counter values ​​and cyclic redundancy check values, and comparing them with standard values ​​to generate comparison results for statistics and analysis.

Benefits of technology

It realizes fully automatic basic communication inspection, classification and statistics of message cycles, message counter values ​​and cyclic redundancy check values, and improves the comprehensiveness and flexibility of basic communication data inspection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119696729A_ABST
    Figure CN119696729A_ABST
Patent Text Reader

Abstract

The invention discloses an automatic processing method for basic communication data of intelligent driving and a related product, which can be applied to the technical field of automobile electronic communication, and the method comprises the following steps: obtaining a data file; extracting message information of the data file; calculating based on the message information to obtain a message period, a message counter value and a cyclic redundancy check value of the message information; respectively comparing the message period, the message counter value and the cyclic redundancy check value with corresponding standard values to obtain a corresponding first comparison result, a corresponding second comparison result and a corresponding third comparison result; and performing statistics and analysis on the data file based on the first comparison result, the second comparison result and the third comparison result to realize automatic processing of the basic communication data of the intelligent driving. Therefore, full-automatic basic communication inspection, classification and statistics of the message period, the message counter value and the cyclic redundancy check value are covered, and the comprehensiveness of basic communication data inspection is improved while the processing flexibility is ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of automotive electronic communication technology, and in particular to an automatic processing method for basic communication data of intelligent driving and related products. Background Art

[0002] With the rapid development of intelligent driving, new technologies emerge in an endless stream. In the development of intelligent driving that is gradually becoming networked, communication technology plays a vital role. There is a large amount of data interaction between the intelligent driving domain controller and peripheral controllers, sensors, and actuators. The processing of these basic communication data is particularly important.

[0003] The CAN / CANFD bus communication network, which is widely used in the field of automotive electronics, plays a key role in intelligent driving systems. The existing basic communication data inspection technology cannot fully and meticulously classify and count the inspection results automatically. It usually performs semi-automatic inspections on a certain item, resulting in incomplete inspections and inflexible data processing methods.

[0004] Therefore, how to improve the comprehensiveness of basic communication data inspection while ensuring processing flexibility is a problem that technical personnel in this field urgently need to solve. Summary of the invention

[0005] Based on the above problems, the present application provides an automatic processing method and related products for basic communication data of intelligent driving, covering fully automatic basic communication inspection, classification and statistics of message cycle, message counter value and cyclic redundancy check value, solving the problems of incomplete inspection and inflexible data processing method.

[0006] In a first aspect, the present application provides a method for automatically processing basic communication data of intelligent driving, comprising:

[0007] Get the data file;

[0008] Parsing the data file and extracting the message information of the data file to obtain the message period, message counter value and actual value of cyclic redundancy check value of the message;

[0009] Parse a common configuration file and extract message information of the common configuration file, obtain a standard value of a message period of the message, and calculate a standard value of a message counter value and a standard value of a cyclic redundancy check value;

[0010] Comparing the actual values ​​of the message period, the message counter value, and the cyclic redundancy check value with the corresponding standard values ​​of the message period, the message counter value, and the cyclic redundancy check value, respectively, to obtain corresponding first comparison results, second comparison results, and third comparison results;

[0011] The data file is statistically analyzed based on the first comparison result, the second comparison result and the third comparison result, and the message period deviation information of the data file and the message counter value of the data file and the correctness information of the cyclic redundancy check value are output.

[0012] Optionally, comparing the actual values ​​of the message period, the message counter value, and the cyclic redundancy check value with the corresponding standard values ​​of the message period, the message counter value, and the cyclic redundancy check value, respectively, to obtain corresponding first comparison results, second comparison results, and third comparison results, including:

[0013] Comparing the actual value of the message period with the standard value of the message period to obtain a first comparison result;

[0014] The first comparison result includes: a data deviation rate after comparing the actual value of the message period with the standard value of the message period;

[0015] Comparing the actual value of the message counter value with the standard value of the message counter value to obtain a second comparison result;

[0016] The second comparison result includes: the message counter value is correct and the message counter value is wrong;

[0017] Comparing the actual value of the cyclic redundancy check value with the standard value of the cyclic redundancy check value to obtain a third comparison result;

[0018] The third comparison result includes: the cyclic redundancy check value is correct and the cyclic redundancy check value is wrong.

[0019] Optionally, the performing statistics and analysis on the data file based on the first comparison result, the second comparison result, and the third comparison result respectively includes:

[0020] Based on the data deviation rate between the actual value of the message period and the standard value of the message period, the data files are classified and counted by signal according to the preset fluctuation threshold, and the deviation occurrence time, deviation time difference and deviation fluctuation size of the abnormal fluctuation signal are analyzed;

[0021] Classifying and counting the data file by signal according to whether the message counter value is correct or wrong, and analyzing the time when the error occurs, the standard value of the message counter value, and the actual value of the message counter value;

[0022] The data files are classified and counted by signal according to whether the cyclic redundancy check value is correct or wrong, and the time when the error occurs, the standard value of the cyclic redundancy check value and the actual value of the cyclic redundancy check value are analyzed.

[0023] Optionally, the outputting of the message period deviation information of the data file and the message counter value of the data file and the correctness information of the cyclic redundancy check value includes: recording the message period deviation information according to the bus type, CAN ID, protocol data unit name, channel sequence number and the standard value of the message period, the output message period deviation information includes a plurality of fluctuation interval information, each of the fluctuation interval information includes the fluctuation size, the total number of messages, the number of error frames and the error rate;

[0024] According to the bus type, CAN ID, protocol data unit name, channel sequence number and the standard value of the message period, the correctness information of the message counter value and the cyclic redundancy check value are recorded, and the correctness information of the output message counter value and the cyclic redundancy check value includes the total number of messages, the number of error frames and the error rate. Optionally, the method further includes:

[0025] A preset number of message period deviation information are sorted according to the fluctuation size. When the error frames of one of the multiple fluctuation interval information with the largest deviation meets the preset number, only the error frames of the one of the multiple fluctuation interval information with the largest deviation are displayed. When the error frames of one of the multiple fluctuation interval information with the largest deviation are less than the preset number, all error frames of the one of the multiple fluctuation interval information with the largest deviation and the error frames of the one of the remaining fluctuation interval information are displayed, so that the number of error frames displayed meets the preset number.

[0026] In a second aspect, the present application provides an automatic processing device for intelligent driving basic communication data, comprising:

[0027] A receiving module, used for obtaining data files;

[0028] An information extraction module, used to parse the data file and extract the message information of the data file, and obtain the actual value of the message period, message counter value and cyclic redundancy check value of the message;

[0029] A first calculation module, used for parsing a common configuration file and extracting message information of the common configuration file, obtaining a standard value of a message period of the message, and calculating a standard value of a message counter value and a standard value of a cyclic redundancy check value;

[0030] A second calculation module is used to compare the actual values ​​of the message period, the message counter value and the cyclic redundancy check value with the corresponding standard values ​​of the message period, the message counter value and the cyclic redundancy check value, respectively, to obtain corresponding first comparison results, second comparison results and third comparison results;

[0031] An analysis and statistics module is used to perform statistics and analysis on the data file based on the first comparison result, the second comparison result and the third comparison result, and output the message period deviation information of the data file and the message counter value of the data file and the correctness information of the cyclic redundancy check value.

[0032] Optionally, the first comparison result includes: the data deviation rate after comparing the actual value of the message period with the standard value of the message period, the second comparison result includes: the message counter value is correct and the message counter value is wrong, and the third comparison result includes: the cyclic redundancy check value is correct and the cyclic redundancy check value is wrong.

[0033] Optionally, the analysis and statistics module is specifically used for:

[0034] Based on the data deviation rate between the actual value of the message period and the standard value of the message period, the data files are classified and counted by signal according to the preset fluctuation threshold, and the deviation occurrence time, deviation time difference and deviation fluctuation size of the abnormal fluctuation signal are analyzed;

[0035] Classifying and counting the data file by signal according to whether the message counter value is correct or wrong, and analyzing the time when the error occurs, the standard value of the message counter value, and the actual value of the message counter value;

[0036] The data files are classified and counted by signal according to whether the cyclic redundancy check value is correct or wrong, and the time when the error occurs, the standard value of the cyclic redundancy check value and the actual value of the cyclic redundancy check value are analyzed.

[0037] In a third aspect, the present application provides an automatic processing device for basic communication data of intelligent driving, characterized in that it includes:

[0038] Memory for storing computer programs;

[0039] A processor is used to implement the steps of the method for automatically processing basic communication data for intelligent driving as described in any of the above items when executing the computer program.

[0040] In a fourth aspect, the present application provides a readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the method for automatic processing of basic communication data for intelligent driving as described in any of the above items are implemented.

[0041] It can be seen from the above technical solutions that compared with the prior art, the present application has the following advantages:

[0042] This application first obtains the data file and extracts the message information of the data file. Then, calculations are performed based on the message information to obtain the actual values ​​of the message period, message counter value and cyclic redundancy check value of the message information, and the actual values ​​of the message period, message counter value and cyclic redundancy check value are compared with the corresponding standard values, respectively, to obtain the corresponding first comparison result, second comparison result and third comparison result. Finally, the data file is statistically analyzed based on the first comparison result, the second comparison result and the third comparison result, respectively, to realize the automatic processing of basic communication data for intelligent driving. In this way, this application covers the fully automatic basic communication inspection, classification and statistics of message period, message counter and cyclic redundancy check, and can also conduct detailed viewing and precise positioning of the problem data of message period, message counter value and cyclic redundancy check value, which is convenient for technical personnel to trace and analyze specific problems, and improves the comprehensiveness of basic communication data inspection while ensuring processing flexibility. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] Figure 1 A flowchart of a method for automatically processing basic communication data for intelligent driving provided in this application;

[0044] Figure 2 A schematic diagram of the structure of an automatic processing device for basic communication data of intelligent driving provided in this application;

[0045] Figure 3 An architectural diagram of a software platform provided for this application;

[0046] Figure 4 A flowchart of a method for automatically processing basic communication data for intelligent driving provided in this application;

[0047] Figure 5 A schematic diagram of a front-end interactive interface provided for this application;

[0048] Figure 6 A schematic diagram of a message cycle check result display provided by this application;

[0049] Figure 7 A schematic diagram of a message counter value and a cyclic redundancy check value check result display provided in the present application. DETAILED DESCRIPTION

[0050] As mentioned above, the existing basic communication data inspection technology has the problems of insufficient comprehensive inspection and insufficient flexibility in data processing. Specifically, with the rapid development of intelligent driving, new technologies are emerging in an endless stream. In the development of intelligent driving that is gradually becoming networked, communication technology plays a vital role. There is a large amount of data interaction between the intelligent driving domain controller and peripheral controllers, sensors, and actuators, and the processing of these basic communication data is particularly important. The existing basic communication data inspection technology cannot fully and automatically classify and count the inspection results in depth and detail. It is generally semi-automatic to inspect a certain item. Therefore, there are problems of insufficient comprehensive inspection and insufficient flexibility in data processing.

[0051] To solve the above problems, the present application provides an automatic processing method for basic communication data of intelligent driving, including: first obtaining a data file, parsing the data file and extracting the message information of the data file, and obtaining the message period of the message, the message counter value and the actual value of the cyclic redundancy check value. Then parse the general configuration file and extract the message information of the general configuration file, obtain the standard value of the message period of the message, calculate the standard value of the message counter value and the standard value of the cyclic redundancy check value, and compare the actual values ​​of the message period, the message counter value and the cyclic redundancy check value with the corresponding message period, the message counter value and the standard value of the cyclic redundancy check value, respectively, to obtain the corresponding first comparison result, the second comparison result and the third comparison result. Finally, the data file is statistically analyzed based on the first comparison result, the second comparison result and the third comparison result, and the message period deviation information of the data file and the right and wrong information of the message counter value and the cyclic redundancy check value of the data file are output.

[0052] It should be noted that the automatic processing method for basic communication data of intelligent driving and related products provided by this application can be applied to the field of automotive electronic communication technology. The above is only an example and does not limit the application field of the automatic processing method for basic communication data of intelligent driving and related products provided by this application.

[0053] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0054] Figure 1This is a flow chart of a method for automatically processing basic communication data for intelligent driving provided in this application. Figure 1 As shown, the present application provides a method for automatically processing basic communication data of intelligent driving, which may include:

[0055] S101: Obtain data file.

[0056] In practical applications, you first need to import the basic communication data of intelligent driving, that is, the data file recorded on the actual vehicle. Specifically, the log file recorded on the actual vehicle will be exported as a BLF file (binary data file format). The user can input the BLF file into the automatic processing device of the basic communication data of intelligent driving, and then the automatic processing device of the basic communication data of intelligent driving will obtain the BLF file as a data file.

[0057] In addition, since the methods for obtaining data files are not the same, the present application may describe a possible method for obtaining the data files.

[0058] In one case, regarding how to obtain a data file, S101: obtaining a data file specifically includes:

[0059] Get the original file recorded on the real car;

[0060] Converting the original file into a binary data file format;

[0061] The original file in a binary data file format is acquired as a data file.

[0062] In practical applications, the automatic processing device for intelligent driving basic communication data may be provided with a format conversion function. Specifically, the log file recorded on the actual vehicle is directly sent to the automatic processing device for intelligent driving basic communication data, and then the automatic processing device for intelligent driving basic communication data obtains the log file and converts it into a BLF file, and then obtains the BLF file as a data file.

[0063] S102: Parse the data file and extract message information of the data file to obtain the message period, message counter value and actual value of cyclic redundancy check value of the message.

[0064] In actual applications, after obtaining the data file, that is, the BLF file, the automatic processing device for the basic communication data of intelligent driving can decompress the BLF file, and then extract the message header information and message information of the decompressed BLF file for subsequent data processing. Specifically, the message information represents the data file, and the data file can be checked by calculating and processing based on the message information extracted from the data file. The automatic processing device for the basic communication data of intelligent driving needs to check the message period, message counter value and cyclic redundancy check value, so it is first necessary to calculate the message period, message counter value and cyclic redundancy check value corresponding to the data file to obtain the actual value of the message period of the message, the actual value of the message counter value and the actual value of the cyclic redundancy check value.

[0065] In addition, since the methods for obtaining the message period are different, the present application can describe a possible method for obtaining it.

[0066] In one case, with respect to how to obtain a message period, the calculation based on the message information to obtain the message period of the message information includes:

[0067] Based on the message information, obtaining a timestamp of a header of the message information;

[0068] Calculation is performed based on the timestamp to obtain the time interval between each signal as the message period of the message information.

[0069] In practical applications, for BLF files, the automatic processing device of the basic communication data of intelligent driving first decompresses and extracts the message information. Then it obtains the timestamp from the message information header, calculates the time interval between each signal as the message information, and even the message period of the data file. It should be noted that in the basic communication data, the message information corresponds to the signal.

[0070] S103: Parse the general configuration file and extract the message information of the general configuration file, obtain the standard value of the message period of the message, and calculate the standard value of the message counter value and the standard value of the cyclic redundancy check value.

[0071] In actual applications, the calculation method of the message period, message counter value and cyclic redundancy check value is the same as the above-mentioned method. The automatic processing device based on the basic communication data of intelligent driving first parses the general configuration file and extracts the message information of the general configuration file, obtains the standard value of the message period of the message, and calculates the standard value of the message counter value and the standard value of the cyclic redundancy check value.

[0072] S104: Compare the actual values ​​of the message period, the message counter value and the cyclic redundancy check value with the corresponding standard values ​​of the message period, the message counter value and the cyclic redundancy check value to obtain corresponding first comparison results, second comparison results and third comparison results.

[0073] In actual applications, after obtaining the data file, the automatic processing device for basic communication data of intelligent driving will parse the data file to obtain the actual value of the inspection item corresponding to the data file. Specifically, when the inspection items are the message period, the message counter value and the cyclic redundancy check value, the automatic processing device for basic communication data of intelligent driving will find the actual value of the message period, the actual value of the message counter value and the actual value of the cyclic redundancy check value corresponding to the data file after obtaining the data file, and then compare them with the calculated standard values ​​of the message period, message counter value and cyclic redundancy check value of the data file to obtain the first comparison result, the second comparison result and the third comparison result respectively.

[0074] In addition, since the methods for obtaining the standard value are not the same, the present application can describe a possible method for obtaining the standard value.

[0075] In one case, how to obtain the standard value. Specifically, the parsing of the general configuration file and extracting the message information of the general configuration file, obtaining the standard value of the message period of the message, calculating the standard value of the message counter value and the standard value of the cyclic redundancy check value, includes:

[0076] Get the common configuration file;

[0077] Automatically matching the data file with the configuration of the general configuration file to obtain the standard value of the message period and the standard signal setting value of each CAN ID;

[0078] The standard signal setting values ​​include: a message counter value and a standard value of a cyclic redundancy check value.

[0079] In actual applications, standard values ​​of various signals exist in ARXML files, that is, general configuration files. Therefore, the automatic processing device for basic communication data of intelligent driving needs to obtain the ARXML file before comparison. The ARXML file can be an updated ARXML file newly imported by the user, or a stored historical ARXML file. The automatic processing device for basic communication data of intelligent driving automatically matches the channel of the BLF file with the configuration of ARXML, and obtains the period setting value and signal setting value of each CANID, that is, obtains the standard value of the message period and the standard signal setting value of the CAN ID. It should be noted that the standard signal setting value includes: the standard value of the message counter value and the cyclic redundancy check value.

[0080] In addition, since the comparison methods are different due to different corresponding standard values, the present application can illustrate a possible comparison method.

[0081] In one case, with respect to how to perform the comparison, correspondingly, S104: comparing the actual values ​​of the message period, the message counter value, and the cyclic redundancy check value with the corresponding standard values ​​of the message period, the message counter value, and the cyclic redundancy check value, respectively, to obtain corresponding first comparison results, second comparison results, and third comparison results, including:

[0082] Comparing the actual value of the message period with the standard value of the message period to obtain a first comparison result;

[0083] The first comparison result includes: a data deviation rate after the actual value of the message period is compared with the standard value of the message period;

[0084] Comparing the actual value of the message counter value with the standard value of the standard message counter value to obtain a second comparison result;

[0085] The second comparison result includes: the message counter value is correct and the message counter value is wrong;

[0086] Comparing the actual value of the cyclic redundancy check value with the standard value of the standard cyclic redundancy check value to obtain a third comparison result;

[0087] The third comparison result includes: the cyclic redundancy check value is correct and the cyclic redundancy check value is wrong.

[0088] In practical applications, the automatic processing device for basic communication data of intelligent driving automatically matches the configuration of the BLF file with the ARXML file to obtain the standard value of the message period, the standard value of the message counter value, and the standard value of the cyclic redundancy check value of each CANID. The first comparison result, the second comparison result, and the third comparison result are obtained by comparing with the actual value obtained by parsing and calculating according to the BLF file. Specifically, the time interval of each signal in the data file, that is, the message period, is compared with the standard value of the message period in the ARXML file to obtain the first comparison result, that is, the data deviation rate. The actual value of the message counter value obtained by the message calculation for the BLF file is compared with the message counter signal in the ARXML file, that is, the standard value of the message counter value, to obtain the second comparison result of whether the message counter value is correct or not. The actual value of the cyclic redundancy check value obtained by the message calculation for the BLF file is compared with the cyclic redundancy check signal in the ARXML file, that is, the actual value of the cyclic redundancy check value, to obtain the third comparison result of whether the cyclic redundancy check value is correct or not.

[0089] S105: performing statistics and analysis on the data file based on the first comparison result, the second comparison result and the third comparison result respectively, and outputting message period deviation information of the data file and correctness information of the message counter value and the cyclic redundancy check value of the data file.

[0090] In practical applications, the comparison result corresponds to the inspection result of the data file. The automatic processing device of the basic communication data of intelligent driving can count and analyze the data file based on the comparison result. For example, the correct message counter value is counted and the incorrect cyclic redundancy check value is counted and analyzed, and the message period deviation information of the data file and the message counter value of the data file and the correctness information of the cyclic redundancy check value are output.

[0091] In addition, since the methods of performing statistics and analysis based on the comparison results are not the same, the present application may describe a possible method of performing statistics and analysis.

[0092] In one case, how to perform statistics and analysis based on the comparison results. Correspondingly, S105: performing statistics and analysis on the data file based on the first comparison result, the second comparison result, and the third comparison result, respectively, outputting the message period deviation information of the data file and the message counter value of the data file and the correctness information of the cyclic redundancy check value, specifically including:

[0093] Based on the data deviation rate between the actual value of the message period and the standard value of the message period, the data file is classified and counted by signal according to the preset fluctuation threshold, and the deviation occurrence time of the abnormal fluctuation signal, the time difference of the deviation and the fluctuation size of the deviation are analyzed; specifically, the message period deviation information can be recorded according to the bus type, CAN ID, protocol data unit name, channel sequence number and the standard value of the message period, and the output message period deviation information includes multiple fluctuation interval information with different deviation degrees, and the multiple fluctuation interval information all include the fluctuation size, the total number of messages, the number of error frames and the error rate;

[0094] According to whether the message counter value is correct or incorrect, the data file is classified and counted by signal, and the time when the error occurred, the standard value of the message counter value and the actual value of the message counter value are analyzed; according to whether the cyclic redundancy check value is correct or incorrect, the data file is classified and counted by signal, and the time when the error occurred, the standard value of the cyclic redundancy check value and the actual value of the cyclic redundancy check value are analyzed; specifically, the correctness and error information of the message counter value and the cyclic redundancy check value can be recorded according to the bus type, CAN ID, protocol data unit name, channel sequence number and the standard value of the message period, and the output correctness and error information of the message counter value and the cyclic redundancy check value includes the total number of messages, the number of error frames and the error rate (that is, the proportion of error frames to the total number of messages).

[0095] In particular, a preset number of message period deviation information are sorted according to the fluctuation size. When the error frames of one of the multiple fluctuation interval information with the largest deviation meets the preset number, only the error frames of the preset number of multiple fluctuation interval information with the largest deviation are displayed; when the error frames of one of the multiple fluctuation interval information with the largest deviation are less than the preset number, all error frames of the one of the multiple fluctuation interval information with the largest deviation and the error frames of the one of the remaining fluctuation interval information with the largest deviation are displayed, so that the number of displayed error frames meets the preset number.

[0096] In practical applications, the first comparison result includes the data deviation rate, so the automatic processing device for the basic communication data of intelligent driving can classify and count the data files according to the signals based on the data deviation rate of the actual value and the standard value of the message period according to the preset fluctuation threshold, and analyze the deviation occurrence time of the abnormal fluctuation signal, the time difference of the deviation, and the fluctuation size of the deviation. For example, the fluctuation threshold (i.e., the fluctuation range) includes 0-%10, 10%-20%, 20%-30%, and more than 30%, then the data files are classified and counted according to the fluctuation size of 0-%10, 10%-20%, 20%-30%, and more than 30%, and the deviation occurrence time, the time difference of the deviation, and the fluctuation size of the deviation of each abnormal fluctuation signal are calculated, thereby realizing the analysis of the data files. Specifically, the message period deviation information of a preset number (for example, 10) can also be sorted according to the fluctuation size. When the number of error frames with fluctuations of more than 30% reaches 10 or more, only 10 error frames with fluctuations of more than 30% are displayed. When the number of error frames with fluctuations of more than 30% is less than 10, 20%-30% of the error frames are selected in the remaining fluctuation size range for display, so that the total number of error frames displayed meets the preset number. The second comparison result and the third comparison result respectively include the correctness of the message counter value and the correctness of the cyclic redundancy check value. In this way, the automatic processing device of the basic communication data of intelligent driving can classify and count the message counter value and the cyclic redundancy check value based on correctness, calculate the time when the error occurs, calculate the standard value and actual value of the message counter value and the cyclic redundancy check value, so as to realize the analysis of the data file. In addition, the statistical results and analysis results can also be displayed. Specifically, the automatic processing device of the basic communication data of intelligent driving can set the front-end display layer to bind with the back-end, use the control to realize sorting, screening, query, and provide detailed analysis results for abnormal fluctuation signals. For example, after clicking the view button of the inspection result statistics on the front end, the interface will display the data of the preset number of frames (such as 10 frames) with the most serious deviation, and the display content includes the time when the deviation occurred, the time difference of the deviation, and the fluctuation size of the deviation. In addition, after the front end receives the statistical results from the back end, the signal containing the error information can be stored separately, and a link can be provided for each data, so that the user can accurately locate and view the problem data. For another example, after clicking the view button of the inspection result statistics on the front end, the interface will display the time when the error occurred, the standard value of RC (message counter) or CRC (cyclic redundancy check), and the actual value of RC or CRC. In addition, after the front end receives the statistical results from the back end, the signal containing the error information can be stored separately, and a link can be provided for each data, so that the user can accurately locate and view the problem data, etc.

[0097] In addition, since the processing methods of statistical analysis results are different, this application can explain one possible processing method.

[0098] In one case, regarding how to process the statistical analysis results, the method further includes:

[0099] The statistical results and analysis results of the data files are summarized and output in the form of a table.

[0100] In practical applications, the automatic processing device of basic communication data for intelligent driving supports automatic adjustment of web pages, summarizes statistical analysis results, and uses controls to output statistical and analysis results in the form of EXCEL tables.

[0101] In summary, the present application first obtains a data file and extracts the message information of the data file. Then, calculations are performed based on the message information to obtain the actual values ​​of the message period, message counter value, and cyclic redundancy check value of the message information, and the actual values ​​of the message period, message counter value, and cyclic redundancy check value are compared with the corresponding standard values ​​to obtain the corresponding first comparison result, second comparison result, and third comparison result. Finally, the data file is statistically analyzed based on the first comparison result, the second comparison result, and the third comparison result to realize the automatic processing of basic communication data for intelligent driving. In this way, the present application covers the fully automatic basic communication inspection, classification, and statistics of message period, message counter value, and cyclic redundancy check value, and at the same time, the problem data of message period, message counter value, and cyclic redundancy check value can be viewed in detail and accurately located, which is convenient for technicians to trace and analyze specific problems, and improves the comprehensiveness of basic communication data inspection while ensuring processing flexibility.

[0102] Based on the automatic processing method of basic communication data for intelligent driving provided in the above embodiment, the present application also provides an automatic processing device for basic communication data for intelligent driving. The automatic processing device for basic communication data for intelligent driving is described below in conjunction with the embodiments and drawings.

[0103] Figure 2 This is a schematic diagram of the structure of an automatic processing device for basic communication data of intelligent driving provided by this application. Figure 2 As shown, the automatic processing device 200 of intelligent driving basic communication data provided by the embodiment of the present application includes:

[0104] Receiving module 201, used to obtain data files;

[0105] An information extraction module 202 is used to parse the data file and extract the message information of the data file to obtain the message period, message counter value and actual value of cyclic redundancy check value of the message;

[0106] A first calculation module 203 is used to parse a common configuration file and extract message information of the common configuration file, obtain a standard value of a message period of the message, and calculate a standard value of a message counter value and a standard value of a cyclic redundancy check value;

[0107] The second calculation module 204 is used to compare the actual values ​​of the message period, the message counter value and the cyclic redundancy check value with the corresponding standard values ​​of the message period, the message counter value and the cyclic redundancy check value, respectively, to obtain corresponding first comparison results, second comparison results and third comparison results;

[0108] The analysis and statistics module 205 is used to perform statistics and analysis on the data file based on the first comparison result, the second comparison result and the third comparison result, and output the message period deviation information of the data file and the message counter value of the data file and the correctness information of the cyclic redundancy check value.

[0109] As an implementation manner, regarding how to obtain the data file, the receiving module 201 is specifically used for:

[0110] Get the original file recorded on the real car;

[0111] Converting the original file into a binary data file format;

[0112] The original file in a binary data file format is acquired as a data file.

[0113] As an implementation manner, regarding how to perform calculation based on the message information to obtain the message period of the message information, the first calculation module 203 is specifically used to:

[0114] Based on the message information, obtaining a timestamp of a header of the message information;

[0115] Calculation is performed based on the timestamp to obtain the time interval between each signal as the message period of the message information.

[0116] As an implementation manner, with respect to how to compare the message period, the message counter value, and the cyclic redundancy check value with the corresponding standard values, the automatic processing device 200 for basic communication data of intelligent driving further includes: an acquisition module;

[0117] The acquisition module is used to obtain the general configuration file;

[0118] Automatically matching the data file with the configuration of the general configuration file to obtain the standard value of the message period and the standard signal setting value of each CAN ID;

[0119] The standard signal setting values ​​include: a message counter value and a standard value of a cyclic redundancy check value.

[0120] As an implementation manner, with respect to how to compare the message period, the message counter value, and the cyclic redundancy check value with the corresponding standard values, the second calculation module 204 is specifically used to:

[0121] Comparing the actual value of the message period with the standard value of the message period to obtain a first comparison result;

[0122] The first comparison result includes: a data deviation rate after comparing the actual value of the message period with the standard value of the message period;

[0123] Comparing the actual value of the counter value with the standard value of the message counter value to obtain a second comparison result;

[0124] The second comparison result includes: the message counter value is correct and the message counter value is wrong;

[0125] Comparing the actual value of the cyclic redundancy check value with the standard value of the cyclic redundancy check value to obtain a third comparison result;

[0126] The third comparison result includes: the cyclic redundancy check value is correct and the cyclic redundancy check value is wrong.

[0127] As an implementation method, regarding how to perform statistics and analysis on data files, the above-mentioned analysis and statistics module 205 includes an analysis and statistics submodule and an output module, wherein the analysis and statistics submodule is specifically used for:

[0128] Based on the data deviation rate between the actual value of the message period and the standard value of the message period, the data files are classified and counted by signal according to the preset fluctuation threshold, and the deviation occurrence time, deviation time difference and deviation fluctuation size of the abnormal fluctuation signal are analyzed;

[0129] Classifying and counting the data file by signal according to whether the message counter value is correct or wrong, and analyzing the time when the error occurs, the standard value of the message counter value, and the actual value of the message counter value;

[0130] The data files are classified and counted by signal according to whether the cyclic redundancy check value is correct or wrong, and the time when the error occurs, the standard value of the cyclic redundancy check value and the actual value of the cyclic redundancy check value are analyzed.

[0131] As an implementation method, regarding how to output the statistical analysis results, the output module is specifically used to:

[0132] The message period deviation information is recorded according to the bus type, CAN ID, protocol data unit name, channel sequence number and the standard value of the message period, and the output message period deviation information includes a plurality of fluctuation interval information, each of which includes a fluctuation size, a total number of messages, a number of error frames and an error rate;

[0133] The correctness and error information of the message counter value and the cyclic redundancy check value are recorded according to the bus type, CAN ID, protocol data unit name, channel sequence number and the standard value of the message period, and the output correctness and error information of the message counter value and the cyclic redundancy check value include the total number of messages, the number of error frames and the error rate.

[0134] As an implementation manner, regarding how to display the analysis results, the automatic processing device 200 for basic communication data of intelligent driving further includes: a display module; a display module, used to sort a preset number of the message period deviation information according to the fluctuation size, and when the error frame of the one with the largest deviation in multiple fluctuation interval information meets the preset number, only the error frame of the one with the largest deviation in the preset number of multiple fluctuation interval information is displayed; when the error frame of the one with the largest deviation in multiple fluctuation interval information is less than the preset number, all the error frames of the one with the largest deviation in the multiple fluctuation interval information and the error frames of the one with the largest deviation in the remaining fluctuation interval information are displayed, so that the number of error frames displayed meets the preset number.

[0135] In summary, the present application first obtains a data file and extracts the message information of the data file. Then, calculations are performed based on the message information to obtain the message period, message counter value, and cyclic redundancy check value of the message information, and the message period, message counter value, and cyclic redundancy check value are compared with the corresponding standard values ​​to obtain the corresponding first comparison result, second comparison result, and third comparison result. Finally, the data file is statistically analyzed based on the first comparison result, the second comparison result, and the third comparison result, respectively, to realize the automatic processing of basic communication data for intelligent driving. In this way, the present application covers the fully automatic basic communication inspection, classification, and statistics of message period, message counter value, and cyclic redundancy check, which improves the comprehensiveness of basic communication data inspection while ensuring processing flexibility.

[0136] In addition, as another implementation method, regarding how to realize human-computer interaction, the above-mentioned automatic processing device of basic communication data of intelligent driving also includes: a front-end display layer and a data processing module.

[0137] Figure 3 This is an architecture diagram of a software platform provided by this application. Figure 3As shown, the automatic processing device for basic communication data of intelligent driving includes a front end and a back end, namely a front end display layer and a data processing module. The front end is used to provide a visual interface to realize human-computer interaction. Specifically, the front end and the back end interact through an API interface, wherein the front end includes: an overview interface for uploading data files and / or ARXML files, and displaying the aggregated processed information; a cycle result interface for displaying the ARXML parsing tree diagram and the message cycle check results, and in addition, the page after filtering the error signal can be switched to display the information of the inspection result statistics, wherein the displayed content is divided into columns by bus type, protocol data unit name, channel sequence number, CAN ID, message standard cycle, message quantity and inspection result statistics, etc., and the inspection result statistics can be set to include the data proportion with a volatility within 10%, the data proportion of 10%-20%, the data proportion of 20%-30%, and the data proportion of more than 30%; a verification result interface for displaying the ARXML parsing tree diagram and the RC (message counter) and CRC (cyclic redundancy check) value verification results, and in addition, the ARXML parsing tree diagram and the RC value and CRC value verification results can be displayed, wherein the displayed content is divided into columns by bus type, protocol data unit name, channel sequence number, CAN ID, message standard period, message quantity and inspection result statistics, etc. The inspection result statistics can be set to include the number of error frames and error rate of RC value and CRC value; the result report export interface is used to generate and export the analysis results. The back end is a data processing module, which includes a channel matching module (the above-mentioned receiving module), an information extraction module, a calculation module (the above-mentioned first calculation module and the second calculation module) and an analysis and statistics module, so as to realize the above-mentioned receiving and collecting data files (BLF files); decompressing and extracting the message header information and message information of the data file; calculating the message period, RC value and CRC value of the message information, and comparing the calculation result with the standard value; counting and analyzing the comparison results of the message period RC value and CRC value, etc.

[0138] Figure 4 This is a flow chart of a method for automatically processing basic communication data for intelligent driving provided in this application. Figure 4As shown, the user opens the platform interface to import the data packet, wherein the data packet includes the original file or BLF file recorded on the actual vehicle, selects the ARXML file and checks the CAN BUS included in the data. The automatic processing device for basic communication data of intelligent driving is used to realize the functions of calculation, analysis, statistics and display. Specifically, the automatic processing device for basic communication data of intelligent driving first performs automatic parsing of data packets, automatic parsing of ARXML, and automatic reading of checked information. Then, the automatic check of the message period of the data file, the automatic check of the message counter value and the cyclic redundancy check value are completed at the back end. Finally, the attributes of the protocol data unit are counted and analyzed, linked with the user interaction, and switched by buttons to display all protocol data units or check the wrong protocol data units. Figure 5 A schematic diagram of a front-end interactive interface provided by this application. Figure 5 As shown, the user can perform human-computer interaction through the front-end interactive interface to realize the functions of uploading data files, uploading ARXML files or selecting historical ARXML files, and control the automatic processing device of intelligent driving basic communication data to perform calculations through the calculation button. Figure 6 A schematic diagram of a message cycle check result display provided by this application. Figure 6 As shown in the figure, the message cycle check results are classified and displayed according to the fluctuation size, and the display interface includes bus, name, channel, etc. Users can click to display the specific deviation time, deviation time difference and deviation fluctuation size of the abnormal fluctuation signal. Figure 7 A schematic diagram of a message counter value and a cyclic redundancy check value check result display provided by the present application. Figure 7 As shown, the inspection results of the message counter value and the cyclic redundancy check value are classified according to whether they are correct or not, and the display interface also includes the bus, name, channel, etc. The user can display the time when the signal error occurred, the standard value and actual value of the message counter value or the cyclic redundancy check value by clicking. After the front end receives the statistical results from the back end, the signal containing the error information is stored separately, and a link is provided for each data, so that the user can accurately locate and view the problem data in detail. Through this device, the classified inspection result information of the communication data file can be automatically presented, without different processing for different inspection contents, which is convenient and fast, and greatly improves the efficiency of communication data inspection.

[0139] In this way, the present application covers fully automatic basic communication inspection, classification and statistics of message periods, message counter values ​​and cyclic redundancy check values, thereby improving the comprehensiveness of basic communication data inspection while ensuring processing flexibility.

[0140] In addition, the present application also provides an automatic processing device for basic communication data of intelligent driving, including: a memory for storing a computer program; a processor for implementing the steps of the automatic processing method of basic communication data of intelligent driving as described in any of the above items when executing the computer program.

[0141] In addition, the present application also provides a readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the method for automatically processing basic communication data for intelligent driving as described in any of the above items are implemented.

[0142] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A method for automatically processing basic communication data of intelligent driving, characterized in that: The method comprises: Get the data file; Parsing the data file and extracting the message information of the data file to obtain the message period, message counter value and actual value of cyclic redundancy check value of the message; Parse a common configuration file and extract message information of the common configuration file, obtain a standard value of a message period of the message, and calculate a standard value of a message counter value and a standard value of a cyclic redundancy check value; Comparing the actual values ​​of the message period, the message counter value, and the cyclic redundancy check value with the corresponding standard values ​​of the message period, the message counter value, and the cyclic redundancy check value, respectively, to obtain corresponding first comparison results, second comparison results, and third comparison results; The data file is statistically analyzed based on the first comparison result, the second comparison result and the third comparison result, and the message period deviation information of the data file and the message counter value of the data file and the correctness information of the cyclic redundancy check value are output.

2. The method according to claim 1, characterized in that The actual values ​​of the message period, the message counter value, and the cyclic redundancy check value are compared with the corresponding standard values ​​of the message period, the message counter value, and the cyclic redundancy check value, respectively, to obtain corresponding first comparison results, second comparison results, and third comparison results, including: Comparing the actual value of the message period with the standard value of the message period to obtain a first comparison result; The first comparison result includes: a data deviation rate after comparing the actual value of the message period with the standard value of the message period; Comparing the actual value of the message counter value with the standard value of the message counter value to obtain a second comparison result; The second comparison result includes: the message counter value is correct and the message counter value is wrong; Comparing the actual value of the cyclic redundancy check value with the standard value of the cyclic redundancy check value to obtain a third comparison result; The third comparison result includes: the cyclic redundancy check value is correct and the cyclic redundancy check value is wrong.

3. The method according to claim 2, characterized in that The performing statistics and analysis on the data file based on the first comparison result, the second comparison result and the third comparison result respectively includes: Based on the data deviation rate between the actual value of the message period and the standard value of the message period, the data files are classified and counted by signal according to the preset fluctuation threshold, and the deviation occurrence time, deviation time difference and deviation fluctuation size of the abnormal fluctuation signal are analyzed; Classifying and counting the data file by signal according to whether the message counter value is correct or wrong, and analyzing the time when the error occurs, the standard value of the message counter value, and the actual value of the message counter value; The data files are classified and counted by signal according to whether the cyclic redundancy check value is correct or wrong, and the time when the error occurs, the standard value of the cyclic redundancy check value and the actual value of the cyclic redundancy check value are analyzed.

4. The method according to claim 3, characterized in that The outputting of the message period deviation information of the data file and the message counter value of the data file and the correctness information of the cyclic redundancy check value includes: recording the message period deviation information according to the bus type, CAN ID, protocol data unit name, channel sequence number and the standard value of the message period, the output message period deviation information includes a plurality of fluctuation interval information, each of the fluctuation interval information includes the fluctuation size, the total number of messages, the number of error frames and the error rate; The correctness and error information of the message counter value and the cyclic redundancy check value are recorded according to the bus type, CAN ID, protocol data unit name, channel sequence number and the standard value of the message period, and the output correctness and error information of the message counter value and the cyclic redundancy check value include the total number of messages, the number of error frames and the error rate.

5. The method according to claim 4, characterized in that The method further comprises: A preset number of message period deviation information are sorted according to the fluctuation size. When the error frames of one of the multiple fluctuation interval information with the largest deviation meets the preset number, only the error frames of the one of the multiple fluctuation interval information with the largest deviation are displayed. When the error frames of one of the multiple fluctuation interval information with the largest deviation are less than the preset number, all error frames of the one of the multiple fluctuation interval information with the largest deviation and the error frames of the one of the remaining fluctuation interval information are displayed, so that the number of error frames displayed meets the preset number.

6. An automatic processing device for basic communication data of intelligent driving, characterized in that: include: A receiving module, used for obtaining data files; An information extraction module, used to parse the data file and extract the message information of the data file, and obtain the actual value of the message period, message counter value and cyclic redundancy check value of the message; A first calculation module, used for parsing a common configuration file and extracting message information of the common configuration file, obtaining a standard value of a message period of the message, and calculating a standard value of a message counter value and a standard value of a cyclic redundancy check value; A second calculation module is used to compare the actual values ​​of the message period, the message counter value and the cyclic redundancy check value with the corresponding standard values ​​of the message period, the message counter value and the cyclic redundancy check value, respectively, to obtain corresponding first comparison results, second comparison results and third comparison results; An analysis and statistics module is used to perform statistics and analysis on the data file based on the first comparison result, the second comparison result and the third comparison result, and output the message period deviation information of the data file and the message counter value of the data file and the correctness information of the cyclic redundancy check value.

7. The automatic processing device for intelligent driving basic communication data according to claim 6 is characterized in that: The first comparison result includes: the data deviation rate after comparing the actual value of the message period with the standard value of the message period, the second comparison result includes: the message counter value is correct and the message counter value is wrong, and the third comparison result includes: the cyclic redundancy check value is correct and the cyclic redundancy check value is wrong.

8. The automatic processing device for intelligent driving basic communication data according to claim 7, characterized in that: The analysis and statistics module is specifically used for: Based on the data deviation rate between the actual value of the message period and the standard value of the message period, the data files are classified and counted by signal according to the preset fluctuation threshold, and the deviation occurrence time, deviation time difference and deviation fluctuation size of the abnormal fluctuation signal are analyzed; Classifying and counting the data file by signal according to whether the message counter value is correct or wrong, and analyzing the time when the error occurs, the standard value of the message counter value, and the actual value of the message counter value; The data files are classified and counted by signal according to whether the cyclic redundancy check value is correct or wrong, and the time when the error occurs, the standard value of the cyclic redundancy check value and the actual value of the cyclic redundancy check value are analyzed.

9. An automatic processing device for basic communication data of intelligent driving, characterized in that: include: Memory for storing computer programs; A processor is used to implement the steps of the method for automatically processing basic communication data for intelligent driving as described in any one of claims 1 to 5 when executing the computer program.

10. A readable storage medium, characterized in that: The readable storage medium stores a computer program, which, when executed by a processor, implements the steps of the method for automatically processing basic communication data for intelligent driving as described in any one of claims 1 to 5.

Citation Information

Patent Citations

  • End-to-end protection test device between electronic control units and test method

    CN113064047A

  • Intrusion detection method and device based on automatic driving and electronic equipment

    CN115348091A

  • Network communication test method, device and equipment and readable storage medium

    CN115914028A

  • Avionic data validation system

    EP2375333A2