CN114416493A - A kind of vehicle software running abnormal detection method - Google Patents

A kind of vehicle software running abnormal detection method Download PDF

Info

Publication number
CN114416493A
CN114416493A CN202210114636.3A CN202210114636A CN114416493A CN 114416493 A CN114416493 A CN 114416493A CN 202210114636 A CN202210114636 A CN 202210114636A CN 114416493 A CN114416493 A CN 114416493A
Authority
CN
China
Prior art keywords
input
model
cpu occupancy
detection method
perception fusion
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.)
Granted
Application number
CN202210114636.3A
Other languages
Chinese (zh)
Other versions
CN114416493B (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.)
Chongqing Changan Automobile Co Ltd
Original Assignee
Chongqing Changan Automobile 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 Chongqing Changan Automobile Co Ltd filed Critical Chongqing Changan Automobile Co Ltd
Priority to CN202210114636.3A priority Critical patent/CN114416493B/en
Publication of CN114416493A publication Critical patent/CN114416493A/en
Application granted granted Critical
Publication of CN114416493B publication Critical patent/CN114416493B/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/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/302Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a software system
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/3024Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a central processing unit [CPU]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3055Monitoring arrangements for monitoring the status of the computing system or of the computing system component, e.g. monitoring if the computing system is on, off, available, not available
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3065Monitoring arrangements determined by the means or processing involved in reporting the monitored data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/32Monitoring with visual or acoustical indication of the functioning of the machine
    • G06F11/324Display of status information
    • G06F11/327Alarm or error message display
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02TCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
    • Y02T10/00Road transport of goods or passengers
    • Y02T10/10Internal combustion engine [ICE] based vehicles
    • Y02T10/40Engine management systems

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Mathematical Physics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a vehicle software operation abnormity detection method, which mainly comprises the following three steps: determining input and detection indexes of a software module, establishing a prediction model for the input and detection indexes through an AI training model, and comparing the detection indexes in the software operation process; according to the input data of the perception fusion program CPU and the CPU occupancy rate of the perception fusion corresponding moment, the relation between the CPU occupancy rate and the input data of the perception fusion program is analyzed, the CPU occupancy rate is finally predicted by using the input data of the perception fusion program, and if the deviation between the actual operation output of the program and the result of the model prediction output is overlarge, the operation is judged to be abnormal.

Description

一种车辆软件运行异常检测方法A kind of vehicle software running abnormal detection method

技术领域technical field

本发明属于对汽车软件或者软件模块运行情况进行检测技术领域,具体涉及车辆软件运行异常检测方法。The invention belongs to the technical field of detecting the running conditions of automobile software or software modules, in particular to a method for detecting abnormal running of vehicle software.

背景技术Background technique

在车辆自动驾驶领域,对软件或者软件模块运行情况,如cpu占用率、堆栈使用率、关键输出变量等指标进行实时监测,并判断是否处于异常运行,具有非常重要的作用,能预防车辆因软件运行异常引起的车辆行驶异常,很大程度上提高车辆运行的安全性。In the field of automatic driving of vehicles, it is very important to monitor the operation of software or software modules, such as cpu occupancy rate, stack usage rate, key output variables and other indicators in real time, and determine whether it is in abnormal operation. The abnormal driving of the vehicle caused by the abnormal operation greatly improves the safety of the vehicle operation.

现有技术中,如CN113176771A 公开的名称为“车辆域控器运行状态监控方法”的专利申请中,公开的监控方法,包括监控有关重要事件和异常事件的发生,并将事件发生时间和事件信息通过日志的形式缓存到内存中。通过将微控制器单元和微处理器单元作为域控制器的核心芯片,利用微控制器单元处理对于实时性能和/或安全性能有预定要求的软件功能,利用微处理器单元处理对于计算性能和/或通讯性能有预定要求的软件功能,基于微控制器单元和微处理器单元的合理分配和冗余备份,使车用域控制器兼顾实时性、安全性能、计算性能和通讯性能,满足车辆网络管理中不同软件功能对于各个性能的需求,有效提高了车辆的体验效果。In the prior art, such as the patent application titled "Monitoring Method of Vehicle Domain Controller Operating Status" disclosed in CN113176771A, the disclosed monitoring method includes monitoring the occurrence of relevant important events and abnormal events, and comparing the occurrence time of the event and the event information. Cached in memory in the form of a log. By using the microcontroller unit and the microprocessor unit as the core chips of the domain controller, the microcontroller unit is used to process software functions that have predetermined requirements for real-time performance and/or security performance, and the / or software functions with predetermined requirements for communication performance, based on the reasonable allocation and redundant backup of the microcontroller unit and the microprocessor unit, so that the vehicle domain controller can take into account real-time performance, safety performance, computing performance and communication performance to meet the needs of vehicles The performance requirements of different software functions in network management effectively improve the experience of the vehicle.

