Automobile de-protection method and device and computer equipment

By generating driver configuration files and initializing communication configurations, resetting and verifying the car control unit, one-click cancellation of collision protection for Tesla cars is solved, complex deprotection operation problems are solved, and maintenance costs and technical requirements are reduced.

CN119116857APending Publication Date: 2024-12-13SHENZHEN XTOOLTECH INTELLIGENT CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411039700.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-31
Publication Date
2024-12-13

AI Technical Summary

Technical Problem

In the existing technology, Tesla cars write abnormal codes after collision, resulting in the inability to start and run normally after repair, and the deprotection operation is complicated. It requires the use of CAN cards and Tesla gadgets, which require high technical skills of maintenance personnel and increase maintenance. cost.

Method used

By generating driver configuration files, initializing communication configuration, resetting the car control unit, and verifying the security policy, sending unlocking instructions to achieve one-click collision protection.

Benefits of technology

It reduces the technical requirements of maintenance personnel, improves maintenance efficiency, reduces the maintenance cost of Tesla collision vehicles, and solves the problem that the vehicle cannot start normally after maintenance due to an abnormal state due to collision.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119116857A_ABST
    Figure CN119116857A_ABST
Patent Text Reader

Abstract

The invention discloses an automobile de-protection method and device and computer equipment, and the method comprises the steps: S101, generating a drive configuration file according to an automobile collision unlocking function configuration library, and storing the drive configuration file; and S102, the diagnosis application program performs initialization communication configuration according to the configuration information of the drive configuration file. And S103, the diagnosis application also communicates with the automobile control unit according to the configuration information, and resets the automobile control unit according to the configuration information. And S104, after the reset is successful, the diagnosis application program and the automobile control unit carry out security policy verification. And S105, after the security policy verification is passed, the diagnosis application program sends an unlocking instruction to the automobile control unit to unlock the automobile. In this way, the function of removing collision protection in a one-button mode can be achieved, the technical requirement for maintenance personnel is lowered, the maintenance efficiency is improved, and the maintenance cost of the Tesla collision vehicle is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of automobile diagnosis, and in particular to an automobile deprotection method, device and computer equipment. Background Art

[0002] Tesla is the current pioneer of new energy vehicles, and its car models include: Model 3, Model S, Model X, Model Y, Roadster, Semi, etc. In the latest new energy electric vehicle sales ranking in May 2023, Tesla Model Y ranked first, with monthly sales of 31,054 and annual sales of 152,461, accounting for a large market share.

[0003] Tesla cars will write abnormal codes to the vehicle after a collision, causing the vehicle to be unable to start and run normally after repairs, and the gear position sign will not be displayed in the upper left corner of the dashboard. At this time, the vehicle will need to be unprotected and the unlocking process will be executed to enable the vehicle to start and run normally after repairs.

[0004] The current deprotection operation in the market is complicated, requiring maintenance personnel to use a CAN card and an English Tesla gadget to perform a series of operations such as specifying node selection, initializing CAN, sending IP, and manually inputting the running ID. It cannot be operated with one click, and the technical requirements for maintenance personnel are higher. Therefore, the current deprotection method has high requirements for operating conditions, thereby increasing maintenance costs. Summary of the invention

[0005] The present invention aims to solve one of the technical problems in the related art at least to a certain extent. To this end, the purpose of the present invention is to provide a vehicle deprotection method, device and computer equipment for new energy vehicle equipment.

[0006] To achieve the above-mentioned purpose, in a first aspect, a method for deprotecting a new energy vehicle device according to an embodiment of the present invention includes:

[0007] Generate a driver configuration file according to a vehicle collision unlocking function configuration library, and store the driver configuration file;

[0008] The diagnostic application initializes communication configuration according to the configuration information of the driver configuration file;

[0009] The diagnostic application also communicates with the vehicle control unit according to the configuration information and resets the vehicle control unit according to the configuration information;

[0010] After a successful reset, the diagnostic application performs security policy verification with the vehicle control unit;

[0011] After the security policy is verified, the diagnostic application sends an unlock command to the vehicle control unit to unlock the car.

[0012] Further, according to an embodiment of the present invention, before the diagnostic application initializes the communication configuration according to the configuration information of the driver configuration file, the step of:

[0013] The diagnostic application is connected to the remote server and obtains the wiring diagram of the vehicle model to be unlocked from the remote server according to the vehicle model information to be unlocked;

