Vehicle control method, vehicle control device and vehicle

By detecting the operation of the first switch in the vehicle and sending corresponding control signals, the problem of failure in driving mode switching is solved, ensuring the success of driving mode switching and the improvement of user experience.

CN119636742AActive Publication Date: 2025-03-18GREAT WALL MOTOR CO LTD
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202411861330.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-17
Publication Date
2025-03-18
Estimated Expiration
2044-12-17

AI Technical Summary

Technical Problem

In a vehicle, when a user switches the driving mode through soft switches and hard switches, it may cause the driving mode switching to fail, affecting the user's operating experience.

Method used

By detecting the operation of the first switch in the vehicle, a first control signal is sent to the target controller to switch the driving mode, and a second control signal is sent after the driving mode switching is completed to interrupt the control signal response of the first switch, so that the target controller can respond to the control signal of the second switch.

Benefits of technology

Ensure that the driving mode switching is successful, avoiding the switching failure problem caused by the target controller only responding to the control signal of the first switch, and improving the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119636742A_ABST
    Figure CN119636742A_ABST
Patent Text Reader

Abstract

The invention provides a vehicle control method, a vehicle control device and a vehicle, and relates to the technical field of vehicles. The method comprises the steps that first operation on a first switch in the vehicle is detected; wherein the first operation is used for indicating a target driving mode of the vehicle; in response to the first operation, sending a first control signal to a target controller in the vehicle; wherein the first control signal is used for indicating that the driving mode of the vehicle is switched to the target driving mode; under the condition that the driving mode of the vehicle is the target driving mode, a second control signal is sent to a target controller, so that the target controller responds to a target control signal of a second switch in the vehicle; wherein the second control signal is used for indicating the end of an event corresponding to the first control signal; the first switch and the second switch are different types of switch assemblies in the vehicle. Based on the scheme, when the driving mode of the vehicle is switched, it can be ensured that the driving mode is switched successfully.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of vehicle technology, and in particular to a vehicle control method, a vehicle control device and a vehicle in the field of vehicle technology. Background Art

[0002] With the rapid development of vehicle technology, some vehicles can be configured with multiple driving modes (for example, driving mode, four-wheel drive mode and steering mode, etc.), so as to switch the corresponding driving mode under different road conditions and driving requirements to meet the driving needs of the vehicle.

[0003] When switching between multiple driving modes, the driving modes can be switched by using either a soft switch or a hard switch in the vehicle. However, when the user switches the driving mode by using both a soft switch and a hard switch, there may be a problem that the vehicle cannot respond to the switching request triggered by the user, resulting in a failure in switching the driving mode of the vehicle, thereby affecting the user's operating experience.

[0004] Therefore, when switching the driving mode of a vehicle, how to ensure that the driving mode is switched successfully is a problem that needs to be solved urgently. Summary of the invention

[0005] The present application provides a vehicle control method, a vehicle control device and a vehicle. The method can ensure that a driving mode switch is successful when the driving mode of the vehicle is switched.

[0006] In a first aspect, the present application provides a vehicle control method, which is applied to a switch controller in a vehicle, and the method comprises:

[0007] A first operation on a first switch in a vehicle is detected; wherein the first operation is used to indicate a target driving mode of the vehicle; in response to the first operation, a first control signal is sent to a target controller in the vehicle; wherein the first control signal is used to indicate switching the driving mode of the vehicle to the target driving mode; when the driving mode of the vehicle is the target driving mode, a second control signal is sent to the target controller so that the target controller responds to the target control signal of the second switch in the vehicle; wherein the second control signal is used to indicate that an event corresponding to the first control signal has ended; the first switch and the second switch are different types of switch components in the vehicle.

[0008] In the embodiment of the present application, when the operation of the first switch in the vehicle (i.e., the first operation) is detected, a signal (i.e., the first control signal) for switching the driving mode of the vehicle to the driving mode corresponding to the first operation can be sent to the controller in the vehicle (i.e., the target controller) for controlling the driving mode in response to the first operation, so that the target controller switches the driving mode of the vehicle to the driving mode corresponding to the first operation. Moreover, when the driving mode of the vehicle is switched to the driving mode corresponding to the first operation, a signal (i.e., the second control signal) indicating the end of the event corresponding to the first control signal can be sent to the target controller, so that the target controller can respond to the signal of switching the driving mode of a switch (i.e., the second switch) of a different type from the first switch. Compared with the prior art, if the first switch is operated first, the target controller can only respond to the control signal corresponding to the first switch but cannot respond to the control signal corresponding to the second switch, thereby causing the driving mode switching to fail when the second switch is detected to be operated. In the present application, when the vehicle's driving mode is switched to the driving mode corresponding to the first operation, a signal indicating the end of the event corresponding to the first control signal can be sent to the target controller to interrupt the target controller's response to the control signal corresponding to the first switch, so that the target controller can respond to the control signal corresponding to the second switch. Therefore, the vehicle's driving mode can be switched from the driving mode corresponding to the operation of the first switch to the driving mode corresponding to the operation of the second switch, thereby ensuring that the driving mode switching is successful when the vehicle's driving mode is switched.

[0009] In conjunction with the first aspect, in some implementations of the first aspect, the method further includes:

[0010] Obtaining the duration of sending the first control signal to the target controller; the sending of the second control signal to the target controller includes: sending the second control signal to the target controller when the duration is greater than or equal to a preset duration.

[0011] In the embodiment of the present application, since the duration of sending the first control signal to the target controller is greater than or equal to the preset duration, it can be indicated that the vehicle's driving mode is successfully switched to the driving mode corresponding to the first operation, thereby avoiding the problem that the switch controller sends the second control signal to the target controller when the driving mode switching is not completed, resulting in the vehicle's driving mode not being switched to the target driving mode and the driving mode switching failing, further ensuring the successful switching of the vehicle's driving mode.

[0012] In combination with the first aspect and the above implementations, in some implementations of the first aspect, when the driving mode of the vehicle is the target driving mode, the method further includes:

[0013] Acquire a first driving mode indicated by the second switch; and when the first driving mode is different from the target driving mode, adjust the driving mode indicated by the second switch from the first driving mode to the target driving mode.

[0014] In the embodiment of the present application, when the driving mode of the vehicle is the target driving mode, if the driving mode indicated by the second switch is different from the target driving mode, it means that the first switch and the second switch indicate different driving modes respectively, and there is a problem of confusion in indicating the driving mode. Therefore, in order to ensure the consistency of the driving modes indicated by the first switch and the second switch, the driving mode indicated by the second switch can be adjusted to the target driving mode corresponding to the first switch, thereby ensuring the consistency of the driving modes indicated by different types of switch components, and further ensuring the success of the driving mode switching.

[0015] In combination with the first aspect and the foregoing implementations, in some implementations of the first aspect, the method further includes:

[0016] Obtain target indicator lights of the first switch and the second switch; wherein the target indicator lights are used to indicate indicator lights corresponding to the target driving mode; and control the target indicator lights to light up.

