Vehicle gear switching method and device, vehicle and storage medium

By judging and switching the gear based on the total mileage and safety status parameters under the high pressure on the vehicle, the cumulative driving distance of the vehicle cannot be switched by the position that cannot be switched in the case, realizing the automatic adaptation and safety of the vehicle under different working conditions under different working conditions. promote.

CN119329528APending Publication Date: 2025-01-21GREAT WALL MOTOR CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411737548.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-29
Publication Date
2025-01-21

AI Technical Summary

Technical Problem

In the prior art, the vehicle has a small cumulative driving distance and cannot switch between the parking gear and the driving gear, resulting in the vehicle being unable to move or easily causing accidents.

Method used

By determining the target gear based on the total mileage of the vehicle, the target gear is determined based on the safety status parameters and driving parameters of the vehicle. Block.

Benefits of technology

With different cumulative driving distances, automatically switch gears according to different operating conditions, avoid the problem of sudden acceleration or slipping of the vehicle, and improve the safety and adaptability of the vehicle.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119329528A_ABST
    Figure CN119329528A_ABST
Patent Text Reader

Abstract

The invention provides a vehicle gear switching method and device, a vehicle and a storage medium, the method is applied to the field of vehicles, and the method comprises the steps that under the condition of high pressure on the vehicle, a target gear of the vehicle is determined based on the total mileage of the vehicle, and the target gear is a neutral gear or a parking gear; based on the safety state parameters of the vehicle and the driving parameters of the vehicle, whether the vehicle meets a first gear switching condition or not is judged; and under the condition that the vehicle meets the first gear switching condition, responding to the situation that a brake pedal of the vehicle is stepped down, and switching the gear of the vehicle to the target gear. According to the method, under the condition that a driver forgets to switch the gear of the vehicle from the driving gear to the non-driving gear, different target gears of the vehicle can be determined based on different operation working conditions of the vehicle, so that casualties caused by sudden acceleration of the vehicle are avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of vehicles, and more specifically, to a method, device, vehicle and storage medium for switching vehicle gears in the field of vehicles. Background Art

[0002] With the development of vehicle technology, the functions of vehicles are becoming more and more abundant. When the cumulative driving distance of the vehicle is small, the vehicle needs to stop temporarily for a short time, and the driver usually needs to determine the gear position of the vehicle as the parking gear to keep the vehicle in a stationary state.

[0003] In the related art, the vehicle can only be switched from the driving gear to the non-driving gear to ensure that the vehicle is stationary. However, different countermeasures need to be taken for different cumulative driving distances. For example, if the cumulative driving distance of the vehicle is small, in order to test certain functions of the vehicle, the vehicle needs to be able to move. Therefore, the vehicle cannot be in the parking gear. If the vehicle is in the parking gear, the vehicle cannot move. Moreover, if the driver forgets to switch the vehicle's driving gear to the non-driving gear, it is easy to cause an accident. Summary of the invention

[0004] The present application provides a vehicle gear switching method, device, vehicle and storage medium. The method can determine different target gears of the vehicle based on different operating conditions of the vehicle when the driver forgets to switch the vehicle gear from a driving gear to a non-driving gear, so as to avoid casualties caused by sudden acceleration of the vehicle.

[0005] In a first aspect, a method for switching a vehicle gear is provided, the method comprising:

[0006] In the case of high pressure on the vehicle, the target gear of the vehicle is determined based on the total mileage of the vehicle, and the target gear is neutral or parking;

[0007] Based on the safety status parameters of the vehicle and the driving parameters of the vehicle, determining whether the vehicle meets the first gear shifting condition;

[0008] When the vehicle satisfies the first gear shifting condition, in response to the brake pedal of the vehicle being depressed, the gear of the vehicle is switched to the target gear.

[0009] Through the above technical solution, the method can determine the target gear of the vehicle based on the total mileage of the vehicle when the vehicle is under high pressure. The target gear is neutral or parking. When the driver forgets to switch the driving gear of the vehicle to the non-driving gear, the vehicle will travel at a lower speed or suddenly accelerate, which is easy to cause an accident. Therefore, based on the safety state parameters of the vehicle and the driving parameters of the vehicle, it is determined whether the vehicle meets the first gear switching condition. When the vehicle meets the first gear switching condition, the gear of the vehicle is switched to the target gear in response to the brake pedal of the vehicle being stepped on. That is, different total mileages correspond to different target gears, so that the vehicle can cope with different working conditions, thereby avoiding the problem of the vehicle slipping or sudden acceleration.

[0010] In combination with the first aspect, in some possible implementations, the operating condition of the vehicle is determined based on the total mileage of the vehicle; and the gear position corresponding to the operating condition is determined as the target gear position of the vehicle;

[0011] Alternatively, in a correspondence table between the total mileage of the vehicle and the gear position of the vehicle, the gear position of the vehicle corresponding to the total mileage is searched; and the gear position corresponding to the total mileage is determined as the target gear position of the vehicle.

[0012] In combination with the first aspect, in some possible implementations,

[0013] When the total mileage of the vehicle is less than or equal to a preset mileage, determining that the operating condition of the vehicle is a test condition;

[0014] When the total mileage of the vehicle is greater than a preset mileage, determining that the operating condition of the vehicle is a driving condition;

[0015] The step of determining the gear position corresponding to the operating condition as the target gear position of the vehicle includes:

[0016] In the case where the operating condition of the vehicle is a test condition, determining that the gear position corresponding to the test condition is a neutral gear; and determining the neutral gear corresponding to the test condition as a target gear position of the vehicle;

[0017] When the operating condition of the vehicle is a driving condition, the gear position corresponding to the driving condition is determined to be a parking gear; and the parking gear corresponding to the driving condition is determined as a target gear position of the vehicle.

[0018] In combination with the first aspect, in some possible implementations, when the total mileage is less than or equal to a preset mileage, determining that the gear position of the vehicle corresponding to the total mileage is neutral;

[0019] When the total mileage of the vehicle is greater than a preset mileage, it is determined that the gear position of the vehicle corresponding to the total mileage is a parking gear.

[0020] In combination with the first aspect, in some possible implementations, when the main driver's seat belt is in an unlocked state, and / or the cockpit door is in an open state, and / or the gear position of the vehicle is not a parking gear, it is determined that the vehicle meets the first gear switching condition;

[0021] When the main driver's seat belt is in a locked state, the cockpit door is in a closed state, and the gear position of the vehicle is not a parking gear, it is determined that the vehicle does not meet the first gear switching condition.