但是以上描述多是对域控器整体运行情况进行监控记录,并不是对某个单一软件或者软件模块进行检测,无法针对于某个软件或软件模块的功能是否异常运行进行判断,更多的是一种异常事件日志管理,且对异常事件的定义较为模糊;其不能通过大数据的分析方法判断某个软件或软件模块在某一时刻是否处于异常运行状态,也就不能预防因软件或软件模块运行异常引起的车辆行驶异常,不能及时发现或消除因软件运行异常存在的安全风险。However, the above descriptions mostly monitor and record the overall operation of the domain controller, not to detect a single software or software module, and it is impossible to judge whether the function of a software or software module is running abnormally. An abnormal event log management, and the definition of abnormal events is relatively vague; it cannot judge whether a certain software or software module is in an abnormal operation state at a certain time through the analysis method of big data, and it cannot prevent the occurrence of software or software modules. The abnormal driving of the vehicle caused by the abnormal operation cannot be found or eliminated in time due to the abnormal operation of the software.

发明内容SUMMARY OF THE INVENTION

针对现有技术存在的上述不足,本发明的目的是提供一种车辆软件运行异常检测方法,以通过大数据的分析方法判断某个软件或软件模块在某一时刻是否处于异常运行状态,及时发现因软件或软件模块运行异常引起的车辆行驶异常,进而能及时发现或消除因软件运行异常存在的安全风险。In view of the above-mentioned deficiencies in the prior art, the purpose of the present invention is to provide a method for detecting abnormal operation of vehicle software, so as to judge whether a certain software or software module is in an abnormal operation state at a certain moment through the analysis method of big data, and find out in time The abnormal running of the vehicle caused by the abnormal operation of the software or software module can detect or eliminate the security risks existing due to the abnormal operation of the software in time.

本发明的技术方案是这样实现的:The technical scheme of the present invention is realized as follows:

一种车辆软件运行异常检测方法,其特征在于包括如下步骤:A method for detecting abnormal operation of vehicle software, which is characterized by comprising the following steps:

1)从blf文件中,解析出感知融合程序的输入数据和cpu占用率;1) From the blf file, parse out the input data and CPU usage of the perception fusion program;

2)对感知融合程序的输入数据进行筛选,找出CPU占用率输出时刻对应的所有感知融合程序的输入值;2) Screen the input data of the perceptual fusion program, and find out the input values of all the perceptual fusion programs corresponding to the CPU occupancy output moment;

3)通过分类的方法,预测所有情况下的感知融合程序的输入数据对应3) Through the method of classification, predict the input data correspondence of the perceptual fusion program in all cases

的每一项CPU占用率;The CPU usage of each item;

4)将感知融合程序的输入数据作为特征变量,首先对特征变量进行标准化;目前4) Take the input data of the perceptual fusion program as the feature variable, first standardize the feature variable;

5)对CPU输入项进行正则化,以去除对CPU占用率影响较小的项;5) Regularize CPU input items to remove items that have less impact on CPU usage;

6)利用CPU输入项作为特征变量,将这些特征变量二维化,转换为图片,将图片格式的数据输入到场景预测模型MobileNet中,对模型进行训练,当模型最终开始收敛时视为一次训练完成;不断的向模型中输入图片格式的数据,对模型进行优化,直到最终的模型分类准确率达到设定指标N,终止模型训练;6) Using the CPU input items as feature variables, convert these feature variables into two dimensions, convert them into pictures, input the data in the picture format into the scene prediction model MobileNet, and train the model. When the model finally begins to converge, it is regarded as a training session. Complete; continuously input data in image format into the model, optimize the model, until the final model classification accuracy reaches the set index N, and terminate the model training;