[0017] In the embodiment of the present application, when the indicator lights corresponding to the target driving mode in the first switch and the second switch are obtained, the indicator lights can be controlled to light up. By controlling the indicator lights corresponding to the target driving mode in the first switch and the second switch to light up, the indicator lights in the first switch and the second switch can be made consistent, so that when the user checks the driving mode of the vehicle, he can understand the driving mode of the vehicle more clearly and accurately.

[0018] In combination with the first aspect and the foregoing implementation manners, in some implementation manners of the first aspect, when the first switch is a hard switch, the method further includes:

[0019] Obtaining the continuous power-on duration of the hard switch; in response to the first operation, sending a first control signal to a target controller in the vehicle, including: if the continuous power-on duration is greater than or equal to the set duration, responding to the first operation, sending a first control signal to the target controller.

[0020] In the embodiment of the present application, when the continuous power-on time of the hard switch is greater than or equal to the set time, it can be said that the signal of the hard switch is relatively stable, avoiding the problem of unstable signal when the hard switch is just powered on. Therefore, when the continuous power-on time of the hard switch is greater than or equal to the set time, the operation of the hard switch can be responded to, and the first control signal corresponding to the operation can be sent to the target controller, thereby ensuring the stability of the first control signal. Furthermore, on the basis of a more stable first control signal, errors in the vehicle's driving mode switching can be avoided, further ensuring the success of the driving mode switching.

[0021] In combination with the first aspect and the foregoing implementations, in some implementations of the first aspect, the method further includes:

[0022] Acquire the current driving mode of the vehicle; the sending of the first control signal to the target controller in the vehicle includes: when the current driving mode is different from the target driving mode, sending the first control signal to the target controller.

[0023] In an embodiment of the present application, when the current driving mode of the vehicle is different from the target driving mode, a control signal corresponding to the first switch is sent to the target controller, which can save the time required for the vehicle to switch driving modes when the current driving mode of the vehicle is the same as the target driving mode, thereby saving the switching time of the vehicle driving mode and improving the user experience.

[0024] In a second aspect, the present application provides a vehicle control method, which is applied to a target controller in a vehicle, and the method includes:

[0025] In response to a first control signal corresponding to a first switch in the vehicle, the driving mode of the vehicle is controlled to switch to a target driving mode; wherein the first control signal is sent by a switch controller in the vehicle in response to a first operation when the first operation of the first switch is detected; the first operation is used to indicate a target driving mode; the first control signal is used to indicate switching the driving mode of the vehicle to the target driving mode; when the driving mode of the vehicle is the target driving mode, a second control signal is received; wherein the second control signal is sent by the switch controller when an event corresponding to the first control signal ends; in response to the second control signal, when a target control signal of the second switch in the vehicle is received, the target control signal is responded to; wherein the first switch and the second switch are switch components of different types in the vehicle.

[0026] In an embodiment of the present application, the target controller can respond to the first control signal corresponding to the first switch to switch the driving mode of the vehicle to the driving mode corresponding to the first control signal (i.e., the target driving mode). When the driving mode of the vehicle is the target driving mode, the switch controller can receive a signal (i.e., a second control signal) indicating the end of an event corresponding to the first control signal sent when the driving mode of the vehicle is switched to the target driving mode, so as to interrupt the response of the target controller to the control signal corresponding to the first switch when the second control signal is received, so that the target controller can respond to the control signal corresponding to the second switch, thereby switching the driving mode of the vehicle from the driving mode corresponding to the first switch to the driving mode corresponding to the second switch. Compared with the prior art, if the target controller first responds to the control signal corresponding to the first switch, it can only respond to the control signal corresponding to the first switch, but not to the control signal corresponding to the second switch, thereby causing the driving mode switching failure when the control signal corresponding to the second switch is received. The present application can ensure that the driving mode switching is successful when the driving mode of the vehicle is switched.

[0027] In a third aspect, the present application provides a vehicle control device, a switch controller configured in a vehicle, the device comprising:

[0028] A detection module, configured to detect a first operation on a first switch in the vehicle; wherein the first operation is configured to indicate a target driving mode of the vehicle;

[0029] A sending module, configured to send a first control signal to a target controller in the vehicle in response to a first operation; wherein the first control signal is used to instruct to switch the driving mode of the vehicle to a target driving mode;

[0030] a processing module, configured to send a second control signal to a target controller when the driving mode of the vehicle is a target driving mode, so that the target controller responds to the target control signal of a second switch in the vehicle;

[0031] The second control signal is used to indicate that the event corresponding to the first control signal ends; the first switch and the second switch are different types of switch components in the vehicle.

[0032] In a fourth aspect, the present application provides a vehicle control device, configured in a target controller in a vehicle, the device comprising:

[0033] A control module, configured to control the vehicle's driving mode to switch to a target driving mode in response to a first control signal corresponding to a first switch in the vehicle; wherein the first control signal is sent by a switch controller in the vehicle in response to a first operation when a first operation of the first switch is detected; the first operation is used to indicate the target driving mode; and the first control signal is used to indicate that the vehicle's driving mode is switched to the target driving mode;

[0034] A receiving module, used for receiving a second control signal when the driving mode of the vehicle is the target driving mode; wherein the second control signal is sent by the switch controller when the event corresponding to the first control signal ends;

[0035] a response module, configured to respond to the second control signal, and respond to the target control signal upon receiving the target control signal of the second switch in the vehicle;

[0036] The first switch and the second switch are different types of switch components in the vehicle.

[0037] In a fifth aspect, the present application provides a vehicle, 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 in the first aspect or any possible implementation of the first aspect.

[0038] In a sixth aspect, the present application provides a computer program product, which includes: a computer program code, which, when executed on a computer, enables the computer to execute the method in the first aspect or any possible implementation of the first aspect.

[0039] In the seventh aspect, the present application provides a computer-readable storage medium, which stores a computer program code. When the computer program code runs on a computer, the computer executes the method in the above-mentioned first aspect or any possible implementation of the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] Figure 1 It is a scene schematic diagram of a vehicle driving mode in the related technology.

[0041] Figure 2 It is a flow chart of a vehicle control method provided in an embodiment of the present application.

[0042] Figure 3 is a schematic diagram of lighting a light provided in an embodiment of the present application;

[0043] Figure 4 It is a flow chart of another vehicle control method provided in an embodiment of the present application.

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

[0045] Figure 6 It is a schematic diagram of the structure of another vehicle control device provided in an embodiment of the present application.

[0046] Figure 7 It is a schematic diagram of the structure of a vehicle provided in an embodiment of the present application. DETAILED DESCRIPTION

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

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

[0049] Figure 1 It is a scene schematic diagram of a vehicle driving mode in the related technology.

[0050] For example, Figure 1 As shown, Figure 1 The vehicle 110 includes a display screen 120 (e.g., a central control screen) of a head unit (HUT) in the vehicle 110, and a physical switch 130 (which may be referred to as a "hard switch"). The display screen 120 may display four virtual switches (which may be referred to as "soft switches") in a 4WD mode (Four-Wheel Drive).

[0051] Exemplarily, the soft switches and hard switches corresponding to different driving modes are different. Figure 1 The driving mode is taken as the four-wheel drive mode as an example.

