Electric vehicle control method, device, storage medium, processor and electronic device

By obtaining the high-voltage system, braking system and gear status of the electric vehicle, and controlling the vehicle to enter the target mode according to preset conditions, the problems of low debugging and detection efficiency and insufficient safety of the electric vehicle are solved, and more efficient detection and higher security.

CN114789665BActive Publication Date: 2024-11-05CHINA FAW CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210486303.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-06
Publication Date
2024-11-05
Estimated Expiration
2042-05-06

AI Technical Summary

Technical Problem

The debugging and detection efficiency of electric vehicle control methods is low, and the safety factor of operators is low. The existing technology has failed to effectively solve the problem of disabling control methods for high-voltage and driving drives on vehicles, resulting in an increase in the risk of safety accidents.

Method used

By obtaining the target parameters of the high-voltage system status, braking system status and gear status of the electric vehicle, the vehicle enters the target mode according to preset conditions, and then debugging and testing are carried out to ensure that the vehicle operates in a safe state.

Benefits of technology

The debugging and detection efficiency of electric vehicle control methods and the safety factor of operators are improved, ensuring the safety of the production environment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114789665B_ABST
    Figure CN114789665B_ABST
Patent Text Reader

Abstract

The present invention discloses an electric vehicle control method, device, storage medium, processor and electronic device. The method comprises: obtaining target parameters, wherein the target parameters include a first parameter, a second parameter and a third parameter, the first parameter is used to indicate the state of the electric vehicle high voltage system, the second parameter is used to indicate the state of the electric vehicle brake system, and the third parameter is used to indicate the gear state of the electric vehicle; in response to the target parameters satisfying a preset condition, controlling the electric vehicle to enter a target mode; based on the electric vehicle being in the target mode, controlling the electric vehicle to perform debugging and detection. The present invention solves the technical problems of low debugging and detection efficiency and low operator safety factor of the electric vehicle control method.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of vehicle control, and in particular to an electric vehicle control method, device, storage medium, processor and electronic device. Background Art

[0002] During the production of electric vehicles, operators will install, debug, inspect, repair, and rewrite software for various controllers and actuators. Since the production workshop environment of electric vehicles is relatively complex, in order to ensure the safety of operators, it is usually necessary to prohibit high voltage from being applied to the vehicle to prevent operators from getting electric shock. At the same time, it is also necessary to limit the driving ability of the vehicle to prevent production safety accidents.

[0003] In the related art, the electric vehicle control method can prohibit high voltage on the vehicle, thereby installing, debugging, inspecting and repairing various controllers and actuators according to the high voltage state of the vehicle. However, only considering the high voltage state of the vehicle may cause the vehicle to be driven or moved unexpectedly, resulting in low debugging and inspection efficiency of the electric vehicle control method and low safety factor for operators.

[0004] Therefore, how to design a control method for disabling high voltage and driving on a vehicle to meet the needs of vehicle debugging and testing, thereby improving the efficiency of debugging and testing and improving the safety factor of operators has become a key issue at present. There is currently no effective solution to the above problem. Summary of the invention

[0005] The embodiments of the present invention provide an electric vehicle control method, device, storage medium, processor and electronic device to at least solve the technical problems of low debugging and detection efficiency of the electric vehicle control method and low safety factor of operators.

[0006] According to one embodiment of the present invention, there is provided an electric vehicle control method, characterized in that it includes:

[0007] Obtain target parameters, wherein the target parameters include a first parameter, a second parameter, and a third parameter, wherein the first parameter is used to indicate a state of a high-voltage system of the electric vehicle, the second parameter is used to indicate a state of a braking system of the electric vehicle, and the third parameter is used to indicate a gear state of the electric vehicle; in response to the target parameters satisfying a preset condition, control the electric vehicle to enter a target mode; based on the electric vehicle being in the target mode, control the electric vehicle to perform debugging and testing.