7)模型验证阶段,程序与模型同时运行,将感知融合程序的输入与场景预测模型输入一致,若场景预测模型与实际控制器发出的cpu占用率相差高于设定值M时,则判定异常。这样,本发明通过大数据的分析方法判断某个软件或软件模块在某一时刻是否处于异常运行状态,及时发现因软件或软件模块运行异常引起的车辆行驶异常,进而能及时发现或消除因软件运行异常存在的安全风险。7) In the model verification stage, the program and the model run at the same time, and the input of the perception fusion program is consistent with the input of the scene prediction model. If the difference between the cpu occupancy rate sent by the scene prediction model and the actual controller is higher than the set value M, it is abnormal. . In this way, the present invention judges whether a certain software or software module is in an abnormal operating state at a certain moment through the analysis method of big data, timely finds the abnormal running of the vehicle caused by the abnormal operation of the software or software module, and then can timely find or eliminate the abnormal operation of the software or software module. The security risk of abnormal operation.

进一步的:步骤3)所述的分类方法,设置参数d为CPU占用率的间隔,将CPU占用率人工分为100/d个种类,利用感知融合程序的输入项作为特征,将对应输出的输入数据分类到对应的CPU占用率种类中,根据分类效果逐渐减小参数d,直至将参数d降为1,就可以通过分类的方法,将输出项对应的感知融合程序的输入项分类到每1%的CPU占用率中,即可以预测所有情况下的感知融合程序的输入数据对应的每一项CPU占用率,通过分类的方法实现了对CPU占用率的预测。这样,由于本发明的CPU占用率与程序输入项之间为间接关联,用一般的回归方法做并不能取得较好效果,需要将回归问题转换为分类问题,通过分类的方法实现了对CPU占用率的预测。Further: in the classification method described in step 3), the parameter d is set as the interval of the CPU occupancy rate, the CPU occupancy rate is manually divided into 100/d categories, and the input items of the perceptual fusion program are used as features, and the corresponding output input The data is classified into the corresponding CPU occupancy categories, and the parameter d is gradually reduced according to the classification effect until the parameter d is reduced to 1, and the input items of the perceptual fusion program corresponding to the output items can be classified to every 1 by the classification method. % of the CPU occupancy rate, that is, each CPU occupancy rate corresponding to the input data of the perceptual fusion program in all cases can be predicted, and the CPU occupancy rate is predicted by the method of classification. In this way, since the CPU occupancy rate of the present invention and the program input items are indirectly related, the general regression method cannot achieve good results, and the regression problem needs to be converted into a classification problem. rate forecast.

进一步的:步骤4)所述的对特征变量进行标准化,是标准特征缩放或最大最小值特征缩放。Further: the standardization of feature variables described in step 4) is standard feature scaling or maximum and minimum feature scaling.

进一步的:步骤6)所述的N为90%。这个数据N根据具体情况了设定,便于根据不同的模型进行调整。Further: the N described in step 6) is 90%. This data N is set according to the specific situation, which is convenient for adjustment according to different models.

进一步的:步骤7)所述的M为10%。这个数据M根据具体情况了设定,便于根据不同的模型进行调整。Further: the M described in step 7) is 10%. This data M is set according to the specific situation, which is convenient for adjustment according to different models.

进一步的:将判定异常的结果保存或者输出显示到车机端。便于后续的回放或监控。Further: save or output and display the abnormal result to the vehicle end. It is convenient for subsequent playback or monitoring.

进一步的:所述的场景预测模型采用MobileNET轻量型分类网络。Further: the scene prediction model adopts MobileNET lightweight classification network.

进一步的:感知融合程序的输入数据来源为传感器数据,至少包括目标数据、车道线数据。Further: the input data source of the perception fusion program is sensor data, including at least target data and lane line data.

总之,本发明具有如下有益效果:In a word, the present invention has the following beneficial effects:

1、通过大数据的分析方法判断某个软件或软件模块在某一时刻是否处于异常运行状态,及时发现因软件或软件模块运行异常引起的车辆行驶异常,进而能及时发现或消除因软件运行异常存在的安全风险。1. Judging whether a certain software or software module is in an abnormal operation state at a certain time through the analysis method of big data, timely discovering the abnormal operation of the vehicle caused by the abnormal operation of the software or software module, and then timely discovering or eliminating the abnormal operation of the software. security risks exist.