[0052] refer to Figure 1 , the hard switches corresponding to the four-wheel drive mode may include but are not limited to 2H, 4H, 4L and 4A. Among them, 2H can represent a two-wheel high-gear drive mode, 4H can represent a four-wheel high-gear drive mode, 4L can represent a four-wheel low-gear drive mode, and 4A can represent a four-wheel automatic drive mode. And, on the switch control interface 121 in the display screen 120, the soft switches corresponding to the four-wheel drive mode may also include 2H, 4H, 4L and 4A corresponding to the hard switches. That is, in the same driving mode, the same control instructions can be issued through the hard switch and the soft switch.

[0053] Optionally, when the vehicle's driving mode is a driving mode, the hard switches and soft switches corresponding to the driving mode may include but are not limited to Gentle, Comfort and Radical. Gentle may represent a smoother and more comfortable driving mode, Comfort may represent a relatively comfortable driving mode, and Radical may represent a high-performance driving mode, which is more suitable for drivers who pursue speed and control.

[0054] Optionally, when the driving mode of the vehicle is the steering mode, the hard switch and soft switch corresponding to the steering mode may include but are not limited to Light, Comfort and Sport. Among them, Light may indicate a steering mode with greater steering assistance and easier steering wheel operation, Comfort may indicate a steering mode that is neither too heavy nor too light, and Sport may indicate a steering mode with a heavier steering feel, which is suitable for drivers who pursue precise control.

[0055] The driving mode may refer to the function of satisfying the driver's different driving needs, allowing the driver to experience driving pleasure and better adapt to different road conditions by changing the engine throttle output ratio, transmission shifting timing, electronic steering assist system and other different states through different driving modes. In addition, the driving mode may include but is not limited to driving mode, four-wheel drive mode, steering mode, energy-saving mode, standard mode, sports mode, snow mode, mud mode, sand mode and rock mode.

[0056] For example, when the vehicle is in a state where the driving mode can be switched, for example, the vehicle is in expert mode, the user can switch the driving mode through a soft switch or a hard switch in the vehicle. However, after the user switches the driving mode of the vehicle through either the soft switch or the hard switch, the subsequent driving mode can only be switched through this method, and the corresponding switching function of the other method may fail, resulting in poor intelligence in the switching of the driving mode, affecting the user's operating experience.

[0057] For example, when the vehicle is in expert mode, if you first use the 2H soft switch displayed on the central control screen to switch the four-wheel drive mode, then the subsequent switching of the driving mode (for example, driving mode, four-wheel drive mode and steering mode) can only be performed through the soft switch, and the hard switch will temporarily lose the function of switching the driving mode. This is because when the four-wheel drive mode is switched through the soft switch, the soft switch will continue to trigger the effective value corresponding to 2H, so that the controller in the vehicle will continue to respond to the effective value, but cannot respond to the effective value corresponding to the hard switch.

[0058] Alternatively, when the vehicle is in expert mode, if the 2H on the hard switch is used to switch the four-wheel drive mode first, the subsequent switching of the driving mode (for example, the driving mode, the four-wheel drive mode and the steering mode) can only be performed through the hard switch, and the soft switch will temporarily lose the function of switching the driving mode. That is, when the vehicle is in expert mode, the switch type that first triggers the switching signal can be used as the switch type for subsequent responses.

[0059] For example, after the driver switches the four-wheel drive mode through the soft switch, if the driver wants to switch the four-wheel drive mode through the hard switch due to inconvenience in operation, the vehicle cannot respond to the switching request triggered by the hard switch, resulting in the failure of the vehicle's driving mode switch, thereby affecting the user's operating experience.

[0060] Among them, the expert mode can be represented as an advanced driving mode designed for experienced drivers or users with specific needs. In the expert mode, the driver is extremely familiar with the working principle, function and performance of each actuator of the vehicle, and the driver is an expert. In addition, the driver can customize the driving mode of the vehicle according to his own driving needs to adapt to different driving needs and personal preferences.

[0061] Optionally, the vehicle may be controlled to enter or exit the expert mode via a hard switch for the expert mode configured in the vehicle.

[0062] Therefore, in order to solve the problem of driving mode switching failure, the present application proposes a vehicle control method, a vehicle control device and a vehicle.

[0063] Combine the following Figures 2 to 4 The vehicle control method provided in the embodiment of the present application is described in detail.

[0064] Figure 2 is a flow chart of a vehicle control method provided by an embodiment of the present application. The method can be Figure 1 The vehicle 110 in the vehicle 110 is executed, or the switch controller in the vehicle 110 is executed.

[0065] For ease of understanding, the codes in the following embodiments may be explained by way of example in Table 1:

[0066] Table 1

[0067]

[0068] Among them, both the A signal and the B signal correspond to the signals of the soft switch. The A signal can represent the event type signal of the soft switch. The code 1 in the A signal represents that the soft switch is not activated, and the code 2 represents that the soft switch is activated.

[0069] The B signal can represent a periodic signal of the soft switch. Code 1 in the A signal represents a mode switching request for a two-wheel high-gear driving mode sent by the soft switch, code 2 represents a mode switching request for a four-wheel high-gear driving mode sent by the soft switch, code 3 represents a mode switching request for a four-wheel automatic driving mode sent by the soft switch, and code 4 represents that the soft switch has not sent a mode switching request (i.e., not activated).

[0070] The C signal can represent a periodic signal of the four-wheel drive mode flag. Code 1 in the C signal represents an invalid value, code 2 represents a four-wheel drive fault, code 3 represents that the vehicle mode is a two-wheel high-gear drive mode, code 4 represents that the vehicle mode is a four-wheel high-gear drive mode, code 5 represents that the vehicle is in four-wheel drive mode, code 6 represents return, code 7 represents that the vehicle mode is a four-wheel low-gear drive mode, code 8 represents that the vehicle mode is a sports mode, and code 9 represents that the vehicle is in non-four-wheel drive mode.

[0071] The D signal can represent an event signal of the hard switch. Code 1 in the D signal represents an invalid value sent by the hard switch, code 2 represents a return request (i.e., return) sent by the hard switch, code 3 represents an event signal of a two-wheel high-gear drive mode sent by the hard switch, code 4 represents an event signal of a four-wheel high-gear drive mode sent by the hard switch, code 5 represents an event signal of a four-wheel drive mode sent by the hard switch, code 6 represents a return request (i.e., return) sent by the hard switch, code 7 represents an event signal of a four-wheel low-gear drive mode sent by the hard switch, and code 8 represents a return request (i.e., return) sent by the hard switch.

[0072] The E signal may represent a periodic signal corresponding to the expert mode. Code 1 in the E signal indicates that the vehicle is in the non-expert mode, and code 2 indicates that the vehicle is in the expert mode.

[0073] Exemplarily, the A signal and the B signal may be sent to a DCU (eg, a Part-Time Four-Wheel Drive Control Unit, PTC) in the vehicle via the HUT.

[0074] For example, when the vehicle is not in expert mode, the soft switch is not activated, and a switch controller in the vehicle (eg, HUT) may send a signal with a code 1 A signal to a drive control unit (DCU) in the vehicle to indicate that the soft switch is not activated.