[0008] Optionally, obtaining the target parameter includes: obtaining an access status of a vehicle controller of the electric vehicle, the vehicle controller being used to control multiple controllers of the electric vehicle to perform operations; and obtaining the target parameter based on the access status.

[0009] Optionally, in response to the target parameter satisfying a preset condition, controlling the electric vehicle to enter the target mode includes: in response to the target parameter satisfying the preset condition, determining that the electric vehicle is in a target state; and controlling the electric vehicle to enter the target mode based on the electric vehicle being in the target state.

[0010] Optionally, the electric vehicle control method also includes: in response to the target parameter not satisfying a preset condition, completing the operation of multiple controllers of the electric vehicle within a preset time to obtain a first operation result; determining that the electric vehicle is in a target state based on the first operation result; and based on the electric vehicle being in the target state, controlling the electric vehicle to enter a target mode.

[0011] Optionally, the multiple controllers of the electric vehicle include an instrument controller and a display, and the electric vehicle control method also includes: in response to the target parameter not satisfying a preset condition and the operation of the multiple controllers of the electric vehicle not being completed within a preset time, obtaining a second operation result; determining, based on the second operation result, that the electric vehicle has failed to enter the target mode; based on the failure of the electric vehicle to enter the target mode, the vehicle controller of the electric vehicle sends a first instruction to control the instrument controller and the display to display a first prompt message, and the first prompt message is used to indicate that the electric vehicle has failed to enter the target mode.

[0012] Optionally, the electric vehicle control method further includes: a vehicle controller of the electric vehicle sends a second instruction to control the instrument controller and the display to display second prompt information, and the second prompt information is used to indicate that the electric vehicle is in the target mode.

[0013] According to one embodiment of the present invention, there is also provided an electric vehicle control device, comprising:

[0014] An acquisition module is used to acquire target parameters, wherein the target parameters include a first parameter, a second parameter, and a third parameter, wherein the first parameter is used to indicate the state of the electric vehicle's high-voltage system, the second parameter is used to indicate the state of the electric vehicle's braking system, and the third parameter is used to indicate the gear state of the electric vehicle; a first control module is used to control the electric vehicle to enter a target mode in response to the target parameter satisfying a preset condition; and a second control module is used to control the electric vehicle to perform debugging and testing based on the electric vehicle being in the target mode.

[0015] According to one embodiment of the present invention, a non-volatile storage medium is further provided, characterized in that a computer program is stored in the storage medium, wherein the computer program is configured to execute any of the above-mentioned electric vehicle control methods when running.

[0016] According to one embodiment of the present invention, a processor is further provided, characterized in that the processor is used to run a program, wherein the program is configured to execute any of the above-mentioned electric vehicle control methods when running.

[0017] According to one embodiment of the present invention, there is also provided an electronic device, comprising a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute any of the aforementioned electric vehicle control methods.

[0018] In an embodiment of the present invention, a target parameter is first obtained, wherein the target parameter includes a first parameter, a second parameter, and a third parameter, wherein the first parameter is used to indicate the state of the electric vehicle high voltage system, the second parameter is used to indicate the state of the electric vehicle braking system, and the third parameter is used to indicate the gear state of the electric vehicle, and then in response to the target parameter satisfying a preset condition, the electric vehicle is controlled to enter a target mode, and finally based on the electric vehicle being in the target mode, the electric vehicle is controlled to perform debugging and testing, thereby achieving the purpose of controlling the electric vehicle to enter the target mode according to the first parameter, the second parameter, and the third parameter, and then controlling the electric vehicle to perform debugging and testing, thereby achieving the technical effect of improving the debugging and testing efficiency of the electric vehicle control method and improving the safety factor of the operator, and thereby solving the technical problem of low debugging and testing efficiency of the electric vehicle control method and low safety factor of the operator. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:

[0020] Figure 1 is a flow chart of a method for controlling an electric vehicle provided according to an embodiment of the present invention;