2、本发明能够指导开发人员定位问题原因,能够起到软件异常运行警告等功能。2. The present invention can guide developers to locate the cause of the problem, and can play functions such as warning of abnormal operation of the software.

附图说明Description of drawings

图1为本实施例的处理流程图;Fig. 1 is the processing flow chart of this embodiment;

图2为本实施例的预测模型系统流程图;Fig. 2 is the flow chart of the prediction model system of the present embodiment;

图3为本实施例中验证流程图。FIG. 3 is a flow chart of verification in this embodiment.

具体实施方式Detailed ways

以下结合附图对本发明的具体实施方案做详细描述。The specific embodiments of the present invention will be described in detail below with reference to the accompanying drawings.

本发明所述的异常:本发明通过场景模拟的方式来对异常进行界定,而不是单纯的给一个标准,超出或下降到某一标准即判为异常。一个软件功能模块(这里我们以L3项目中运行在MPU的感知模块进行说明)对于不同的输入就是不同的场景,不同的场景对应不同的指标,该指标可能是该输入或者说该场景下的cpu占用率或者某条车道线的长度、曲率等特征;如果在相似场景下若检测指标偏差过大就说明软件运行异常。Abnormalities described in the present invention: The present invention defines anomalies by means of scenario simulation, rather than simply giving a standard, and it is judged as abnormal if it exceeds or falls below a certain standard. A software function module (here we describe the perception module running on the MPU in the L3 project) for different inputs are different scenarios, different scenarios correspond to different indicators, the indicator may be the input or the cpu in the scenario Occupancy rate or the length, curvature and other characteristics of a certain lane line; if the detection index deviation is too large in similar scenarios, it means that the software is running abnormally.

预测模型:预测模型采用MobileNET轻量型分类网络,本发明以L3的感知融合程序为例,感知融合程序的输入来源为传感器数据,至少包括目标数据、车道线数据;检测目标则为该感知融合程序在控制器中mpu端的cpu占用率。本发明选定cpu占用率这个参数作为检测的指标。Prediction model: The prediction model adopts the MobileNET lightweight classification network. The present invention takes the L3 perception fusion program as an example. The input source of the perception fusion program is sensor data, including at least target data and lane line data; the detection target is the perception fusion. The CPU usage of the program on the mpu side of the controller. The present invention selects the parameter of cpu occupancy rate as the detection index.

参见图1—3所示,本发明一种车辆软件运行异常检测方法,其步骤如下:Referring to Figures 1-3, a method for detecting abnormal operation of vehicle software according to the present invention, the steps are as follows:

1.从blf文件中(blf是binary logging format 的简称,即二进制数据文件,是由车上数据采集设备存储数据报文的一种格式。在这里解析的blf文件就是包含车上控制器运行时的相关数据),也就是can报文和以太网中间变量中,解析出感知融合程序的输入数据和检测指标,即cpu占用率;1. From the blf file (blf is the abbreviation of binary logging format, that is, binary data file, which is a format in which data packets are stored by the on-board data acquisition device. The blf file parsed here contains the on-board controller runtime. The relevant data), that is, the can message and the Ethernet intermediate variables, parse out the input data and detection indicators of the perception fusion program, that is, the cpu occupancy rate;

2.对感知融合程序的输入数据进行筛选,找出CPU占用率输出时刻对应的所有感知融合程序的输入值;2. Screen the input data of the perceptual fusion program, and find out the input values of all the perceptual fusion programs corresponding to the CPU occupancy output moment;

