New energy vehicle mcu theft prevention control method, device, equipment and storage medium
Patent Information
- Application Number
- CN202310171337.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-02-27
- Publication Date
- 2026-09-18
- Estimated Expiration
- 2043-02-27
AI Technical Summary
[0003]本发明提供了一种新能源汽车MCU防盗的控制方法、装置、设备及存储介质,增加了交互信号,实现了整车防盗,并降低整车成本,并且不影响整车其他性能,适应所有新能源车型,解决了现有MCU防盗方法存在的上述问题
[0042] This invention only requires changing the MCU and BCM control strategies and adding interactive signals to achieve vehicle anti-theft and reduce the overall vehicle cost; it does not affect other vehicle performance and is suitable for all new energy vehicle models.
Smart Images

Figure CN117261817B_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of automotive technology, specifically the control method, device, equipment, and storage medium for MCU anti-theft in new energy vehicles. Background Technology
[0002] In recent years, new energy vehicles have become increasingly popular due to their advantages such as environmental friendliness and energy conservation. Among new energy vehicles, vehicle anti-theft is a crucial factor affecting overall vehicle safety and requires focused attention during development. Currently, the anti-theft strategy for electric vehicles relies on the interaction of anti-theft signals between the Vehicle Control Unit (VCU) and Body Controller (BCM) along with an electronic steering column lock to achieve comprehensive anti-theft protection. However, existing anti-theft strategies are ineffective and costly. Summary of the Invention
[0003] This invention provides a control method, device, equipment, and storage medium for MCU anti-theft in new energy vehicles. It increases interactive signals, realizes vehicle-wide anti-theft, reduces vehicle cost, and does not affect other vehicle performance. It is suitable for all new energy vehicle models and solves the above-mentioned problems of existing MCU anti-theft methods.
[0004] The technical solution of this invention is described below in conjunction with the accompanying drawings:
[0005] In a first aspect, embodiments of the present invention provide a control method for anti-theft of MCU in new energy vehicles, including controlling the MCU and controlling the BCM;
[0006] The specific method for controlling the MCU is as follows:
[0007] a1) The authentication process is initiated by the MCU; when the power is switched to IGON, the MCU generates a set of 4-byte random numbers, denoted as random number B;
[0008] a2) The MCU sends the random number B as an authentication request to the BCM;
[0009] a3) The MCU internally uses the function F(x,sk) to process the random number B and generate the encrypted authentication data C1 = F(B,sk) corresponding to the random number B;
[0010] a4) If the MCU does not receive a response signal from the BCM within time T, the MCU must retry sending the authentication request; if the MCU still does not receive a response signal from the BCM after sending 6 consecutive authentication requests, the MCU will determine that the BCM does not respond to the MCU's authentication request and the authentication will fail.
[0011] a5) If a response signal C2 is received from the BCM within time T, the encrypted authentication data C1 and C2 need to be compared. If C1 = C2, the authentication is successful and the MCU sends MessageType = AlogrithmPass to the BCM. If C1 ≠ C2, the authentication fails. If the authentication fails ≥ 2 times, the MCU sends MessageType = AlogrithmFail to the BCM. Otherwise, the authentication request must be retried.
[0012] The specific method for controlling the BCM is as follows:
[0013] b1) If the BCM does not receive an authentication request signal from the MCU within 2 seconds after IGON, the BCM will determine that "the MCU has not sent an authentication request" and record this DTC.
[0014] b2) After receiving the random number B, the BCM uses the function F(X,sk) to encrypt B, generating encrypted authentication data C2 = F(B,sk) corresponding to the random number B, and sends Key = <c2>;
[0015] b3) If the BCM sends encrypted authentication data to the MCU and does not receive the authentication result from the MCU within 2 seconds, or does not receive the authentication request resent by the MCU, the BCM determines that the MCU authentication result transmission has timed out and records this DTC.
[0016] b4) If the BCM receives the authentication result MessageType=AlogrithmPass, no action is required;
[0017] If the BCM receives the authentication result MessageType=AlogrithmFail, it sends a SecurityVerificationError_BCM=Error signal to the IC to indicate that the anti-theft authentication has failed.
[0018] If the BCM receives a re-issued authentication request from the MCU, it will restart the authentication process.
[0019] Furthermore, in step a5), the retry requirements for retrying the authentication request are as follows:
[0020] A. The time interval between two consecutive authentication requests issued by the MCU is R;
[0021] B. The MCU can retry sending the authentication request at most once consecutively, and a total of 2 times; however, if the BCM responds to any authentication request, the MCU will not retry sending the authentication request.
[0022] C. If the MCU still does not receive a response signal from the BCM after sending two consecutive authentication requests, the MCU will determine that "the BCM authentication encryption data is incorrect" and record this DTC.
[0023] Secondly, embodiments of the present invention provide a control device for anti-theft of MCUs in new energy vehicles, comprising:
[0024] MCU control module, used to control the MCU;
[0025] The BCM control module is used to control the BCM.
[0026] Furthermore, the MCU control module includes:
[0027] The first authentication module is used to enable the authentication process to be initiated by the MCU; when the power is switched to IGON, the MCU generates a set of 4-byte random numbers, denoted as random number B.
[0028] The first authentication request module is used by the MCU to send the random number B as an authentication request to the BCM.
[0029] The first processing module is used by the MCU to process the random number B using the function F(x,sk) to generate the encrypted authentication data C1 = F(B,sk) corresponding to the random number B.
[0030] The first judgment module is used to determine that if the MCU does not receive a response signal from the BCM within time T, the MCU must retry sending the authentication request; if the MCU sends an authentication request 6 times in a row and still does not receive a response signal from the BCM, the MCU will determine that the BCM does not respond to the MCU's authentication request and the authentication will fail.
[0031] The second judgment module is used to compare the encrypted authentication data C1 and C2 if a response signal C2 is received from the BCM within time T. If C1 = C2, the authentication is successful, and the MCU sends MessageType = AlogrithmPass to the BCM. If C1 ≠ C2, the authentication fails. If the authentication fails ≥ 2 times, the MCU sends MessageType = AlogrithmFail to the BCM. Otherwise, the authentication request must be retried.
[0032] Furthermore, the BCM control module includes:
[0033] The third judgment module is used to determine "MCU has not sent an authentication request signal" if the BCM does not receive an authentication request signal from the MCU within 2 seconds after IGON, and to record this DTC.
[0034] The encryption module is used by the BCM to encrypt a random number B using the function F(X,sk), generating encrypted authentication data C2 = F(B,sk) corresponding to the random number B, and then sending the Key = <c2>;
[0035] The fourth judgment module is used to determine that the MCU authentication result transmission timeout occurs if the BCM does not receive the authentication result from the MCU within 2 seconds after sending encrypted authentication data to the MCU, or does not receive the authentication request resent by the MCU. This DTC is then recorded.
[0036] The fifth judgment module is used so that if the BCM receives the authentication result MessageType=AlogrithmPass, no action is required;
[0037] If the BCM receives the authentication result MessageType=AlogrithmFail, it sends a SecurityVerificationError_BCM=Error signal to the IC to indicate that the anti-theft authentication has failed.
[0038] If the BCM receives a re-issued authentication request from the MCU, it will restart the authentication process.
[0039] Thirdly, embodiments of the present invention also provide a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement a control method for anti-theft of a new energy vehicle MCU as described in any of the embodiments of the present invention.
[0040] Fourthly, embodiments of the present invention also provide a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements a control method for anti-theft of a new energy vehicle MCU as described in any of the embodiments of the present invention.
[0041] The beneficial effects of this invention are as follows:
[0042] This invention only requires changing the MCU and BCM control strategies and adding interactive signals to achieve vehicle anti-theft and reduce the overall vehicle cost; it does not affect other vehicle performance and is suitable for all new energy vehicle models. Attached Figure Description
[0043] To more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of the present invention and should not be regarded as a limitation on the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.
[0044] Figure 1 This is a diagram illustrating the anti-theft authentication communication process.
[0045] Figure 2 This is a schematic diagram of the system block.
[0046] Figure 3 This is a schematic diagram of a new energy vehicle MCU anti-theft device.
[0047] Figure 4 This is a schematic diagram of the MCU control module.
[0048] Figure 5 This is a schematic diagram of the BCM control module.
[0049] Figure 6 This is a schematic diagram of the structure of an electronic device. Detailed Implementation
[0050] The present invention will now be described in further detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and not intended to limit it. Furthermore, it should be noted that, for ease of description, the accompanying drawings show only the parts relevant to the present invention, and not all of the structures.
[0051] In this invention, unless otherwise explicitly specified and limited, "above" or "below" the second feature can include direct contact between the first and second features, or contact between the first and second features through another feature between them. Furthermore, "above," "over," and "on top" of the second feature includes the first feature directly above or diagonally above the second feature, or simply indicates that the first feature is at a higher horizontal level than the second feature. "Below," "below," and "under" the second feature includes the first feature directly below or diagonally below the second feature, or simply indicates that the first feature is at a lower horizontal level than the second feature.
[0052] In the description of this embodiment, the terms "upper," "lower," "left," and "right," etc., refer to the orientation or positional relationship shown in the accompanying drawings. They are used only for ease of description and simplification of operation, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limitations on the present invention. Furthermore, the terms "first" and "second" are used merely for descriptive distinction and have no special meaning.
[0053] It should be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus.
[0054] Example 1
[0055] See Figure 1 This embodiment is applicable to the anti-theft situation of MCU in new energy vehicles. The method can be executed by the control device for the anti-theft of the new energy vehicle MCU in this embodiment. This device can be implemented in software and / or hardware, such as... Figure 1 As shown, this method specifically includes controlling the MCU and controlling the BCM;
[0056] The specific method for controlling the MCU is as follows:
[0057] a1) The authentication process is initiated by the MCU; when the power is switched to IGON, the MCU generates a set of 4-byte random numbers, denoted as random number B;
[0058] a2) The MCU sends the random number B as an authentication request to the BCM;
[0059] a3) The MCU internally uses the function F(x,sk) to process the random number B and generate the encrypted authentication data C1 = F(B,sk) corresponding to the random number B;
[0060] a4) If the MCU does not receive a response signal from the BCM within time T, the MCU must retry sending the authentication request; if the MCU still does not receive a response signal from the BCM after sending 6 consecutive authentication requests, the MCU will determine that the BCM does not respond to the MCU's authentication request and the authentication will fail.
[0061] a5) If a response signal C2 is received from the BCM within time T, the encrypted authentication data C1 and C2 need to be compared. If C1 = C2, the authentication is successful and the MCU sends MessageType = AlogrithmPass to the BCM. If C1 ≠ C2, the authentication fails. If the authentication fails ≥ 2 times, the MCU sends MessageType = AlogrithmFail to the BCM. Otherwise, the authentication request must be retried.
[0062] The retry requirements for issuing the authentication request are as follows:
[0063] A. The time interval between two consecutive authentication requests issued by the MCU is R;
[0064] B. The MCU can retry sending the authentication request at most once consecutively, and a total of 2 times; however, if the BCM responds to any authentication request, the MCU will not retry sending the authentication request.
[0065] C. If the MCU still does not receive a response signal from the BCM after sending two consecutive authentication requests, the MCU will determine that "the BCM authentication encryption data is incorrect" and record this DTC.
[0066] The specific method for controlling the BCM is as follows:
[0067] b1) If the BCM does not receive an authentication request signal from the MCU within 2 seconds after IGON, the BCM will determine that "the MCU has not sent an authentication request" and record this DTC.
[0068] b2) After receiving the random number B, the BCM uses the function F(X,sk) to encrypt B, generating encrypted authentication data C2 = F(B,sk) corresponding to the random number B, and sends Key = <c2>;
[0069] b3) If the BCM sends encrypted authentication data to the MCU and does not receive the authentication result from the MCU within 2 seconds, or does not receive the authentication request resent by the MCU, the BCM determines that the MCU authentication result transmission has timed out and records this DTC.
[0070] b4) If the BCM receives the authentication result MessageType=AlogrithmPass, no action is required;
[0071] If the BCM receives the authentication result MessageType=AlogrithmFail, it sends a SecurityVerificationError_BCM=Error signal to the IC to indicate that the anti-theft authentication has failed.
[0072] If the BCM receives a re-issued authentication request from the MCU, it will restart the authentication process.
[0073] Example 2
[0074] See Figures 2-4 This embodiment provides a control device for anti-theft of MCUs in new energy vehicles; the device can be implemented in software and / or hardware, and can be integrated into any device that provides anti-theft control functions for MCUs in new energy vehicles, specifically including:
[0075] MCU control module, used to control the MCU;
[0076] The MCU control module includes:
[0077] The first authentication module is used to enable the authentication process to be initiated by the MCU; when the power is switched to IGON, the MCU generates a set of 4-byte random numbers, denoted as random number B.
[0078] The first authentication request module is used by the MCU to send the random number B as an authentication request to the BCM.
[0079] The first processing module is used by the MCU to process the random number B using the function F(x,sk) to generate the encrypted authentication data C1 = F(B,sk) corresponding to the random number B.
[0080] The first judgment module is used to determine that if the MCU does not receive a response signal from the BCM within time T, the MCU must retry sending the authentication request; if the MCU sends an authentication request 6 times in a row and still does not receive a response signal from the BCM, the MCU will determine that the BCM does not respond to the MCU's authentication request and the authentication will fail.
[0081] The second judgment module is used to compare the encrypted authentication data C1 and C2 if a response signal C2 is received from the BCM within time T. If C1 = C2, the authentication is successful, and the MCU sends MessageType = AlogrithmPass to the BCM. If C1 ≠ C2, the authentication fails. If the authentication fails ≥ 2 times, the MCU sends MessageType = AlogrithmFail to the BCM. Otherwise, the authentication request must be retried.
[0082] The BCM control module is used to control the BCM.
[0083] The BCM control module includes:
[0084] The third judgment module is used to determine "MCU has not sent an authentication request signal" if the BCM does not receive an authentication request signal from the MCU within 2 seconds after IGON, and to record this DTC.
[0085] The encryption module is used by the BCM to encrypt a random number B using the function F(X,sk), generating encrypted authentication data C2 = F(B,sk) corresponding to the random number B, and then sending the Key = <c2>;
[0086] The fourth judgment module is used to determine that the MCU authentication result transmission timeout occurs if the BCM does not receive the authentication result from the MCU within 2 seconds after sending encrypted authentication data to the MCU, or does not receive the authentication request resent by the MCU. This DTC is then recorded.
[0087] The fifth judgment module is used so that if the BCM receives the authentication result MessageType=AlogrithmPass, no action is required;
[0088] If the BCM receives the authentication result MessageType=AlogrithmFail, it sends a SecurityVerificationError_BCM=Error signal to the IC to indicate that the anti-theft authentication has failed.
[0089] If the BCM receives a re-issued authentication request from the MCU, it will restart the authentication process.
[0090] The above-described products can perform the methods provided in any embodiment of the present invention, and have the corresponding functional modules and beneficial effects for performing the methods.
[0091] Example 3
[0092] Figure 6 This is a schematic diagram of the structure of a computer device according to Embodiment 3 of the present invention. Figure 6 A block diagram of an exemplary computer device 12 suitable for implementing embodiments of the present invention is shown. Figure 6 The computer device 12 shown is merely an example and should not impose any limitation on the functionality and scope of use of the embodiments of the present invention.
[0093] like Figure 6 As shown, the computer device 12 is represented in the form of a general-purpose computing device. The components of the computer device 12 may include, but are not limited to: one or more processors or processing units 16, system memory 28, and a bus 18 connecting different system components (including system memory 28 and processing unit 16).
[0094] Bus 18 represents one or more of several bus architectures, including a memory bus or memory controller, a peripheral bus, a graphics acceleration port, a processor, or a local bus using any of the various bus architectures. For example, these architectures include, but are not limited to, the Industry Standard Architecture (ISA) bus, the Micro Channel Architecture (MAC) bus, the Enhanced ISA bus, the Video Electronics Standards Association (VESA) local bus, and the Peripheral Component Interconnect (PCI) bus.
[0095] Computer device 12 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by computer device 12, including volatile and non-volatile media, removable and non-removable media.
[0096] System memory 28 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 30 and / or cache memory 32. Computer device 12 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, storage system 34 may be used to read and write non-removable, non-volatile magnetic media (…). Figure 6 Not shown; usually referred to as "hard drive"). Although Figure 6 Not shown, a disk drive for reading and writing to a removable non-volatile disk (e.g., a "floppy disk") and an optical disk drive for reading and writing to a removable non-volatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 18 via one or more data media interfaces. Memory 28 may include at least one program product having a set (e.g., at least one) of program modules configured to perform the functions of the embodiments of the present invention.
[0097] A program / utility 40 having a set (at least one) of program modules 42 may be stored, for example, in memory 28. Such program modules 42 include—but are not limited to—an operating system, one or more application programs, other program modules, and program data. Each or some combination of these examples may include an implementation of a network environment. Program modules 42 typically perform the functions and / or methods described in the embodiments of the present invention.
[0098] The computer device 12 can also communicate with one or more external devices 14 (e.g., keyboard, pointing device, display 24, etc.), and with one or more devices that enable a user to interact with the computer device 12, and / or with any device that enables the computer device 12 to communicate with one or more other computing devices (e.g., network card, modem, etc.). This communication can be performed via the input / output (I / O) interface 22. Furthermore, in this embodiment, the display 24 of the computer device 12 is not an independent entity, but is embedded in a mirror, so that when the display surface of the display 24 is not displayed, the display surface of the display 24 and the mirror surface visually blend together. Moreover, the computer device 12 can also communicate with one or more networks (e.g., local area network (LAN), wide area network (WAN), and / or public networks, such as the Internet) via the network adapter 20. As shown, the network adapter 20 communicates with other modules of the computer device 12 via the bus 18. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with computer device 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.
[0099] The processing unit 16 executes various functional applications and data processing by running programs stored in the system memory 28, such as implementing a new energy vehicle MCU anti-theft control method provided in the embodiments of the present invention.
[0100] Example 4
[0101] Embodiment 5 of the present invention provides a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements a control method for anti-theft of a new energy vehicle MCU as provided in all embodiments of the present application.
[0102] Any combination of one or more computer-readable media may be used. A computer-readable medium can be a computer-readable signal medium or a computer-readable storage medium. A computer-readable storage medium can be, for example—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples (a non-exhaustive list) of computer-readable storage media include: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this document, a computer-readable storage medium can be any tangible medium that contains or stores a program that can be used by or in connection with an instruction execution system, apparatus, or device.
[0103] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals may take various forms, including—but not limited to—electromagnetic signals, optical signals, or any suitable combination thereof. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, capable of transmitting, propagating, or transmitting programs for use by or in connection with an instruction execution system, apparatus, or device.
[0104] The program code contained on a computer-readable medium may be transmitted using any suitable medium, including—but not limited to—wireless, wire, optical fiber, RF, etc., or any suitable combination thereof.
[0105] Computer program code for performing the operations of this invention can be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, and C++, as well as conventional procedural programming languages such as "C" or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0106] Note that the above description is merely a preferred embodiment of the present invention and the technical principles employed. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and various obvious changes, readjustments, and substitutions can be made without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in detail through the above embodiments, the present invention is not limited to the above embodiments, and may include many other equivalent embodiments without departing from the concept of the present invention, the scope of which is determined by the scope of the appended claims.
Claims
1. A control method for anti-theft MCU in new energy vehicles, characterized in that, This includes controlling the MCU and the BCM; The specific method for controlling the MCU is as follows: a1) The authentication process is initiated by the MCU; when the power is switched to IGON, the MCU generates a set of 4-byte random numbers, denoted as random number B; a2) The MCU sends the random number B as an authentication request to the BCM; a3) The MCU internally uses the function F(x,sk) to process the random number B and generate the encrypted authentication data C1=F(B,sk) corresponding to the random number B; a4) If the MCU does not receive a response signal from the BCM within time T, the MCU must retry sending the authentication request; if the MCU still does not receive a response signal from the BCM after sending 6 consecutive authentication requests, the MCU will determine that the BCM does not respond to the MCU's authentication request and the authentication will fail. a5) If a response signal C2 is received from the BCM within time T, the encrypted authentication data C1 and C2 need to be compared. If C1=C2, the authentication is successful and the MCU sends MessageType=AlogrithmPass to the BCM. If C1≠C2, the authentication fails. If the authentication fails ≥2 times, the MCU sends MessageType=AlogrithmFail to the BCM. Otherwise, the authentication request must be retried. The specific method for controlling the BCM is as follows: b1) If the BCM does not receive an authentication request signal from the MCU within 2 seconds after IGON, the BCM will determine that "the MCU has not sent an authentication request" and record this DTC. b2) After receiving the random number B, the BCM uses the function F(X,sk) to encrypt B, generating encrypted authentication data C2=F(B,sk) corresponding to the random number B, and sends Key= <c2> ;< / c2> b3) If the BCM sends encrypted authentication data to the MCU and does not receive the authentication result from the MCU within 2 seconds, or does not receive the authentication request resent by the MCU, the BCM determines that the MCU authentication result transmission has timed out and records this DTC. b4) If the BCM receives the authentication result MessageType=AlogrithmPass, no action is required; If the BCM receives the authentication result MessageType=AlogrithmFail, it sends a SecurityVerificationError_BCM=Error signal to the IC to indicate that the anti-theft authentication has failed. If the BCM receives a new authentication request from the MCU, it will restart the authentication process. The retry requirements for step a5) to retry issuing the authentication request are as follows: A. The time interval between two consecutive authentication requests issued by the MCU: R; B. The MCU can retry sending the authentication request at most once consecutively, and a total of 2 times; however, if the BCM responds to any authentication request, the MCU will not retry sending the authentication request. C. If the MCU still does not receive a response signal from the BCM after sending two consecutive authentication requests, the MCU will determine that "the BCM authentication encryption data is incorrect" and record this DTC.
2. A control device for anti-theft MCU in new energy vehicles, characterized in that, include: MCU control module, used to control the MCU; The BCM control module is used to control the BCM. The MCU control module includes: The first authentication module is used to enable the authentication process to be initiated by the MCU; when the power is switched to IGON, the MCU generates a set of 4-byte random numbers, denoted as random number B. The first authentication request module is used by the MCU to send the random number B as an authentication request to the BCM. The first processing module is used by the MCU to process the random number B using the function F(x,sk) to generate the encrypted authentication data C1=F(B,sk) corresponding to the random number B. The first judgment module is used to determine that if the MCU does not receive a response signal from the BCM within time T, the MCU must retry sending the authentication request; if the MCU sends an authentication request 6 times in a row and still does not receive a response signal from the BCM, the MCU will determine that the BCM does not respond to the MCU's authentication request and the authentication will fail. The second judgment module is used to compare the encrypted authentication data C1 and C2 if a response signal C2 is received from BCM within time T. If C1=C2, it means that the authentication is successful and the MCU sends MessageType=AlogrithmPass to BCM. If C1≠C2, it means that the authentication has failed. If the authentication fails ≥2 times, the MCU sends MessageType=AlogrithmFail to BCM. Otherwise, the authentication request must be retried. The BCM control module includes: The third judgment module is used to determine "MCU has not sent an authentication request signal" if the BCM does not receive an authentication request signal from the MCU within 2 seconds after IGON, and to record this DTC. The encryption module is used by the BCM to encrypt a random number B using the function F(X,sk), generating encrypted authentication data C2=F(B,sk) corresponding to the random number B, and then sending Key= <c2> ;< / c2> The fourth judgment module is used to determine that the MCU authentication result transmission timeout occurs if the BCM does not receive the authentication result from the MCU within 2 seconds after sending encrypted authentication data to the MCU, or does not receive the authentication request resent by the MCU. This DTC is then recorded. The fifth judgment module is used so that if BCM receives the authentication result MessageType=AlogrithmPass, no action is required; If the BCM receives the authentication result MessageType=AlogrithmFail, it sends a SecurityVerificationError_BCM=Error signal to the IC to indicate that the anti-theft authentication has failed. If the BCM receives a re-issued authentication request from the MCU, it will restart the authentication process.
3. A computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the program, it implements the anti-theft control method for a new energy vehicle MCU as described in claim 1.
4. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the program is executed by the processor, it implements the anti-theft control method for a new energy vehicle MCU as described in claim 1.
Citation Information
Patent Citations
Method and system for anti-theft authentication of pure electric vehicle
CN106627489A
Automobile anti-theft control method and device, automobile and electronic equipment
CN114590224A