[0021] Figure 2 is a flow chart of an optional debugging and testing of an electric vehicle provided according to an embodiment of the present invention;

[0022] Figure 3 4 is a structural block diagram of an electric vehicle control device provided according to an embodiment of the present invention. DETAILED DESCRIPTION

[0023] 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.

[0024] It should be noted that the terms "first", "second", 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 that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0025] According to an embodiment of the present invention, an embodiment of an electric vehicle control method is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0026] The method embodiment can be executed in an electronic device or a similar computing device that includes a memory and a processor in a vehicle. Taking the operation on the electronic device of the vehicle as an example, the electronic device of the vehicle may include one or more processors (the processor may include but is not limited to a central processing unit (CPU), a graphics processing unit (GPU), a digital signal processing (DSP) chip, a microprocessor (MCU), a programmable logic device (FPGA), a neural network processor (NPU), a tensor processor (TPU), an artificial intelligence (AI) type processor, etc.) and a memory for storing data. Optionally, the electronic device of the above-mentioned vehicle may also include a transmission device, an input and output device, and a display device for communication functions. It can be understood by those of ordinary skill in the art that the above-mentioned structural description is only illustrative and does not limit the structure of the electronic device of the above-mentioned vehicle. For example, the electronic device of the vehicle may also include more or fewer components than the above-mentioned structural description, or have a configuration different from the above-mentioned structural description.