[0022] In combination with the first aspect, in some possible implementations, in response to a brake pedal of the vehicle being stepped on, determining whether the vehicle meets a second gear shifting condition;

[0023] When the vehicle satisfies the second gear switching condition, the gear of the vehicle is switched to the target gear.

[0024] In combination with the first aspect, in some possible implementations, determining whether a speed of the vehicle is less than a preset speed threshold;

[0025] When the vehicle speed is less than a preset speed threshold, determining that the vehicle meets a second gear shifting condition;

[0026] When the vehicle speed is greater than or equal to a preset speed threshold, it is determined that the vehicle does not meet the second switching condition.

[0027] In a second aspect, a vehicle gear switching device is provided, the device comprising:

[0028] a determination module, configured to determine a target gear position of the vehicle based on a total mileage of the vehicle when the vehicle is under high pressure, the target gear position being a neutral gear or a parking gear;

[0029] A judgment module, configured to judge whether the vehicle satisfies a first gear shifting condition based on a safety state parameter of the vehicle and a driving parameter of the vehicle;

[0030] A switching module is used to switch the gear of the vehicle to the target gear in response to the brake pedal of the vehicle being stepped on when the vehicle meets the first gear switching condition.

[0031] In a third aspect, a vehicle is provided, comprising a memory and a processor. The memory is used to store executable program code, and the processor is used to call and run the executable program code from the memory, so that the vehicle executes the method executed by the above-mentioned vehicle gear switching method.

[0032] In a fourth aspect, a computer program product is provided, which includes: a computer program code, which, when executed on a computer, enables the computer to execute the method executed by the above-mentioned vehicle gear switching method.

[0033] In a fifth aspect, a computer-readable storage medium is provided, which stores a computer program code. When the computer program code runs on a computer, the computer executes the method executed by the above-mentioned vehicle gear switching method. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] Figure 1 A schematic diagram of an implementation environment of a vehicle gear switching method provided in an embodiment of the present application;

[0035] Figure 2 is a schematic flow chart of a vehicle gear switching method provided in an embodiment of the present application;

[0036] Figure 3 is a schematic flow chart of another vehicle gear switching method provided in an embodiment of the present application;

[0037] Figure 4 It is a structural schematic diagram of a vehicle gear switching device provided in an embodiment of the present application;

[0038] Figure 5 It is a structural schematic diagram of a vehicle provided in an embodiment of the present application. DETAILED DESCRIPTION

[0039] The technical solution in the present application will be described clearly and in detail below in conjunction with the accompanying drawings. In the description of the embodiments of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B: "and / or" in the text is only a description of the association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, "multiple" means two or more than two.

[0040] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as suggesting or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features.

[0041] With the development of vehicle technology, the functions of vehicles are becoming more and more abundant, so the process of testing vehicles is becoming more and more complicated. The process of vehicles driving from one test port to another is increasing, so the vehicle needs to frequently switch gears at different test ports to keep the vehicle in a stationary state.

[0042] In the related art, when the vehicle is in the testing process, the vehicle can only be switched from the driving gear to the non-driving gear to ensure that the vehicle is in a stationary state. However, in order to test certain functions of the vehicle, the vehicle needs to be able to move. Therefore, the vehicle cannot be in the parking gear. If the vehicle is in the parking gear, the vehicle cannot move. Moreover, if the driver forgets to switch the vehicle's driving gear to the non-driving gear, it is easy to cause an accident.

[0043] Figure 1 It is a schematic diagram of the implementation environment of a vehicle gear switching method provided in an embodiment of the present application.

[0044] For example, Figure 1 As shown, the implementation environment includes a vehicle control unit (VCU) 101 and a brake pedal sensor 102 .

[0045] The vehicle controller 101 is an important control unit of the vehicle, which can obtain relevant data of the vehicle and control the vehicle to perform corresponding operations based on the relevant data. For example, the corresponding operation can be an operation to control the power system of the vehicle to stop outputting power. In some embodiments, the vehicle controller 101 can receive a brake pedal signal collected by the brake pedal sensor 102.

[0046] The brake pedal sensor 102 is used to detect the position of the brake pedal and convert the position of the brake pedal into an electrical signal, and then feed the electrical signal back to the vehicle controller 101 so that the vehicle controller 101 obtains the brake pedal signal.

[0047] Figure 2 It is a schematic flow chart of a vehicle gear switching method provided in an embodiment of the present application.

[0048] For example, Figure 2 As shown, taking the execution subject as a vehicle controller as an example, the method 200 includes:

[0049] Step 201 , when the vehicle is under high pressure, determine the target gear of the vehicle based on the total mileage of the vehicle, and the target gear is neutral or parking.

[0050] The vehicle is a vehicle with a high-voltage electrical system. The high-voltage electrical system is used to provide power output and power management for the vehicle. The high-voltage electrical system includes high-voltage batteries, motor controllers, high-voltage cables, high-voltage connectors and other components.

[0051] It should be understood that high voltage on a vehicle refers to the high voltage electrical system driving the vehicle's motor and the vehicle's battery management system. Among them, the vehicle's motor is used to convert the vehicle's electrical energy into kinetic energy to provide power for the vehicle. The vehicle's battery management system is used to detect the voltage of various components of the vehicle. The total mileage of a vehicle refers to the cumulative distance traveled by the vehicle.

[0052] It should be understood that the vehicle will be tested before leaving the factory, and during the test, the cumulative driving distance of the vehicle will gradually increase. The cumulative driving distance of the vehicle before leaving the factory is small, and the cumulative driving distance of the vehicle after leaving the factory increases.

[0053] Step 202: Based on the safety status parameters of the vehicle and the driving parameters of the vehicle, determine whether the vehicle meets the first gear shifting condition.

[0054] Among them, the vehicle's safety status parameters are used to indicate whether the vehicle's main driver's seat belt or the cockpit door is unlocked, and the vehicle's driving parameters are used to describe the vehicle's operating status during driving.

[0055] In some embodiments, the safety state parameters of the vehicle include the state parameters of the main driver's seat belt and the state parameters of the cockpit door. The driving parameters of the vehicle include the vehicle speed and the gear position of the vehicle.

[0056] The first gear shifting condition is used to determine whether to shift the gear of the vehicle to the target gear.

[0057] Step 203, when the vehicle satisfies the first gear switching condition, in response to the brake pedal of the vehicle being stepped on, the gear of the vehicle is switched to the target gear.