[0014] The wiring diagram of the vehicle model to be unlocked is displayed.

[0015] Further, according to an embodiment of the present invention, after the reset is successful, the diagnostic application program and the vehicle control unit perform security policy verification before the verification further includes the following steps:

[0016] Output power-off prompt information during the deprotection execution process;

[0017] Determine whether there is a power connection confirmation message, if yes, execute the next step, otherwise continue to wait for the power connection confirmation message.

[0018] Further, according to an embodiment of the present invention, the method for performing security policy verification between the diagnostic application and the vehicle control unit comprises the steps of:

[0019] The diagnostic application sends a request for a security policy seed to the vehicle control unit, and receives security policy seed information returned by the vehicle control unit;

[0020] The diagnostic application calculates a security login code based on the security policy seed information;

[0021] The diagnostic application sends the secure login code to the vehicle control unit;

[0022] The diagnostic application receives the login feedback information from the vehicle control unit and determines whether the verification is successful based on the login feedback information; if the verification fails, an unlocking failure prompt is given.

[0023] Further, according to an embodiment of the present invention, the method for the diagnostic application to calculate the security login code according to the security policy seed information comprises the steps of:

[0024] The diagnostic application determines whether the effective data length of the security policy seed information returned by the vehicle control unit is the set length. If the returned data length is not the set length, an unlocking failure prompt is given, otherwise the next step is performed;

[0025] The diagnostic application obtains the last N bytes of valid data of the security policy seed information;

[0026] The security login code is calculated based on the last N bytes of data.

[0027] Further, according to an embodiment of the present invention, the method for calculating the security login code based on the last N bytes of data comprises the steps of:

[0028] The diagnostic application performs an XOR operation on each byte of the last N bytes of data and a set operation number;

[0029] The result of the operation is used as the security login code.

[0030] Further, according to an embodiment of the present invention, the diagnostic application sends the security login code to the vehicle control unit comprising the steps of:

[0031] Adding a security login request code before the first byte of the security login code;

[0032] The security login request code and the security login code are sent together to the vehicle control unit.

[0033] Further, according to an embodiment of the present invention, after the security policy is verified, the diagnostic application sends an unlocking instruction to the vehicle control unit, and unlocking the vehicle includes the following steps:

[0034] The diagnostic application sends an unlock command to the vehicle control unit;

[0035] The diagnostic application receives unlocking information fed back by the vehicle control unit;

[0036] The diagnostic application determines whether the device has been unlocked according to the unlock information, and prompts whether the unlocking is successful or failed.

[0037] Further, according to an embodiment of the present invention, after the security policy verification is passed, the diagnostic application sends an unlocking instruction to the vehicle control unit, and after unlocking the vehicle, the following steps are also included:

[0038] The diagnostic application also writes configuration log information, data information generated by the execution steps, and unlock status information to the log file respectively.

[0039] In a second aspect, an embodiment of the present invention further provides a vehicle protection device, comprising:

[0040] A drive configuration file generation module, the drive configuration file generation module is used to generate a drive configuration file according to a vehicle collision unlocking function configuration library, and store the drive configuration file;

[0041] An initialization configuration module, the initialization configuration module is used for the diagnostic application to initialize communication configuration according to the configuration information of the driver configuration file;

[0042] a reset module, wherein the reset module is used for the diagnostic application to communicate with the vehicle control unit according to the configuration information, and to reset the vehicle control unit according to the configuration information;

[0043] A safety verification module, wherein the safety verification module is used to perform safety policy verification between the diagnostic application and the vehicle control unit after a successful reset;

[0044] The unlocking module is used for the diagnostic application to send an unlocking instruction to the vehicle control unit to unlock the vehicle after the security policy verification is passed.

[0045] In a third aspect, a computer device according to an embodiment of the present invention includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above-mentioned vehicle deprotection method when executing the computer program;

[0046] The embodiment of the present invention provides a method, device and computer equipment for deprotecting a new energy vehicle device. The method generates a driver configuration file according to the vehicle collision unlocking function configuration library through step S101, and stores the driver configuration file. S102. The diagnostic application initializes the communication configuration according to the configuration information of the driver configuration file. S103. The diagnostic application also communicates with the vehicle control unit according to the configuration information, and resets the vehicle control unit according to the configuration information. S104. After the reset is successful, the diagnostic application performs security policy verification with the vehicle control unit. S105. After the security policy verification is passed, the diagnostic application sends an unlocking instruction to the vehicle control unit to unlock the car. In this way, the function of releasing the collision protection can be realized with one click, which reduces the technical requirements for maintenance personnel, improves maintenance efficiency, and reduces the maintenance cost of Tesla collision vehicles.