[0075] Exemplarily, a C signal may be sent to the switch controller via the DCU. Also, a D signal may be sent to the DCU via the ICSW. The switch controller may include a HUT corresponding to the soft switch and an Interior Control Switch with Rotary Function (ICSW) corresponding to the hard switch.

[0076] For example, an E signal may be sent to the switch controller through an electronic stability program (ESP) in the vehicle, so that the switch controller adjusts the position of the soft switch or the hard switch according to the received E signal.

[0077] The event-type signal may indicate that after continuously sending a valid signal for a period of time, the sending of the valid signal is stopped and an invalid signal is started.

[0078] For example, the switch controller continuously sends a signal with code 3 to the DCU for 3 seconds, and then sends a signal with code 1 to the DCU. Alternatively, the switch controller continuously sends a signal with code 2 to the DCU for 5 seconds, and then sends a signal with code 1 to the A signal.

[0079] Exemplarily, the periodic signal may represent a signal sent periodically. For example, the switch controller sends a signal with a B signal of code 1 to the DCU every 1S.

[0080] It should be understood that an invalid signal can represent a signal with no actual meaning, such as inactivated, invalid value, non-expert mode, and non-four-wheel drive mode, and a valid signal can represent a signal with meanings other than inactivated, invalid value, non-expert mode, and non-four-wheel drive mode.

[0081] For example, Figure 2 As shown, the method 200 includes S210-S230:

[0082] S210, detecting a first operation on a first switch in the vehicle.

[0083] The first operation is used to indicate a target driving mode of the vehicle.

[0084] Exemplarily, when the vehicle is powered on and the vehicle is in a state where the driving mode can be adjusted (e.g., expert mode), if the driver needs to adjust the driving mode of the vehicle, the switch component (which may be referred to as the "first switch") used to adjust the driving mode in the vehicle can be operated (which may be referred to as the "first operation"). When the switch controller detects the first operation, the driving mode indicated by the first operation (which may be referred to as the "target driving mode") may represent the driving mode required by the driver. The first switch may be a soft switch or a hard switch used in the vehicle to adjust the driving mode.

[0085] For example, when the first switch is not operated for the first time, the driving mode indicated by the first switch is a two-wheel high-gear driving mode. After the first switch is operated for the first time, the driving mode indicated by the first switch is a four-wheel high-gear driving mode. The four-wheel high-gear driving mode can represent the above-mentioned target driving mode.

[0086] For example, when the vehicle is powered on, the vehicle generally enters the two-wheel high gear driving mode by default. If the driver presses the button corresponding to the expert mode in the vehicle, triggering a request to enter the expert mode, it can be detected that the E signal changes from code 1 to code 2, thereby controlling the vehicle to enter the expert mode. At this time, the central control screen can display a soft switch for adjusting the vehicle driving mode (such as Figure 1 The switch control interface 121).

[0087] S220 , in response to the first operation, sending a first control signal to a target controller in the vehicle.

[0088] The first control signal is used to instruct to switch the driving mode of the vehicle to the target driving mode.

[0089] Exemplarily, when the switch controller detects a first operation on the first switch, it may respond to the first operation and determine a control signal corresponding to the first operation (which may be referred to as a "first control signal"), and the first control signal may instruct the DCU to switch the vehicle's driving mode to the target driving mode indicated by the first operation. For example, if the first operation indicates that the target driving mode is a four-wheel high-gear driving mode, the corresponding first control signal may be code 2 in the B signal, or code 4 in the D signal.

[0090] Furthermore, when the switch controller determines the first control signal corresponding to the first operation, it can send the first control signal to a controller in the vehicle for controlling the driving mode switching (which can be called a "target controller", for example, DCU), so that when the DCU receives the first control signal, it can switch the vehicle's driving mode to the target driving mode corresponding to the first operation.

[0091] In one possible implementation, when the first switch is a hard switch, the continuous power-on duration of the hard switch is obtained; the above-mentioned response to the first operation, sending a first control signal to the target controller in the vehicle includes: if the continuous power-on duration is greater than or equal to the set duration, responding to the first operation, sending the first control signal to the target controller.

[0092] Exemplarily, when the first switch is a hard switch and the hard switch is detected to be powered on, in order to avoid the problem of unstable signals that may exist when the hard switch is just powered on, the switch controller can obtain the continuous power-on duration of the hard switch and determine whether the continuous power-on duration is greater than or equal to the set duration. When the continuous power-on duration is ≥ the set duration (for example, 2S), it can be said that the power-on duration of the hard switch is long and the signal is relatively stable. Therefore, the switch controller can respond to the first operation on the first switch and send a first control signal corresponding to the first operation to the DCU. For example, when the hard switch is powered on for 4S, the driver operates the hard switch to the four-wheel high gear drive mode, and the ICSW can send a signal with a D signal of code 4 to the DCU.

[0093] Alternatively, when the continuous power-on duration is less than the set duration, it can be explained that the power-on duration of the hard switch is short and the signal may be unstable. Therefore, the switch controller may not respond to the first operation on the first switch, and may not send the first control signal corresponding to the first operation to the DCU, but may continue to send the signal with the D signal being code 1 to the DCU. For example, when the hard switch is powered on for 1 second, the driver operates the hard switch to the four-wheel high gear driving mode, and the ICSW does not send the signal with the D signal being code 4 to the DCU, but sends the signal with the D signal being code 1.

[0094] Exemplarily, when the vehicle is in expert mode, the soft switch can be activated. When the soft switch is activated, the switch controller can continuously send a signal with a code of 2 to the DCU until a mode switching operation (i.e., the first operation) by the driver on the soft switch is detected, and the corresponding code is sent to the DCU. For example, after the soft switch is activated, the driver clicks the four-wheel automatic drive mode on the soft switch, and the HUT can send a signal with a code of 3 to the DCU.

[0095] Among them, since the vehicle needs to exit the expert mode when the vehicle is powered off, the vehicle is not in the expert mode when the vehicle is powered on, and the corresponding soft switch is not activated. The switch controller can continuously send a signal with A signal as code 1 to the DCU.

[0096] Optionally, the DCU in the vehicle may have a power-off and power-on memory function, so that the signal sent by the C signal before each power-off continues to be sent after power-on. For example, the C signal sends code 4 before getting off the vehicle and continues to send code 4 after the next power-on.

[0097] It should be noted that the set duration can be obtained by calibrating the actual vehicle, and can be 2S, 3S or 5S, which is not limited in the embodiments of the present application.

[0098] In the embodiment of the present application, when the continuous power-on time of the hard switch is greater than or equal to the set time, it can be said that the signal of the hard switch is relatively stable, avoiding the problem of unstable signal when the hard switch is just powered on. Therefore, when the continuous power-on time of the hard switch is greater than or equal to the set time, the operation of the hard switch can be responded to, and the first control signal corresponding to the operation can be sent to the target controller, thereby ensuring the stability of the first control signal. Furthermore, on the basis of a more stable first control signal, errors in the vehicle's driving mode switching can be avoided, further ensuring the success of the driving mode switching.

[0099] Optionally, the current driving mode of the vehicle is obtained; the sending of the first control signal to the target controller in the vehicle includes: when the current driving mode is different from the target driving mode, sending the first control signal to the target controller.