[0058] The gear position of the vehicle is the current gear position of the vehicle, and the gear position of the vehicle includes a driving gear and a neutral gear.

[0059] It should be understood that the gear of the vehicle may be in the driving gear. When the vehicle meets the first gear switching condition, it means that the main driver's seat belt is unlocked, and / or the cockpit door is open, and the gear of the vehicle is a non-parking gear, which includes the driving gear and the neutral gear. However, if the driver forgets to switch the vehicle's driving gear to a non-driving gear, the vehicle will run at a lower speed or accelerate suddenly, which may easily cause an accident. Therefore, the gear of the vehicle is adjusted to the target gear of the vehicle to avoid sudden acceleration of the vehicle.

[0060] The embodiment of the present application provides a method for switching vehicle gears. In the case of high pressure on the vehicle, the target gear of the vehicle is determined based on the total mileage of the vehicle. The target gear is neutral or parking. In the case that the driver forgets to switch the driving gear of the vehicle to the non-driving gear, the vehicle will travel at a lower speed or suddenly accelerate, which is easy to cause an accident. Therefore, based on the safety state parameters of the vehicle and the driving parameters of the vehicle, it is determined whether the vehicle meets the first gear switching condition. In the case that the vehicle meets the first gear switching condition, in response to the vehicle's brake pedal being stepped on, the gear of the vehicle is switched to the target gear. That is, different total mileages correspond to different target gears, so that the vehicle can cope with different working conditions, thereby avoiding the problem of the vehicle slipping or sudden acceleration.

[0061] Figure 3 It is a schematic flow chart of another vehicle gear switching method provided in an embodiment of the present application.

[0062] It should be noted that the above steps 201-203 are a simple description of a vehicle gear switching method provided in an embodiment of the present application. In the following, when the operating condition of the vehicle is a test condition, the vehicle gear switching method provided in an embodiment of the present application will be described in more detail with reference to some examples. Figure 3 Taking the execution subject as the vehicle controller as an example, the method includes the following steps.

[0063] Step 301 , when the vehicle is under high pressure, determine the target gear position of the vehicle based on the total mileage of the vehicle.

[0064] Among them, high voltage on the vehicle means that the power battery in the high-voltage electrical system generates high-voltage direct current, and the power battery transmits the high-voltage direct current to various components on the vehicle that require high-voltage direct current through the high-voltage wiring harness. For example, the components in the vehicle that require high-voltage direct current include drive motors and electric compressors.

[0065] In a possible implementation, the operating condition of the vehicle is determined based on the total mileage of the vehicle, and the gear corresponding to the operating condition is determined as the target gear of the vehicle.

[0066] Among them, the vehicle's operating conditions include test conditions and driving conditions.

[0067] The test conditions of a vehicle are used to describe the working state of testing a vehicle to evaluate the performance and functions of the vehicle. In some embodiments, the test conditions simulate the driving conditions of the vehicle under actual road conditions.

[0068] It should be understood that as the functions of the vehicle increase, the number of procedures for testing the vehicle increases, so the vehicle needs to drive from one test port to another. That is, the vehicle needs to frequently switch gears at different test ports so that the vehicle stops and is tested. If the driver forgets to switch the vehicle's driving gear to a non-driving gear, the vehicle will travel at a lower speed, that is, the vehicle is in a creeping state, which is prone to accidents.

[0069] The vehicle's driving conditions include decelerating, driving on a slope, or parking.

[0070] In this embodiment, the operating condition of the vehicle is determined based on the total mileage of the vehicle. Since different operating conditions correspond to different gears, the gear corresponding to the operating condition is determined as the target gear of the vehicle. Therefore, different target gears of the vehicle can be determined for different operating conditions of the vehicle to avoid sudden acceleration of the vehicle or inability to move the vehicle.

[0071] The following is an explanation of the relevant contents of determining the operating condition of the vehicle based on the total mileage of the vehicle.

[0072] In a possible implementation, when the total mileage of the vehicle is less than or equal to the preset mileage, the operating condition of the vehicle is determined to be the test condition. When the total mileage of the vehicle is greater than the preset mileage, the operating condition of the vehicle is determined to be the driving condition.

[0073] The preset mileage is automatically determined by the vehicle controller or set by the technician according to the actual situation, and the present application embodiment does not limit this. For example, the preset mileage can be 50 kilometers (KM).

[0074] For example, when the total mileage of the vehicle is 40 km, the operating condition of the vehicle is determined to be a test condition.

[0075] For another example, when the total mileage of the vehicle is 60 km, the operating condition of the vehicle is determined to be the driving condition.

[0076] It should be understood that when the vehicle's cumulative mileage is less than or equal to the preset mileage, the vehicle's mileage is short, that is, the vehicle has not left the factory, and the vehicle should be in the test condition. When the vehicle's cumulative mileage is greater than the preset mileage, the vehicle's mileage is long, that is, the vehicle has left the factory, and the vehicle should be in the driving condition.

[0077] In this implementation, when the total mileage of the vehicle is less than or equal to the preset mileage, the operating condition of the vehicle is determined to be the test condition. When the total mileage of the vehicle is greater than the preset mileage, the operating condition of the vehicle is determined to be the driving condition. That is, the operating condition of the vehicle can be determined according to the cumulative driving distance of the vehicle, so that when the driver forgets to switch the driving gear of the vehicle to the non-driving gear, corresponding measures can be taken for different operating conditions.

[0078] The following is an explanation of the content related to determining the gear position corresponding to the operating condition as the target gear position of the vehicle.

[0079] The first part describes the related contents of determining the gear position corresponding to the test condition as the target gear position of the vehicle when the operating condition of the vehicle is the test condition.

[0080] In some embodiments, when the operating condition of the vehicle is a test condition, it is determined that the gear corresponding to the test condition is a neutral gear, and the neutral gear corresponding to the test condition is determined as the target gear of the vehicle.

[0081] It should be understood that when the vehicle's operating condition is a test condition, if the vehicle tests the performance of the engine, transmission system and other related components, the vehicle's engine needs to maintain the speed. If the vehicle's gear is in the parking gear, the vehicle's engine cannot work. Therefore, in order to comply with the test procedure, the vehicle only needs to stop driving and does not need to maintain the parking state. Therefore, the vehicle's target gear should be neutral instead of parking.

[0082] In this case, when the operating condition of the vehicle is the test condition, the target gear position of the vehicle is determined to be neutral, the vehicle can stop running and the vehicle also complies with the test procedure.