[0047] Additional aspects and advantages of the present invention will be given in part in the following description and in part will be obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. 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 the structures shown in these drawings without paying creative work.

[0049] Figure 1 is a flow chart of a method for deprotecting a vehicle provided by an embodiment of the present invention;

[0050] Figure 2 is a flow chart of another automobile deprotection method provided by an embodiment of the present invention;

[0051] Figure 3 is a flow chart of a method for performing security strategy verification between a diagnostic application and a vehicle control unit provided by an embodiment of the present invention;

[0052] Figure 4 It is a flow chart of a method for searching and downloading a wiring diagram from the cloud through networking provided by an embodiment of the present invention;

[0053] Figure 5 is a flow chart of the initialization communication method provided by an embodiment of the present invention;

[0054] Figure 6 This is a flow chart of a method for resetting an automobile control unit ECU provided by an embodiment of the present invention;

[0055] Figure 7 is a flow chart of a security policy verification method provided by an embodiment of the present invention;

[0056] Figure 8 is a flow chart of a method for executing deprotection provided by an embodiment of the present invention;

[0057] Fig. 9 It is a structural block diagram of a vehicle protection device provided by an embodiment of the present invention;

[0058] Fig.10 It is a structural block diagram of a computer device provided by an embodiment of the present invention.

[0059] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0060] Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and cannot be understood as limiting the present invention.

[0061] Tesla cars will write abnormal codes to the vehicle after a collision, causing the vehicle to be unable to start and run normally after repairs, and the gear position sign will not be displayed in the upper left corner of the dashboard. At this time, the vehicle will need to be unprotected and the unlocking process will be executed to enable the vehicle to start and run normally after repairs.

[0062] See also Figure 1 The embodiment of the present invention provides a method for deprotecting a vehicle, comprising the steps of:

[0063] S101. Generate a driver configuration file according to a vehicle collision unlocking function configuration library, and store the driver configuration file.

[0064] S102: The diagnostic application program initializes communication configuration according to the configuration information of the driver configuration file.

[0065] S103: The diagnostic application also communicates with the vehicle control unit according to the configuration information, and resets the vehicle control unit according to the configuration information.

[0066] S104: After the reset is successful, the diagnostic application and the vehicle control unit perform security policy verification.

[0067] S105: After the security policy verification is passed, the diagnostic application sends an unlocking instruction to the vehicle control unit to unlock the vehicle.

[0068] Specifically, before unlocking the car, it is necessary to design a collision unlocking vehicle model function configuration library. Through the overall planning of Tesla models on the market and the analysis of vehicle model information that needs to develop this function, the vehicle model menu selection and communication-related parameters are designed into a library, which is used to perform corresponding functions according to the parameter configuration values ​​in the diagnostic code. After obtaining the function configuration library and the corresponding parameter configuration information, through step S101, a driver configuration file is generated according to the car collision unlocking function configuration library, and the driver configuration file is stored; the storage method can be local storage or network storage. When there are relatively many vehicle models and the configuration file is large, the driver configuration file can be stored in the network storage method. After the driver configuration file is stored. When unlocking the vehicle, the corresponding configuration file can be obtained according to the unlocked vehicle model. When the driver configuration file is stored in the network storage method, the driver configuration file needs to be downloaded to the client running the diagnostic application. The download process is as follows Figure 4 As shown in , first, the index information is introduced according to the vehicle model to be unlocked, and the network connection with the remote server is established through the index information, and the remote server is queried through the index network. If the remote server stores the corresponding driver configuration file, the query is successful, and the corresponding driver configuration file is downloaded. Otherwise, the query fails and an exception is prompted. During the download process, if the download is not normal, an exception is prompted. If the download is successful, proceed to the next step.