[0100] Exemplarily, when responding to the first operation on the first switch, the switch controller may also obtain the current driving mode of the vehicle and determine whether the current driving mode of the vehicle is the same as the target driving mode indicated by the first operation. When the current driving mode of the vehicle is different from the target driving mode, the switch controller may send a first control signal corresponding to the first operation to the DCU, so that the DCU switches the driving mode of the vehicle from the current driving mode to the target driving mode.

[0101] Alternatively, when the current driving mode of the vehicle is the same as the target driving mode, the switch controller may not send the first control signal corresponding to the first operation to the DCU, so that the DCU does not switch the vehicle's driving mode and maintains the vehicle's driving mode as the current driving mode, thereby saving the time for switching the vehicle's driving mode.

[0102] For example, if the current driving mode of the vehicle is a two-wheel high-gear driving mode, and the target driving mode is a four-wheel high-gear driving mode, the switch controller may send a first control signal corresponding to the first operation to the DCU.

[0103] For another example, if the current driving mode of the vehicle is a two-wheel high-gear driving mode and the target driving mode is also a two-wheel high-gear driving mode, the switch controller may not send the first control signal corresponding to the first operation to the DCU.

[0104] Optionally, when the DCU receives a signal whose C signal is code 3, if the target driving mode corresponding to the first operation is a two-wheel high-gear driving mode, the switch controller may send a signal whose A signal is code 1 to the DCU.

[0105] In an embodiment of the present application, when the current driving mode of the vehicle is different from the target driving mode, a control signal corresponding to the first switch is sent to the target controller, which can save the time required for the vehicle to switch driving modes when the current driving mode of the vehicle is the same as the target driving mode, thereby saving the switching time of the vehicle driving mode and improving the user experience.

[0106] S230: When the driving mode of the vehicle is the target driving mode, a second control signal is sent to the target controller, so that the target controller responds to the target control signal of the second switch in the vehicle.

[0107] Among them, the second control signal is used to indicate the end of the event corresponding to the first control signal, which can indicate that the driving mode switch is completed. In addition, both the first control signal and the second control signal can be used as event-type signals to represent different events through the first control signal and the second control signal. The first control signal (also referred to as the "first event signal") can indicate the event of switching the vehicle's driving mode to the target driving mode, and the second control signal (also referred to as the "second event signal") can indicate the event of switching the vehicle's driving mode to the target driving mode. For example, the code 1 signal in the A signal, or the code 1 signal in the D signal.

[0108] The first switch and the second switch are different types of switch components in the vehicle. Different types of switch components can represent different forms of switch components, such as hard switches and soft switches. In addition, different types of switch components (such as soft switches and hard switches) have the same adjustment function for driving modes, that is, the number and types of driving modes that can be adjusted by the soft switch and the hard switch are the same.

[0109] Optionally, when either the first switch or the second switch is a hard switch, the other is a soft switch. For example, when the first switch is a hard switch, the second switch is a soft switch. Alternatively, when the first switch is a soft switch, the second switch is a hard switch.

[0110] Exemplarily, when the driving mode of the vehicle is switched to the target driving mode indicated by the first operation through the DCU, the DCU may feed back the information that the driving mode switching is completed to the switch controller, and the switch controller may determine that the driving mode switching is completed when receiving the feedback information from the DCU. In order to enable the DCU to respond to the event signal (which may be referred to as a "target control signal") corresponding to the second operation when the second operation of the second switch is detected to switch the driving mode of the vehicle again, the switch controller may send a second control signal to the DCU, so that when the DCU receives the second control signal, it determines that the driving mode switching corresponding to the first control signal is completed, and may respond to the target control signal corresponding to the second switch to switch the driving mode of the vehicle from the above-mentioned target driving mode (for example, a four-wheel high-gear drive mode) to the driving mode corresponding to the target control signal (for example, 4L).

[0111] Optionally, the switch controller may send a second control signal corresponding to the second switch to the DCU while responding to the first operation of the first switch, so that the DCU can always receive only one control signal (i.e., the first control signal) for switching the vehicle driving mode. For example, when the first switch is a soft switch, the switch controller may send a signal with a code of 1 to the DCU when sending a signal with a code of 2 to the DCU. Alternatively, when the first switch is a hard switch, the switch controller may send a signal with a code of 1 to the DCU when sending a signal with a code of 4 to the DCU.

[0112] Optionally, after sending the second control signal to the DCU, if the switch controller detects a second operation of the driver on the second switch, it can respond to the second operation and send a target control signal to the DCU to instruct the vehicle's driving mode to be switched from the above-mentioned target driving mode to the driving mode corresponding to the target control signal, so that the vehicle's driving mode is switched from the above-mentioned target driving mode to the driving mode corresponding to the target control signal.

[0113] For example, when the first switch is a soft switch, the switch controller may send a signal with A signal being code 1 to the DCU, so that the DCU can switch the vehicle's driving mode again when it receives the D signal corresponding to the hard switch. Alternatively, the switch controller may send a signal with A signal being code 1 to the DCU, and if the DCU receives the B signal corresponding to the soft switch, it can also switch the vehicle's driving mode again.

[0114] Optionally, if the driver operates the soft switch and the hard switch at the same time, the operation corresponding to the switch type with the higher priority can be responded to according to the preset priority. For example, if the priority of the soft switch is higher than that of the hard switch, the switch controller can respond to the operation corresponding to the soft switch first. Alternatively, if the priority of the hard switch is higher than that of the soft switch, the switch controller can respond to the operation corresponding to the hard switch first.

[0115] Optionally, when the vehicle's driving mode is switched to the target driving mode, if a second operation on the second switch is detected before the switch is completed, the switch controller may not respond to the second operation, thereby avoiding the problem of switching failure caused by switching the vehicle's driving mode again when the driving mode switch is not completed, and ensuring that each switch of the vehicle's driving mode can be completed normally.

[0116] In such Figure 2 In the method 200 shown, when an operation on a first switch in a vehicle (i.e., a first operation) is detected, a signal (i.e., a first control signal) may be sent to a controller in the vehicle (i.e., a target controller) for controlling a driving mode in the vehicle to switch the driving mode of the vehicle to the driving mode corresponding to the first operation in response to the first operation, so that the target controller switches the driving mode of the vehicle to the driving mode corresponding to the first operation. Furthermore, when the driving mode of the vehicle is switched to the driving mode corresponding to the first operation, a signal (i.e., a second control signal) indicating the end of an event corresponding to the first control signal may be sent to the target controller, so that the target controller can respond to a signal of a switch (i.e., a second switch) different from the first switch type to switch the driving mode. Compared with the prior art, if the first switch is operated first, the target controller can only respond to the control signal corresponding to the first switch but cannot respond to the control signal corresponding to the second switch, thereby causing the driving mode switching to fail when the second switch is detected to be operated. In the present application, when the vehicle's driving mode is switched to the driving mode corresponding to the first operation, a signal indicating the end of the event corresponding to the first control signal can be sent to the target controller to interrupt the target controller's response to the control signal corresponding to the first switch, so that the target controller can respond to the control signal corresponding to the second switch. Therefore, the vehicle's driving mode can be switched from the driving mode corresponding to the operation of the first switch to the driving mode corresponding to the operation of the second switch, thereby ensuring that the driving mode switching is successful when the vehicle's driving mode is switched.

