Vehicle control method, device and equipment and storage medium
By detecting button events and switching vehicle modes, the problem of exhaust gas detection in new energy vehicles is solved, and the simple operation and cost reduction of fuel and gas detection is achieved, which is suitable for different vehicle models.
Patent Information
- Application Number
- CN202411174254.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-23
- Publication Date
- 2024-12-17
AI Technical Summary
New energy vehicles do not fully consider the future annual review and vehicle inspection during manufacturing, resulting in no quick buttons for exhaust gas detection, making it difficult for users to conduct exhaust gas detection in a convenient and convenient manner, resulting in no effective data during vehicle inspection.
By detecting key events, the fuel detection mode is determined, and without adding hard switches, the vehicle is switched to the corresponding mode, the speed of the engine management system is controlled, the prompt information is output, and fuel gas detection is realized, which is suitable for different configuration models.
It realizes the reuse of button functions, is simple to operate, reduces the use of hard switches and wiring harnesses, reduces the cost of vehicle parts, improves market competitiveness, and is compatible with fuel and gas emission detection of different models.
Smart Images

Figure CN119142153A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of vehicle control technology, and in particular to a vehicle control method, device, equipment and storage medium. Background Art
[0002] When new energy vehicles were initially manufactured, future annual inspections and vehicle inspections were not fully considered, and no shortcut buttons corresponding to exhaust gas testing were set up in the vehicles. Therefore, users were unable to make the vehicles meet the exhaust gas testing conditions through simple and convenient settings. As a result, some vehicles were unable to obtain valid data during vehicle inspections, causing a lot of trouble for users.
[0003] Based on this, in the relevant technology, a soft switch is set in the central control screen which is standard on the extended-range passenger car. The exhaust gas detection mode can be turned on through the soft switch of the central control screen, and the exhaust gas emission detection can be carried out through a simple and convenient setting.
[0004] With the maturity and popularization of new energy vehicle technology, traditional fuel trucks have begun to transform towards electrification and can be equipped with range extenders for multiple fuel types such as gasoline, diesel, and natural gas. However, low-end models basically do not have a large central control screen, making it difficult to achieve fuel and gas detection. Summary of the invention
[0005] In view of this, the present application provides a vehicle control method, device, equipment and storage medium to help improve the vehicle's exhaust gas detection efficiency.
[0006] In a first aspect, an embodiment of the present application provides a vehicle control method, the method comprising:
[0007] Detecting a key event, and determining a fuel detection mode corresponding to the key event;
[0008] switching the vehicle to a fuel mode corresponding to the fuel detection mode;
[0009] determining whether the vehicle meets a fuel detection condition;
[0010] If satisfied, the engine management system is controlled to maintain a speed at a first preset speed, and a first pop-up window prompt corresponding to the fuel detection mode is output, wherein the first pop-up window prompt is used to prompt the user of the fuel detection mode currently corresponding to the vehicle.
[0011] In the present application, the existing buttons in the vehicle are utilized to enter the fuel detection mode, realizing the reuse of button functions and simple operation, and realizing the fuel and gas emission detection of dual-fuel extended-range vehicles without a large central control screen and without adding hard switches. The present application is compatible with vehicle models with different configurations, reduces the use of hard switches and wiring harnesses, reduces the cost of vehicle parts, and improves market competitiveness.
[0012] In some possible embodiments, detecting a key event and determining a fuel detection mode corresponding to the key event includes:
[0013] If the keys corresponding to the key event are the first key and the second key, determining that the fuel detection mode corresponding to the key event is the fuel detection mode;
[0014] If the keys corresponding to the key event are the first key and the third key, it is determined that the fuel detection mode corresponding to the key event is the gas detection mode.
[0015] In some possible embodiments, detecting a key event and determining a fuel detection mode corresponding to the key event includes:
[0016] If the keys corresponding to the key event are the first key and the second key, and the key pressing duration corresponding to the key event is greater than the preset duration, determining that the fuel detection mode corresponding to the key event is the fuel detection mode;
[0017] If the keys corresponding to the key event are the first key and the third key, and the key duration corresponding to the key event is greater than the preset duration, it is determined that the fuel detection mode corresponding to the key event is the gas detection mode.
[0018] In some possible embodiments, determining whether the vehicle meets the fuel detection condition includes:
[0019] determining whether a powertrain of the vehicle is in a ready state; and,
[0020] determining whether the gear position of the vehicle is in park or neutral; and,
[0021] Determining whether the vehicle controller of the vehicle has been initialized;
[0022] If the powertrain of the vehicle is in a ready state, the gear position of the vehicle is in the parking gear or the neutral gear, and the vehicle controller of the vehicle is initialized, it is determined that the vehicle meets the fuel detection condition.
[0023] In some possible embodiments, after switching the vehicle to a fuel mode corresponding to the fuel detection mode, the method further includes:
[0024] The output torque of the generator of the vehicle is controlled to be a preset output torque.
[0025] In some possible embodiments, after determining whether the vehicle meets the fuel detection condition, the method further includes:
[0026] If it is determined that the vehicle does not meet the fuel detection condition, a second pop-up window prompt is output, and the second pop-up window prompt is used to prompt the user that the fuel detection has failed.
[0027] In some possible embodiments, after outputting the first pop-up window prompt corresponding to the fuel detection mode, the method further includes:
[0028] If it is detected that the opening degree of the accelerator pedal is greater than a preset opening degree threshold, the engine management system is controlled to maintain a speed at a second preset speed, and a third pop-up window prompt corresponding to the fuel detection mode is output, wherein the third pop-up window prompt is used to prompt the user of the fuel detection mode currently corresponding to the vehicle.
[0029] In some possible embodiments, the method further includes:
[0030] If an exit event is detected, the fuel detection mode is turned off and the engine of the vehicle is controlled to stop working.
[0031] In a second aspect, an embodiment of the present application provides a vehicle control device, the device comprising:
[0032] An event detection module, configured to detect a key event and determine a fuel detection mode corresponding to the key event;
[0033] a mode switching module, configured to switch the vehicle to a fuel mode corresponding to the fuel detection mode;
[0034] A condition judgment module, used to determine whether the vehicle meets the fuel detection condition;
[0035] The fuel detection module is used to control the speed of the engine management system to remain at a first preset speed if the conditions are met, and output a first pop-up window prompt corresponding to the fuel detection mode, wherein the first pop-up window prompt is used to prompt the user of the fuel detection mode currently corresponding to the vehicle.
[0036] In some possible embodiments, the event detection module is specifically used to:
[0037] If the keys corresponding to the key event are the first key and the second key, determining that the fuel detection mode corresponding to the key event is the fuel detection mode;
[0038] If the keys corresponding to the key event are the first key and the third key, it is determined that the fuel detection mode corresponding to the key event is the gas detection mode.
[0039] In some possible embodiments, the event detection module is specifically used to:
[0040] If the keys corresponding to the key event are the first key and the second key, and the key pressing duration corresponding to the key event is greater than the preset duration, determining that the fuel detection mode corresponding to the key event is the fuel detection mode;
[0041] If the keys corresponding to the key event are the first key and the third key, and the key duration corresponding to the key event is greater than the preset duration, it is determined that the fuel detection mode corresponding to the key event is the gas detection mode.
[0042] In some possible embodiments, the condition judgment module is specifically used to:
[0043] determining whether a powertrain of the vehicle is in a ready state; and,
[0044] determining whether the gear position of the vehicle is in park or neutral; and,
[0045] Determining whether the vehicle controller of the vehicle has been initialized;
[0046] If the powertrain of the vehicle is in a ready state, the gear position of the vehicle is in the parking gear or the neutral gear, and the vehicle controller of the vehicle is initialized, it is determined that the vehicle meets the fuel detection condition.
[0047] In some possible embodiments, the fuel detection module is further used to:
[0048] The output torque of the generator of the vehicle is controlled to be a preset output torque.
[0049] In some possible embodiments, the condition judgment module is further used to:
[0050] If it is determined that the vehicle does not meet the fuel detection condition, a second pop-up window prompt is output, and the second pop-up window prompt is used to prompt the user that the fuel detection has failed.
[0051] In some possible embodiments, the fuel detection module is further used to:
[0052] If it is detected that the opening degree of the accelerator pedal is greater than a preset opening degree threshold, the engine management system is controlled to maintain a speed at a second preset speed, and a third pop-up window prompt corresponding to the fuel detection mode is output, wherein the third pop-up window prompt is used to prompt the user of the fuel detection mode currently corresponding to the vehicle.
[0053] In some possible embodiments, the event detection module is further configured to:
[0054] If an exit event is detected, the fuel detection mode is turned off and the engine of the vehicle is controlled to stop working.
[0055] In the third aspect, another embodiment of the present application also provides an electronic device, comprising at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute any method provided in the embodiment of the first aspect of the present application.
[0056] In a fourth aspect, another embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and the computer program is used to enable a computer to execute any method provided in the embodiment of the first aspect of the present application.
[0057] Other features and advantages of the present application will be described in the following description, and partly become apparent from the description, or be understood by practicing the present application. The purpose and other advantages of the present application can be realized and obtained by the structures specifically pointed out in the written description, claims, and drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0058] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0059] Figure 1 A schematic diagram of an application scenario of a vehicle control method provided in an embodiment of the present application;
[0060] Figure 2 A schematic diagram of the overall process of a vehicle control method provided in an embodiment of the present application;
[0061] Figure 3 A schematic diagram of buttons of a vehicle control method provided in an embodiment of the present application;
[0062] Figure 4 A schematic diagram of a process flow of determining whether a vehicle meets a fuel detection condition in a vehicle control method provided in an embodiment of the present application;
[0063] Figure 5 A schematic diagram of a first pop-up window prompt displayed in a dashboard of a vehicle control method provided in an embodiment of the present application;
[0064] Figure 6 A schematic diagram of a first pop-up window prompt of a vehicle control method provided in an embodiment of the present application being displayed on a vehicle display screen;
[0065] Figure 7A schematic diagram of a second pop-up window prompt displayed in a dashboard of a vehicle control method provided in an embodiment of the present application;
[0066] Figure 8 A schematic diagram of a second pop-up window prompt displayed in a dashboard of a vehicle control method provided in an embodiment of the present application;
[0067] Fig.9A A schematic diagram of displaying high idle fuel detection in a dashboard of a vehicle control method provided in an embodiment of the present application;
[0068] Fig. 9B A schematic diagram of high idle fuel detection in a vehicle display screen of a vehicle control method provided in an embodiment of the present application;
[0069] Fig.10 A schematic diagram of a vehicle control method provided in an embodiment of the present application;
[0070] Fig.11 A schematic diagram of an electronic device for a vehicle control method provided in an embodiment of the present application. DETAILED DESCRIPTION
[0071] In order to better understand the technical solution of the present application, the embodiments of the present application are described in detail below with reference to the accompanying drawings.
[0072] It should be clear that the described embodiments are only part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present application.
[0073] The terms used in the embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to limit the present application. The singular forms "a", "said" and "the" used in the embodiments of the present application and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings.
[0074] It should be understood that the term "and / or" used in this article 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 represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.
[0075] The inventor's research found that when new energy vehicles were initially manufactured, future annual inspections and vehicle inspections were not fully considered, and no shortcut buttons corresponding to exhaust gas detection were set in the vehicles. Therefore, users cannot use simple and convenient settings to make the vehicles meet the working conditions of exhaust gas detection, which results in some vehicles being unable to obtain valid data during vehicle inspections, causing a lot of trouble for users.
[0076] Based on this, in the relevant technology, a soft switch is set in the central control screen which is standard on the extended-range passenger car. The exhaust gas detection mode can be turned on through the soft switch of the central control screen, and the exhaust gas emission detection can be carried out through a simple and convenient setting.
[0077] With the maturity and popularization of new energy vehicle technology, traditional fuel trucks have begun to transform towards electrification and can be equipped with range extenders for multiple fuel types such as gasoline, diesel, and natural gas. However, low-end models basically do not have a large central control screen, making it difficult to achieve fuel and gas detection.
[0078] In view of the above problems, the embodiments of the present application provide a vehicle control method, device, equipment and storage medium for solving the above problems. The inventive concept of the present application can be summarized as follows: detecting a key event, determining the fuel detection mode corresponding to the key event; switching the vehicle to the fuel mode corresponding to the fuel detection mode; determining whether the vehicle meets the fuel detection condition; if so, controlling the speed of the engine management system to maintain at a first preset speed, and outputting a first pop-up window prompt corresponding to the fuel detection mode, the first pop-up window prompt is used to prompt the user the fuel detection mode currently corresponding to the vehicle.
[0079] In the present application, the existing buttons in the vehicle are utilized to enter the fuel detection mode, realizing the reuse of button functions and simple operation, and realizing the fuel and gas emission detection of dual-fuel extended-range vehicles without a large central control screen and without adding hard switches. The present application is compatible with vehicle models with different configurations, reduces the use of hard switches and wiring harnesses, reduces the cost of vehicle parts, and improves market competitiveness.
[0080] For ease of understanding, a vehicle control method provided by an embodiment of the present application is described in detail below with reference to the accompanying drawings:
[0081] like Figure 1 The figure shows an application scenario diagram of a vehicle control method in an embodiment of the present application. The figure includes: a vehicle button 10, an engine management system 20, a central control system 30, and a dashboard 40; wherein:
[0082] The central control system 30 detects a key event triggered by the vehicle button 10, determines the fuel detection mode corresponding to the key event, switches the vehicle to the fuel mode corresponding to the fuel detection mode, determines whether the vehicle meets the fuel detection conditions, and if so, controls the engine management system 20 to maintain a speed at a first preset speed, and outputs a first pop-up prompt corresponding to the fuel detection mode. The first pop-up prompt is displayed in the instrument panel 40 to prompt the user of the current fuel detection mode corresponding to the vehicle.
[0083] The description in this application only details a single vehicle button 10, an engine management system 20, a central control system 30, and an instrument panel 40, but those skilled in the art should understand that the vehicle button 10, the engine management system 20, the central control system 30, and the instrument panel 40 shown are intended to represent the operation of the vehicle button 10, the engine management system 20, the central control system 30, and the instrument panel 40 involved in the technical solution of this application. It does not imply a limitation on the number, type, or location of the vehicle button 10, the engine management system 20, the central control system 30, and the instrument panel 40. It should be noted that if additional modules are added to the illustrated environment or individual modules are removed therefrom, the underlying concept of the exemplary embodiment of this application will not be changed.
[0084] It should be noted that the vehicle control method proposed in this application is not only applicable to Figure 1 The application scenario shown is also applicable to any device with vehicle control requirements.
[0085] like Figure 2 FIG. 1 is a flow chart of a vehicle control method provided by an embodiment of the present application, wherein:
[0086] In step 201: a key event is detected, and a fuel detection mode corresponding to the key event is determined.
[0087] In the present application, the key events may be triggered based on the keys on the steering wheel or console in the vehicle, and different key combinations correspond to different fuel detection modes.
[0088] In some possible embodiments, if the keys corresponding to the key event are the first key and the second key, the fuel detection mode corresponding to the key event is determined to be the fuel oil detection mode; if the keys corresponding to the key event are the first key and the third key, the fuel detection mode corresponding to the key event is determined to be the gas detection mode.
[0089] Exemplary: Figure 3As shown, the first button can be the "OK button" on the steering wheel, the second button is the left direction button "<" on the steering wheel, and the third button is the right direction button ">" on the steering wheel. If the user presses the "OK button" and "<" at the same time, it means that the user has triggered a button event, and the fuel detection mode corresponding to the button event is the fuel detection mode; if the user presses the "OK button" and ">" at the same time, it means that the user has triggered a button event, and the fuel detection mode corresponding to the button event is the gas detection mode.
[0090] Or, for example: Figure 3 As shown, the first button is the "OK button" on the steering wheel, the second button is the up button on the steering wheel, and the third button is the down button on the steering wheel. If the user presses the "OK button" and the "up button" at the same time, it means that the user has triggered a button event, and the fuel detection mode corresponding to the button event is the fuel detection mode; if the user presses the "OK button" and the "down button" at the same time, it means that the user has triggered a button event, and the fuel detection mode corresponding to the button event is the gas detection mode.
[0091] In some possible embodiments, in order to further prevent users from accidentally touching the button, a preset duration is set in the present application. After a key event is detected and the duration of the key event is confirmed to be greater than the preset duration, the fuel detection mode is confirmed to be triggered.
[0092] Exemplary: Figure 3 As shown, the first button can be the "OK button" on the steering wheel, the second button is the left direction button "<" on the steering wheel, and the third button is the right direction button ">" on the steering wheel. If the user presses the "OK button" and "<" at the same time, and the button duration is 8 seconds, and the preset duration is determined to be 5 seconds, it means that the user has triggered a button event, and the fuel detection mode corresponding to the button event is the fuel detection mode; if the user presses the "OK button" and ">" at the same time, it means that the user has triggered a button event, and the fuel detection mode corresponding to the button event is the gas detection mode.
[0093] Or, for example: Figure 3 As shown, the first button is the "OK button" on the steering wheel, the second button is the up button on the steering wheel, and the third button is the down button on the steering wheel. If the user presses the "OK button" and the "up button" at the same time, and the button duration is 8 seconds, and the preset duration is determined to be 5 seconds, it means that the user has triggered a button event, and the fuel detection mode corresponding to the button event is the fuel detection mode; if the user presses the "OK button" and the "down button" at the same time, it means that the user has triggered a button event, and the fuel detection mode corresponding to the button event is the gas detection mode.
[0094] What we know is that Figure 3The above is only an embodiment, and does not limit the specific implementation of the first button, the second button, and the third button. In the specific implementation, the first button, the second button, and the third button can be set according to the configuration of the vehicle.
[0095] In the present application, the user needs to press at least two buttons at the same time, the button pressing time needs to be greater than the preset time, and the two buttons are respectively set on the left and right sides of the steering wheel, which further prevents the occurrence of accidental touch events and avoids the waste of resources caused by accidental touches.
[0096] In step 202: the vehicle is switched to a fuel mode corresponding to the fuel detection mode.
[0097] In the present application, after the fuel detection mode is determined, in order to ensure the accuracy of the fuel detection, the state of the vehicle needs to be switched to the fuel mode determined in step 201 .
[0098] In some possible embodiments, in order to comply with relevant regulations on exhaust gas detection, after the vehicle is switched to the corresponding fuel detection mode, the output torque of the generator of the vehicle needs to be controlled to be a preset output torque, wherein the preset output torque is zero torque.
[0099] In step 203: determine whether the vehicle meets the fuel detection conditions, if yes, proceed to step 204, otherwise proceed to step 205.
[0100] In the present application, in order to ensure the success rate of fuel detection, it is necessary to determine whether the vehicle meets the fuel detection conditions, and fuel detection will only be performed when the vehicle meets the fuel detection conditions.
[0101] In some possible embodiments, determining whether the vehicle meets the fuel detection condition may be specifically implemented as follows: Figure 4 The steps shown, where:
[0102] In step 401: determine whether the powertrain of the vehicle is in a ready state.
[0103] In step 402: determine whether the gear position of the vehicle is in the parking gear or the neutral gear.
[0104] In step 403: determine whether the vehicle controller of the vehicle has been initialized.
[0105] In step 404: if the powertrain of the vehicle is in a ready state, the gear of the vehicle is in the parking gear or the neutral gear, and the vehicle controller of the vehicle is initialized, it is determined that the vehicle meets the fuel detection condition.
[0106] That is, fuel testing can only be performed when the vehicle's powertrain is in a ready state, the vehicle's gear is in the parking gear or neutral gear, and the vehicle's whole vehicle controller is initialized.
[0107] The above three conditions need to be met at the same time before fuel testing can be performed. The fuel testing conditions set in this application are set according to the relevant regulations on exhaust gas testing. Therefore, when the relevant regulations on exhaust gas testing change, the fuel testing conditions can be modified as needed. When modifying the fuel testing conditions, only improvements need to be made at the software level, and there is no need to change the vehicle's hardware. The adjustment difficulty is low, making this application more universal.
[0108] In step 204: the speed of the engine management system is controlled to be maintained at a first preset speed, and a first pop-up window prompt corresponding to the fuel detection mode is output, and the first pop-up window prompt is used to prompt the user of the fuel detection mode currently corresponding to the vehicle.
[0109] In this application, considering that some low-end vehicles do not have an on-board display screen, the first pop-up window prompt can be displayed in the instrument panel, such as Figure 5 As shown, different symbols correspond to the fuel detection mode and the gas detection mode in the instrument panel.
[0110] Of course, for vehicles with on-board display screens, you can Figure 6 As shown, the fuel detection mode and the gas detection mode are displayed in the form of prompt boxes on the vehicle display screen.
[0111] In step 205: a second pop-up window prompt is output, and the second pop-up window prompt is used to prompt the user that the fuel test has failed.
[0112] In the present application, when the vehicle does not meet the fuel detection conditions, a second pop-up prompt will be directly output to inform the user that the fuel detection has failed, thereby avoiding the waste of resources consumed in the fuel detection process due to continuing to execute subsequent fuel detection steps.
[0113] For example: Figure 7 As shown, different symbols can be used on the vehicle dashboard to correspond to the fuel detection mode and the gas detection mode. In a vehicle with an on-board display screen, the fuel detection mode and the gas detection mode can be displayed as shown in FIG. Figure 8 As shown, the fuel detection failure and the gas detection failure are respectively displayed in the form of prompt boxes on the vehicle display screen.
[0114] In some possible embodiments, the fuel detection process includes low idle detection and high idle detection. The user needs to step on the accelerator to enter the high idle detection. Therefore, after outputting the first pop-up prompt corresponding to the fuel detection mode, if it is detected that the opening degree of the accelerator pedal is greater than the preset opening degree threshold, it is determined that the high idle mode has been entered, and the speed of the engine management system needs to be controlled to remain at the second preset speed, and a third pop-up prompt corresponding to the fuel detection mode is output. The third pop-up prompt is used to prompt the user of the current fuel detection mode corresponding to the vehicle.
[0115] For example: Fig.9A As shown, in vehicles without an on-board display screen, different symbols correspond to high idle fuel detection and high idle gas detection, and in vehicles with an on-board display screen, different symbols can be used as shown in FIG. Fig. 9B As shown, a prompt box is used to inform the user of the current fuel detection mode.
[0116] In the present application, the user can intuitively understand the currently ongoing fuel detection mode through the dashboard or the vehicle display screen, and can determine whether the fuel detection mode is successfully switched through the dashboard or the vehicle display screen.
[0117] In some possible embodiments, the user can also exit at any time during the fuel detection process, that is, Figure 2 During the steps shown, if an exit event is detected, the fuel detection mode is turned off and the vehicle's engine is controlled to stop working.
[0118] Exemplarily, the exit event can be triggered by the user long pressing a pre-set button. For example, if the user presses the first button and the second button at the same time, and the duration reaches the preset duration, it can be determined that the user has triggered the exit event, and the fuel detection mode corresponding to the exit event is the fuel detection mode, and it is necessary to exit the fuel detection mode; if the user presses the first button and the third button at the same time, and the duration reaches the preset duration, it can be determined that the user has triggered the exit event, and the fuel detection mode corresponding to the exit event is the gas detection mode, and it is necessary to exit the gas detection mode.
[0119] In the present application, in order to facilitate user operation and memory, the keys corresponding to the exit event and the key event can be set to the same key.
[0120] Based on the same inventive concept, after introducing a vehicle control method provided by an embodiment of the present application, as shown in FIG. Fig.10 As shown, a vehicle control device 1000 provided in an embodiment of the present application is described below, and the device includes:
[0121] An event detection module 10001 is used to detect a key event and determine a fuel detection mode corresponding to the key event;
[0122] A mode switching module 10002, configured to switch the vehicle to a fuel mode corresponding to the fuel detection mode;
[0123] The condition judgment module 10003 is used to determine whether the vehicle meets the fuel detection condition;
[0124] The fuel detection module 10004 is used to control the engine management system to maintain the speed at a first preset speed if the conditions are met, and output a first pop-up window prompt corresponding to the fuel detection mode, wherein the first pop-up window prompt is used to prompt the user of the fuel detection mode currently corresponding to the vehicle.
[0125] In some possible embodiments, the event detection module 10001 is specifically used to:
[0126] If the keys corresponding to the key event are the first key and the second key, determining that the fuel detection mode corresponding to the key event is the fuel detection mode;
[0127] If the keys corresponding to the key event are the first key and the third key, it is determined that the fuel detection mode corresponding to the key event is the gas detection mode.
[0128] In some possible embodiments, the event detection module 10001 is specifically used to:
[0129] If the keys corresponding to the key event are the first key and the second key, and the key pressing duration corresponding to the key event is greater than the preset duration, determining that the fuel detection mode corresponding to the key event is the fuel detection mode;
[0130] If the keys corresponding to the key event are the first key and the third key, and the key duration corresponding to the key event is greater than the preset duration, it is determined that the fuel detection mode corresponding to the key event is the gas detection mode.
[0131] In some possible embodiments, the condition determination module 10003 is specifically used to:
[0132] determining whether a powertrain of the vehicle is in a ready state; and,
[0133] determining whether the gear position of the vehicle is in park or neutral; and,
[0134] Determining whether the vehicle controller of the vehicle has been initialized;
[0135] If the powertrain of the vehicle is in a ready state, the gear position of the vehicle is in the parking gear or the neutral gear, and the vehicle controller of the vehicle is initialized, it is determined that the vehicle meets the fuel detection condition.
[0136] In some possible embodiments, the fuel detection module 10004 is further configured to:
[0137] The output torque of the generator of the vehicle is controlled to be a preset output torque.
[0138] In some possible embodiments, the condition determination module 10003 is further used to:
[0139] If it is determined that the vehicle does not meet the fuel detection condition, a second pop-up window prompt is output, and the second pop-up window prompt is used to prompt the user that the fuel detection has failed.
[0140] In some possible embodiments, the fuel detection module 10004 is further configured to:
[0141] If it is detected that the opening degree of the accelerator pedal is greater than a preset opening degree threshold, the engine management system is controlled to maintain a speed at a second preset speed, and a third pop-up window prompt corresponding to the fuel detection mode is output, wherein the third pop-up window prompt is used to prompt the user of the fuel detection mode currently corresponding to the vehicle.
[0142] In some possible embodiments, the event detection module 10001 is further configured to:
[0143] If an exit event is detected, the fuel detection mode is turned off and the engine of the vehicle is controlled to stop working.
[0144] Corresponding to the above embodiments, the present application also provides an electronic device. Fig.11 A schematic diagram of the structure of an electronic device provided in an embodiment of the present invention, the electronic device 1100 may include: a processor 1101, a memory 1102 and a communication unit 1103. These components communicate through one or more buses. Those skilled in the art can understand that the structure of the electronic device shown in the figure does not constitute a limitation on the embodiment of the present invention, it can be a bus structure or a star structure, and can also include more or less components than shown in the figure, or combine certain components, or arrange the components differently.
[0145] The communication unit 1103 is used to establish a communication channel so that the electronic device can communicate with other devices, receive user data sent by other devices or send user data to other devices.
[0146] The processor 1101 is the control center of the electronic device. It uses various interfaces and lines to connect various parts of the entire electronic device. It runs or executes software programs and / or modules stored in the memory 1102, and calls data stored in the memory to perform various functions of the electronic device and / or process data. The processor can be composed of an integrated circuit (IC), for example, it can be composed of a single packaged IC, or it can be composed of multiple packaged ICs with the same or different functions. For example, the processor 1101 can include only a central processing unit (CPU). In an embodiment of the present invention, the CPU can be a single computing core or multiple computing cores.
[0147] The memory 1102 is used to store the execution instructions of the processor 1101. The memory 1102 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0148] When the execution instructions in the memory 1102 are executed by the processor 1101, the electronic device 1100 can execute Figure 2 Some or all of the steps in the illustrated embodiments.
[0149] In a specific implementation, the present invention further provides a computer storage medium, wherein the computer storage medium may store a program, and when the program is executed, the program may include some or all of the steps in each embodiment of the vehicle control method provided by the present invention. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.
[0150] Those skilled in the art can clearly understand that the technology in the embodiments of the present invention can be implemented by means of software plus a necessary general hardware platform. Based on this understanding, the technical solution in the embodiments of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which can be stored in a storage medium such as ROM / RAM, a disk, an optical disk, etc., and includes a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present invention or some parts of the embodiments.
[0151] In this specification, the same or similar parts between the various embodiments can be referred to each other. In particular, for the device embodiment and the terminal embodiment, since they are basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the description in the method embodiment.
Claims
1. A vehicle control method, characterized in that: Applied to an extended-range vehicle, the method comprises: Detecting a key event, and determining a fuel detection mode corresponding to the key event; switching the vehicle to a fuel mode corresponding to the fuel detection mode; determining whether the vehicle meets a fuel detection condition; If satisfied, the engine management system is controlled to maintain a speed at a first preset speed, and a first pop-up window prompt corresponding to the fuel detection mode is output, wherein the first pop-up window prompt is used to prompt the user of the fuel detection mode currently corresponding to the vehicle.
2. The method according to claim 1, characterized in that The detecting a key event and determining a fuel detection mode corresponding to the key event includes: If the keys corresponding to the key event are the first key and the second key, determining that the fuel detection mode corresponding to the key event is the fuel detection mode; If the keys corresponding to the key event are the first key and the third key, it is determined that the fuel detection mode corresponding to the key event is the gas detection mode.
3. The method according to claim 1, characterized in that The detecting a key event and determining a fuel detection mode corresponding to the key event includes: If the keys corresponding to the key event are the first key and the second key, and the key pressing duration corresponding to the key event is greater than the preset duration, determining that the fuel detection mode corresponding to the key event is the fuel detection mode; If the keys corresponding to the key event are the first key and the third key, and the key duration corresponding to the key event is greater than the preset duration, it is determined that the fuel detection mode corresponding to the key event is the gas detection mode.
4. The method according to claim 1, characterized in that: The determining whether the vehicle meets the fuel detection condition includes: determining whether a powertrain of the vehicle is in a ready state; and, determining whether the gear position of the vehicle is in park or neutral; and, Determining whether the vehicle controller of the vehicle has been initialized; If the powertrain of the vehicle is in a ready state, the gear position of the vehicle is in the parking gear or the neutral gear, and the vehicle controller of the vehicle is initialized, it is determined that the vehicle meets the fuel detection condition.
5. The method according to claim 1, characterized in that After switching the vehicle to a fuel mode corresponding to the fuel detection mode, the method further includes: The output torque of the generator of the vehicle is controlled to be a preset output torque.
6. The method according to claim 1, characterized in that After determining whether the vehicle meets the fuel detection condition, the method further includes: If it is determined that the vehicle does not meet the fuel detection condition, a second pop-up window prompt is output, and the second pop-up window prompt is used to prompt the user that the fuel detection has failed.
7. The method according to claim 1, characterized in that After outputting the first pop-up window prompt corresponding to the fuel detection mode, the method further includes: If it is detected that the opening degree of the accelerator pedal is greater than a preset opening degree threshold, the engine management system is controlled to maintain a speed at a second preset speed, and a third pop-up window prompt corresponding to the fuel detection mode is output, wherein the third pop-up window prompt is used to prompt the user of the current fuel detection mode corresponding to the vehicle.
8. The method according to claim 1, characterized in that The method further comprises: If an exit event is detected, the fuel detection mode is turned off and the engine of the vehicle is controlled to stop working.
9. A vehicle control device, characterized in that: Applied to an extended-range vehicle, the device comprises: An event detection module, configured to detect a key event and determine a fuel detection mode corresponding to the key event; a mode switching module, configured to switch the vehicle to a fuel mode corresponding to the fuel detection mode; A condition judgment module, used to determine whether the vehicle meets the fuel detection condition; The fuel detection module is used to control the speed of the engine management system to remain at a first preset speed if the conditions are met, and output a first pop-up window prompt corresponding to the fuel detection mode, wherein the first pop-up window prompt is used to prompt the user of the fuel detection mode currently corresponding to the vehicle.
10. An electronic device, characterized in that: The device comprises a memory for storing computer program instructions and a processor for executing the program instructions, wherein when the computer program instructions are executed by the processor, the electronic device is triggered to execute the method according to any one of claims 1 to 8.
11. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored program, wherein when the program is executed, the device where the computer-readable storage medium is located is controlled to execute the method according to any one of claims 1 to 8.