[0069] In step S102, the diagnostic application initializes the communication configuration according to the configuration information of the driver configuration file; the communication parameters of the corresponding vehicle model can be configured through the driver configuration file. Set the link and initialize the communication link, set the protocol, pin, baud rate and communication timing, etc. The initialization process is as follows Figure 5As shown in , first start to set up the link, then set the information that can be communicated, such as setting the protocol, baud rate, pin and other information, then start to perform initialization, then determine whether the initialization conditions are met, if not, it will prompt that the initialization failed, otherwise it will execute initialization, in this process, receive feedback information from the vehicle control unit, and determine whether the vehicle responds to the initialization instruction, if not, it will prompt that the initialization failed; otherwise, the initialization is completed. After the configuration of step S102, the diagnostic application can communicate normally with the vehicle control unit to be tested and prepare for the next unlocking operation. Before unlocking the car, it is necessary to reset the vehicle control unit through step S103. In step S103, the diagnostic application also communicates with the vehicle control unit according to the configuration information, and resets the vehicle control unit according to the configuration information; this step is to reset the vehicle ECU by sending instructions, which is used to reset the ECU and prepare for vehicle deprotection. The execution process is as follows Figure 6 As shown in , a reset instruction is passed to the diagnostic application, and the diagnostic application judges the passed reset instruction to determine whether the reset instruction is empty. When the reset instruction is empty, it means that the passed service instruction is abnormal, and the unlocking fails. Otherwise, continue to the next step. In the next step, a reset instruction is sent to the vehicle control unit, and a response signal from the vehicle control unit is received. After receiving the response signal from the vehicle control unit, it is determined whether the vehicle control unit is responding and the response data is not empty. If the response of the vehicle control unit does not meet the conditions, it is prompted to be abnormal and the unlocking fails. Otherwise, the reset is successful and enters the next step. In step S104, after the reset is successful, the diagnostic application and the vehicle control unit perform security policy verification; since security policy verification is required before executing the deprotection instruction, the process can only be continued after the verification is passed. This step is used to perform security policy verification and implement the security policy algorithm. After the security policy verification is passed, in step S105, the diagnostic application sends an unlocking instruction to the vehicle control unit to unlock the car. Send a deprotection instruction 31010573 to the vehicle (such as a Tesla car), and determine whether the deprotection is successful based on the vehicle's response to the instruction. As Figure 8 As shown in , after the security policy is verified, the diagnostic application sends an unlocking instruction to the vehicle control unit. Unlocking the vehicle includes the following steps: the diagnostic application sends an unlocking instruction to the vehicle control unit; for example, a Tesla vehicle performs an unlocking operation by sending 31010573 to the vehicle control unit. After receiving the unlocking instruction, the vehicle control unit unlocks the vehicle and feeds back the unlocking result to the diagnostic application.

[0070] The diagnostic application receives the unlocking information fed back by the vehicle control unit; and according to the unlocking information, whether the vehicle has been unlocked, a prompt of successful or failed unlocking is given. If the unlocking result information fed back by the vehicle control unit is a positive response, it indicates that the vehicle has been unlocked successfully, and a prompt of successful unlocking is given. If the vehicle control unit does not respond positively, it indicates that the vehicle has been unlocked unsuccessfully, and a prompt of failed unlocking is given.

[0071] The embodiment of the present invention provides a method for removing protection from a car. Through the above steps, the function of removing collision protection can be realized with one click, which reduces the technical requirements for maintenance personnel, improves maintenance efficiency, and reduces the maintenance cost of Tesla collision vehicles. It can realize collision removal protection for Tesla cars, solve the problem that Tesla vehicles are written into abnormal states due to collisions and still cannot start normally after maintenance, and solve the problem that the gear position in the upper left corner of the dashboard cannot be displayed after a collision, covering models such as MODEL 3 and MODEL Y on the market.

[0072] See also Figure 2 , before the diagnostic application performs initialization communication configuration S102 (S204) according to the configuration information of the driver configuration file, the method further includes the following steps:

[0073] S202: The diagnostic application is connected to the remote server, and obtains a wiring diagram of the vehicle model to be unlocked from the remote server according to the information of the vehicle model to be unlocked.

[0074] S203: Displaying the wiring diagram of the vehicle model to be unlocked.

[0075] Specifically, before unlocking the car, it is necessary to connect the diagnostic device to the car by signal. Therefore, the wiring connection method between the device and the vehicle can be analyzed and a wiring diagram can be drawn. Since there are many types of models on the market, different wiring diagrams can be drawn according to different models. In this step, the connection method between the device and the Tesla vehicle and the matching pins are first analyzed and determined, and then a wiring diagram is drawn to provide the maintenance user with wiring processing before detection. The drawn wiring diagram is stored locally or in the network. When unlocking is required, according to the corresponding model, in step S202, the diagnostic application is connected to the remote server, and the wiring diagram of the model to be unlocked is obtained from the remote server according to the information of the model to be unlocked; after correctly downloading the corresponding wiring diagram, the wiring diagram of the model to be unlocked can be displayed through step S203. In this way, the user can connect the wires according to the wiring diagram, and the connection of the connecting wire between the normal diagnostic device and the car is connected. Through this embodiment, the maintenance user is provided with a wiring diagram for connection, and the wiring before unlocking can be convenient for the user.