3. 通过分类的方法,预测所有情况下的感知融合程序的输入数据对应的每一项CPU占用率;在传统回归预测问题中,一般视被解释量为可预测值,但在该项目中,CPU占用率与程序输入项之间的关联性并不直接,或者说为间接关联,因此,用一般的回归方法做并不能取得较好效果。为了解决问题,需要将回归问题转换为分类问题,设置参数d为CPU占用率的间隔,将CPU占用率人工分为100/d个种类,利用感知融合程序的输入项作为特征,将对应输出的输入数据分类到对应的CPU占用率种类中,根据分类效果逐渐减小参数d,如果分类效果理想,最终可将d参数降为1,那么就可以通过分类的方法,将输出项对应的感知融合程序的输入项分类到每1%的CPU占用率中,即可以预测所有情况下的感知融合程序的输入数据对应的每一项CPU占用率,通过分类的方法实现了对CPU占用率的预测。3. Through the classification method, predict the CPU occupancy rate of each item corresponding to the input data of the perceptual fusion program in all cases; in the traditional regression prediction problem, the interpreted amount is generally regarded as a predictable value, but in this project, The correlation between CPU occupancy and program input items is not direct, or indirect correlation, therefore, the general regression method cannot achieve good results. In order to solve the problem, it is necessary to convert the regression problem into a classification problem, set the parameter d as the interval of CPU occupancy, manually divide the CPU occupancy into 100/d categories, and use the input items of the perceptual fusion program as features to convert the corresponding output The input data is classified into the corresponding CPU usage categories, and the parameter d is gradually reduced according to the classification effect. If the classification effect is ideal, the d parameter can be reduced to 1 in the end, then the perception fusion corresponding to the output item can be achieved by the classification method. The input items of the program are classified into every 1% of the CPU occupancy rate, that is, each CPU occupancy rate corresponding to the input data of the perceptual fusion program in all cases can be predicted, and the CPU occupancy rate is predicted by the classification method.

4.将感知融合程序的输入数据作为特征变量,首先对特征变量进行标准化;目前通用方案是标准特征缩放或最大最小值特征缩放。4. Taking the input data of the perceptual fusion program as the feature variable, first standardize the feature variable; the current general scheme is standard feature scaling or maximum and minimum feature scaling.

5. 对CPU输入项进行正则化,去除对CPU占用率影响较小的项;因为CPU输入项众多,因此需要对CPU输入项进行正则化,去除对CPU占用率影响较小的项。5. Regularize the CPU input items and remove the items that have less impact on the CPU usage; because there are many CPU input items, it is necessary to regularize the CPU input items and remove the items that have less impact on the CPU usage.

6.利用CPU输入项作为特征变量,将这些特征变量二维化,转换为图片,将图片格式的数据输入到场景预测模型(一个现有技术的常用模型,因为输入的数据是场景相关的特征变量,所以命名为场景预测模型)MobileNet中,对模型进行训练,当模型最终开始收敛时视为一次训练完成。不断的向模型中输入数据,对模型进行优化,直到最终的模型分类准确率达到设定指标N,如90%或 以上,终止模型训练。6. Using the CPU input items as feature variables, convert these feature variables into two dimensions, convert them into pictures, and input the data in the picture format into the scene prediction model (a common model in the prior art, because the input data is a scene-related feature) variable, so it is named scene prediction model) In MobileNet, the model is trained, and when the model finally begins to converge, it is regarded as a training completion. Continuously input data into the model and optimize the model until the final model classification accuracy reaches the set index N, such as 90% or above, and terminate the model training.

7. 场景预测模型验证阶段,程序与模型同时运行,将感知融合程序的输入与场景预测模型输入一致,若预测模型与实际控制器发出的cpu占用率相差高于设定值M,如设定为10%、12%等,则判定异常。将判定异常的结果保存或者输出显示到车机端,提供给开发人员定位问题。7. In the verification stage of the scene prediction model, the program and the model run at the same time, and the input of the perception fusion program is consistent with the input of the scene prediction model. If it is 10%, 12%, etc., it is judged to be abnormal. Save or output the result of the abnormal judgment to the vehicle end, and provide it to the developer to locate the problem.

本发明提供的一种软件运行异常检测方法,就是基于大数据的软件异常检测方法;概括为主要的三个步骤:确定软件模块的输入和检测指标、通过AI训练模型将输入和检测指标建立预测模型、软件运行过程中检测指标的对比。A method for detecting abnormality in software operation provided by the present invention is a method for detecting abnormality in software based on big data; it is summarized into three main steps: determining the input and detection indicators of software modules, and establishing predictions from the input and detection indicators through an AI training model Comparison of detection indicators during model and software operation.