[0027] The memory can be used to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the information processing method in the embodiment of the present invention. The processor executes various functional applications and electric vehicle control by running the computer program stored in the memory, that is, realizing the above-mentioned information processing method. The memory may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory may further include a memory remotely arranged relative to the processor, and these remote memories may be connected to the mobile terminal via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0028] The transmission device is used to receive or send data via a network. The specific example of the above network may include a wireless network provided by a communication provider of the mobile terminal. In one example, the transmission device includes a network adapter (Network Interface Controller, referred to as NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device can be a radio frequency (Radio Frequency, referred to as RF) module, which is used to communicate with the Internet wirelessly.

[0029] The display device may be, for example, a touch screen type liquid crystal display (LCD) and a touch display (also referred to as a "touch screen" or "touch display screen"). The liquid crystal display may enable a user to interact with a user interface of the mobile terminal. In some embodiments, the mobile terminal has a graphical user interface (GUI), and a user may interact with the GUI by finger contact and / or gestures on a touch-sensitive surface, wherein the human-computer interaction functions here may optionally include the following interactions: creating web pages, drawing, word processing, making electronic documents, games, video conferencing, instant messaging, sending and receiving emails, call interfaces, playing digital videos, playing digital music and / or web browsing, etc. The executable instructions for executing the above human-computer interaction functions are configured / stored in a computer program product or a readable storage medium executable by one or more processors.

[0030] In this embodiment, a method for controlling an electric vehicle of an electronic device running on the above vehicle is provided. Figure 1 is a flow chart of an electric vehicle control method provided according to an embodiment of the present invention. Figure 1 As shown, the method comprises the following steps:

[0031] Step S10, obtaining target parameters, wherein the target parameters include a first parameter, a second parameter, and a third parameter, the first parameter is used to indicate the state of the electric vehicle high voltage system, the second parameter is used to indicate the state of the electric vehicle braking system, and the third parameter is used to indicate the gear state of the electric vehicle;

[0032] The first parameter can be that the high voltage system of the electric vehicle is powered on or powered off. The second parameter can be that the braking system of the electric vehicle is in a braking state or in an unbraking state. The third parameter can be that the electric vehicle is in the P gear, where the P gear can be the parking gear, or the electric vehicle is in a non-P gear.

[0033] Step S12, in response to the target parameter satisfying a preset condition, controlling the electric vehicle to enter a target mode;

[0034] The above-mentioned preset condition may be that the high voltage system of the electric vehicle is in a power-off state, the braking system of the electric vehicle is in a braking state, and the gear position of the electric vehicle is in the P gear.

[0035] Step S14, based on the electric vehicle being in the target mode, controlling the electric vehicle to perform debugging and testing.

[0036] The target mode mentioned above may be a factory mode.

[0037] In an embodiment of the present invention, a target parameter is first obtained, wherein the target parameter includes a first parameter, a second parameter, and a third parameter, wherein the first parameter is used to indicate the state of the electric vehicle high voltage system, the second parameter is used to indicate the state of the electric vehicle braking system, and the third parameter is used to indicate the gear state of the electric vehicle, and then in response to the target parameter satisfying a preset condition, the electric vehicle is controlled to enter a target mode, and finally based on the electric vehicle being in the target mode, the electric vehicle is controlled to perform debugging and testing, thereby achieving the purpose of controlling the electric vehicle to enter the target mode according to the first parameter, the second parameter, and the third parameter, and then controlling the electric vehicle to perform debugging and testing, thereby achieving the technical effect of improving the debugging and testing efficiency of the electric vehicle control method and improving the safety factor of the operator, and thereby solving the technical problem of low debugging and testing efficiency of the electric vehicle control method and low safety factor of the operator.

[0038] Optionally, in step S10, obtaining the target parameters may include the following execution steps:

[0039] Step S101, obtaining the access status of the vehicle controller of the electric vehicle, where the vehicle controller is used to control multiple controllers of the electric vehicle to perform operations;

[0040] Step S102, obtaining target parameters based on the access status.

[0041] The access state may be a safe access. The target parameters may include a first parameter, a second parameter, and a third parameter. The first parameter may be that the high voltage system of the electric vehicle is powered on or powered off, the second parameter may be that the braking system of the electric vehicle is in a braking state or in an unbraking state, and the third parameter may be that the gear position of the electric vehicle is in the P gear or in a non-P gear.

[0042] Based on the above steps S101 to S102, the electric vehicle is first in the IgOn state, and the operator can operate the diagnostic equipment or other host computers to make the vehicle control unit (VCU) of the electric vehicle enter the extended session mode, wherein the IgOn state can indicate that the controller of the electric vehicle is in the awakened state, and the diagnostic equipment or other host computers can be used to identify the operator's intention, thereby interacting with the VCU to flash the relevant diagnostic instructions, and then the VCU can obtain the electric vehicle high-voltage system status, the electric vehicle braking system status and the electric vehicle gear status after being unlocked through security access. In addition, the VCU can be responsible for analyzing the input signal, and then judging whether the current state of the electric vehicle meets the prerequisite for entering the factory mode. If the prerequisite is met, the VCU executes the operator's instruction to enter the factory mode, wherein the instruction can be 2EF1C001.

[0043] Optionally, in step S12, in response to the target parameter satisfying a preset condition, controlling the electric vehicle to enter the target mode may include the following execution steps:

[0044] Step S121, in response to the target parameter satisfying a preset condition, determining that the electric vehicle is in a target state;

[0045] Step S122: Based on the electric vehicle being in the target state, controlling the electric vehicle to enter the target mode.

[0046] The preset condition may be that the high voltage system of the electric vehicle is in a power-off state, the braking system of the electric vehicle is in a braking state, and the gear of the electric vehicle is in the P gear. The target state may be a silent state. The target mode may be a factory mode, wherein the factory mode may be a specific mode that prohibits the high voltage of the electric vehicle from being powered on and prohibits the electric vehicle from being driven.

[0047] Based on the above steps S121 to S122, under the premise that the high-voltage system of the electric vehicle is in the power-off state, the braking system of the electric vehicle is in the braking state and the gear position of the electric vehicle is in the P gear, it can be determined that the electric vehicle is in the silent state, and then based on the electric vehicle being in the silent state, the electric vehicle is controlled to enter the factory mode. It should be noted that if the three conditions of the high-voltage system of the electric vehicle being in the power-off state, the braking system of the electric vehicle being in the braking state and the gear position of the electric vehicle being in the P gear cannot be met at the same time, then the electric vehicle is in a non-silent state, for example, the high-voltage system of the electric vehicle is in the power-on state, including but not limited to the high voltage on the KeyOn switch, the high voltage on the Ready indicator, the high voltage on the AC / DC charging, the high voltage on the AC / DC discharging, the high voltage on the charging and heating, the high voltage on the remote power supplement, and the high voltage on the remote air conditioning.

[0048] Optionally, an electric vehicle control method may further include the following execution steps:

[0049] Step S161, in response to the target parameter not satisfying the preset condition, completing the operation of multiple controllers of the electric vehicle within a preset time to obtain a first operation result;

[0050] Step S162, determining that the electric vehicle is in a target state according to the first operation result;

[0051] Step S163, based on the electric vehicle being in the target state, controlling the electric vehicle to enter the target mode.

[0052] The preset time may be 3 seconds. The multiple controllers may include a battery management system (BMS), an electronic gear shift module (EGSM), and a brake system controller, among which the BMS may be used to receive instructions from the VCU to complete high-voltage power-on or high-voltage power-off operations, and the EGSM may be used to monitor and report the current gear state of the electric vehicle, and receive instructions from the VCU to place the gear in the P gear. The first operation result may be that the high-voltage system of the electric vehicle is in a power-off state, while the braking system of the electric vehicle is in a braking state and the gear of the electric vehicle is in the P gear. The target state may be a silent state.

[0053] Based on the above steps S161 to S163, when the target parameters do not meet the preset conditions, that is, the electric vehicle fails to simultaneously meet the three conditions that the high-voltage system is in a power-off state, the braking system is in a braking state, and the gear is in the P gear, first, the VCU of the electric vehicle can issue a control instruction to control the BMS and related controllers to complete the vehicle high-voltage power-off operation, the vehicle braking operation and the gear lock operation in the P gear within 3 seconds to obtain a first operation result, wherein the first operation result can be that the high-voltage system of the electric vehicle is in a power-off state, the braking system is in a braking state and the gear is in the P gear, and then determine that the electric vehicle is in a silent state based on the first operation result, and finally control the electric vehicle to enter the factory mode based on the electric vehicle being in the silent state, so as to debug and detect the electric vehicle.

[0054] Optionally, an electric vehicle control method may further include the following execution steps:

[0055] Step S181, in response to the target parameter not satisfying the preset condition and the operation of the multiple controllers of the electric vehicle not being completed within the preset time, obtaining a second operation result;

[0056] Step S182, determining that the electric vehicle fails to enter the target mode according to the second operation result;

[0057] Step S183, based on the failure of the electric vehicle to enter the target mode, the vehicle controller of the electric vehicle sends a first instruction to control the instrument controller and the display to display a first prompt message, where the first prompt message is used to indicate that the electric vehicle fails to enter the target mode.

[0058] The second operation result may be that the electric vehicle cannot simultaneously meet the following three conditions: the high voltage system is in a power-off state, the brake system is in a braking state, and the gear is in gear P. The first instruction may be a display instruction. The first prompt message may be that the factory mode activation failed, please repair.

[0059] Based on the above steps S181 to S183, when the target parameters do not meet the preset conditions, that is, the electric vehicle fails to simultaneously meet the three conditions that the high-voltage system is in a power-off state, the braking system is in a braking state, and the gear is in the P gear, first, the VCU of the electric vehicle can issue a control instruction to control the BMS and related controllers to perform the vehicle high-voltage power-off operation, the vehicle braking operation and the gear lock operation in the P gear within 3 seconds, and then determine whether the BMS and related controllers of the electric vehicle complete the vehicle high-voltage power-off operation, the vehicle braking operation and the gear lock operation in the P gear within 3 seconds. If the vehicle high-voltage power-off operation, the vehicle braking operation and the gear lock operation in the P gear are not completed within 3 seconds, a second operation result is obtained, wherein the second operation result can be that the high-voltage system of the electric vehicle is in a power-off state, the braking system is in a braking state but the gear is not in the P gear. Secondly, it is determined according to the second operation result that the electric vehicle fails to enter the factory mode. Finally, the vehicle controller of the electric vehicle sends a display instruction to control the instrument controller and the display to display the words "Factory mode activation failed, please repair". Optionally, when the words "Factory mode activation failed, please repair" are displayed, there may be a prompt sound, the words are displayed continuously for 5 seconds, and an alarm sound is sounded.

[0060] Optionally, based on the electric vehicle being in the target state, controlling the electric vehicle to enter the target mode further includes:

[0061] The vehicle controller of the electric vehicle sends a second instruction to control the instrument controller and the display to display a second prompt information, and the second prompt information is used to indicate that the electric vehicle is in the target mode.

[0062] The second instruction may be a display instruction. The second prompt information may be that the vehicle is in factory mode.

[0063] Based on the electric vehicle being in a silent state, the electric vehicle is controlled to enter the factory mode, and at the same time, the vehicle controller of the electric vehicle can send a display instruction to control the instrument controller and the display to display the words "the vehicle is in the factory mode". Optionally, when the words "the vehicle is in the factory mode" are displayed, a prompt sound can be accompanied, and the displayed words are continuously displayed for 5S, so as to debug and detect the electric vehicle.

[0064] Optionally, after the operator completes the debugging and testing of the electric vehicle, the electric vehicle can be exited from the factory mode. First, the operator can issue a diagnostic command 2EF1C000 by operating the diagnostic equipment or other host computer. After receiving the diagnostic command 2EF1C000, the VCU controls the electric vehicle to exit the factory mode and controls the instrument controller and the display to cancel the display of the words "the vehicle is in factory mode".

[0065] Figure 2is a flow chart of an optional electric vehicle debugging test provided in accordance with an embodiment of the present invention, such as Figure 2 As shown, first obtain the state of the electric vehicle, wherein the state of the electric vehicle includes the state of the high-voltage system, the state of the braking system and the state of the gear of the electric vehicle, and then determine whether the state of the electric vehicle meets the preset conditions. If the state of the electric vehicle meets the preset conditions, that is, the high-voltage system of the electric vehicle is in the power-off state, the braking system is in the braking state and the gear is in the P gear, then control the electric vehicle to enter the factory mode, and then debug and test the electric vehicle, and the process ends. If the state of the electric vehicle does not meet the preset conditions, the VCU of the electric vehicle issues a control instruction to control the BMS and related controllers to perform the whole vehicle high-voltage power-off operation, the whole vehicle braking operation and the gear lock operation in the P gear, and then determine whether the BMS and related controllers complete the whole vehicle high-voltage power-off operation, the whole vehicle braking operation and the gear lock operation in the P gear within 3 seconds. If the BMS and related controllers complete the operation within 3 seconds, control the electric vehicle to enter the factory mode, and then debug and test the electric vehicle, and the process ends. If the BMS and related controllers do not complete the operation within 3 seconds, the electric vehicle fails to enter the factory mode, and the process ends.

[0066] In this embodiment, an electric vehicle control device is also provided, which is used to implement the above-mentioned embodiments and preferred embodiments, and the descriptions that have been made will not be repeated. As used below, the term "module" can implement a combination of software and / or hardware of a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.

[0067] Figure 3 is a structural block diagram of an electric vehicle control device provided according to an embodiment of the present invention. Figure 3 As shown, the electric vehicle control device 30 includes: an acquisition module 31, which is used to acquire target parameters, wherein the target parameters include a first parameter, a second parameter, and a third parameter, the first parameter is used to represent the state of the electric vehicle's high-voltage system, the second parameter is used to represent the state of the electric vehicle's braking system, and the third parameter is used to represent the electric vehicle's gear state; a first control module 32, which is used to control the electric vehicle to enter a target mode in response to the target parameter meeting a preset condition; and a second control module 33, which is used to control the electric vehicle to perform debugging and testing based on the electric vehicle being in the target mode.

[0068] Optionally, the acquisition module 31 is also used to obtain the access status of the vehicle controller of the electric vehicle, and the vehicle controller is used to control multiple controllers of the electric vehicle to perform operations; based on the access status, the target parameters are obtained.

[0069] Optionally, the first control module 32 is further configured to determine that the electric vehicle is in a target state in response to the target parameter satisfying a preset condition; and control the electric vehicle to enter a target mode based on the electric vehicle being in the target state.

[0070] Optionally, the first control module 32 is further used to complete the operation of multiple controllers of the electric vehicle within a preset time in response to the target parameter not satisfying a preset condition to obtain a first operation result; determine that the electric vehicle is in a target state based on the first operation result; and control the electric vehicle to enter a target mode based on the electric vehicle being in the target state.

[0071] Optionally, the first control module 32 is further used to obtain a second operation result in response to the target parameter not satisfying a preset condition and the operation of multiple controllers of the electric vehicle not being completed within a preset time; determine, based on the second operation result, that the electric vehicle has failed to enter the target mode; based on the failure of the electric vehicle to enter the target mode, the vehicle controller of the electric vehicle sends a first instruction to control the instrument controller and the display to display a first prompt message, and the first prompt message is used to indicate that the electric vehicle has failed to enter the target mode.

[0072] Optionally, the first control module 32 is also used for the vehicle controller of the electric vehicle to send a second instruction to control the instrument controller and the display to display a second prompt information, and the second prompt information is used to indicate that the electric vehicle is in the target mode.

[0073] It should be noted that the above modules can be implemented by software or hardware. For the latter, it can be implemented in the following ways, but not limited to: the above modules are all located in the same processor; or the above modules are located in different processors in any combination.

[0074] An embodiment of the present invention further provides a non-volatile storage medium, in which a computer program is stored, wherein the computer program is configured to execute the steps of any of the above method embodiments when running.

[0075] Optionally, in this embodiment, the storage medium may be configured to store a computer program for performing the following steps:

[0076] Step S1, obtaining target parameters, wherein the target parameters include a first parameter, a second parameter, and a third parameter, the first parameter is used to indicate the state of the electric vehicle high voltage system, the second parameter is used to indicate the state of the electric vehicle braking system, and the third parameter is used to indicate the gear state of the electric vehicle;

[0077] Step S2, in response to the target parameter satisfying a preset condition, controlling the electric vehicle to enter a target mode;

[0078] Step S3, based on the electric vehicle being in the target mode, controlling the electric vehicle to perform debugging and testing.

[0079] Optionally, in this embodiment, the above-mentioned storage medium may include but is not limited to: a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk, and other media that can store computer programs.

[0080] An embodiment of the present invention further provides a processor, which is configured to run a computer program to execute the steps in any of the above method embodiments.

[0081] Optionally, in this embodiment, the processor may be configured to perform the following steps through a computer program:

[0082] Step S1, obtaining target parameters, wherein the target parameters include a first parameter, a second parameter, and a third parameter, the first parameter is used to indicate the state of the electric vehicle high voltage system, the second parameter is used to indicate the state of the electric vehicle braking system, and the third parameter is used to indicate the gear state of the electric vehicle;

[0083] Step S2, in response to the target parameter satisfying a preset condition, controlling the electric vehicle to enter a target mode;

[0084] Step S3, based on the electric vehicle being in the target mode, controlling the electric vehicle to perform debugging and testing.

[0085] An embodiment of the present invention further provides an electronic device, which includes a memory and a processor. The memory stores a computer program, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.

[0086] Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation modes, and this embodiment will not be described in detail here.

[0087] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.

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

[0089] In the several embodiments provided by the present invention, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic, for example, the division of units can be a logical function division, and there can 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, the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.

[0090] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed over multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0091] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0092] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the methods of each embodiment of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.