[0117] In one possible implementation, the duration of sending the first control signal to the target controller is obtained; the sending of the second control signal to the target controller includes: sending the second control signal to the target controller when the duration is greater than or equal to a preset duration.

[0118] Exemplarily, before sending the second control signal to the DCU, the switch controller may also obtain the duration of the first control signal sent to the DCU, and determine whether the duration is greater than or equal to a preset duration. When the duration is ≥ the preset duration (for example, 2S), it indicates that the vehicle driving mode switching is completed, and the switch controller may send the second control signal to the DCU, thereby avoiding the problem that the switch controller sends the second control signal to the DCU when the driving mode switching is not completed, resulting in the vehicle's driving mode not being switched to the target driving mode and the driving mode switching failing, further ensuring the vehicle driving mode switching is successful.

[0119] Alternatively, when the duration is less than the preset duration, it indicates that the vehicle driving mode may not have been switched yet, and the switch controller may continue to send the first control signal to the DCU, so that the DCU switches the vehicle driving mode to the target driving mode in response to the first control signal.

[0120] It should be noted that the preset duration can be obtained by calibrating the actual vehicle, and can be 2S, 3S or 5S, which is not limited in the embodiment of the present application.

[0121] Optionally, when the vehicle's driving mode is the target driving mode, the first driving mode indicated by the second switch is obtained; when the first driving mode is different from the target driving mode, the driving mode indicated by the second switch is adjusted from the first driving mode to the target driving mode.

[0122] Exemplarily, after the DCU switches the vehicle's driving mode to the target driving mode corresponding to the first operation, the switch controller may also obtain the driving mode currently indicated by the second switch (which may be referred to as the "first driving mode"), and determine whether the first driving mode is the same as the target driving mode. When the first driving mode is different from the target driving mode, in order to ensure the consistency of the driving modes indicated by the first switch and the second switch, and to avoid the different driving modes indicated by the first switch and the second switch confusing the driver's understanding of the driving mode, the driving mode indicated by the second switch may be adjusted so that the driving mode indicated by the second switch is adjusted from the first driving mode to the target driving mode, thereby making the driving modes indicated by the first switch and the second switch the same, that is, both the first switch and the second switch indicate the target driving mode.

[0123] For example, if the target driving mode is a four-wheel high-gear driving mode, and the first driving mode currently indicated by the second switch is a two-wheel high-gear driving mode, the driving mode indicated by the second switch can be adjusted from the two-wheel high-gear driving mode to the four-wheel high-gear driving mode.

[0124] In the embodiment of the present application, when the driving mode of the vehicle is the target driving mode, if the driving mode indicated by the second switch is different from the target driving mode, it means that the first switch and the second switch indicate different driving modes respectively, and there is a problem of confusion in indicating the driving mode. Therefore, in order to ensure the consistency of the driving modes indicated by the first switch and the second switch, the driving mode indicated by the second switch can be adjusted to the target driving mode corresponding to the first switch, thereby ensuring the consistency of the driving modes indicated by different types of switch components, and further ensuring the success of the driving mode switching.

[0125] Optionally, target indicator lights of the first switch and the second switch are obtained; wherein the target indicator lights are used to indicate indicator lights corresponding to the target driving mode; and the target indicator lights are controlled to light up.

[0126] Exemplarily, when the vehicle's driving mode is switched to the target driving mode and both the first switch and the second switch indicate the target driving mode, the indicator light corresponding to the target driving mode in the first switch (which may be referred to as the "target indicator light") and the indicator light corresponding to the target driving mode in the second switch (i.e., the target indicator light) can be obtained, and the target indicator lights in the first switch and the second switch are controlled to light up, and the non-target indicator lights are turned off, so that the driver can more clearly and accurately understand the driving mode of the vehicle when checking the driving mode of the vehicle.

[0127] refer to Figure 3 , when the vehicle's driving mode is switched to the four-wheel high-range drive mode, and both the soft switch and the hard switch indicate the four-wheel high-range drive mode, the four-wheel high-range drive mode in the soft switch can be turned on, and the other two-wheel high-range drive modes, four-wheel automatic drive mode and 4L lights can be turned off, and the four-wheel high-range drive mode in the hard switch can be turned on, and the other two-wheel high-range drive modes, four-wheel automatic drive mode and 4L lights can be turned off.

[0128] Optionally, when the vehicle's driving mode is switched to the target driving mode, the target indicator light in the first switch may light up and flash for a certain period of time (e.g., 1 second) until the target driving mode is switched and the target indicator light corresponding to the first switch is always on. For example, when the C signal is a code 4 signal, the four-wheel high gear drive mode light in the first switch may be on.

[0129] Among them, the signals of the C signal are different, and the target indicator lights corresponding to the first switch and the second switch are different. For example, when the C signal is a signal of code 3, the two-wheel high-gear drive mode lights up, and the remaining four-wheel high-gear drive mode, four-wheel automatic drive mode and 4L lights are off. When the C signal is a signal of code 4, the four-wheel high-gear drive mode lights up, and the remaining two-wheel high-gear drive mode, four-wheel automatic drive mode and 4L lights are off. When the C signal is a signal of code 5, 2A lights up, and the remaining two-wheel high-gear drive mode, four-wheel high-gear drive mode and 4L lights are off. When the C signal is any one of code 1, code 2, code 6, code 7, code 8 and code 9, it means that the signal for switching the driving mode of the vehicle is invalid, that is, the vehicle does not switch the driving mode, and the current driving mode of the vehicle can be obtained, and the indicator light corresponding to the current driving mode of the vehicle can be controlled to light up.

[0130] Assuming that, when the C signal is code 1, the current driving mode of the vehicle is 4L, the 4L light is on, and the remaining two-wheel high-gear drive mode, four-wheel high-gear drive mode and four-wheel automatic drive mode lights are off.

[0131] Optionally, when a failure occurs in the target driving mode of the vehicle, that is, the C signal becomes a signal of code 9, indicating that the vehicle cannot switch to the target driving mode. For the safety of the vehicle, the DCU can maintain the vehicle in the current driving mode and control the indicator lights corresponding to the current driving mode in the first switch and the second switch through the switch controller to flash, so that the driver can understand that a failure occurs in the target driving mode to be switched and the vehicle can be repaired in time.

[0132] For example, the vehicle's current driving mode is a two-wheel high-gear drive mode, the target driving mode is a four-wheel high-gear drive mode, and the four-wheel high-gear drive mode fails, the DCU can control the vehicle's driving mode to maintain the two-wheel high-gear drive mode, and control the two-wheel high-gear drive mode in the soft switch and hard switch to flash through the switch controller.

[0133] In the embodiment of the present application, when the indicator lights corresponding to the target driving mode in the first switch and the second switch are obtained, the indicator lights can be controlled to light up. By controlling the indicator lights corresponding to the target driving mode in the first switch and the second switch to light up, the indicator lights in the first switch and the second switch can be made consistent, so that when the user checks the driving mode of the vehicle, he can understand the driving mode of the vehicle more clearly and accurately.

