Automobile gateway network intrusion detection method and system
By initializing the microcontroller register and loading the intrusion detection program in the automotive gateway, combined with the rule update and matching of the cloud server, the problem of traditional detection methods being difficult to respond quickly and high resource usage is solved, and efficient and accurate network intrusion detection is achieved.
Patent Information
- Application Number
- CN202411153523.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-21
- Publication Date
- 2024-10-29
AI Technical Summary
The traditional automotive gateway network intrusion detection method is difficult to quickly respond to emerging network attacks and threats, and takes up high gateway resources, and cannot guarantee the efficiency and accuracy of automotive gateway network intrusion detection.
By initializing the microcontroller register and loading the intrusion detection program in the automotive gateway, the current operating parameter values are generated and encrypted and sent to the telematics processor. The cloud server then parses and updates the detection rule base to match and determine the intrusion type to achieve rapid Responsive and efficient detection.
It reduces the occupation of automotive gateway resources, improves the efficiency and accuracy of network intrusion detection, ensures the confidentiality and integrity of data, and enhances the ability to respond quickly to network intrusions.
Smart Images

Figure CN118869337A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of electronic communication technology, and in particular to a method and system for detecting intrusion into an automobile gateway network. Background Art
[0002] With the widespread popularity of the Internet of Vehicles, the networking capabilities of on-board equipment have gradually increased, and cars have more privacy data and control capabilities, but at the same time, car gateways are also facing a greater risk of being attacked, resulting in increasingly prominent security risks.
[0003] At present, the traditional method of automobile gateway network intrusion detection is to detect network intrusion by integrating intrusion rule detection system and predefined rule set in automobile gateway. However, the traditional method of automobile gateway network intrusion detection often relies on fixed intrusion detection rules, which makes it difficult to quickly respond to emerging network attacks and threats, and occupies a high amount of gateway resources, and cannot guarantee the efficiency and accuracy of automobile gateway network intrusion detection. Summary of the invention
[0004] The present invention provides a vehicle gateway network intrusion detection method and system, so as to achieve a rapid response to the vehicle gateway network intrusion detection, reduce the resource occupation of the vehicle gateway, and improve the efficiency and accuracy of the vehicle gateway network intrusion detection.
[0005] In a first aspect, an embodiment of the present invention provides a vehicle gateway network intrusion detection method, comprising:
[0006] The vehicle gateway initializes the registers in the microcontroller and loads the intrusion detection program into the preset gateway memory after the initialization is completed;
[0007] The automobile gateway performs network intrusion detection based on the intrusion detection program, determines the current operating parameter value of the automobile gateway, encrypts the current operating parameter value, and sends the encrypted current operating parameter value to the telematics processor;
[0008] The telematics processor sends the received encrypted current operating parameter value to the cloud server;
[0009] The cloud server parses the encrypted current operating parameter value received, updates the preset detection rule library, matches the current operating parameter value obtained by parsing with the updated preset detection rule library, and assigns a hit status identifier to the current operating parameter value when the current operating parameter value meets the preset matching condition, and obtains the assigned target hit status identifier;
[0010] The cloud server determines the target intrusion type based on the target hit status identifier.
[0011] In a second aspect, an embodiment of the present invention further provides a vehicle gateway network intrusion detection system, the system comprising: a vehicle gateway, a telematics processor and a cloud server; wherein the vehicle gateway is used to initialize the registers in the microcontroller, and after the initialization is completed, load the intrusion detection program into a preset gateway memory;
[0012] The automobile gateway is further used to perform network intrusion detection based on the intrusion detection program, generate a current operating parameter value of the automobile gateway, encrypt the current operating parameter value, and send the encrypted current operating parameter value to the telematics processor;
[0013] The telematics processor is used to send the received encrypted current operating parameter value to the cloud server;
[0014] The cloud server is used to parse the encrypted current operating parameter value received, update the preset detection rule library, match the current operating parameter value obtained by parsing with the updated preset detection rule library, and assign a hit status identifier to the current operating parameter value when the current operating parameter value meets the preset matching condition, and obtain the assigned target hit status identifier;
[0015] The cloud server is further used to determine the target intrusion type based on the target hit status identifier.
[0016] The technical solution of the embodiment of the present invention is to initialize the registers in the microcontroller through the automobile gateway, and load the intrusion detection program into the preset gateway memory after the initialization is completed, so as to avoid system abnormalities caused by the registers being in an unknown state. The automobile gateway performs network intrusion detection based on the intrusion detection program, determines the current operating parameter value of the automobile gateway, encrypts the current operating parameter value, and sends the encrypted current operating parameter value to the telematics processor to ensure confidentiality and integrity during data transmission and prevent data leakage and tampering. The telematics processor sends the received encrypted current operating parameter value to the cloud server. The cloud server parses the received encrypted current operating parameter value, updates the preset detection rule library, matches the parsed current operating parameter value with the updated preset detection rule library, and when the current operating parameter value meets the preset matching condition, assigns a hit status identifier to the current operating parameter value, obtains the assigned target hit status identifier, thereby ensuring the effectiveness and accuracy of network intrusion detection. The cloud server determines the target intrusion type based on the target hit status identifier. By real-time detection of the gateway controller and determining the target intrusion type on the cloud server, a rapid response to the intrusion detection of the vehicle gateway network can be achieved, the resource occupation of the vehicle gateway can be reduced, and the efficiency and accuracy of the intrusion detection of the vehicle gateway network can be improved.
[0017] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0019] Figure 1 is a flow chart of a vehicle gateway network intrusion detection method provided according to Embodiment 1 of the present invention;
[0020] Figure 2 is a flow chart of a vehicle gateway network intrusion detection method provided according to Embodiment 2 of the present invention;
[0021] Figure 3 It is a structural diagram of an automobile gateway network intrusion detection system provided according to Embodiment 3 of the present invention. DETAILED DESCRIPTION
[0022] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0023] It should be noted that the terms "target", "current", etc. in the specification and claims of 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 described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0024] Embodiment 1
[0025] Figure 1 A flowchart of a method for detecting network intrusion of an automobile gateway is provided for the first embodiment of the present invention. This embodiment is applicable to the case of detecting network intrusion of an automobile gateway. Figure 1 As shown, the method can be performed by a vehicle gateway network intrusion detection system, and the vehicle gateway network intrusion detection system can be implemented in the form of hardware and / or software. Figure 1 As shown, the method specifically comprises the following steps:
[0026] S110, the automobile gateway initializes the registers in the microcontroller, and after the initialization is completed, loads the intrusion detection program into a preset gateway memory.
[0027] Among them, the automotive gateway may refer to the core control device of the vehicle's internal communication local area network, which is the data interaction hub of the entire vehicle network. A microcontroller unit (MCU) may refer to a microcomputer system that integrates core functions such as a processor, memory, and input / output interface. A register may refer to a storage component inside a microcontroller for temporarily storing information such as instructions, data, and addresses. An intrusion detection program may refer to a software system specifically designed to monitor and analyze network or system behavior to detect and respond to potential intrusions or security threats. A preset gateway memory may refer to a memory pre-configured or designed in a gateway device for storing data.
[0028] Specifically, at the initial stage of the car gateway startup, the registers of the internal microcontroller are initialized first. These registers are used to control various functions and behaviors of the registers, including clock settings, interrupt management, I / O port configuration, etc. By configuring these registers, it is possible to ensure that the registers operate in the correct state, providing a stable environment for subsequent intrusion detection programs. After the register initialization is completed, the precompiled intrusion detection program is written into the preset gateway memory of the car gateway. By running the intrusion detection program locally on the car gateway, it is possible to quickly respond to changes in network traffic and reduce detection delays.
[0029] Exemplarily, "loading the intrusion detection program to the preset gateway memory after initialization is completed" in S110 may include: after the registers in the microcontroller of the automobile gateway are initialized, writing the intrusion detection program to the preset gateway memory through a preset programming interface, wherein the preset gateway memory is a non-volatile memory.
[0030] The preset programming interface may refer to a preset programming interface for writing an intrusion detection program. The non-volatile memory may refer to a memory that can retain stored data after the power is turned off.
[0031] Specifically, after the registers in the microcontroller of the car gateway are initialized, a non-volatile memory suitable for the car gateway application is selected, and the intrusion detection program is written into the non-volatile memory through a preset programming interface to ensure that the intrusion detection program can still be retained and automatically loaded after the car gateway is powered off and restarted.
[0032] S120. The automobile gateway performs network intrusion detection based on the intrusion detection program, determines the current operating parameter value of the automobile gateway, encrypts the current operating parameter value, and sends the encrypted current operating parameter value to the telematics processor.
[0033] The current operating parameter value may refer to the operating state of the vehicle gateway at the current moment or a quantitative representation of the performance index. The telematics processor may refer to a telematics device integrated in the vehicle, mainly used for communication between the vehicle and the vehicle networking service platform.
[0034] Specifically, the car gateway continuously monitors the network traffic transmitted through the car gateway according to the intrusion detection program to determine the current operating parameter values. In order to protect the security of the data, the car gateway will encrypt the current operating parameter values to prevent them from being intercepted or tampered with during transmission, and send the encrypted current operating parameter values to the telematics processor to realize remote transmission of data.
[0035] Exemplarily, "performing network intrusion detection based on an intrusion detection program to generate current operating parameter values of the automobile gateway" in S120 may include: scanning the automobile gateway based on the intrusion detection program to obtain network traffic parameter values, system status parameter values, and communication protocol status parameter values of the automobile gateway.
[0036] Among them, the network traffic parameter value may refer to the size of the data packet, transmission frequency, source address, etc. The system status parameter value may refer to the CPU usage, memory occupancy, system response time, etc. The communication protocol status parameter value may refer to the status of the communication protocol between the vehicle gateway and other systems (such as the vehicle control system, external network, etc.).
[0037] Specifically, based on the intrusion detection program, the car gateway is scanned and the car gateway continuously monitors the network traffic transmitted through the car gateway. The traffic may come from various sensors, actuators and other electronic control units inside the vehicle. According to the intrusion detection program, the car gateway obtains the network traffic parameter values, system status parameter values and communication protocol status parameter values of the car gateway, such as data packet size, transmission frequency, source address, etc., so as to improve the monitoring efficiency.
[0038] Exemplarily, "encrypting the current operating parameter value, and sending the encrypted current operating parameter value to the telematics processor" in S120 may include: the automobile gateway encrypts the current operating parameter value based on a preset encryption algorithm to obtain the encrypted current operating parameter value; authenticates the cloud server based on a preset two-way authentication method, and after the authentication is passed, sends the encrypted current operating parameter value to the telematics processor.
[0039] The preset encryption algorithm may refer to a preset algorithm for encrypting the current running parameter value. The preset two-way identity authentication method may refer to a preset security mechanism to ensure the authenticity and reliability of the identities of both parties, which requires both communicating parties to verify the identity of the other party before establishing a connection.
[0040] Specifically, the car gateway encrypts the current operating parameter value according to the preset encryption algorithm to generate the encrypted current operating parameter value. The car gateway and the cloud server use a preset two-way identity authentication method to ensure that the identities of both parties in communication are authentic and reliable. After the identity authentication is passed, the car gateway sends the encrypted current operating parameter value to the telematics processor. Through identity authentication and encryption processing, the integrity and consistency of the data can be ensured, avoiding communication failures caused by data transmission errors or losses.
[0041] S130. The telematics processor sends the received encrypted current operating parameter value to the cloud server.
[0042] Among them, the cloud server may refer to a remote server based on cloud computing technology, which is usually not directly located in a local physical environment, but deployed in a remote data center.
[0043] Specifically, after receiving the encrypted operating parameter value, the telematics processor will forward it to the cloud server. The cloud server has more powerful computing and storage capabilities and can handle more complex data analysis tasks, thereby improving the efficiency and accuracy of data analysis and reducing the resource occupation of the vehicle gateway.
[0044] S140. The cloud server parses the encrypted current operating parameter value received, updates the preset detection rule library, matches the parsed current operating parameter value with the updated preset detection rule library, and assigns a hit status identifier to the current operating parameter value when the current operating parameter value meets the preset matching condition, and obtains the assigned target hit status identifier.
[0045] Among them, the preset detection rule base may refer to a database or set containing a series of predefined rules, which are used to identify abnormal behaviors or potential security threats in network traffic, system status or communication protocols. The preset matching conditions may refer to a series of standards or conditions used to compare the captured current operating parameter values with the rules in the preset detection rule base. The target hit status identifier may refer to an identifier used to characterize the abnormality of the current operating parameter value and the corresponding intrusion detection rule.
[0046] Specifically, the cloud server parses the encrypted current operating parameter value received, restores the current operating parameter value, updates the preset detection rule library, matches the current operating parameter value with the updated preset detection rule library, and determines whether it is involved in network intrusion behavior. When the operating parameter value meets the preset matching condition, the cloud server will assign a hit status identifier to the current operating parameter value, obtain the assigned target hit status identifier, and quickly identify and respond to intrusion behavior to reduce potential security risks.
[0047] Exemplarily, "the cloud server parses the received encrypted current operating parameter value" in S140 may include: the cloud server authenticates the vehicle gateway, and after the identity authentication is passed, decrypts the encrypted current operating parameter value based on a preset decryption algorithm to obtain the current operating parameter value.
[0048] The preset decryption algorithm may refer to a preset algorithm for decrypting the encrypted current operating parameter value.
[0049] Specifically, the cloud server authenticates the automobile gateway through a preset two-way authentication method, and after the authentication is passed, receives the encrypted current operating parameter value sent by the telematics processor, and decrypts the encrypted current operating parameter value according to a preset decryption algorithm to restore the current operating parameter value, thereby enhancing the security of data transmission.
[0050] Exemplarily, “updating the preset detection rule base” in S140 may include: updating the preset detection rule base based on the latest intrusion detection rule to obtain an updated preset detection rule base.
[0051] Specifically, according to the latest security threat information and vulnerability information, the latest intrusion detection rules are obtained, and the configuration table of the intrusion detection rules in the preset detection rule library is updated according to the latest intrusion detection rules to obtain an updated preset detection rule library, thereby ensuring the ability to cope with evolving network threats by updating the detection rule library in real time.
[0052] Exemplarily, "matching the current operating parameter value obtained by parsing with the updated preset detection rule library, and assigning a hit status identifier to the current operating parameter value when the current operating parameter value meets the preset matching condition, and obtaining the assigned target hit status identifier" in S140 may include: the cloud server compares and analyzes the current operating parameter value obtained by decryption with the intrusion detection rules in the updated preset detection rule library; if the current operating parameter value meets the preset matching condition of at least one intrusion detection rule, assigning a hit status to the current operating parameter value, and obtaining the target hit status identifier corresponding to the current operating parameter value.
[0053] Specifically, the cloud server compares the decrypted current operating parameter value with each intrusion detection rule in the updated preset detection rule library, matches the current operating parameter value with the preset matching conditions corresponding to each intrusion detection rule, and checks whether the current operating parameter value meets the preset matching conditions. If the current operating parameter value meets the preset matching conditions of at least one intrusion detection rule, it is considered that the vehicle gateway under the current operating parameter value has been invaded by the network. At this time, the hit status of the current operating parameter value is assigned, and a specific target hit status identifier is usually used to indicate that the parameter value has been detected as a network intrusion behavior. Obtaining the target hit status identifier corresponding to the current operating parameter value can timely detect network intrusion behaviors and improve the level of security protection.
[0054] S150: The cloud server determines the target intrusion type based on the target hit status identifier.
[0055] The target intrusion type may refer to an intrusion behavior or pattern that is defined and identified as a potential security threat by a preset detection rule library.
[0056] Specifically, the cloud server can obtain the intrusion detection rules that the automobile gateway satisfies under the current operating parameters based on the target hit status identifier, and use the intrusion type corresponding to the intrusion detection rule as the target intrusion type to improve the accuracy of network intrusion detection.
[0057] Exemplarily, S150 may include: the cloud server obtains a target intrusion detection rule corresponding to the target hit status identifier based on the target hit status identifier; and determines the target decision field in the target intrusion detection rule as the target intrusion type.
[0058] The target intrusion detection rule may refer to the intrusion detection rule satisfied by the target hit status identifier corresponding to the current running parameter value. The target decision field may refer to the field in the target intrusion detection rule used to characterize the intrusion type.
[0059] Specifically, the cloud server searches the preset detection rule library for the target intrusion detection rule corresponding to the target hit status identifier according to the target hit status identifier. After finding the target intrusion detection rule, the cloud server reads the target decision field in the target intrusion detection rule and determines the target decision field in the target intrusion detection rule as the target intrusion type. By accurately matching the target hit status identifier with the rules in the preset detection rule library, the accuracy of network intrusion detection can be improved and false positives and false negatives can be reduced.
[0060] The technical solution of the embodiment of the present invention initializes the registers in the microcontroller through the automobile gateway, and loads the intrusion detection program into the preset gateway memory after the initialization is completed, so as to avoid system abnormalities caused by the registers being in an unknown state. The automobile gateway performs network intrusion detection based on the intrusion detection program, determines the current operating parameter value of the automobile gateway, encrypts the current operating parameter value, and sends the encrypted current operating parameter value to the telematics processor to ensure the confidentiality and integrity of the data transmission process and prevent data leakage and tampering. The telematics processor sends the received encrypted current operating parameter value to the cloud server. The cloud server parses the received encrypted current operating parameter value, updates the preset detection rule library, matches the parsed current operating parameter value with the updated preset detection rule library, and assigns a hit status identifier to the current operating parameter value when the current operating parameter value meets the preset matching condition, and obtains the assigned target hit status identifier, thereby ensuring the effectiveness and accuracy of network intrusion detection. The cloud server determines the target intrusion type based on the target hit status identifier. By real-time detection of the gateway controller and determining the target intrusion type on the cloud server, a rapid response to the intrusion detection of the vehicle gateway network can be achieved, the resource occupation of the vehicle gateway can be reduced, and the efficiency and accuracy of the intrusion detection of the vehicle gateway network can be improved.
[0061] Embodiment 2
[0062] Figure 2 This is a flow chart of a vehicle gateway network intrusion detection method provided in Embodiment 2 of the present invention. Based on the above embodiments, this embodiment optimizes the step "the telematics processor sends the received encrypted current operating parameter value to the cloud server". The explanations of the terms that are the same or corresponding to the above embodiments are not repeated here.
[0063] See also Figure 2 Another automobile gateway network intrusion detection method provided in this embodiment specifically includes the following steps:
[0064] S210, the automobile gateway initializes the registers in the microcontroller, and after the initialization is completed, loads the intrusion detection program into the preset gateway memory.
[0065] S220. The automobile gateway performs network intrusion detection based on the intrusion detection program, determines the current operating parameter value of the automobile gateway, encrypts the current operating parameter value, and sends the encrypted current operating parameter value to the telematics processor.
[0066] S230, the remote information processor generates a target transmission path and at least one alternative transmission path, sends the encrypted current operating parameter value to the cloud server according to the target transmission path, and performs network detection on the target transmission path in real time during the sending process.
[0067] The target transmission path may refer to the optimal data transmission path determined by the telematics processor according to the current network conditions. The alternative transmission path may refer to other transmission paths prepared when the target transmission path is unavailable or to provide additional redundancy and reliability.
[0068] Specifically, the telematics processor evaluates and selects an optimal transmission path as the target transmission path based on the current network status, bandwidth utilization, latency, reliability and other factors. At the same time, in order to ensure the reliability and continuity of data transmission, the telematics processor will also generate at least one alternative transmission path. The telematics processor sends the encrypted current operating parameter values to the cloud server according to the target transmission path. During the data transmission process, the telematics processor will perform network detection on the target transmission path in real time, monitor key indicators such as network status, bandwidth usage, latency, and packet loss rate, and improve the reliability of data transmission.
[0069] S240. When the telematics processor detects that a target transmission path fails or is congested, it automatically switches to an alternative transmission path to transmit the encrypted current operating parameter value.
[0070] Specifically, if the telematics processor detects a failure (such as link interruption, equipment failure) or congestion (such as insufficient bandwidth, excessive latency) on the target transmission path, the path switching mechanism will be triggered. Once the path switching mechanism is triggered, the telematics processor will automatically evaluate the availability of alternative transmission paths and select the best alternative path to continue data transmission of the encrypted current operating parameter values, thereby significantly reducing the risk of data transmission interruption, improving the reliability of data transmission, and improving the efficiency of data transmission.
[0071] It should be noted that during the path switching process, the telematics processor will ensure the continuity and integrity of the data, which may involve operations such as reordering and retransmission of the encrypted current operating parameter values, thereby ensuring that the cloud server will eventually receive the complete and encrypted current operating parameter values regardless of whether it is through the target transmission path or the alternative transmission path.
[0072] S250. The cloud server parses the encrypted current operating parameter value received, updates the preset detection rule library, matches the parsed current operating parameter value with the updated preset detection rule library, and assigns a hit status identifier to the current operating parameter value when the current operating parameter value meets the preset matching condition, and obtains the assigned target hit status identifier.
[0073] S260: The cloud server determines the target intrusion type based on the target hit status identifier.
[0074] The technical solution of the embodiment of the present invention generates a target transmission path and at least one alternative transmission path through a telematics processor, sends the encrypted current operating parameter value to a cloud server according to the target transmission path, and performs network detection on the target transmission path in real time during the transmission process to ensure the efficiency of data transmission. When the telematics processor detects that the target transmission path is faulty or congested, it automatically switches to the alternative transmission path to transmit the encrypted current operating parameter value, thereby improving the reliability of data transmission. By generating the target transmission path and the alternative transmission path, and automatically switching to the alternative transmission path when a fault or congestion is detected in the target transmission path, dynamic adjustment of the data transmission path is achieved, which can reduce the risk of data transmission interruption and improve the efficiency of data transmission.
[0075] Embodiment 3
[0076] Figure 3 This is a schematic diagram of the structure of a vehicle gateway network intrusion detection system provided by the third embodiment of the present invention. Figure 3 As shown, the system includes: a vehicle gateway 310 , a telematics processor 320 and a cloud server 330 .
[0077] The automobile gateway 310 is used to initialize the registers in the microcontroller and load the intrusion detection program into the preset gateway memory after the initialization is completed;
[0078] The automobile gateway 310 is further used to perform network intrusion detection based on the intrusion detection program, generate a current operating parameter value of the automobile gateway, encrypt the current operating parameter value, and send the encrypted current operating parameter value to the telematics processor;
[0079] The telematics processor 320 is used to send the received encrypted current operating parameter value to the cloud server;
[0080] The cloud server 330 is used to parse the encrypted current operating parameter value received, update the preset detection rule library, match the current operating parameter value obtained by parsing with the updated preset detection rule library, and assign a hit status identifier to the current operating parameter value when the current operating parameter value meets the preset matching condition, and obtain the assigned target hit status identifier;
[0081] The cloud server 330 is further configured to determine a target intrusion type based on the target hit status identifier.
[0082] The technical solution of this embodiment is to initialize the registers in the microcontroller through the automobile gateway, and load the intrusion detection program into the preset gateway memory after the initialization is completed, so as to avoid system abnormalities caused by the registers being in an unknown state. The automobile gateway performs network intrusion detection based on the intrusion detection program, determines the current operating parameter value of the automobile gateway, encrypts the current operating parameter value, and sends the encrypted current operating parameter value to the telematics processor to ensure confidentiality and integrity during data transmission and prevent data leakage and tampering. The telematics processor sends the received encrypted current operating parameter value to the cloud server. The cloud server parses the received encrypted current operating parameter value, updates the preset detection rule library, matches the parsed current operating parameter value with the updated preset detection rule library, and when the current operating parameter value meets the preset matching condition, assigns a hit status identifier to the current operating parameter value, obtains the assigned target hit status identifier, thereby ensuring the effectiveness and accuracy of network intrusion detection. The cloud server determines the target intrusion type based on the target hit status identifier. By real-time detection of the gateway controller and determining the target intrusion type on the cloud server, a rapid response to the intrusion detection of the vehicle gateway network can be achieved, the resource occupation of the vehicle gateway can be reduced, and the efficiency and accuracy of the intrusion detection of the vehicle gateway network can be improved.
[0083] Optionally, the automobile gateway 310 is specifically used to: after the register initialization in the microcontroller of the automobile gateway is completed, write the intrusion detection program into a preset gateway memory through a preset programming interface, wherein the preset gateway memory is a non-volatile memory.
[0084] Optionally, the automobile gateway 310 is further specifically used to: scan the automobile gateway based on an intrusion detection program to obtain network traffic parameter values, system status parameter values and communication protocol status parameter values of the automobile gateway.
[0085] Optionally, the automobile gateway 310 is also specifically used for: the automobile gateway encrypts the current operating parameter value based on a preset encryption algorithm to obtain the encrypted current operating parameter value; authenticates the cloud server based on a preset two-way authentication method, and after the authentication is passed, sends the encrypted current operating parameter value to the remote information processor.
[0086] Optionally, the telematics processor 320 is specifically used for: the telematics processor generates a target transmission path and at least one alternative transmission path, sends the encrypted current operating parameter value to the cloud server according to the target transmission path, and performs network detection on the target transmission path in real time during the sending process; when the telematics processor detects that the target transmission path fails or is congested, it automatically switches to the alternative transmission path to transmit the encrypted current operating parameter value.
[0087] Optionally, the cloud server 330 is specifically used for: the cloud server authenticates the automobile gateway, and after the identity authentication is passed, decrypts the encrypted current operating parameter value based on a preset decryption algorithm to obtain the current operating parameter value.
[0088] Optionally, the cloud server 330 is further specifically used to: update a preset detection rule base based on the latest intrusion detection rule to obtain an updated preset detection rule base.
[0089] Optionally, the cloud server 330 is also specifically used for: the cloud server compares and analyzes the current operating parameter value obtained by decryption with the intrusion detection rules in the updated preset detection rule library; if the current operating parameter value meets the preset matching condition of at least one intrusion detection rule, the hit status of the current operating parameter value is assigned to obtain the target hit status identifier corresponding to the current operating parameter value.
[0090] Optionally, the cloud server 330 is further specifically used for: the cloud server obtains a target intrusion detection rule corresponding to the target hit status identifier based on the target hit status identifier; and determines a target decision field in the target intrusion detection rule as a target intrusion type.
[0091] The automobile gateway network intrusion detection system provided by the embodiment of the present invention can execute the automobile gateway network intrusion detection method provided by any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
[0092] It should be understood by those skilled in the art that the modules or steps of the present invention described above can be implemented by a general-purpose computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, optionally, they can be implemented by a program code executable by a computer device, so that they can be stored in a storage device and executed by the computing device, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Thus, the present invention is not limited to any specific combination of hardware and software.
[0093] Note that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present invention, and the scope of the present invention is determined by the scope of the appended claims.
Claims
1. A vehicle gateway network intrusion detection method, characterized in that: The method comprises: The vehicle gateway initializes the registers in the microcontroller and loads the intrusion detection program into the preset gateway memory after the initialization is completed; The automobile gateway performs network intrusion detection based on the intrusion detection program, determines the current operating parameter value of the automobile gateway, encrypts the current operating parameter value, and sends the encrypted current operating parameter value to the telematics processor; The telematics processor sends the received encrypted current operating parameter value to the cloud server; The cloud server parses the encrypted current operating parameter value received, updates the preset detection rule library, matches the current operating parameter value obtained by parsing with the updated preset detection rule library, and assigns a hit status identifier to the current operating parameter value when the current operating parameter value meets the preset matching condition, and obtains the assigned target hit status identifier; The cloud server determines the target intrusion type based on the target hit status identifier.
2. The method according to claim 1, characterized in that The step of loading the intrusion detection program into a preset gateway memory after the initialization is completed comprises: After the registers in the microcontroller of the automobile gateway are initialized, the intrusion detection program is written into the preset gateway memory through the preset programming interface, wherein the preset gateway memory is a non-volatile memory.
3. The method according to claim 1, characterized in that The performing network intrusion detection based on the intrusion detection program to generate the current operating parameter value of the automobile gateway includes: The automobile gateway is scanned based on the intrusion detection program to obtain the network traffic parameter value, system status parameter value and communication protocol status parameter value of the automobile gateway.
4. The method according to claim 1, characterized in that The encrypting the current operating parameter value and sending the encrypted current operating parameter value to the telematics processor includes: The automobile gateway encrypts the current operating parameter value based on a preset encryption algorithm to obtain the encrypted current operating parameter value; The cloud server is authenticated based on a preset two-way authentication method, and after the authentication is passed, the encrypted current operating parameter value is sent to the telematics processor.
5. The method according to claim 1, characterized in that The telematics processor sends the received encrypted current operating parameter value to the cloud server, including: The telematics processor generates a target transmission path and at least one alternative transmission path, sends the encrypted current operating parameter value to the cloud server according to the target transmission path, and performs network detection on the target transmission path in real time during the sending process; When the telematics processor detects that the target transmission path fails or is congested, it automatically switches to an alternative transmission path to transmit the encrypted current operating parameter value.
6. The method according to claim 1, characterized in that The cloud server parses the received encrypted current operating parameter value, including: The cloud server authenticates the vehicle gateway, and after the authentication is passed, decrypts the encrypted current operating parameter value based on a preset decryption algorithm to obtain the current operating parameter value.
7. The method according to claim 1, characterized in that The updating of the preset detection rule base includes: The preset detection rule base is updated based on the latest intrusion detection rule to obtain an updated preset detection rule base.
8. The method according to claim 1, characterized in that: The method of matching the current operating parameter value obtained by parsing with the updated preset detection rule library, and assigning a hit status identifier to the current operating parameter value when the current operating parameter value meets the preset matching condition, to obtain the assigned target hit status identifier, includes: The cloud server compares and analyzes the decrypted current operating parameter value with the updated intrusion detection rules in the preset detection rule library; If the current operating parameter value satisfies the preset matching condition of at least one intrusion detection rule, the hit status of the current operating parameter value is assigned a value to obtain a target hit status identifier corresponding to the current operating parameter value.
9. The method according to claim 1, characterized in that: The cloud server determines the target intrusion type based on the target hit status identifier, including: The cloud server obtains a target intrusion detection rule corresponding to the target hit status identifier based on the target hit status identifier; The target decision field in the target intrusion detection rule is determined as the target intrusion type.
10. An automotive gateway network intrusion detection system, characterized in that: The system includes: a car gateway, a telematics processor and a cloud server; wherein, The automobile gateway is used to initialize the registers in the microcontroller and load the intrusion detection program into the preset gateway memory after the initialization is completed; The automobile gateway is further used to perform network intrusion detection based on the intrusion detection program, generate a current operating parameter value of the automobile gateway, encrypt the current operating parameter value, and send the encrypted current operating parameter value to the telematics processor; The telematics processor is used to send the received encrypted current operating parameter value to the cloud server; The cloud server is used to parse the encrypted current operating parameter value received, update the preset detection rule library, match the current operating parameter value obtained by parsing with the updated preset detection rule library, and assign a hit status identifier to the current operating parameter value when the current operating parameter value meets the preset matching condition, and obtain the assigned target hit status identifier; The cloud server is further used to determine the target intrusion type based on the target hit status identifier.