[0076] See also Figure 2After the reset is successful, before the diagnostic application and the vehicle control unit perform security policy verification S104 (S208) further includes the steps of:

[0077] S206: Outputting power-off prompt information during the deprotection execution process.

[0078] S207, determine whether there is power connection confirmation information, if yes, execute the next step, otherwise continue to wait for the power connection confirmation information.

[0079] Specifically, in step S206, the power-off prompt information of the deprotection execution process is output; since the function is started by clicking the collision unlock menu, the vehicle will be powered off during the execution of the function. This step is used to prompt the user to connect an external power supply to prevent the function from failing due to power failure during the execution of the function. The content of the prompt includes prompting the user to install the jumper diagram and use the jumper to connect the Bluetooth connection box VCI. It also prompts that the vehicle will be powered off during the unlocking execution process, and reminds the Bluetooth connection box VCI to be powered externally, and not to use the vehicle power supply, otherwise the execution process will be interrupted. Through these prompts, the user can perform the corresponding confirmation operation after wiring and testing according to the prompts. The diagnostic application determines whether there is a power connection confirmation information through step S207. If so, execute the next step, otherwise continue to wait for the power connection confirmation information. In this way, after ensuring that the power cord is correctly connected, the next step is executed to avoid the occurrence of unlocking failure due to power failure during the unlocking process.

[0080] See also Figure 3 and Figure 7 The method S104 of performing security strategy verification between the diagnostic application and the vehicle control unit comprises the steps of:

[0081] S1041. The diagnostic application sends a request for a security policy seed to the vehicle control unit, and receives security policy seed information returned by the vehicle control unit.

[0082] S1042. The diagnostic application calculates a security login code based on the security policy seed information.

[0083] S1043: The diagnostic application sends the security login code to the vehicle control unit.

[0084] S1044. The diagnostic application receives login feedback information from the vehicle control unit and determines whether the verification is successful based on the login feedback information; if the verification fails, an unlocking failure prompt is given.

[0085] Specifically, Figure 7As shown in , in the process of unlocking the car, in step S1041, the diagnostic application sends a request for a security policy seed to the car control unit. For example, in the process of unlocking a Tesla car, the car control unit can be requested to send a request for a security policy seed by sending a 2705 request instruction. In this way, after the car control power receives the security policy seed request, it responds to the request and sends the response result to the diagnostic device, and the diagnostic device receives the security policy seed information returned by the car control unit through the diagnostic application. And in step S1042, the diagnostic application calculates the security login code according to the security policy seed information; wherein, the method for the diagnostic application to calculate the security login code according to the security policy seed information includes the following steps: first, determining whether the car control unit responds positively to the request for the security policy seed seed. If the car control unit does not respond positively, an unlocking failure exception is prompted; if the car control unit responds positively, the diagnostic application continues to determine whether the valid data length of the security policy seed information returned by the car control unit is the set length; if the returned data length is not the set length, an unlocking failure prompt is given, otherwise the next step is performed; wherein, in one embodiment of the present invention, the set length is the valid data length equal to 0x12. When the above two conditions are met, the diagnostic application obtains the data of the last N bytes of the valid data of the security policy seed information; and calculates the security login code according to the data of the last N bytes. Wherein, the data of the last N bytes can be the last 0x10 bytes of the valid data responded by the vehicle control unit as the seed data. Wherein, the method for calculating the security login code according to the data of the last N bytes includes the steps of: the diagnostic application performs an XOR operation on each byte of the last N bytes of data and a set operation number; for example, the diagnostic application performs an XOR operation on each byte of the seed data and 0x35, and uses the result of the operation as the security login code. Add a security login request code before the first byte of the security login code; send the security login request code and the security login code together to the vehicle control unit. After obtaining the login code, the diagnostic application sends 2706+login code (security login code) to the vehicle control unit ECU, where 2706 is the security login request code. And wait for the response of the vehicle control unit ECU. When the ECU vehicle control unit returns 6706, it means that the security policy verification is successful, otherwise it fails. In this way, the diagnostic application and the vehicle control unit perform a security policy verification process. Ensure that the diagnostic application logs into the system of the vehicle control unit normally and continues to perform subsequent unlocking operations. For example, in one embodiment, the security policy verification includes the steps of:

[0086] In the first step, the diagnostic device sends a command 2705 to the ECU.

[0087] Step 2: ECU returns 6705000102030405060708090A0B0C0D0E0F, so the seed is 000102030405060708090A0B0C0D0E0F.

[0088] Step 3: The diagnostic device performs an XOR operation on each byte of the seed and 0x35 to obtain the secure login code 35343736313033323D3C3F3E39383B3A.

[0089] Step 4: The diagnostic device sends 2706 + login code to the ECU,

[0090] 270635343736313033323D3C3F3E39383B3A.

[0091] Step 5: ECU returns 6706 to indicate that the security policy verification is successful, otherwise it fails.

[0092] See also Figure 2 After the security policy is verified, the diagnostic application sends an unlocking instruction to the vehicle control unit to unlock the vehicle S209 (S105) and then includes: S210, the diagnostic application also writes the configuration log information, the data information generated by the execution steps and the unlocking status information into the log file. This process is closely related to each step in the software operation process. The implementation method is to write the important process data in the process into the log file, and then store the generated log in the log database for function management, maintenance and troubleshooting.

[0093] On the other hand, see Fig. 9 An embodiment of the present invention also provides an off-vehicle detection and diagnosis device for new energy automobile equipment, including: a drive configuration file generation module, an initialization configuration module, a reset module, a safety verification module and an unlocking module. The drive configuration file generation module is used to generate a drive configuration file according to a car collision unlocking function configuration library and store the drive configuration file.

[0094] The initialization configuration module is used for the diagnostic application to initialize communication configuration according to the configuration information of the driver configuration file.

[0095] The reset module is used for the diagnostic application to communicate with the vehicle control unit according to the configuration information, and to reset the vehicle control unit according to the configuration information.

[0096] The safety verification module is used to perform safety policy verification between the diagnostic application and the vehicle control unit after a successful reset.

[0097] The unlocking module is used to send an unlocking instruction to the vehicle control unit by the diagnostic application after the security policy verification is passed to unlock the vehicle.

[0098] On the other hand, see Fig.10 The present invention also provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above-mentioned vehicle deprotection method when executing the computer program.

[0099] Exemplarily, the computer program may be divided into one or more modules / units, which are stored in the memory and executed by the processor to implement the present invention. The one or more modules / units may be a series of computer program instruction segments capable of implementing specific functions, which are used to describe the execution process of the computer program in the computer device.

[0100] The computer device may include, but is not limited to, a processor and a memory. Those skilled in the art will appreciate that the figure is only an example of a computer device and does not constitute a limitation on the computer device. The computer device may include more or fewer components than shown in the figure, or may combine certain components, or different components. For example, the computer device may also include an input / output device, a network access device, a bus, etc.

[0101] The processor may be a central processing unit (CPU), other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete preset hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.

[0102] The memory may be an internal storage unit of the computer device, such as a hard disk or memory of the computer device. The memory may also be an external storage device of the computer device, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the computer device. Furthermore, the memory may include both an internal storage unit and an external storage device of the computer device. The memory is used to store the computer program and other programs and data required by the computer device. The memory may also be used to temporarily store data that has been output or is to be output.

[0103] In a fourth aspect, an embodiment of the present invention further provides a computer storage medium on which a computer program is stored, and when the program is executed by a processor, the vehicle deprotection method of the new energy vehicle equipment as described above is implemented.

[0104] The computer program may be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of each of the above method embodiments may be implemented. The computer program includes computer program code, and the computer program code may be in source code form, object code form, executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium, etc.

[0105] It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practices in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practices, computer-readable media does not include electrical carrier signals and telecommunication signals.

[0106] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0107] The steps in the method of the embodiment of the present invention can be adjusted in order, combined or deleted according to actual needs.

[0108] The modules or units in the system of the embodiment of the present invention may be combined, divided or deleted according to actual needs.

[0109] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic preset hardware, or in a combination of computer software and electronic preset hardware. Whether these functions are performed in preset hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0110] In the embodiments provided by the present invention, it should be understood that the disclosed device / computer equipment 600 and method can be implemented in other ways. For example, the device / computer equipment 600 embodiment described above is only schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0111] The embodiments described above are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be included in the protection scope of the present invention.