[0134] Figure 4 is a flow chart of another vehicle control method provided by an embodiment of the present application. The method can be Figure 1 The vehicle 110 in the vehicle 110 executes, or the DCU in the vehicle 110 executes.

[0135] For example, Figure 4 As shown, the method 400 includes S410-S430:

[0136] S410, in response to a first control signal corresponding to a first switch in the vehicle, controlling the driving mode of the vehicle to switch to a target driving mode.

[0137] Among them, the first control signal is sent by the switch controller in the vehicle in response to the first operation when the first operation of the first switch is detected; the first operation is used to indicate the target driving mode; the first control signal is used to indicate that the vehicle's driving mode is switched to the target driving mode.

[0138] Exemplarily, when the switch controller detects the driver's first operation on the first switch, it can respond to the first operation and send a first control signal corresponding to the first operation to the DCU, so that when the DCU receives the first control signal, it can respond to the first control signal and switch the vehicle's driving mode to the target driving mode corresponding to the first operation.

[0139] S420: When the driving mode of the vehicle is the target driving mode, receiving a second control signal.

[0140] The second control signal is sent by the switch controller when the event corresponding to the first control signal ends.

[0141] Exemplarily, when the vehicle's driving mode is switched to the target driving mode indicated by the first operation through the DCU, the DCU can feed back the information on the completion of the driving mode switching to the switch controller. When the switch controller receives the feedback information from the DCU, it can determine that the driving mode switching is completed, and then send a second control signal to the DCU so that the DCU receives the second control signal.

[0142] S430, responding to the second control signal, and responding to the target control signal when receiving the target control signal of the second switch in the vehicle.

[0143] The first switch and the second switch are different types of switch components in the vehicle.

[0144] Exemplarily, the DCU may respond to the first control signal when receiving the second control signal, and respond to the target control signal when receiving the target control signal corresponding to the second switch.

[0145] In such Figure 4In the method 400 shown, the target controller can respond to the first control signal corresponding to the first switch to switch the driving mode of the vehicle to the driving mode corresponding to the first control signal (i.e., the target driving mode). When the driving mode of the vehicle is the target driving mode, the switch controller can receive a signal (i.e., a second control signal) indicating the end of an event corresponding to the first control signal sent when the driving mode of the vehicle is switched to the target driving mode, so as to interrupt the response of the target controller to the control signal corresponding to the first switch when the second control signal is received, so that the target controller can respond to the control signal corresponding to the second switch, thereby switching the driving mode of the vehicle from the driving mode corresponding to the first switch to the driving mode corresponding to the second switch. Compared with the prior art, if the target controller first responds to the control signal corresponding to the first switch, it can only respond to the control signal corresponding to the first switch, but not to the control signal corresponding to the second switch, thereby causing the driving mode switching failure when the control signal corresponding to the second switch is received. The present application can ensure that the driving mode switching is successful when the driving mode of the vehicle is switched.

[0146] It should be noted that Figure 4 All steps in Figure 2 and Figure 3 The corresponding embodiments are described in detail in the embodiment, which will not be repeated here.

[0147] It should be understood that the above examples are intended to help those skilled in the art understand the embodiments of the present application, rather than to limit the embodiments of the present application to the specific numerical values ​​or specific scenarios illustrated. Those skilled in the art can obviously make various equivalent modifications or changes based on the above examples, and such modifications or changes also fall within the scope of the embodiments of the present application.

[0148] Combination of the above Figures 1 to 4 The vehicle control method provided by the embodiment of the present application is described in detail; Figure 5 and Figure 7 The device embodiments of the present application are described in detail. It should be understood that the device in the embodiments of the present application can execute the various methods of the aforementioned embodiments of the present application, that is, the specific working processes of the following various products can refer to the corresponding processes in the aforementioned method embodiments.

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

[0150] For example, Figure 5 As shown, the device 500 is configured in a switch controller in a vehicle, and includes:

[0151] A detection module 510 is used to detect a first operation on a first switch in the vehicle; wherein the first operation is used to indicate a target driving mode of the vehicle;

[0152] The sending module 520 is used to send a first control signal to a target controller in the vehicle in response to the first operation; wherein the first control signal is used to instruct to switch the driving mode of the vehicle to the target driving mode;

[0153] The processing module 530 is used to send a second control signal to the target controller when the driving mode of the vehicle is the target driving mode, so that the target controller responds to the target control signal of the second switch in the vehicle; wherein the second control signal is used to indicate that the event corresponding to the first control signal ends; the first switch and the second switch are different types of switch components in the vehicle.

[0154] In a possible implementation, the processing module 530 is further used to: obtain a duration of sending a first control signal to a target controller; and send a second control signal to the target controller when the duration is greater than or equal to a preset duration.

[0155] In a possible implementation, the processing module 530 is further used to: obtain a first driving mode indicated by a second switch; and when the first driving mode is different from a target driving mode, adjust the driving mode indicated by the second switch from the first driving mode to the target driving mode.

[0156] In a possible implementation, the processing module 530 is further used to: obtain target indicator lights of the first switch and the second switch; wherein the target indicator lights are used to indicate indicator lights corresponding to the target driving mode; and control the target indicator lights to light up.

[0157] In a possible implementation, the sending module 520 is also used to: obtain the continuous power-on time of the hard switch; the sending module 520 is specifically used to: if the continuous power-on time is greater than or equal to the set time, respond to the first operation and send a first control signal to the target controller.

[0158] In a possible implementation, the sending module 520 is further used to: obtain the current driving mode of the vehicle; the sending module 520 is further specifically used to: send a first control signal to the target controller when the current driving mode is different from the target driving mode.

[0159] Figure 6 It is a schematic diagram of the structure of another vehicle control device provided in an embodiment of the present application.

[0160] For example, Figure 6 As shown, the device 600 is configured in a target controller (e.g., DCU) in a vehicle, and includes:

[0161] The control module 610 is used to control the driving mode of the vehicle to switch to the target driving mode in response to a first control signal corresponding to a first switch in the vehicle; wherein the first control signal is sent by the switch controller in the vehicle in response to a first operation when the first operation of the first switch is detected; the first operation is used to indicate the target driving mode; and the first control signal is used to indicate that the driving mode of the vehicle is switched to the target driving mode;

[0162] The receiving module 620 is used to receive a second control signal when the driving mode of the vehicle is the target driving mode; wherein the second control signal is sent by the switch controller when the event corresponding to the first control signal ends;

[0163] The response module 630 is used to respond to the second control signal, and respond to the target control signal when receiving the target control signal of the second switch in the vehicle; wherein the first switch and the second switch are different types of switch components in the vehicle.

[0164] It should be noted that the above-mentioned apparatus 500 and apparatus 600 are embodied in the form of functional modules. The term "module" here can be implemented in the form of software and / or hardware, and is not specifically limited to this.