本发明,根据感知融合程序CPU的输入数据与感知融合对应时刻的CPU占用率,分析CPU占用率与感知融合程序的输入数据之间的关系,最终利用感知融合程序的输入数据对其CPU占用率进行预测,若程序实际运行输出与模型预测输出的结果偏差过大即可判为运行异常。The present invention analyzes the relationship between the CPU occupancy rate and the input data of the perceptual fusion program according to the input data of the perceptual fusion program CPU and the CPU occupancy rate at the corresponding moment of the perceptual fusion program, and finally uses the input data of the perceptual fusion program to its CPU occupancy rate Prediction, if the deviation between the actual operation output of the program and the predicted output of the model is too large, it can be judged that the operation is abnormal.

最后需要说明的是,本发明的上述实例仅仅是为说明本发明所作的举例,而并非是对本发明的实施方式的限定。尽管申请人参照较佳实施例对本发明进行了详细说明,对于所属领域的普通技术人员来说,在上述说明的基础上还可以做出其他不同形式的变化和变动。这里无法对所有的实施方式予以穷举。凡是属于本发明的技术方案所引申出的显而易见的变化或变动仍处于本发明的保护范围之列。Finally, it should be noted that the above-mentioned examples of the present invention are merely examples for illustrating the present invention, and are not intended to limit the embodiments of the present invention. Although the applicant has described the present invention in detail with reference to the preferred embodiments, for those skilled in the art, other changes and modifications in various forms can be made on the basis of the above description. Not all implementations can be exhaustive here. Any obvious changes or changes derived from the technical solutions of the present invention are still within the protection scope of the present invention.

Claims (9)

1. A vehicle software operation abnormity detection method is characterized by comprising the following steps:
1) analyzing input data and cpu occupancy rate of the perception fusion program from the blf file;
2) screening input data of the perception fusion programs, and finding out input values of all perception fusion programs corresponding to the CPU occupancy rate output moment;
3) predicting input data correspondence of perception fusion program under all conditions by classification method
Each item of CPU occupancy;
4) taking input data of a perception fusion program as a characteristic variable, and firstly standardizing the characteristic variable;
5) regularizing the CPU input items to remove items with small influence on the CPU occupancy rate;
6) the CPU input items are used as characteristic variables, the characteristic variables are subjected to two-dimensional transformation and are converted into pictures, data in the picture format are input into a scene prediction model MobileNet, the model is trained, and one-time training is considered to be completed when the model finally starts to converge; continuously inputting data in a picture format into the model, optimizing the model until the final model classification accuracy reaches a set index N, and terminating model training;
7) and in the model verification stage, the program and the model run simultaneously, the input of the perception fusion program is consistent with the input of the scene prediction model, and if the difference between the scene prediction model and the cpu occupancy rate sent by the actual controller is higher than a set value M, the abnormality is judged.
2. The vehicle software operation abnormality detection method according to claim 1, characterized in that: the classification method in step 3) sets the parameter d as the interval of the CPU occupancy rates, manually classifies the CPU occupancy rates into 100/d categories, classifies the input data correspondingly output into the corresponding CPU occupancy rate categories by using the input items of the perception fusion program as features, gradually reduces the parameter d according to the classification effect until the parameter d is reduced to 1, classifies the input items of the perception fusion program corresponding to the output items into each 1% of the CPU occupancy rates by the classification method, namely, each CPU occupancy rate corresponding to the input data of the perception fusion program under all conditions can be predicted, and the prediction of the CPU occupancy rates is realized by the classification method.
3. The vehicle software operation abnormality detection method according to claim 1, characterized in that: the step 4) of normalizing the characteristic variables is standard characteristic scaling or maximum and minimum characteristic scaling.
4. A vehicle software operation abnormality detection method according to any one of claims 1 to 3, characterized in that: the N in the step 6) is 90 percent.
5. A vehicle software operation abnormality detection method according to any one of claims 1 to 3, characterized in that: m in the step 7) is 10 percent.
6. The vehicle software operation abnormality detection method according to claim 4, characterized in that: and storing or outputting and displaying the result of the abnormal judgment to the vehicle end.
7. The vehicle software operation abnormality detection method according to claim 5, characterized in that: and storing or outputting and displaying the result of the abnormal judgment to the vehicle end.
8. A vehicle software operation abnormality detection method according to any one of claims 1 to 3, characterized in that: the scene prediction model adopts a MobileNET lightweight classification network.
9. The vehicle software operation abnormality detection method according to claim 8, characterized in that: the input data source of the perception fusion program is sensor data, and at least comprises target data and lane line data.
CN202210114636.3A 2022-01-30 2022-01-30 A method for detecting abnormal operation of vehicle software Active CN114416493B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210114636.3A CN114416493B (en) 2022-01-30 2022-01-30 A method for detecting abnormal operation of vehicle software

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210114636.3A CN114416493B (en) 2022-01-30 2022-01-30 A method for detecting abnormal operation of vehicle software