[0083] The second part describes the content of determining the gear position corresponding to the operating condition as the target gear position of the vehicle when the operating condition of the vehicle is a driving condition.

[0084] In some embodiments, when the operating condition of the vehicle is a driving condition, the gear corresponding to the driving condition is determined to be a parking gear, and the parking gear corresponding to the driving condition is determined as a target gear of the vehicle.

[0085] It should be understood that driving conditions include low-speed driving, slope driving, and parking. If the vehicle is in neutral or driving gear after stopping, the vehicle is prone to slipping or sudden acceleration. Therefore, when the vehicle's operating condition is the driving condition, after the driver leaves the vehicle, the target gear of the vehicle is determined to be the parking gear to lock the transmission. That is, the vehicle must remain in the parked state and cannot move to avoid the vehicle from slipping, and then the target gear of the vehicle is determined to be the parking gear.

[0086] In this case, when the vehicle is in a driving condition, the target gear position of the vehicle is determined to be the parking gear to avoid the problem of sudden acceleration or slipping of the vehicle.

[0087] In a possible implementation, the gear of the vehicle corresponding to the total mileage is searched in a correspondence table between the total mileage of the vehicle and the gear of the vehicle, and the gear corresponding to the total mileage is determined as the target gear of the vehicle.

[0088] Among them, the correspondence table between the total mileage of the vehicle and the gear position of the vehicle is a relationship table preset when the vehicle leaves the factory.

[0089] In some embodiments, when the total mileage of the vehicle is less than or equal to the preset mileage, the gear position of the vehicle is determined to be neutral. When the total mileage of the vehicle is greater than the preset mileage, the gear position of the vehicle is determined to be parking.

[0090] For example, when the total mileage of the vehicle is 40 km, it is determined that the gear position of the vehicle is neutral.

[0091] For another example, when the total mileage of the vehicle is 60 km, the gear position of the vehicle is determined to be the parking gear.

[0092] In this implementation, the gear corresponding to the total mileage is searched in the correspondence table between the total mileage of the vehicle and the gear of the vehicle, and the gear corresponding to the total mileage is determined as the target gear of the vehicle. That is, corresponding measures are taken for the total mileage of different vehicles.

[0093] Optionally, before executing the above step 301, the following steps may also be executed.

[0094] In a possible implementation, whether the vehicle is on high voltage is determined by a vehicle status signal or a drive motor, wherein the status signal includes a high voltage status signal and the like.

[0095] In some embodiments, if a high voltage status signal of the vehicle is obtained or the drive motor is started, it is determined that the vehicle is at high voltage.

[0096] In some embodiments, if the high voltage status signal of the vehicle is not obtained or the drive motor is not started, it is determined that the vehicle is not on high voltage.

[0097] Among them, the vehicle is not on high voltage, which means that the power battery does not generate high-voltage direct current and the power system does not supply power to the vehicle.

[0098] In this implementation, whether the vehicle is running at high voltage is determined by the vehicle's status signal or the drive motor, that is, whether the power battery transmits high-voltage direct current to each component of the vehicle that requires high-voltage direct current, and whether the vehicle can operate normally is monitored in real time.

[0099] Step 302: Based on the safety status parameters of the vehicle and the driving parameters of the vehicle, determine whether the vehicle meets the first gear shifting condition.

[0100] It should be understood that if the driver forgets to switch the gear of the vehicle to the target gear after leaving the vehicle, the vehicle cannot adapt to the test process or the vehicle is prone to slipping or sudden acceleration. Therefore, based on the vehicle's safety status parameters and the vehicle's driving parameters, it is determined whether the vehicle meets the first gear switching condition.

[0101] The vehicle's safety status parameters include the status parameters of the main driver's seat belt and the status parameters of the cockpit door. The vehicle's driving parameters include the vehicle's speed, the vehicle's gear position, and the vehicle's braking parameters.

[0102] In some embodiments, the safety status parameters of the vehicle and the driving parameters of the vehicle are obtained, and based on the safety status parameters of the vehicle and the driving parameters of the vehicle, it is determined whether the vehicle meets the first gear switching condition.

[0103] The following is an explanation of the contents of obtaining the safety status parameters of the vehicle.

[0104] In a possible implementation, the state parameters of the main driver's seat belt are acquired based on a seat belt sensor; and the state parameters of the cockpit door are acquired based on a cockpit sensor.

[0105] Among them, the seat belt sensor is used to detect whether the seat belt in the vehicle is locked. The state parameters of the main driver's seat belt include the main driver's seat belt locked state and the main driver's seat belt unlocked state. The cockpit sensor is used to detect whether the cockpit door is open.

[0106] In order to explain the above implementation more clearly, the above implementation is explained in several parts below.

[0107] The first part describes the method of obtaining the status parameters of the main driver's seat belt based on the seat belt sensor.

[0108] In some embodiments, the status of the seat belt buckle of the primary driver's seat belt is detected based on a seat belt sensor.

[0109] It should be understood that when the seat belt is in a locked state, the seat belt sensor will be closed and generate a high level signal; when the seat belt is in an unlocked state, the seat belt sensor will be disconnected and generate a low level signal.

[0110] In some embodiments, a high level signal and a low level signal corresponding to the primary driver's seat belt are acquired based on a seat belt sensor.

[0111] Among them, the high-level signal is used to determine whether the main driver's seat belt is in a locked state. The low-level signal is used to determine whether the main driver's seat belt is in an unlocked state.

[0112] The second part explains how to obtain the status parameters of the cockpit door based on the cockpit sensor.

[0113] In some embodiments, the status parameters of the cockpit door are detected based on a Hall sensor.

[0114] It should be understood that a magnet is installed on the inner side of the cockpit door, and when the cockpit door is closed, the distance between the magnet and the Hall sensor is the smallest to generate a stronger magnetic field, thereby outputting a low-level signal. When the cockpit door is opened, the distance between the magnet and the Hall sensor is the largest to generate a weaker magnetic field, thereby outputting a high-level signal.

[0115] In some embodiments, a high level signal and a low level signal corresponding to the cockpit door are acquired based on a Hall sensor.

[0116] The low level signal is used to determine whether the cockpit door is in an open state, and the high level signal is used to determine whether the cockpit door is in a closed state.

[0117] In this embodiment, the state parameters of the main driver's seat belt are obtained based on the seat belt sensor, and the state parameters of the cockpit door are obtained based on the cockpit sensor to accurately determine whether the main driver's seat belt is in an unlocked state and whether the cockpit door is in an open state.