[0165] For example, a "module" may be a software program, a hardware circuit, or a combination of the two that implements the above functions. The hardware circuit may include an application specific integrated circuit (ASIC), an electronic circuit, a processor (such as a shared processor, a dedicated processor, or a group processor, etc.) and a memory for executing one or more software or firmware programs, a combined logic circuit, and / or other suitable components that support the described functions.

[0166] Therefore, the modules of each example described in the embodiments of the present application can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0167] Figure 7 It is a schematic diagram of the structure of a vehicle provided in an embodiment of the present application.

[0168] For example, Figure 7 As shown, the vehicle 700 includes: a memory 710 and a processor 720, wherein the memory 710 stores an executable program code 7101, and the processor 720 is used to call and execute the executable program code 7101 to perform a vehicle control method.

[0169] The present application can divide the functional modules of the vehicle 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.

[0170] In the case of dividing each functional module according to each function, the vehicle may include: a detection module, a sending module, a processing module, a control module, a receiving module, and a response 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, and will not be repeated here.

[0171] The vehicle provided in the present application is used to execute the above-mentioned vehicle control method, and thus can achieve the same effect as the above-mentioned implementation method.

[0172] In the case of an integrated unit, the vehicle may include a processing module and a storage module. 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 and data.

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

[0174] The present application also provides a computer-readable storage medium, on which a computer program is stored, and when the program is executed by a processor, the steps of the method of any of the above embodiments are implemented. The computer-readable storage medium may include, but is not limited to, any type of disk, including a floppy disk, an optical disk, a DVD (Digital Video Disc), a CD-ROM (Compact Disc Read-Only Memory), a micro drive and a magneto-optical disk, a ROM (Read-Only Memory), a RAM (Random Access Memory), an EPROM (Erasable Programmable Read-Only Memory), an EEPROM (Electrically Erasable Programmable Read Only Memory), a DRAM (Dynamic Random Access Memory), a VRAM (Video Random Access Memory), a flash memory device, a magnetic card or an optical card, a nanosystem (including a molecular memory IC), or any type of medium or device suitable for storing instructions and / or data.

[0175] The present application also provides a computer program product. When the computer program product is run on a computer, the computer is enabled to execute the above-mentioned related steps to implement a vehicle control method in the above-mentioned embodiment.

[0176] In addition, the vehicle provided in the embodiments of the present application may specifically be a chip, component or module, and the vehicle may include a connected processor and memory; wherein the memory is used to store instructions, and when the vehicle is running, the processor may call and execute instructions so that the chip executes a vehicle control method in the above embodiments.

[0177] Among them, the vehicle, computer-readable storage medium, computer program product or chip provided in this application are all used to execute the corresponding methods provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding methods provided above, and will not be repeated here.

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

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

[0180] 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 vehicle control method, characterized in that: A switch controller applied to a vehicle, the method comprising: Detecting a first operation of a first switch in the vehicle; wherein the first operation is used to indicate a target driving mode of the vehicle; In response to the first operation, sending a first control signal to a target controller in the vehicle; wherein the first control signal is used to instruct to switch the driving mode of the vehicle to the target driving mode; When the driving mode of the vehicle is the target driving mode, sending a second control signal to the target controller so that the target controller responds to the target control signal of the second switch in the vehicle; The second control signal is used to indicate that the event corresponding to the first control signal ends; the first switch and the second switch are different types of switch components in the vehicle.

2. The method according to claim 1, characterized in that The method further comprises: Acquire a duration of sending the first control signal to the target controller; The sending a second control signal to the target controller comprises: When the duration is greater than or equal to the preset duration, the second control signal is sent to the target controller.

3. The method according to claim 1, characterized in that When the driving mode of the vehicle is the target driving mode, the method further includes: acquiring a first driving mode indicated by the second switch; When the first driving mode is different from the target driving mode, the driving mode indicated by the second switch is adjusted from the first driving mode to the target driving mode.

4. The method according to claim 3, characterized in that The method further comprises: Obtaining target indicator lights of the first switch and the second switch; wherein the target indicator lights are used to indicate indicator lights corresponding to the target driving mode; Control the target indicator light to light up.

5. The method according to any one of claims 1 to 4, characterized in that In the case where the first switch is a hard switch, the method further includes: Obtaining the continuous power-on time of the hard switch; The step of sending a first control signal to a target controller in the vehicle in response to the first operation includes: If the continuous power-on time is greater than or equal to the set time, in response to the first operation, the first control signal is sent to the target controller.

6. The method according to claim 5, characterized in that The method further comprises: Obtaining the current driving mode of the vehicle; The sending a first control signal to a target controller in the vehicle comprises: When the current driving mode is different from the target driving mode, the first control signal is sent to the target controller.

7. A vehicle control method, characterized in that: Applied to a target controller in a vehicle, the method comprises: In response to a first control signal corresponding to a first switch in the vehicle, the driving mode of the vehicle is controlled to switch to a target driving mode; wherein the first control signal is sent by a switch controller in the vehicle in response to a first operation of the first switch when the first operation is detected; the first operation is used to indicate the target driving mode; the first control signal is used to indicate that the driving mode of the vehicle is switched to the target driving mode; When the driving mode of the vehicle is the target driving mode, receiving a second control signal; wherein the second control signal is sent by the switch controller when the event corresponding to the first control signal ends; in response to the second control signal, upon receiving a target control signal of a second switch in the vehicle, responding to the target control signal; The first switch and the second switch are switch components of different types in the vehicle.

8. A vehicle control device, characterized in that: A switch controller configured in a vehicle, the device comprising: A detection module, configured to detect a first operation on a first switch in the vehicle; wherein the first operation is used to indicate a target driving mode of the vehicle; A sending module, configured to send a first control signal to a target controller in the vehicle in response to the first operation; wherein the first control signal is used to instruct to switch the driving mode of the vehicle to the target driving mode; a processing module, configured to send a second control signal to the target controller when the driving mode of the vehicle is the target driving mode, so that the target controller responds to the target control signal of the second switch in the vehicle; The second control signal is used to indicate that the event corresponding to the first control signal ends; the first switch and the second switch are different types of switch components in the vehicle.

9. A vehicle control device, characterized in that: A target controller configured in a vehicle, the device comprising: A control module, configured to control the driving mode of the vehicle to switch to a target driving mode in response to a first control signal corresponding to a first switch in the vehicle; wherein the first control signal is sent by a switch controller in the vehicle in response to a first operation of the first switch when the first operation is detected; the first operation is used to indicate the target driving mode; and the first control signal is used to indicate that the driving mode of the vehicle is switched to the target driving mode; A receiving module, configured to receive a second control signal when the driving mode of the vehicle is the target driving mode; wherein the second control signal is sent by the switch controller when the event corresponding to the first control signal ends; a response module, configured to respond to the second control signal, and respond to the target control signal upon receiving the target control signal of the second switch in the vehicle; The first switch and the second switch are switch components of different types in the vehicle.

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

Citation Information

Patent Citations

  • Driving mode switching control device, method, and program

    CN109689476A

  • Driving mode switching device, vehicle, switching method and terminal

    CN111422198A

  • Mode switching method, device and equipment and storage medium

    CN111942403A

  • Driving mode switching control method and system

    CN113085864A

  • Mode control method and device and vehicle

    CN118025180A