Claims

1. A method for deprotecting a car, It is characterized in that include: Generate a driver configuration file according to a vehicle collision unlocking function configuration library, and store the driver configuration file; The diagnostic application initializes communication configuration according to the configuration information of the driver configuration file; The diagnostic application also communicates with the vehicle control unit according to the configuration information and resets the vehicle control unit according to the configuration information; After a successful reset, the diagnostic application performs security policy verification with the vehicle control unit; After the security policy is verified, the diagnostic application sends an unlock command to the vehicle control unit to unlock the car.

2. The automobile deprotection method according to claim 1, It is characterized in that Before the diagnostic application program performs initialization communication configuration according to the configuration information of the driver configuration file, the method further includes the following steps: The diagnostic application is connected to the remote server and obtains the wiring diagram of the vehicle model to be unlocked from the remote server according to the vehicle model information to be unlocked; The wiring diagram of the vehicle model to be unlocked is displayed.

3. The automobile deprotection method according to claim 2, It is characterized in that After a successful reset, the diagnostic application also includes the following steps before verifying the security policy with the vehicle control unit: Output power-off prompt information during the deprotection execution process; Determine whether there is a power connection confirmation message, if yes, execute the next step, otherwise continue to wait for the power connection confirmation message.

4. The automobile deprotection method according to claim 1, It is characterized in that The method for performing security strategy verification between the diagnostic application and the vehicle control unit comprises the steps of: The diagnostic application sends a request for a security policy seed to the vehicle control unit, and receives security policy seed information returned by the vehicle control unit; The diagnostic application calculates a security login code based on the security policy seed information; The diagnostic application sends the secure login code to the vehicle control unit; The diagnostic application receives the login feedback information from the vehicle control unit and determines whether the verification is successful based on the login feedback information; if the verification fails, an unlocking failure prompt is given.

5. The automobile deprotection method according to claim 4, It is characterized in that The method for the diagnostic application to calculate the security login code according to the security policy seed information comprises the steps of: The diagnostic application determines whether the effective data length of the security policy seed information returned by the vehicle control unit is the set length. If the returned data length is not the set length, an unlocking failure prompt is given, otherwise the next step is performed; The diagnostic application obtains the last N bytes of valid data of the security policy seed information; The security login code is calculated based on the last N bytes of data.

6. The method for deprotecting an automobile according to claim 5, It is characterized in that The method for calculating the security login code according to the last N bytes of data comprises the steps of: The diagnostic application performs an XOR operation on each byte of the last N bytes of data and a set operation number; The result of the operation is used as the security login code.

7. The automobile deprotection method according to claim 6, It is characterized in that The diagnostic application sends the security login code to the vehicle control unit comprising the steps of: Adding a security login request code before the first byte of the security login code; The security login request code and the security login code are sent together to the vehicle control unit.

8. The method for deprotecting an automobile according to any one of claims 1 to 6, It is characterized in that After the security policy is verified, the diagnostic application sends an unlocking instruction to the vehicle control unit. Unlocking the vehicle includes the following steps: The diagnostic application sends an unlock command to the vehicle control unit; The diagnostic application receives unlocking information fed back by the vehicle control unit; Diagnose whether the application has been unlocked according to the unlock information, and prompt whether the unlocking is successful or failed; The diagnostic application also writes configuration log information, data information generated by the execution steps, and unlock status information to the log file respectively.

9. A car protection device, It is characterized in that include: A drive configuration file generation module, the drive configuration file generation module is used to generate a drive configuration file according to a vehicle collision unlocking function configuration library, and store the drive configuration file; An initialization configuration module, the initialization configuration module is used for the diagnostic application to initialize communication configuration according to the configuration information of the driver configuration file; a reset module, wherein the reset module is used for the diagnostic application to communicate with the vehicle control unit according to the configuration information, and to reset the vehicle control unit according to the configuration information; A safety verification module, wherein the safety verification module is used to perform safety policy verification between the diagnostic application and the vehicle control unit after a successful reset; The unlocking module is used for the diagnostic application to send an unlocking instruction to the vehicle control unit to unlock the vehicle after the security policy verification is passed.

10. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, It is characterized in that When the processor executes the computer program, the vehicle deprotection method according to any one of claims 1 to 8 is implemented.