[0118] It should be understood that when the vehicle's cockpit door is open and the main driver's seat belt is unlocked, the driver may have left the vehicle. Therefore, it is determined based on the vehicle's driving parameters whether the vehicle has stopped so that corresponding measures can be taken for the vehicle.

[0119] The following is a description of the contents of obtaining the vehicle's driving parameters.

[0120] In a possible implementation, the gear position of the vehicle is acquired based on a transmission sensor.

[0121] Among them, the gearbox sensor is used to detect the current gear position of the gearbox.

[0122] In some embodiments, the gearbox sensor can generate a pulse signal. For example, the gearbox sensor usually uses a Hall sensor or a resistive sensor.

[0123] It should be understood that when the gear lever in the gearbox is in different gear positions, the gearbox sensor sends different pulse signals to the vehicle controller to determine the gear position of the vehicle.

[0124] In this implementation, a pulse signal is acquired in real time based on a gearbox sensor, and the gear position of the vehicle is determined based on the pulse signal, so that the obtained gear position of the vehicle has a high accuracy.

[0125] In one possible implementation, when the main driver's seat belt is in an unlocked state, and / or the cockpit door is in an open state, and / or the vehicle's gear position is not a parking gear, it is judged that the vehicle meets the first gear switching condition; when the main driver's seat belt is in a locked state, the cockpit door is in a closed state and the vehicle's gear position is not a parking gear, it is judged that the vehicle does not meet the first gear switching condition.

[0126] Among them, the main driver's seat belt is unlocked and / or the cockpit door is open, which means that the driver is likely to leave the cockpit, so it is necessary to determine whether the vehicle meets the first gear switching condition. In this case, if the vehicle's gear is not in the parking gear, the vehicle is prone to the risk of rolling. Therefore, in order to avoid the vehicle rolling, when the vehicle's gear is not in the parking gear, it is determined that the vehicle meets the first gear switching condition.

[0127] When the main driver's seat belt is locked, the cockpit door is closed, and the vehicle's gear is not in the parking gear, it means that the driver has not left the cockpit. In this case, the vehicle is in working state and the vehicle does not meet the first gear switching condition.

[0128] In this embodiment, when the main driver's seat belt is in an unlocked state, and / or the cockpit door is in an open state, and / or the vehicle's gear position is not a parking gear, it is determined that the vehicle meets the first gear switching condition; when the main driver's seat belt is in a locked state, the cockpit door is in a closed state and the vehicle's gear position is not a parking gear, it is determined that the vehicle does not meet the first gear switching condition, so as to ensure that the vehicle is parked safely, prevent accidental movement of the vehicle, and reduce potential accident risks.

[0129] Step 303: When the vehicle satisfies the first gear switching condition, in response to the brake pedal of the vehicle being depressed, the gear of the vehicle is switched to the target gear.

[0130] It should be understood that in response to the brake pedal of the vehicle being stepped on, the speed of the vehicle will decrease, so the probability of the vehicle stopping will increase. If the driver forgets to switch the gear of the vehicle to the target gear, the vehicle will be at risk of rolling. Therefore, in the case where the vehicle meets the first gear switching condition, in response to the brake pedal of the vehicle being stepped on, the gear of the vehicle is switched to the target gear.

[0131] In some embodiments, when the vehicle satisfies the first gear shift condition, it is determined whether the brake pedal of the vehicle is depressed.

[0132] It should be understood that the vehicle meeting the first gear shift condition means that the main driver's seat belt is unlocked and / or the cockpit door is open, and / or the vehicle's gear is not in the parking gear. When the vehicle's brake pedal is stepped on, the vehicle's speed will be reduced to 0 at the speed of the creeping state, so that the vehicle stops.

[0133] In some embodiments, it is determined whether the gear position of the vehicle is a driving gear, and the driving gear is used to control the vehicle to move forward or backward; when the gear position of the vehicle is a driving gear and the brake pedal of the vehicle is pressed, the gear position of the vehicle is adjusted to a neutral gear.

[0134] Among them, the driving gear includes forward (D) gear and reverse (R) gear.

[0135] In some embodiments, when the gear of the vehicle is the driving gear, the vehicle is in a creeping state. Among them, current vehicles generally have a creeping state, that is, when the gear of the transmission is the driving gear, when the vehicle controller does not obtain a power request, the motor or engine will output a certain torque by default to make the vehicle travel at a certain speed.

[0136] For example, when the gear position of the vehicle is the forward gear, the vehicle is in a creeping state, and when the brake pedal of the vehicle is depressed, the vehicle speed is reduced to 0, thereby stopping the vehicle.

[0137] It should be understood that when the vehicle is in a creeping state, if the driver accidentally steps on the accelerator pedal, the vehicle may suddenly accelerate, which may easily cause casualties. Therefore, in order to keep the vehicle stationary, the vehicle's gear position is adjusted to neutral.

[0138] It should be understood that if the driver forgets to switch the gear of the vehicle from the driving gear to the non-driving gear after leaving the vehicle's cockpit, the vehicle is prone to sudden acceleration, resulting in casualties. Therefore, to avoid the above situation, the gear of the vehicle is adjusted to the target gear, so that the vehicle's gearbox is completely separated from the drive wheels.

[0139] For example, if the target gear of the vehicle is neutral, the gear of the vehicle is switched to neutral. That is, the vehicle will remain stationary even when it can be moved by the staff, thereby improving the safety performance of the vehicle.

[0140] For another example, if the target gear of the vehicle is the parking gear, the gear of the vehicle is switched to the parking gear, that is, to avoid the problem of the vehicle slipping.

[0141] In a possible implementation manner, a braking parameter of the vehicle is acquired based on a brake pedal sensor, and whether the brake pedal of the vehicle is depressed is determined based on the braking parameter.

[0142] The brake pedal is a manual operating device used by the driver to control the vehicle's brake system. When the driver steps on the brake pedal, the piston inside the brake pedal is pushed by the push rod, pumping the brake fluid from the hydraulic pump's reservoir tank, compressing the brake fluid through the movement of the piston, and transmitting the pressure of the hydraulic pump to the brake caliper of each wheel through the brake oil pipe, causing the piston in the brake caliper to move outward, thereby pushing the brake pads toward the brake disc, causing the brake pads to contact the brake disc.

[0143] In some embodiments, a brake pedal sensor is mounted on the brake pedal. The brake pedal sensor detects the physical movement distance of the brake pedal and converts it into an electrical signal to obtain the distance the brake pedal is stepped on. For example, the brake pedal sensor is a Hall sensor.