[0093] The above are only preferred embodiments of the present invention. It should be pointed out that, for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A method for controlling an electric vehicle, comprising: Obtaining target parameters, wherein the target parameters include a first parameter, a second parameter, and a third parameter, wherein the first parameter is used to indicate a state of a high-voltage system of an electric vehicle, the second parameter is used to indicate a state of a braking system of the electric vehicle, and the third parameter is used to indicate a gear position state of the electric vehicle; In response to the target parameter satisfying a preset condition, controlling the electric vehicle to enter a target mode, wherein the preset condition is that the high voltage system of the electric vehicle is in a power-off state, the braking system of the electric vehicle is in a braking state, and the gear position of the electric vehicle is in the P gear; Based on the electric vehicle being in the target mode, the electric vehicle is controlled to perform debugging and detection.

2. The method according to claim 1, wherein: Acquiring the target parameter includes: Acquire the access status of the vehicle controller of the electric vehicle, where the vehicle controller is used to control multiple controllers of the electric vehicle to perform operations; Based on the access status, the target parameter is obtained.

3. The method according to claim 1, wherein: In response to the target parameter satisfying a preset condition, controlling the electric vehicle to enter a target mode includes: In response to the target parameter satisfying a preset condition, determining that the electric vehicle is in a target state; Based on the electric vehicle being in the target state, the electric vehicle is controlled to enter a target mode.

