Anomaly detection method, device, electronic equipment and storage medium for vehicle-mounted system
After initial abnormality detection and repair processing on the vehicle-mounted system, the data is updated again for detection, which solves the problems of poor detection effect and large calculation volume in the existing technology, improves detection efficiency and accuracy, and ensures the safety of the vehicle-mounted system.
Patent Information
- Application Number
- CN202210443874.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-25
- Publication Date
- 2025-04-29
- Estimated Expiration
- 2042-04-25
AI Technical Summary
When the prior art performs abnormal detection of vehicle-mounted systems, all vehicle-mounted functional modules are directly detected, resulting in poor detection effect, large calculation volume, low efficiency, and difficult to effectively ensure the safety of vehicle-mounted systems.
By obtaining the operating data of the on-board system, performing initial abnormality detection, determining the target on-board functional module for repair and processing, updating the operating data, and performing abnormality detection again to ensure the accuracy and efficiency of the detection.
It improves the efficiency and accuracy of abnormal detection of vehicle-mounted systems, reduces the detection range, reduces the calculation amount, and enhances the safety of vehicle-mounted systems.
Smart Images

Figure CN114859858B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of vehicle-mounted system control, and in particular to an abnormality detection method for a vehicle-mounted system. Background Art
[0002] With the rapid development of the Internet of Vehicles, the "Internet +" scenario applications based on in-vehicle smart terminals have become more and more extensive, and the various information security risks and threats faced by in-vehicle smart terminals have also increased significantly. In recent years, automotive network security incidents have occurred frequently. If hackers break through and maliciously exploit the vulnerabilities of these in-vehicle systems, it will not only lead to the leakage of personal data of car owners, but also may endanger the property and life safety of drivers and passengers. Therefore, it is extremely important to promptly detect abnormal problems in the in-vehicle system and evaluate the security status of the in-vehicle system.
[0003] In the prior art, when performing abnormality detection on a vehicle-mounted system, all vehicle-mounted functional modules in the vehicle-mounted system are directly tested for abnormalities, thereby discovering abnormal problems in the vehicle-mounted system and repairing them; and in order to ensure the safety of the vehicle-mounted system, all vehicle-mounted functional modules need to be tested for abnormalities again after the repairs. The above-mentioned method of directly performing abnormality detection on all vehicle-mounted functional modules often has a poor abnormality detection effect, and in the case of a relatively complex vehicle-mounted system, the scope of each detection is large, which will lead to a relatively complex detection process, a large amount of calculation, and a lot of repeated content in the detection results, low detection efficiency, and poor accuracy of the detection results, resulting in the difficulty in effectively ensuring the safety of the vehicle-mounted system. Summary of the invention
[0004] In view of the above problems in the prior art, the present invention discloses a method, device, electronic device and storage medium for detecting abnormalities in a vehicle-mounted system, so as to improve the efficiency and accuracy of abnormality detection in the vehicle-mounted system and effectively ensure the safety of the vehicle-mounted system. The technical solution disclosed in the present invention is as follows:
[0005] According to one aspect of the disclosed embodiment of the present invention, there is provided a method for detecting an abnormality of a vehicle system, comprising:
[0006] Obtaining the operating data of the vehicle system;
[0007] Based on the operation data, an abnormality detection is performed on the vehicle function module in the vehicle system to obtain an initial abnormality detection result, wherein the initial abnormality detection result represents the abnormality degree of the vehicle abnormal event corresponding to the vehicle function module;
[0008] Performing repair processing on a target vehicle-mounted functional module in the vehicle-mounted functional modules according to the initial abnormality detection result;
[0009] When the repair process is completed, updating the operation data;
[0010] Based on the updated operating data, an abnormality detection is performed on the target vehicle-mounted functional module to obtain a target abnormality detection result.
[0011] Optionally, performing abnormality detection on the vehicle function module in the vehicle system based on the operation data to obtain an initial abnormality detection result includes:
[0012] Performing event anomaly detection on at least one abnormal vehicle-borne event based on the operation data to obtain an event anomaly detection result, wherein the event anomaly detection result represents an abnormal degree of the at least one abnormal vehicle-borne event;
[0013] Based on the event abnormality detection result, module abnormality detection is performed on at least one vehicle-mounted functional module corresponding to each of the at least one vehicle-mounted abnormal events to obtain the initial abnormality detection result.
[0014] Optionally, performing event anomaly detection on at least one vehicle-borne abnormal event based on the operation data to obtain an event anomaly detection result includes:
[0015] Performing an event occurrence analysis on the at least one vehicle-borne abnormal event according to the operation data to obtain first occurrence indicator data of the at least one vehicle-borne abnormal event;
[0016] Determine first impact indicator data of the at least one vehicle-borne abnormal event on the operating data;
[0017] The event anomaly detection result is generated according to the first occurrence indicator data and the first impact indicator data.
[0018] Optionally, based on the event abnormality detection result, performing abnormality detection on at least one vehicle-mounted functional module corresponding to each of the at least one vehicle-mounted abnormal events to obtain the initial abnormality detection result includes:
[0019] Sorting the at least one abnormal vehicle event according to the abnormal event detection result to obtain sorting information of the at least one abnormal vehicle event;
[0020] Based on the sorting information and the test cases corresponding to the at least one vehicle-borne abnormal event, a module function test is performed on at least one vehicle-borne functional module corresponding to the vehicle-borne abnormal event to obtain a functional module test result; the vehicle-borne functional module corresponding to any vehicle-borne abnormal event includes a test case corresponding to any vehicle-borne abnormal event;
[0021] Based on the functional module test results, the initial anomaly detection results are generated.
[0022] Optionally, the function module test result is used to indicate that there is an abnormal vehicle-mounted function module in the vehicle-mounted system, and the generating the initial abnormality detection result based on the function module test result includes:
[0023] Based on the operation data, an event occurrence analysis is performed on the vehicle-borne abnormal event corresponding to the abnormal vehicle-borne function module to obtain second occurrence indicator data of the vehicle-borne abnormal event corresponding to the abnormal vehicle-borne function module;
[0024] Determine the vehicle-borne abnormal event corresponding to the abnormal vehicle-borne function module, and second impact indicator data on the operation data corresponding to the abnormal vehicle-borne function module;
[0025] The initial anomaly detection result is generated according to the second occurrence indicator data and the second impact indicator data.
[0026] Optionally, the repairing of a target vehicle-mounted function module in the vehicle-mounted function modules according to the initial abnormality detection result includes:
[0027] Determining the target vehicle-mounted functional module from the vehicle-mounted functional modules according to the initial abnormality detection result;
[0028] The target vehicle-mounted functional module is repaired.
[0029] Optionally, the abnormality detection method of the vehicle-mounted system further includes:
[0030] If the target abnormality detection result does not meet the preset condition, using the target abnormality detection result as the initial abnormality detection result;
[0031] Repeat the steps of repairing the target vehicle-mounted function module in the vehicle-mounted function module according to the initial abnormality detection result, performing abnormality detection on the target vehicle-mounted function module based on the updated operation data, obtaining a target abnormality detection result, and updating the target vehicle-mounted function module, until the target abnormality detection result meets the preset condition.
[0032] According to another aspect of the disclosed embodiment of the present invention, there is provided an abnormality detection device for a vehicle-mounted system, comprising:
[0033] A data acquisition module, used to acquire the operating data of the vehicle system;
[0034] A first abnormality detection module, configured to perform abnormality detection on an in-vehicle function module in the in-vehicle system based on the operation data to obtain an initial abnormality detection result, wherein the initial abnormality detection result represents an abnormality degree of an in-vehicle abnormal event corresponding to the in-vehicle function module;
[0035] A repair processing module, used for performing repair processing on a target vehicle-mounted functional module in the vehicle-mounted functional modules according to the initial abnormality detection result;
[0036] A data updating module, used for updating the operation data when the repair process is completed;
[0037] The second abnormality detection module is used to perform abnormality detection on the target vehicle-mounted functional module based on the updated operating data to obtain a target abnormality detection result.
[0038] According to another aspect of the disclosed embodiment of the present invention, there is provided an electronic device, comprising: a processor; and a memory for storing instructions executable by the processor; wherein the processor is configured to execute the instructions to implement an abnormality detection method for a vehicle-mounted system as described in any one of the above.
[0039] According to another aspect of the embodiments disclosed in the present invention, a computer-readable storage medium is provided. When the instructions in the storage medium are executed by a processor of an electronic device, the electronic device can execute the method for detecting an abnormality of a vehicle-mounted system as described in any one of the embodiments disclosed in the present invention.
[0040] According to another aspect of the embodiments disclosed in the present invention, there is provided a computer program product comprising instructions, which, when executed on a computer, enables the computer to execute the method for detecting an abnormality of a vehicle-mounted system as described in any one of the embodiments disclosed in the present invention.
[0041] The technical solution provided by the embodiments disclosed in the present invention brings at least the following beneficial effects:
[0042] After the repair process of the vehicle-mounted functional module is completed, the abnormality detection method of the vehicle-mounted system provided by the present invention continues to perform abnormality detection on the target vehicle-mounted functional module based on the updated operation data, thereby ensuring the accuracy of the abnormality detection of the vehicle-mounted system and the safety of the vehicle-mounted system. In addition, the scope of the abnormality detection is performed again for the vehicle-mounted functional module that has completed the repair process, and the scope of the abnormality detection is selected in a targeted manner, thereby reducing the amount of calculation in the detection process and improving the efficiency of the abnormality detection of the vehicle-mounted system.
[0043] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] The drawings herein are incorporated into and constitute a part of the specification, illustrate embodiments consistent with the disclosure of the present invention, and together with the description are used to explain the principles of the disclosure, and do not constitute improper limitations on the disclosure of the present invention.
[0045] Figure 1is a flow chart showing a method for detecting an abnormality of a vehicle-mounted system according to an exemplary embodiment;
[0046] Figure 2 is a flow chart showing a method for detecting abnormal vehicle-borne abnormal events according to an exemplary embodiment;
[0047] Figure 3 is a flow chart of a method for detecting an abnormality of a vehicle-mounted functional module according to an exemplary embodiment;
[0048] Figure 4 is a block diagram of an abnormality detection device for a vehicle-mounted system according to an exemplary embodiment;
[0049] Figure 5 is a block diagram of a terminal electronic device for abnormality detection of an in-vehicle system according to an exemplary embodiment;
[0050] Figure 6 The present invention is a block diagram of a server electronic device for abnormality detection of an in-vehicle system according to an exemplary embodiment. DETAILED DESCRIPTION
[0051] In order to enable ordinary persons in the art to better understand the technical solutions disclosed in the present invention, the technical solutions in the embodiments disclosed in the present invention will be clearly and completely described below in conjunction with the accompanying drawings.
[0052] It should be noted that the terms "first", "second", etc. in the specification and claims disclosed in the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention disclosed herein described can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Instead, they are merely examples of devices and methods consistent with some aspects of the present invention disclosed as detailed in the attached claims.
[0053] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for display, data for analysis, etc.) involved in the disclosure of the present invention are all information and data authorized by the user or fully authorized by all parties.
[0054] The present invention provides an abnormality detection method for a vehicle-mounted system, which can be applied to a vehicle-mounted terminal.
[0055] Figure 1 is a flow chart of a method for detecting an abnormality of a vehicle system according to an exemplary embodiment. Figure 1As shown, the abnormality detection method of the vehicle-mounted system is used in a vehicle-mounted terminal and includes the following steps.
[0056] S101: Acquire operating data of the vehicle-mounted system.
[0057] In a specific embodiment, the operation data of the vehicle-mounted system may be data related to the operation of the vehicle-mounted system. Specifically, the operation data of the vehicle-mounted system may include hardware information, software information, service information of the vehicle-mounted system, and interaction data between the vehicle-mounted system and an external device. Optionally, the hardware information of the vehicle-mounted system may include signal data of a remote control key, the software information of the vehicle-mounted system may include log information of a mobile terminal App, the service information of the vehicle-mounted system may include IP data of a remote service, and the interaction data between the vehicle-mounted system and an external device may include Bluetooth data transmitted between the vehicle-mounted system and the mobile device, but the present invention is not limited thereto.
[0058] S103: Based on the operation data, an abnormality detection is performed on the vehicle-mounted function module in the vehicle-mounted system to obtain an initial abnormality detection result, where the initial abnormality detection result represents the abnormality degree of the vehicle-mounted abnormal event corresponding to the vehicle-mounted function module.
[0059] In an embodiment of the present specification, the initial abnormality detection result can characterize the abnormality degree of the vehicle-borne abnormal event corresponding to the vehicle-borne functional module. Optionally, the initial abnormality detection result can be a numerical value characterizing the abnormality degree, or a character representation, such as high, medium, low, or a level value, such as 1, 2, 3.
[0060] In the embodiments of this specification, the vehicle-mounted functional module in the vehicle-mounted system may be a functional module that supports the operation of the vehicle-mounted system; optionally, the vehicle-mounted functional module may include a data security module, a system security module, an application security module, a TSP (Telematics Service Provider) platform security module, a code security module, a hardware security module, an autonomous driving security module, and an OTA (Over-the-Air Technology) security module, etc.
[0061] In a specific embodiment, the vehicle-mounted abnormal event may be an event that causes an abnormality in the vehicle-mounted functional module. Optionally, each vehicle-mounted functional module may correspond to at least one vehicle-mounted abnormal event. Specifically, the vehicle-mounted abnormal event may include a data leakage event, a data tampering event, an availability destruction event, an unauthorized access event, and an unauthorized access event.
[0062] In an optional embodiment, the above-mentioned performing abnormality detection on the vehicle-mounted functional module in the vehicle-mounted system based on the operation data to obtain the initial abnormality detection result may include:
[0063] Performing event anomaly detection on at least one abnormal vehicle-borne event based on the operation data to obtain an event anomaly detection result, wherein the event anomaly detection result represents an abnormal degree of the at least one abnormal vehicle-borne event;
[0064] Based on the event abnormality detection result, module abnormality detection is performed on at least one vehicle-mounted functional module corresponding to each of the at least one vehicle-mounted abnormal events to obtain the initial abnormality detection result.
[0065] In an embodiment of the present specification, the event anomaly detection result can characterize the abnormality degree of at least one of the vehicle-borne abnormal events. Specifically, the event anomaly detection result can be a numerical value characterizing the abnormality degree, or it can be a character representation, such as high, medium, low, or a level value, such as 1, 2, 3.
[0066] In the above embodiment, in the process of performing abnormality detection on the on-board functional module of the on-board system, abnormality detection is first performed in combination with the on-board abnormal event corresponding to the on-board functional module so as to understand the abnormal situation of the on-board functional module in advance, and then the on-board functional module is detected abnormally in combination with the event abnormality detection result, which can improve the accuracy and effectiveness of abnormality detection of the on-board functional module.
[0067] In an optional embodiment, if Figure 2 As shown, the above-mentioned event abnormality detection is performed on at least one vehicle-borne abnormal event based on the operation data, and the event abnormality detection result obtained may include:
[0068] S201: performing an event occurrence analysis on the at least one vehicle-borne abnormal event according to the operation data to obtain first occurrence indicator data of the at least one vehicle-borne abnormal event;
[0069] S203: Determine first impact indicator data of the at least one vehicle-borne abnormal event on the operating data;
[0070] S205: Generate the event anomaly detection result according to the first occurrence indicator data and the first impact indicator data.
[0071] In an embodiment of the present specification, the first occurrence indicator data represents the occurrence probability of at least one of the vehicle-borne abnormal events. Specifically, the first occurrence indicator data may be a numerical value representing the occurrence probability, or a character representation, such as high, medium, or low, or a level value, such as 1, 2, or 3.
[0072] In an embodiment of the present specification, the first impact indicator data characterizes the degree of impact of at least one vehicle-borne abnormal event on the operating data. Specifically, the first impact indicator data can be a numerical value characterizing the degree of impact, or a character representation, such as high, medium, low, or a level value, such as 1, 2, 3.
[0073] Specifically, the degree of influence of the at least one vehicle-borne abnormal event on the operating data may include the degree of influence of each vehicle-borne abnormal event on the corresponding operating data.
[0074] In a specific embodiment, a correspondence between the operating data corresponding to each vehicle-borne abnormal event and a plurality of preset occurrence indicator data under different value conditions can be established in advance. Accordingly, based on the correspondence and the operating data of the above-mentioned vehicle-borne system, the first occurrence indicator data of each vehicle-borne abnormal event can be determined.
[0075] In a specific embodiment, taking the first occurrence indicator data as a character representation of the occurrence probability, and the first occurrence indicator data being high representing a high probability of occurrence as an example, it can be determined that the first occurrence indicator data of at least one corresponding vehicle-borne abnormal event is medium based on the experience time in the operating data being 20 minutes, the professional knowledge being proficient, the opportunity window being easy, and the device being a customized device.
[0076] In a specific embodiment, the degree of influence of vehicle-borne abnormal events on operating data can be analyzed from multiple dimensions. Optionally, the above multiple dimensions may include security dimension, financial dimension, operational dimension, and privacy and regulatory dimension. For each dimension, the corresponding relationship between the corresponding operating data and a plurality of preset impact index data can be preset. Accordingly, the corresponding relationship and the operating data corresponding to the above vehicle-borne system can be combined to determine the target impact index data corresponding to each dimension. Then, the final impact level is determined by combining multiple target impact index data of multiple dimensions, i.e., the first impact index data (the degree of influence of vehicle-borne abnormal events on operating data).
[0077] Furthermore, the correspondence between the first occurrence indicator data of the vehicle-borne abnormal event, the first impact indicator data of the vehicle-borne abnormal event on the operation data and the event detection result can be set in advance. Accordingly, the corresponding event abnormality detection result can be determined in combination with the corresponding relationship and the above-mentioned first occurrence indicator data and the first impact indicator data.
[0078] In a specific embodiment, taking the first occurrence indicator data as a character representation of the occurrence probability, and the first occurrence indicator data being high represents a high probability of occurrence, and the first impact indicator data being a character representation of the impact degree, and the first impact indicator data being high represents a high impact degree as an example, based on the first occurrence indicator data being high and the first impact indicator data being high, it can be determined that the corresponding event anomaly detection result is high.
[0079] In an optional embodiment, if Figure 3 As shown, based on the event abnormality detection result, performing abnormality detection on at least one vehicle-mounted functional module corresponding to each of the at least one vehicle-mounted abnormal events, obtaining the initial abnormality detection result may include:
[0080] S301: Sort the at least one abnormal vehicle event according to the abnormal event detection result to obtain sorting information of the at least one abnormal vehicle event;
[0081] S303: Based on the sorting information and the test cases corresponding to the at least one vehicle-borne abnormal event, perform a module function test on at least one vehicle-borne functional module corresponding to the vehicle-borne abnormal event to obtain a functional module test result; the vehicle-borne functional module corresponding to any vehicle-borne abnormal event includes the test cases corresponding to any vehicle-borne abnormal event;
[0082] S305: Generate the initial abnormality detection result based on the functional module test result.
[0083] In a specific embodiment, at least one abnormal vehicle event is sorted in combination with the abnormal event detection result, so that the abnormal vehicle events can be sorted according to the abnormal degree of the abnormal vehicle event.
[0084] In a specific embodiment, taking the event anomaly detection result as a numerical value representing the degree of anomaly, and the numerical value is positively correlated with the degree of anomaly as an example, at least one vehicle-borne abnormal event can be sorted in ascending order based on the event anomaly detection result to obtain sorting information of at least one vehicle-borne abnormal event.
[0085] In a specific embodiment, the vehicle function module corresponding to any vehicle abnormal event may include a test case corresponding to the vehicle abnormal event; specifically, the test case may be used to detect whether the vehicle function module corresponding to the vehicle abnormal event has an abnormal condition. Optionally, the corresponding test cases are selected in order from first to last according to the sorting information, and the module function test is performed on the corresponding vehicle function module. If the function module test result indicates that the test fails, the corresponding vehicle function module has an abnormality.
[0086] In an optional embodiment, the above-mentioned function module test result is used to indicate that there is an abnormal vehicle-mounted function module in the vehicle-mounted system. Accordingly, the above-mentioned generating the initial abnormality detection result based on the function module test result may include:
[0087] Based on the operation data, an event occurrence analysis is performed on the vehicle-borne abnormal event corresponding to the abnormal vehicle-borne function module to obtain second occurrence indicator data of the vehicle-borne abnormal event corresponding to the abnormal vehicle-borne function module;
[0088] Determine the vehicle-borne abnormal event corresponding to the abnormal vehicle-borne function module, and second impact indicator data on the operation data corresponding to the abnormal vehicle-borne function module;
[0089] The initial abnormality detection result is generated according to the second occurrence index data and the second impact index data. In a specific embodiment, the specific detailed steps of performing event occurrence analysis on the vehicle-borne abnormal event corresponding to the abnormal vehicle-borne function module based on the operation data to obtain the second occurrence index data of the vehicle-borne abnormal event corresponding to the abnormal vehicle-borne function module can refer to the specific detailed steps of performing event occurrence analysis on at least one vehicle-borne abnormal event based on the operation data to obtain the first occurrence index data of at least one vehicle-borne abnormal event, which will not be repeated here.
[0090] In a specific embodiment, the above-mentioned determination of the vehicle-borne abnormal event corresponding to the abnormal vehicle-borne functional module and the specific refinement steps of the second influencing indicator data of the operating data corresponding to the abnormal vehicle-borne functional module can refer to the above-mentioned determination of at least one vehicle-borne abnormal event and the specific refinement steps of the first influencing indicator data of the operating data, which will not be repeated here.
[0091] In the above embodiment, in the process of performing abnormality detection on the vehicle-mounted functional modules, the vehicle-mounted abnormal events are first sorted according to the event abnormality detection results, and then the test cases are executed based on the sorting information, so as to facilitate the early detection of vehicle-mounted functional modules with high abnormalities and repair them as soon as possible, thereby improving the safety of the vehicle-mounted system, saving detection time and reducing repair costs.
[0092] S105: According to the initial abnormality detection result, repair processing is performed on the target vehicle-mounted functional module in the vehicle-mounted functional modules.
[0093] In an optional embodiment, the repairing process of the target vehicle-mounted functional module in the vehicle-mounted functional module according to the initial abnormality detection result includes:
[0094] Determining the target vehicle-mounted functional module from the vehicle-mounted functional modules according to the initial abnormality detection result;
[0095] The target vehicle-mounted functional module is repaired.
[0096] In a specific embodiment, the target vehicle function module is determined in combination with the initial abnormality detection result, so that the corresponding vehicle function module can be selected according to the abnormality degree of the vehicle function.
[0097] In a specific embodiment, a corresponding risk management strategy can be adopted for the vehicle-mounted functional module based on the degree of abnormality of the vehicle-mounted function. Specifically, the risk management strategy may include risk avoidance, risk mitigation, risk transfer and risk acceptance, and then the vehicle-mounted functional module that adopts the risk avoidance and risk mitigation strategies is determined as the target vehicle-mounted functional module.
[0098] S107: When the repair process is completed, update the operation data;
[0099] In a specific embodiment, the updating of the operating data may include reacquiring the operating data corresponding to the target vehicle-mounted functional module.
[0100] S109: Based on the updated operation data, an abnormality detection is performed on the target vehicle-mounted functional module to obtain a target abnormality detection result.
[0101] In a specific embodiment, the above-mentioned specific detailed steps of performing abnormality detection on the target vehicle-mounted functional module based on the updated operating data to obtain the target abnormality detection result can be referred to the above-mentioned specific detailed steps of performing abnormality detection on the vehicle-mounted functional module in the vehicle-mounted system based on the operating data to obtain the initial abnormality detection result, which will not be repeated here.
[0102] In a specific embodiment, after the repair of the vehicle-mounted functional module is completed, the target vehicle-mounted functional module will be detected for abnormalities again based on the updated operating data to ensure the accuracy of the vehicle-mounted system abnormality detection while also ensuring the safety of the vehicle-mounted system.
[0103] In an optional embodiment, the above method may further include:
[0104] If the target abnormality detection result does not meet the preset condition, using the target abnormality detection result as the initial abnormality detection result;
[0105] Repeat the steps of repairing the target vehicle-mounted function module in the vehicle-mounted function module according to the initial abnormality detection result, performing abnormality detection on the target vehicle-mounted function module based on the updated operation data, obtaining a target abnormality detection result, and updating the target vehicle-mounted function module, until the target abnormality detection result meets the preset condition.
[0106] In a specific embodiment, the preset condition may be a preset lower limit detection result of an abnormal condition of the vehicle-mounted system. The preset condition may determine the setting basis of the lower limit detection result according to actual conditions. When the abnormality degree of the vehicle-mounted function module that is subject to repair processing does not meet the preset lower limit abnormality degree, the corresponding risk disposal strategy is continued to be adopted for the vehicle-mounted function module based on the abnormality degree of the above-mentioned vehicle-mounted function module, and then the vehicle-mounted function module that has adopted the risk avoidance and risk mitigation strategy is repaired; after the repair is completed, the operation data is updated, and only the operation data corresponding to the vehicle-mounted function module that is subject to repair processing is obtained, and based on this, the vehicle-mounted function module that is subject to repair processing is detected again for abnormality, and then the abnormality degree of the vehicle-mounted function module that is subject to repair processing is detected until the abnormality degree of the vehicle-mounted function module that is subject to repair processing meets the preset lower limit abnormality degree.
[0107] By implementing the above-mentioned embodiments of the present invention, after the vehicle-mounted functional module is repaired, the abnormality detection method of the vehicle-mounted system continues to perform abnormality detection on the target vehicle-mounted functional module based on the updated operating data, ensuring the accuracy of the abnormality detection of the vehicle-mounted system and the safety of the vehicle-mounted system. In addition, the scope of the abnormality detection is the vehicle-mounted functional module that has been repaired, and the scope of the abnormality detection is selected in a targeted manner, which reduces the amount of calculation in the detection process and improves the efficiency of the abnormality detection of the vehicle-mounted system. At the same time, the method first performs abnormality detection on the vehicle-mounted abnormal events, and sorts the vehicle-mounted abnormal events according to the abnormality detection results of the events, and then executes the test case based on the sorting information, so as to find the vehicle-mounted functional modules with high abnormality as early as possible and repair them as soon as possible, saving detection time and reducing repair costs.
[0108] Figure 4 FIG. 1 is a block diagram of an abnormality detection device for a vehicle-mounted system according to an exemplary embodiment. Figure 4 , the device comprises:
[0109] The data acquisition module 410 is used to acquire the operation data of the vehicle system;
[0110] A first anomaly detection module 420, configured to perform an anomaly detection on an in-vehicle function module in the in-vehicle system based on the operation data to obtain an initial anomaly detection result, wherein the initial anomaly detection result represents an abnormality degree of an in-vehicle abnormal event corresponding to the in-vehicle function module;
[0111] A repair processing module 430, configured to perform repair processing on a target vehicle-mounted functional module in the vehicle-mounted functional modules according to the initial abnormality detection result;
[0112] A data updating module 440 is used to update the operation data when the repair process is completed;
[0113] The second abnormality detection module 450 is used to perform abnormality detection on the target vehicle-mounted functional module based on the updated operating data to obtain a target abnormality detection result.
[0114] Optionally, the first anomaly detection module 420 includes:
[0115] an event abnormality detection unit, configured to perform event abnormality detection on at least one vehicle-borne abnormal event based on the operation data to obtain an event abnormality detection result, wherein the event abnormality detection result represents an abnormality degree of the at least one vehicle-borne abnormal event;
[0116] The module abnormality detection unit is used to perform module abnormality detection on at least one vehicle-mounted functional module corresponding to each of the at least one vehicle-mounted abnormal events based on the event abnormality detection result to obtain the initial abnormality detection result.
[0117] Optionally, the event anomaly detection unit includes:
[0118] A first occurrence analysis unit, configured to perform an event occurrence analysis on the at least one vehicle-borne abnormal event according to the operation data, to obtain first occurrence indicator data of the at least one vehicle-borne abnormal event;
[0119] A first impact analysis unit, used to determine first impact indicator data of the at least one vehicle-borne abnormal event on the operating data;
[0120] An event anomaly detection result generating unit is used to generate the event anomaly detection result according to the first occurrence indicator data and the first impact indicator data.
[0121] Optionally, the module anomaly detection unit includes:
[0122] An event sorting unit, configured to sort the at least one vehicle-borne abnormal event according to the event abnormality detection result, and obtain sorting information of the at least one vehicle-borne abnormal event;
[0123] A module function test unit, configured to perform a module function test on at least one vehicle function module corresponding to the vehicle abnormal event based on the sorting information and the test cases corresponding to the at least one vehicle abnormal event, and obtain a function module test result; the vehicle function module corresponding to any vehicle abnormal event includes the test cases corresponding to any vehicle abnormal event;
[0124] The first initial abnormality detection result generating unit is used to generate the initial abnormality detection result based on the functional module test result.
[0125] Optionally, the initial anomaly detection result generating unit includes:
[0126] A second occurrence analysis unit is used to perform an event occurrence analysis on the vehicle-borne abnormal event corresponding to the abnormal vehicle-borne function module based on the operation data, and obtain second occurrence indicator data of the vehicle-borne abnormal event corresponding to the abnormal vehicle-borne function module;
[0127] A second impact analysis unit, used to determine the vehicle-borne abnormal event corresponding to the abnormal vehicle-borne functional module, and second impact indicator data on the operation data corresponding to the abnormal vehicle-borne functional module;
[0128] The second initial abnormality detection result generating unit is used to generate the initial abnormality detection result according to the second occurrence indicator data and the second impact indicator data.
[0129] Optionally, the repair processing module 430 includes:
[0130] a target vehicle-mounted functional module determining unit, configured to determine the target vehicle-mounted functional module from the vehicle-mounted functional modules according to the initial abnormality detection result;
[0131] The target vehicle-mounted functional module repairing unit is used to perform repair processing on the target vehicle-mounted functional module.
[0132] Optionally, the above device further comprises:
[0133] A judgment module, configured to use the target abnormality detection result as the initial abnormality detection result if the target abnormality detection result does not meet a preset condition;
[0134] A repeated execution module is used to repeat the steps of repairing the target vehicle-mounted function module in the vehicle-mounted function module according to the initial abnormality detection result, performing abnormality detection on the target vehicle-mounted function module based on the updated operation data, obtaining a target abnormality detection result, and updating the target vehicle-mounted function module, until the target abnormality detection result meets the preset condition.
[0135] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0136] Figure 5 is a block diagram of an electronic device for abnormality detection of a vehicle-mounted system according to an exemplary embodiment. The electronic device may be a terminal, and its internal structure diagram may be as shown in FIG. Figure 5As shown. The electronic device includes a processor, a memory, a network interface, a display screen and an input device connected via a system bus. Among them, the processor of the electronic device is used to provide computing and control capabilities. The memory of the electronic device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the electronic device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a method for detecting an abnormality of a vehicle-mounted system is implemented. The display screen of the electronic device can be a liquid crystal display screen or an electronic ink display screen, and the input device of the electronic device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the housing of the electronic device, or an external keyboard, touchpad or mouse, etc.
[0137] Figure 6 is a block diagram of an electronic device for abnormality detection of a vehicle-mounted system according to an exemplary embodiment. The electronic device may be a server, and its internal structure diagram may be as shown in FIG. Figure 6 As shown. The electronic device includes a processor, a memory and a network interface connected via a system bus. The processor of the electronic device is used to provide computing and control capabilities. The memory of the electronic device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the electronic device is used to communicate with an external terminal via a network connection. When the computer program is executed by the processor, a method for detecting abnormalities in a vehicle-mounted system is implemented.
[0138] Those skilled in the art will understand that Figure 5 or Figure 6 The structure shown in the figure is merely a block diagram of a partial structure related to the disclosed solution of the present invention, and does not constitute a limitation on the electronic device to which the disclosed solution of the present invention is applied. The specific electronic device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0139] In an exemplary embodiment, an electronic device is also provided, including: a processor; a memory for storing instructions executable by the processor; wherein the processor is configured to execute the instructions to implement the abnormality detection method of the vehicle-mounted system in the embodiment disclosed in the present invention.
[0140] In an exemplary embodiment, a computer-readable storage medium is also provided. When instructions in the storage medium are executed by a processor of an electronic device, the electronic device can execute the abnormality detection method of the vehicle-mounted system in the disclosed embodiment of the present invention.
[0141] In an exemplary embodiment, a computer program product including instructions is also provided. When the computer program product is run on a computer, the computer is enabled to execute the abnormality detection method for the vehicle-mounted system in the disclosed embodiment of the present invention.
[0142] Those of ordinary skill in the art will appreciate that all or part of the processes in the above-mentioned embodiments can be implemented by instructing related hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided by the present invention may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in a variety of forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate (DDR), and the like.
[0143] SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchlink DRAM (SLDRAM), Rambus direct RAM (RDRAM), direct RAM bus dynamic RAM (DRDRAM), and RAM bus dynamic RAM (RDRAM), etc.
[0144] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present invention is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be considered exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.
[0145] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. A method for detecting abnormality of an in-vehicle system, characterized in that: include: Obtaining the operating data of the vehicle system; Based on the operation data, performing an abnormality detection on the vehicle function modules in the vehicle system to obtain an initial abnormality detection result, including: performing event abnormality detection on at least one vehicle abnormal event based on the operation data to obtain an event abnormality detection result, wherein the event abnormality detection result represents the abnormality degree of the at least one vehicle abnormal event; based on the event abnormality detection result, performing module abnormality detection on at least one vehicle function module corresponding to each of the at least one vehicle abnormal event to obtain the initial abnormality detection result; the initial abnormality detection result represents the abnormality degree of the vehicle abnormal event corresponding to the vehicle function module; Performing repair processing on a target vehicle-mounted functional module in the vehicle-mounted functional modules according to the initial abnormality detection result; When the repair process is completed, updating the operation data; Based on the updated operating data, an abnormality detection is performed on the target vehicle-mounted functional module to obtain a target abnormality detection result.
2. The abnormality detection method of a vehicle-mounted system according to claim 1, characterized in that: The method comprises: If the target abnormality detection result does not meet the preset condition, using the target abnormality detection result as the initial abnormality detection result; Repeat the steps of repairing the target vehicle-mounted function module in the vehicle-mounted function module according to the initial abnormality detection result, performing abnormality detection on the target vehicle-mounted function module based on the updated operation data, obtaining a target abnormality detection result, and updating the target vehicle-mounted function module, until the target abnormality detection result meets the preset condition.
3. The abnormality detection method of a vehicle-mounted system according to claim 1, characterized in that: The performing event abnormality detection on at least one vehicle-borne abnormal event based on the operation data to obtain an event abnormality detection result includes: Performing an event occurrence analysis on the at least one vehicle-borne abnormal event according to the operation data to obtain first occurrence indicator data of the at least one vehicle-borne abnormal event; Determine first impact indicator data of the at least one vehicle-borne abnormal event on the operating data; The event anomaly detection result is generated according to the first occurrence indicator data and the first impact indicator data.
4. The abnormality detection method of a vehicle-mounted system according to claim 1, characterized in that: The performing abnormality detection on at least one vehicle-mounted functional module corresponding to each of the at least one vehicle-mounted abnormal events based on the event abnormality detection result to obtain the initial abnormality detection result includes: Sorting the at least one abnormal vehicle event according to the abnormal event detection result to obtain sorting information of the at least one abnormal vehicle event; Based on the sorting information and the test cases corresponding to the at least one vehicle-borne abnormal event, a module function test is performed on at least one vehicle-borne functional module corresponding to the vehicle-borne abnormal event to obtain a functional module test result; the vehicle-borne functional module corresponding to any vehicle-borne abnormal event includes a test case corresponding to any vehicle-borne abnormal event; Based on the functional module test results, the initial anomaly detection results are generated.
5. The abnormality detection method of a vehicle-mounted system according to claim 4, characterized in that: The function module test result is used to indicate that there is an abnormal vehicle-mounted function module in the vehicle-mounted system, and the generating the initial abnormality detection result based on the function module test result includes: Based on the operation data, an event occurrence analysis is performed on the vehicle-borne abnormal event corresponding to the abnormal vehicle-borne function module to obtain second occurrence indicator data of the vehicle-borne abnormal event corresponding to the abnormal vehicle-borne function module; Determine the vehicle-borne abnormal event corresponding to the abnormal vehicle-borne function module, and second impact indicator data on the operation data corresponding to the abnormal vehicle-borne function module; The initial anomaly detection result is generated according to the second occurrence indicator data and the second impact indicator data.
6. The abnormality detection method of a vehicle-mounted system according to claim 1 or 2, characterized in that: According to the initial abnormality detection result, repairing the target vehicle-mounted functional module in the vehicle-mounted functional modules includes: Determining the target vehicle-mounted functional module from the vehicle-mounted functional modules according to the initial abnormality detection result; The target vehicle-mounted functional module is repaired.
7. An abnormality detection device for a vehicle-mounted system, characterized in that: include: A data acquisition module, used to acquire the operating data of the vehicle system; A first abnormality detection module, configured to perform abnormality detection on an in-vehicle function module in the in-vehicle system based on the operation data to obtain an initial abnormality detection result, wherein the initial abnormality detection result represents an abnormality degree of an in-vehicle abnormal event corresponding to the in-vehicle function module; A repair processing module, used for performing repair processing on a target vehicle-mounted functional module in the vehicle-mounted functional modules according to the initial abnormality detection result; A data updating module, used for updating the operation data when the repair process is completed; A second abnormality detection module is used to perform abnormality detection on the target vehicle-mounted functional module based on the updated operation data to obtain a target abnormality detection result; Wherein, the first anomaly detection module includes: an event abnormality detection unit, configured to perform event abnormality detection on at least one vehicle-borne abnormal event based on the operation data to obtain an event abnormality detection result, wherein the event abnormality detection result represents an abnormality degree of the at least one vehicle-borne abnormal event; The module abnormality detection unit is used to perform module abnormality detection on at least one vehicle-mounted functional module corresponding to each of the at least one vehicle-mounted abnormal events based on the event abnormality detection result to obtain the initial abnormality detection result.
8. An electronic device, characterized in that: include: processor; a memory for storing instructions executable by the processor; The processor is configured to execute the instructions to implement the abnormality detection method for the vehicle-mounted system as described in any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that: When the instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the abnormality detection method for an in-vehicle system as described in any one of claims 1 to 6.
Citation Information
Patent Citations
Diagnostic method and system for whole vehicle faults of electric vehicle
CN103777626A
Fault processing method and device, electronic device and computer readable storage medium
CN110618890A