[0144] In this implementation, the distance the brake pedal is depressed is obtained based on the brake parameters of the vehicle obtained by the brake pedal sensor, which has high accuracy.

[0145] In a possible implementation, in response to the brake pedal of the vehicle being depressed, it is determined whether the vehicle satisfies a second gear switching condition; if the vehicle satisfies the second gear switching condition, the gear of the vehicle is switched to a target gear.

[0146] In some embodiments, driving parameters of the vehicle are acquired, and it is determined whether the vehicle meets the second gear switching condition based on the driving parameters of the vehicle.

[0147] In some embodiments, it is determined whether the vehicle speed is less than a preset speed threshold. If the vehicle speed is less than the preset speed threshold, it is judged that the vehicle meets the second gear switching condition. If the vehicle speed is greater than or equal to the preset speed threshold, it is judged that the vehicle does not meet the second switching condition.

[0148] The preset speed threshold is automatically determined by the vehicle controller or set by the technician according to the actual situation, and the present application embodiment does not limit this. For example, the preset speed threshold may be 3.5 kilometers per hour (KPH).

[0149] In this embodiment, in response to the brake pedal of the vehicle being stepped on, it is determined whether the vehicle meets the second gear switching condition; if the vehicle meets the second gear switching condition, the gear of the vehicle is switched to the target gear. That is, when the brake pedal of the vehicle is stepped on, the vehicle speed will decrease. If the vehicle speed decreases to a smaller value, the probability of the vehicle stopping increases. Therefore, it is determined whether the vehicle meets the second gear switching condition based on the vehicle speed.

[0150] Next, the content of obtaining the vehicle speed is described.

[0151] In a possible implementation, the vehicle speed is acquired based on a vehicle speed sensor, the gear position of the vehicle is acquired based on a gearbox sensor, and the braking parameter of the vehicle is acquired based on a brake pedal sensor.

[0152] Among them, the vehicle's braking parameters are used to describe the braking force generated by the braking system to decelerate the vehicle.

[0153] It should be understood that since the vehicle speed refers to the current speed of the vehicle, if the vehicle speed is 0 and the brake pedal of the vehicle is pressed, the probability of the vehicle stopping is high.

[0154] In a possible implementation, the driving parameters of the vehicle are acquired based on pulse signals generated by a plurality of wheel speed sensors and a tire radius.

[0155] In some embodiments, the vehicle includes a plurality of wheel speed sensors, and the wheel speed sensors are capable of generating a pulse signal (N). For example, the wheel speed sensors are Hall sensors or magnetoelectric wheel speed sensors.

[0156] In some embodiments, the circumference (C) of the tire is determined based on the tire radius, and the vehicle speed is obtained based on the formula N*C / t.

[0157] Wherein, N is the pulse signal generated by the wheel speed sensor per unit time, C is the circumference of the tire, and t represents the time interval.

[0158] In this implementation, pulse signals are acquired in real time based on multiple wheel speed sensors, and the vehicle speed is acquired based on the pulse signals and the tire radius, so that the acquired vehicle speed has high accuracy.

[0159] It is understandable that the vehicle speed may also be obtained through other means, for example, directly obtaining the vehicle speed through a navigation system. The embodiment of the present application does not limit the specific form of obtaining the vehicle speed.

[0160] In this embodiment, the vehicle speed is obtained based on the vehicle speed sensor, the vehicle gear is obtained based on the transmission sensor, and the vehicle braking parameters are obtained based on the brake pedal sensor. That is, it is possible to determine whether the vehicle is stopped based on the vehicle speed, gear and braking parameters.

[0161] In one possible implementation, in response to the vehicle's brake pedal being depressed, when the vehicle's total mileage is less than or equal to a preset mileage, the vehicle's gear is switched to neutral; when the vehicle's total mileage is greater than the preset mileage, the vehicle's gear is switched to parking.

[0162] It should be understood that in response to the vehicle's brake pedal being depressed, the vehicle's speed decreases, so the vehicle's gear is adjusted to neutral to avoid the driver forgetting to switch the vehicle's gear from driving gear to neutral or parking gear, accidentally touching the accelerator pedal and causing the vehicle to suddenly accelerate, resulting in casualties.

[0163] In some embodiments, if the total mileage of the vehicle is greater than a preset mileage, the vehicle needs to be parked after the driver leaves the vehicle, so in response to the vehicle's brake pedal being depressed, it is determined whether the vehicle's gear needs to be adjusted to the parking gear.

[0164] For example, when the total mileage of the vehicle is greater than the preset mileage and the vehicle is in the forward gear, when the brake pedal of the vehicle is pressed, the vehicle is in a creeping state, and the vehicle speed is reduced to 0, thereby stopping the vehicle. If the driver forgets to switch the vehicle's gear from the driving gear to the parking gear after leaving the vehicle's cockpit, the vehicle may easily slip or suddenly accelerate, causing casualties. Therefore, in order to avoid the problem of the vehicle slipping, the gear of the vehicle is adjusted to the parking gear, so that the vehicle's gearbox is locked to prevent the vehicle from moving accidentally. In other words, the vehicle cannot be moved by the staff, which improves the safety performance of the vehicle's driving.

[0165] In some embodiments, if the total mileage of the vehicle is less than or equal to a preset mileage, the engine or some components of the vehicle need to be tested after the driver leaves the vehicle, so in response to the vehicle's brake pedal being depressed, it is determined whether the vehicle's gear needs to be adjusted to neutral.

[0166] For example, when the total mileage of the vehicle is less than or equal to the preset mileage and the gear of the vehicle is in the forward gear, when the brake pedal of the vehicle is stepped on, the vehicle is in a creeping state, and the speed of the vehicle is reduced to 0, thereby stopping the vehicle. If the driver forgets to switch the gear of the vehicle from the driving gear to the non-driving gear after leaving the cockpit of the vehicle, the vehicle is prone to sudden acceleration, causing casualties. Therefore, in order to avoid the above situation, the gear of the vehicle is adjusted to neutral, so that the gearbox of the vehicle is completely separated from the drive wheel. In other words, the vehicle will remain stationary when it can be moved by the staff, which improves the safety performance of the vehicle.