4. The method according to claim 1, further comprising: In response to the target parameter not satisfying a preset condition, completing operations on a plurality of controllers of the electric vehicle within a preset time to obtain a first operation result; According to the first operation result, determining that the electric vehicle is in a target state; Based on the electric vehicle being in the target state, the electric vehicle is controlled to enter a target mode.

5. The method according to claim 1, wherein the plurality of controllers of the electric vehicle include an instrument controller and a display, and the method further comprises: In response to the target parameter not satisfying a preset condition and the operation of the plurality of controllers of the electric vehicle not being completed within a preset time, obtaining a second operation result; According to the second operation result, determining that the electric vehicle fails to enter the target mode; Based on the failure of the electric vehicle to enter the target mode, the vehicle controller of the electric vehicle sends a first instruction to control the instrument controller and the display to display a first prompt message, wherein the first prompt message is used to indicate that the electric vehicle fails to enter the target mode.

6. The method according to claim 5, further comprising: The vehicle controller of the electric vehicle sends a second instruction to control the instrument controller and the display to display second prompt information, where the second prompt information is used to indicate that the electric vehicle is in the target mode.

7. An electric vehicle control device, comprising: An acquisition module, used for acquiring target parameters, wherein the target parameters include a first parameter, a second parameter, and a third parameter, wherein the first parameter is used to indicate the state of the electric vehicle high voltage system, the second parameter is used to indicate the state of the electric vehicle braking system, and the third parameter is used to indicate the gear state of the electric vehicle; A first control module, configured to control the electric vehicle to enter a target mode in response to the target parameter satisfying a preset condition, wherein the preset condition is that the high voltage system of the electric vehicle is in a power-off state, the braking system of the electric vehicle is in a braking state, and the gear position of the electric vehicle is in the P gear; The second control module is used to control the electric vehicle to perform debugging and detection based on the electric vehicle being in the target mode.

8. A non-volatile storage medium, characterized in that: The storage medium stores a computer program, wherein the computer program is configured to execute the electric vehicle control method described in any one of claims 1 to 6 when running.

9. A processor, characterized in that: The processor is used to run a program, wherein the program is configured to execute the electric vehicle control method described in any one of claims 1 to 6 when running.

10. An electronic device comprising a memory and a processor, characterized in that: The memory stores a computer program, and the processor is configured to run the computer program to execute the electric vehicle control method described in any one of claims 1 to 6.