Publications (2)

Publication Number Publication Date
CN114416493A true CN114416493A (en) 2022-04-29
CN114416493B CN114416493B (en) 2025-01-28

Family

ID=81279155

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210114636.3A Active CN114416493B (en) 2022-01-30 2022-01-30 A method for detecting abnormal operation of vehicle software

Country Status (1)

Country Link
CN (1) CN114416493B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190351899A1 (en) * 2018-05-16 2019-11-21 GM Global Technology Operations LLC Automated driving systems and control logic using sensor fusion for intelligent vehicle control
CN112486687A (en) * 2020-12-03 2021-03-12 重庆邮电大学 Cloud platform workload prediction method based on multitask learning time sequence
CN113887616A (en) * 2021-09-30 2022-01-04 海看网络科技(山东)股份有限公司 Real-time abnormity detection system and method for EPG (electronic program guide) connection number

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190351899A1 (en) * 2018-05-16 2019-11-21 GM Global Technology Operations LLC Automated driving systems and control logic using sensor fusion for intelligent vehicle control
CN112486687A (en) * 2020-12-03 2021-03-12 重庆邮电大学 Cloud platform workload prediction method based on multitask learning time sequence
CN113887616A (en) * 2021-09-30 2022-01-04 海看网络科技(山东)股份有限公司 Real-time abnormity detection system and method for EPG (electronic program guide) connection number

Also Published As

Publication number Publication date
CN114416493B (en) 2025-01-28

Similar Documents

Publication Publication Date Title
CN108444727A (en) Vehicular remote monitoring method, monitoring device and monitoring system
CN116953413B (en) Fault diagnosis system based on components and parts in cubical switchboard
CN114374565A (en) Intrusion detection method and device for vehicle CAN network, electronic equipment and medium
CA2775419C (en) Method, monitoring system and computer program product for monitoring the health of a monitored system utilizing an associative memory
CN113660137B (en) Vehicle-mounted network fault detection method and device, readable storage medium and electronic equipment
CN109003442B (en) Road delay time calculation and traffic jam situation determination method and system
WO2021217637A1 (en) Terminal policy configuration method and apparatus, and computer device and storage medium
CN118135507B (en) Tunnel traffic event processing system, method, medium and equipment
CN115291583A (en) A vehicle fault monitoring device, method, controller and medium
CN117851185A (en) A cloud database intelligent alarm method based on machine learning
CN115599077B (en) Vehicle fault delimiting method and device, electronic equipment and storage medium
CN114416493A (en) A kind of vehicle software running abnormal detection method
CN115114124A (en) Host risk assessment method and assessment device
CN117149569A (en) Board running state early warning method and device and electronic equipment
CN116932324A (en) Memory bank fault prediction method and device and electronic equipment
CN113554090B (en) A bank equipment failure early warning method and system based on machine learning
CN115729222A (en) Vehicle remote fault detection method, device, equipment and storage medium
CN115456394A (en) A business health monitoring method and system based on eBPF
CN115426636A (en) A networked vehicle fault prediction system and method based on gray correlation degree
CN118523970B (en) Network security situation awareness method and system
CN116136684B (en) Vehicle fault diagnosis method, device, electronic equipment and storage medium
CN117390069B (en) A business big data stream processing system, method and medium based on feature analysis
CN117194049B (en) Cloud host intelligent behavior analysis method and system based on machine learning algorithm
CN115701891B (en) Health monitoring method and system of automatic driving controller and vehicle
CN119989003A (en) Traffic service management big data comprehensive analysis and research system

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