[0167] In this embodiment, in response to the brake pedal of the vehicle being stepped on, the gear of the vehicle is switched to neutral when the total mileage of the vehicle is less than or equal to the preset mileage; and the gear of the vehicle is switched to parking when the total mileage of the vehicle is greater than the preset mileage. That is, the gear of the vehicle is switched to different target gears according to different total mileages, so as to avoid sudden acceleration of the vehicle and make the vehicle comply with the test procedure, so as to facilitate testing of components such as the engine of the vehicle.

[0168] Step 304: When the vehicle does not satisfy the first gear shifting condition, in response to the brake pedal of the vehicle being depressed, the gear of the vehicle is not switched to the target gear.

[0169] The vehicle not meeting the first gear shifting condition means that the driver's seat belt is locked, the cockpit door is closed, and the vehicle is in a non-parking gear. That is, the vehicle does not need to stop, and the vehicle is in a working state, so even if the brake pedal of the vehicle is stepped on, the vehicle still drives normally.

[0170] For example, if the main driver's seat belt is in a locked state, the cockpit door is in a closed state, and the vehicle's gear is in a forward gear, the vehicle does not meet the first gear switching condition. In response to the vehicle's brake pedal being stepped on, it is determined that the vehicle is in a deceleration state, and the vehicle's gear is still in a forward gear.

[0171] The present application provides a method for switching a vehicle gear, in which a target gear of the vehicle is determined based on the total mileage of the vehicle when the vehicle is under high pressure. If the driver forgets to switch the gear of the vehicle from the driving gear to the non-driving gear, the vehicle is prone to sudden acceleration, resulting in casualties. When the operating condition of the vehicle is a test condition, if the vehicle tests the performance of the engine, transmission system and other related components, the engine of the vehicle needs to maintain the speed. If the gear of the vehicle is the parking gear, the engine of the vehicle cannot work. Therefore, in order to improve the driving safety of the vehicle and meet the test requirements, based on the safety state parameters of the vehicle and the driving parameters of the vehicle, it is determined whether the vehicle meets the first gear switching condition. When the vehicle meets the first gear switching condition, in response to the brake pedal of the vehicle being stepped on, the gear of the vehicle is switched to the target gear. That is, even if the driver forgets to switch the gear of the vehicle from the driving gear to the non-driving gear, when the vehicle stops, the gear of the vehicle will automatically switch to the target gear, so that the vehicle is more adapted to the test condition and avoids sudden acceleration of the vehicle, thereby improving the driving safety of the vehicle.

[0172] Figure 4 It is a structural schematic diagram of a vehicle gear switching device provided in an embodiment of the present application.

[0173] For example, Figure 4 As shown, the device 400 includes:

[0174] A determination module 401 is used to determine a target gear position of the vehicle based on the total mileage of the vehicle when the vehicle is under high pressure, the target gear position being a neutral gear or a parking gear;

[0175] A judgment module 402 is used to judge whether the vehicle meets the first gear shifting condition based on the safety state parameters of the vehicle and the driving parameters of the vehicle;

[0176] The switching module 403 is used to switch the gear of the vehicle to the target gear in response to the brake pedal of the vehicle being stepped on when the vehicle meets the first gear switching condition.

[0177] In a possible implementation manner, the device 400 further includes:

[0178] The determination module 401 is used to determine the operating condition of the vehicle based on the total mileage of the vehicle; and determine the gear position corresponding to the operating condition as the target gear position of the vehicle;

[0179] The determination module 401 is used to search the gear position of the vehicle corresponding to the total mileage in the correspondence table between the total mileage of the vehicle and the gear position of the vehicle; and determine the gear position corresponding to the total mileage as the target gear position of the vehicle.

[0180] In a possible implementation manner, the device 400 further includes:

[0181] A module for determining an operating condition, used for determining that the operating condition of the vehicle is a test condition when the total mileage of the vehicle is less than or equal to a preset mileage;

[0182] A module for determining an operating condition, for determining that the operating condition of the vehicle is a driving condition when the total mileage of the vehicle is greater than a preset mileage;

[0183] The device 400 further includes:

[0184] The determination module 401 is used to determine that the gear corresponding to the test condition is a neutral gear when the operating condition of the vehicle is a test condition; and determine the neutral gear corresponding to the test condition as a target gear of the vehicle;

[0185] The determination module 401 is used to determine that the gear position corresponding to the driving condition is the parking gear when the operating condition of the vehicle is the driving condition; and determine the parking gear corresponding to the driving condition as the target gear position of the vehicle.

[0186] In a possible implementation manner, the device 400 further includes:

[0187] A determination module 401 is used to determine that the gear position of the vehicle corresponding to the total mileage is neutral when the total mileage is less than or equal to the preset mileage;

[0188] The determination module 401 is used to determine that the gear position of the vehicle corresponding to the total mileage is the parking gear when the total mileage of the vehicle is greater than a preset mileage.

[0189] In a possible implementation manner, the device 400 further includes:

[0190] The judgment module 402 is used to judge that the vehicle meets the first gear switching condition when the main driver's seat belt is in an unlocked state, and / or the cockpit door is in an open state, and / or the gear position of the vehicle is not a parking gear;

[0191] The judgment module 402 is used to judge that the vehicle does not meet the first gear switching condition when the main driver's seat belt is in a locked state, the cockpit door is in a closed state and the gear position of the vehicle is not a parking gear.

[0192] In a possible implementation manner, the device 400 further includes:

[0193] A determination module 402, configured to determine whether the vehicle satisfies a second gear shifting condition in response to the brake pedal of the vehicle being stepped on;

[0194] The switching module 403 is used to switch the gear of the vehicle to the target gear when the vehicle meets the second gear switching condition.

[0195] In a possible implementation manner, the device 400 further includes:

[0196] A vehicle speed determination module, used to determine whether the vehicle speed is less than a preset speed threshold;

[0197] The judging module 402 is used to judge whether the vehicle meets the second gear shifting condition when the vehicle speed is less than a preset speed threshold;

[0198] The judgment module 402 is used to judge that the vehicle does not meet the second switching condition when the vehicle speed is greater than or equal to a preset speed threshold.

[0199] Figure 5 It is a structural schematic diagram of a vehicle provided in an embodiment of the present application.

[0200] For example, Figure 5 As shown, the vehicle 500 includes: a memory 501 and a processor 502, wherein the memory 501 stores an executable program code 503, and the processor 502 is used to call and execute the executable program code 503 to perform a vehicle gear switching method.

[0201] In addition, an embodiment of the present application also protects a device, which may include a memory and a processor, wherein the memory stores an executable program code, and the processor is used to call and execute the executable program code to execute a vehicle gear switching method provided in an embodiment of the present application.

[0202] In this embodiment, the functional modules of the device can be divided according to the above method example. For example, each functional module can be corresponded, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware. It should be noted that the division of modules in this embodiment is schematic and is only a logical function division. There may be other division methods in actual implementation.

[0203] In the case of dividing each functional module according to each function, the device may also include a vehicle speed determination module and an operating condition determination module, etc. It should be noted that all relevant contents of each step involved in the above method embodiment can be referred to the functional description of the corresponding functional module, which will not be repeated here.

[0204] It should be understood that the device provided in this embodiment is used to execute the above-mentioned vehicle gear switching method, and thus can achieve the same effect as the above-mentioned implementation method.

[0205] In the case of an integrated unit, the device may include a processing module and a storage module. When the device is applied to a vehicle, the processing module may be used to control and manage the actions of the vehicle. The storage module may be used to support the vehicle in executing related program codes, etc.

[0206] The processing module may be a processor or a controller, which may implement or execute various exemplary logic blocks, modules and circuits shown in conjunction with the disclosure of the present application. The processor may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of digital signal processing (DSP) and a microprocessor, etc. The storage module may be a memory.

[0207] In addition, the device provided in the embodiments of the present application may specifically be a chip, component or module, and the chip may include a connected processor and memory; wherein the memory is used to store instructions, and when the processor calls and executes the instructions, the chip can execute a vehicle gear switching method provided in the above embodiments.

[0208] This embodiment also provides a computer-readable storage medium, in which a computer program code is stored. When the computer program code is run on a computer, the computer executes the above-mentioned related method steps to implement a vehicle gear switching method provided in the above embodiment.

[0209] This embodiment also provides a computer program product. When the computer program product is run on a computer, the computer is caused to execute the above-mentioned related steps to implement a vehicle gear switching method provided in the above embodiment.

[0210] Among them, the device, computer-readable storage medium, computer program product or chip provided in this embodiment is used to execute the corresponding method provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding method provided above, and will not be repeated here.

[0211] Through the description of the above implementation methods, technical personnel in the relevant field can understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.

[0212] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, 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.

[0213] The above contents are only specific implementation methods of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A method for switching vehicle gears, characterized in that: The method comprises: In the case of high pressure on the vehicle, determining a target gear position of the vehicle based on the total mileage of the vehicle, the target gear position being a neutral gear or a parking gear; Based on the safety state parameter of the vehicle and the driving parameter of the vehicle, determining whether the vehicle meets the first gear shifting condition; When the vehicle satisfies the first gear switching condition, in response to the brake pedal of the vehicle being depressed, the gear of the vehicle is switched to the target gear.

2. The method according to claim 1, characterized in that The step of determining the target gear position of the vehicle based on the total mileage of the vehicle includes: Determining an operating condition of the vehicle based on the total mileage of the vehicle; and determining a gear position corresponding to the operating condition as a target gear position of the vehicle; Alternatively, in a correspondence table between the total mileage of the vehicle and the gear position of the vehicle, the gear position of the vehicle corresponding to the total mileage is searched; and the gear position corresponding to the total mileage is determined as the target gear position of the vehicle.

3. The method according to claim 2, characterized in that The determining the operating condition of the vehicle based on the total mileage of the vehicle includes: When the total mileage of the vehicle is less than or equal to a preset mileage, determining that the operating condition of the vehicle is a test condition; When the total mileage of the vehicle is greater than a preset mileage, determining that the operating condition of the vehicle is a driving condition; The step of determining the gear position corresponding to the operating condition as the target gear position of the vehicle includes: In the case where the operating condition of the vehicle is a test condition, determining that the gear position corresponding to the test condition is a neutral gear; and determining the neutral gear corresponding to the test condition as a target gear position of the vehicle; When the operating condition of the vehicle is a driving condition, the gear position corresponding to the driving condition is determined to be a parking gear; and the parking gear corresponding to the driving condition is determined as a target gear position of the vehicle.

4. The method according to claim 2, characterized in that: The step of determining the gear corresponding to the total mileage as the target gear of the vehicle includes: When the total mileage is less than or equal to the preset mileage, determining that the gear position of the vehicle corresponding to the total mileage is neutral; When the total mileage of the vehicle is greater than a preset mileage, it is determined that the gear position of the vehicle corresponding to the total mileage is a parking gear.

5. The method according to claim 1, characterized in that The safety state parameters of the vehicle include state parameters of a main driver's seat belt and state parameters of a cockpit door, and judging whether the vehicle meets the first gear shifting condition based on the safety state parameters of the vehicle and the driving parameters of the vehicle includes: When the main driver's seat belt is in an unlocked state, and / or the cockpit door is in an open state, and / or the gear position of the vehicle is not a parking gear, determining that the vehicle meets the first gear switching condition; When the main driver's seat belt is in a locked state, the cockpit door is in a closed state, and the gear position of the vehicle is not a parking gear, it is determined that the vehicle does not meet the first gear switching condition.

6. The method according to claim 1, characterized in that In response to the brake pedal of the vehicle being stepped on, switching the gear of the vehicle to the target gear comprises: In response to a brake pedal of the vehicle being depressed, determining whether the vehicle satisfies a second gear shift condition; When the vehicle satisfies the second gear switching condition, the gear of the vehicle is switched to the target gear.

7. The method according to claim 6, characterized in that The determining whether the vehicle satisfies the second gear shifting condition includes: Determining whether the speed of the vehicle is less than a preset speed threshold; When the vehicle speed is less than a preset speed threshold, determining that the vehicle meets a second gear shifting condition; When the vehicle speed is greater than or equal to a preset speed threshold, it is determined that the vehicle does not meet the second switching condition.

8. A vehicle gear switching device, characterized in that: The device comprises: a determination module, configured to determine a target gear position of the vehicle based on a total mileage of the vehicle when the vehicle is under high pressure, the target gear position being a neutral gear or a parking gear; A judgment module, configured to judge whether the vehicle satisfies a first gear shifting condition based on a safety state parameter of the vehicle and a driving parameter of the vehicle; A switching module is used to switch the gear of the vehicle to the target gear in response to the brake pedal of the vehicle being stepped on when the vehicle meets the first gear switching condition.

9. A vehicle, characterized in that: The vehicle comprises: A memory for storing executable program codes; A processor, configured to call and run the executable program code from the memory, so that the vehicle executes the method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed, the method according to any one of claims 1 to 7 is implemented.