Vehicle control methods, vehicle control devices, and vehicles
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-17
- Publication Date
- 2026-08-14
AI Technical Summary
但是,在用户通过软开关和硬开关两种方式对行车模式进行切换时,可能会存在不能响应用户触发的切换请求,导致车辆的行车模式切换失败的问题,从而影响用户的操作体验
[0017]在本申请实施例中,可以在获取到目标行车模式在第一开关与第二开关中对应的指示灯时,控制该指示灯亮灯。通过控制第一开关与第二开关中与目标行车模式对应的指示灯亮灯,可以使得第一开关与第二开关中的指示灯亮灯保持一致性,从而使用户在查看车辆所处的行车模式时,可以更加清晰且准确的了解到车辆所处的行车模式。
Smart Images

Figure CN119636742B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of vehicle technology, and more particularly to a vehicle control method, vehicle control device, and vehicle in the field of vehicle technology. Background Technology
[0002] With the rapid development of vehicle technology, some vehicles can be equipped with multiple driving modes (such as driving mode, four-wheel drive mode, and steering mode) to switch between the corresponding driving modes under different road conditions and driving needs, so as to meet the driving needs of the vehicle.
[0003] When switching between various driving modes, users can do so using either a soft switch or a hard switch in the vehicle. However, when switching driving modes using either a soft switch or a hard switch, there may be issues where the vehicle fails to respond to the user's switching request, leading to driving mode switching failure and impacting the user experience.
[0004] Therefore, ensuring successful switching of driving modes is a pressing issue that needs to be addressed. Summary of the Invention
[0005] This application provides a vehicle control method, a vehicle control device, and a vehicle, which ensures successful switching of driving modes when switching driving modes of a vehicle.
[0006] In a first aspect, this application provides a vehicle control method applied to a switch controller in a vehicle, the method comprising:
[0007] A first operation on a first switch in the 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 vehicle's driving mode to the target driving mode; when the vehicle's driving mode is the target driving mode, a second control signal is sent to the target controller to cause the target controller to respond to a target control signal of a second switch in the vehicle; wherein the second control signal is used to indicate the end of the event corresponding to the first control signal; the first switch and the second switch are different types of switch components in the vehicle.
[0008] In this embodiment, upon detecting an operation on a first switch in the vehicle (i.e., a first operation), the system can respond to the first operation by sending a signal (i.e., a first control signal) to the controller in the vehicle (i.e., the target controller) used to control the driving mode, to switch the vehicle's driving mode to the driving mode corresponding to the first operation. Furthermore, when the vehicle's driving mode is switched to the driving mode corresponding to the first operation, an event end signal (i.e., a second control signal) corresponding to the first control signal can be sent to the target controller, enabling the target controller to respond to a signal from a switch of a different type than the first switch (i.e., a second switch) to switch the driving mode. Compared to existing technologies, where operating the first switch first results in the target controller only responding to the control signal corresponding to the first switch and not the control signal corresponding to the second switch, leading to a failure in driving mode switching when the second switch is detected, this application addresses the issue that when the vehicle's driving mode switches to the driving mode corresponding to the first operation, an event end signal corresponding to the first control signal can be sent to the target controller, interrupting the target controller's response to the control signal corresponding to the first switch. This allows the target controller to respond to the control signal corresponding to the second switch, thus enabling the vehicle's driving mode to switch from the driving mode corresponding to the operation of the first switch to the driving mode corresponding to the operation of the second switch, ensuring successful driving mode switching.
[0009] In conjunction with the first aspect, in some implementations of the first aspect, the method further includes:
[0010] The duration for sending a first control signal to the target controller is obtained; sending a second control signal to the target controller includes sending a second control signal to the target controller when the duration is greater than or equal to a preset duration.
[0011] In this embodiment, when the duration of sending the first control signal to the target controller is greater than or equal to the preset duration, it can be said that the vehicle's driving mode has been successfully switched to the driving mode corresponding to the first operation. This avoids the problem that the vehicle's driving mode has not been switched to the target driving mode and the driving mode switching has failed when the driving mode switching is not completed, thus further ensuring the successful switching of the vehicle's driving mode.
[0012] In conjunction with the first aspect and the above implementation methods, in some implementation methods of the first aspect, when the vehicle's driving mode is the target driving mode, the method further includes:
[0013] Obtain the first driving mode indicated by the second switch; if 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 this embodiment, when the vehicle's driving mode is the target driving mode, if the driving mode indicated by the second switch is different from the target driving mode, it indicates that the first switch and the second switch indicate different driving modes, resulting in a problem of inconsistent driving mode indication. Therefore, 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. This ensures the consistency of the driving modes indicated by different types of switch components, further ensuring successful driving mode switching.
[0015] In conjunction with the first aspect and the above implementation methods, in some implementations of the first aspect, the method further includes:
[0016] Obtain the target indicator lights of the first switch and the second switch; wherein, the target indicator lights are used to indicate the indicator lights corresponding to the target driving mode; control the target indicator lights to turn on.
[0017] In this embodiment, when the indicator light corresponding to the target driving mode in the first switch and the second switch is detected, the indicator light can be controlled to illuminate. By controlling the illumination of the indicator light corresponding to the target driving mode in the first switch and the second switch, the illumination of the indicator lights in the first switch and the second switch can be kept consistent, thereby allowing the user to more clearly and accurately understand the current driving mode of the vehicle.
[0018] In conjunction with the first aspect and the above implementation methods, in some implementation methods of the first aspect, when the first switch is a hard switch, the method further includes:
[0019] Obtain the continuous power-on duration of the hard switch; in response to the first operation, send a first control signal to the target controller in the vehicle, including: if the continuous power-on duration is greater than or equal to a set duration, in response to the first operation, send a first control signal to the target controller.
[0020] In this embodiment, since the continuous power-on duration of the hard switch is greater than or equal to a set duration, it indicates that the hard switch signal is relatively stable, avoiding the potential signal instability issue when the hard switch is first powered on. Therefore, when the continuous power-on duration of the hard switch is greater than or equal to the set duration, the system can respond to the operation on the hard switch by sending a first control signal corresponding to the operation to the target controller, thereby ensuring the stability of the first control signal. Furthermore, with a more stable first control signal, errors in vehicle driving mode switching can be avoided, further ensuring successful driving mode switching.
[0021] In conjunction with the first aspect and the above implementation methods, in some implementations of the first aspect, the method further includes:
[0022] Obtain the vehicle's current driving mode; sending the first control signal to the target controller in the vehicle includes: sending the first control signal to the target controller when the current driving mode is different from the target driving mode.
[0023] In this embodiment, when the vehicle's current driving mode is different from the target driving mode, sending a control signal corresponding to the first switch to the target controller can save the time required for the vehicle to switch driving modes when the vehicle's current driving mode is the same as the target driving mode, thereby saving the vehicle's driving mode switching time and improving the user experience.
[0024] Secondly, this application provides a vehicle control method applied to a target controller in a vehicle, the method comprising:
[0025] In response to a first control signal corresponding to a first switch in the vehicle, the vehicle's driving mode is switched to a target driving mode; wherein, the first control signal is sent by the switch controller in the vehicle in response to a first operation detected by the first switch; the first operation is used to indicate the target driving mode; the first control signal is used to indicate switching the vehicle's driving mode to the target driving mode; when the vehicle's driving mode is the target driving mode, a second control signal is received; 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 from a second switch in the vehicle, a target control signal is responded to; wherein, the first switch and the second switch are different types of switch components in the vehicle.
[0026] In this embodiment, the target controller can respond to a first control signal corresponding to a first switch to switch the vehicle's driving mode to the driving mode corresponding to the first control signal (i.e., the target driving mode). When the vehicle's driving mode is the target driving mode, it can receive a signal indicating the end of the event corresponding to the first control signal sent by the switch controller when the vehicle's driving mode is switched to the target driving mode (i.e., a second control signal). Upon receiving the second control signal, the target controller interrupts its response to the control signal corresponding to the first switch, allowing it to respond to the control signal corresponding to the second switch, thereby switching the vehicle's driving mode from the driving mode corresponding to the first switch to the driving mode corresponding to the second switch. Compared to the prior art, where the target controller, if it responds first to the control signal corresponding to the first switch, can only respond to the control signal corresponding to the first switch and not the control signal corresponding to the second switch, leading to a failure in driving mode switching upon receiving the control signal corresponding to the second switch, this application ensures successful driving mode switching.
[0027] Thirdly, this application provides a vehicle control device, a switch controller disposed in a vehicle, the device comprising:
[0028] The detection module is used to detect a first operation on a first switch in the vehicle; wherein the first operation is used to indicate the target driving mode of the vehicle.
[0029] The transmitting module is 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 the vehicle's driving mode to be switched to the target driving mode;
[0030] The processing module is used to send a second control signal to the target controller when the vehicle's driving mode is the target driving mode, so that the target controller responds to the target control signal of the second switch in the vehicle.
[0031] The second control signal is used to indicate the end of the event corresponding to the first control signal; the first switch and the second switch are different types of switch components in the vehicle.
[0032] Fourthly, this application provides a vehicle control device, a target controller configured in a vehicle, the device comprising:
[0033] The control module is used 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 the switch controller in the vehicle in response to a first operation detected by the first switch; the first operation is used to indicate the target driving mode; the first control signal is used to indicate switching the vehicle's driving mode to the target driving mode.
[0034] The receiving module is used to receive a second control signal when the vehicle's driving mode 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] The response module is used to respond to the second control signal, and to respond to the target control signal when the target control signal of the second switch in the vehicle is received;
[0036] The first switch and the second switch are different types of switch components in the vehicle.
[0037] Fifthly, this application provides a vehicle including 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, causing the vehicle to perform the methods described in the first aspect or any possible implementation thereof.
[0038] In a sixth aspect, this application provides a computer program product comprising: computer program code, which, when run on a computer, causes the computer to perform the method described in the first aspect or any possible implementation thereof.
[0039] In a seventh aspect, this application provides a computer-readable storage medium storing computer program code that, when executed on a computer, causes the computer to perform the methods described in the first aspect or any possible implementation thereof. Attached Figure Description
[0040] Figure 1 This is a schematic diagram illustrating the vehicle driving modes of related technologies.
[0041] Figure 2 This is a flowchart illustrating a vehicle control method provided in an embodiment of this application.
[0042] Figure 3 This is a schematic diagram of the lighting provided in an embodiment of this application;
[0043] Figure 4 This is a schematic flowchart of another vehicle control method provided in an embodiment of this application.
[0044] Figure 5 This is a schematic diagram of the structure of a vehicle control device provided in an embodiment of this application.
[0045] Figure 6 This is a schematic diagram of another vehicle control device provided in an embodiment of this application.
[0046] Figure 7 This is a schematic diagram of the vehicle structure provided in the embodiments of this application. Detailed Implementation
[0047] The technical solutions in this application will be clearly and thoroughly described below with reference to the accompanying drawings. In the description of the embodiments of this application, unless otherwise stated, " / " means "or," for example, A / B can mean A or B. "And / or" in the text is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, and B existing alone. Furthermore, in the description of the embodiments of this application, "multiple" refers to two or more than two.
[0048] Hereinafter, the terms "first" and "second" are used for descriptive purposes only and should not be construed as implying or suggesting 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 that feature.
[0049] Figure 1 This is a schematic diagram illustrating the vehicle driving modes of related technologies.
[0050] For example, such as Figure 1 As shown, Figure 1 This includes a vehicle 110, a display screen 120 (e.g., a central control screen) of the vehicle's head unit (HUT), and physical switches 130 (which can be referred to as "hard switches"). The display screen 120 can display four virtual switches (which can be referred to as "soft switches") in 4WD mode (Four-Wheel Drive).
[0051] For example, the soft switches and hard switches are different for different driving modes. Figure 1 The example given is a four-wheel drive mode.
[0052] refer to Figure 1 The hard switches corresponding to the four-wheel drive modes may include, but are not limited to, 2H, 4H, 4L, and 4A. Specifically, 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. Furthermore, on the switch control interface 121 in the display screen 120, the soft switches corresponding to the four-wheel drive modes may also include the hard switches corresponding to 2H, 4H, 4L, and 4A. That is, in the same driving mode, the same control commands can be issued through both the hard switches and the soft switches.
[0053] Optionally, when the vehicle's driving mode is set to driving mode, the hard and soft switches corresponding to the driving mode may include, but are not limited to, Gentle, Comfort, and Radical. Among them, Gentle can represent a smoother and more comfortable driving mode, Comfort can represent a more comfortable driving mode, and Radical can represent a high-performance driving mode, which is more suitable for drivers who pursue speed and handling.
[0054] Optionally, when the vehicle's driving mode is set to steering mode, the hard and soft switches corresponding to the steering mode can include, but are not limited to, Light, Comfort, and Sport. Light can indicate a steering mode with greater steering assistance and easier steering wheel operation; Comfort can indicate a steering mode that is neither too heavy nor too light; and Sport can indicate a steering mode with a heavier steering feel, suitable for drivers who seek precise control.
[0055] The driving mode can represent different driving needs by changing the engine throttle output ratio, transmission shift timing, electronic power steering system, and other states, allowing the driver to experience driving pleasure and better adapt to different road conditions. Driving modes can include, but are not limited to, driving mode, four-wheel drive mode, steering mode, eco mode, standard mode, sport mode, snow mode, mud mode, sand mode, and rock mode.
[0056] For example, when the vehicle is in a state where driving modes can be switched, such as in Expert Mode, the user can switch driving modes using either a soft switch or a hard switch. However, after switching driving modes using either a soft switch or a hard switch, subsequent switching can only be done using that method; the other switching method may become unusable. This results in poor intelligence in driving mode switching and negatively impacts 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 to four-wheel drive mode, then subsequent switching of driving modes (e.g., driving mode, four-wheel drive mode, and steering mode) can only be done through the soft switch; the hard switch will temporarily lose its function of switching driving modes. This is because when switching four-wheel drive mode via the soft switch, the soft switch continuously triggers the valid value corresponding to 2H, causing the controller in the vehicle to continuously respond to that valid value, while it cannot respond to the valid value corresponding to the hard switch.
[0058] Alternatively, when the vehicle is in Expert Mode, if the 2H switch on the hard switch is used to switch to four-wheel drive mode first, then subsequent switching of driving modes (e.g., driving mode, four-wheel drive mode, and steering mode) can only be done through the hard switch; the soft switch will temporarily lose its function of switching driving modes. In other words, 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, if the driver switches to four-wheel drive mode via a soft switch and then tries to switch to four-wheel drive mode via a hard switch due to inconvenience, the vehicle cannot respond to the switching request triggered by the hard switch, resulting in the failure of the vehicle's driving mode switching and thus affecting the user's operating experience.
[0060] Expert mode can be defined as an advanced driving mode designed for experienced drivers or users with specific needs. In expert mode, the driver has an in-depth understanding of the working principles, functions, and performance of the vehicle's various actuators; the driver is the expert. Furthermore, drivers can customize combinations of the vehicle's driving modes according to their own driving needs and personal preferences.
[0061] Optionally, the vehicle can enter or exit expert mode via a hard switch configured in the vehicle.
[0062] Therefore, in order to solve the problem of driving mode switching failure, this application proposes a vehicle control method, a vehicle control device, and a vehicle.
[0063] The following is combined with Figures 2 to 4 The vehicle control method provided in the embodiments of this application will be described in detail.
[0064] Figure 2 This is a flowchart illustrating a vehicle control method provided in an embodiment of this application. The method can be... Figure 1 The vehicle 110 in the vehicle or the switch controller in the vehicle 110 shall execute the operation.
[0065] For example, to facilitate understanding, the code appearing in the following embodiments can be explained using Table 1:
[0066] Table 1
[0067]
[0068] Signals A and B both correspond to soft-switching signals. Signal A can represent an event-type signal of the soft switch; code 1 in signal A indicates that the soft switch is not activated, and code 2 indicates that the soft switch is activated.
[0069] Signal B can represent a periodic signal of the soft switch. In signal A, code 1 indicates that the soft switch sends a mode switching request for two-wheel high-gear drive mode, code 2 indicates that the soft switch sends a mode switching request for four-wheel high-gear drive mode, code 3 indicates that the soft switch sends a mode switching request for four-wheel automatic drive mode, and code 4 indicates that the soft switch did not send a mode switching request (i.e., it is not activated).
[0070] The C signal represents a periodic signal for the four-wheel drive mode flag. Code 1 in the C signal indicates an invalid value, code 2 indicates a four-wheel drive malfunction, code 3 indicates that the vehicle mode is two-wheel high-gear drive mode, code 4 indicates that the vehicle mode is four-wheel high-gear drive mode, code 5 indicates that the vehicle is in four-wheel drive mode, code 6 indicates a return, code 7 indicates that the vehicle mode is four-wheel low-gear drive mode, code 8 indicates that the vehicle mode is sport mode, and code 9 indicates that the vehicle is in non-four-wheel drive mode.
[0071] The D signal can represent an event-type signal of a hard switch. Code 1 in the D signal indicates an invalid value sent by the hard switch, code 2 indicates a return request (i.e., return) sent by the hard switch, code 3 indicates an event signal of two-wheel high-gear drive mode sent by the hard switch, code 4 indicates an event signal of four-wheel high-gear drive mode sent by the hard switch, code 5 indicates an event signal of four-wheel drive mode sent by the hard switch, code 6 indicates a return request (i.e., return) sent by the hard switch, code 7 indicates an event signal of four-wheel low-gear drive mode sent by the hard switch, and code 8 indicates a return request (i.e., return) sent by the hard switch.
[0072] The E signal can represent a periodic signal corresponding to the expert mode. Code 1 in the E signal indicates that the vehicle is in non-expert mode, and code 2 indicates that the vehicle is in expert mode.
[0073] For example, signals A and B can be sent to the DCU (e.g., 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 the switch controller in the vehicle (e.g., HUT) can send a signal with signal A as code 1 to the drive control unit (DCU) in the vehicle to indicate that the soft switch is not activated.
[0075] For example, a C signal can be sent to the switch controller via the DCU. A D signal can also be sent to the DCU via the ICSW. The switch controller may include a HUT corresponding to a soft switch and an Interior Control Switch with Rotary Function (ICSW) corresponding to a hard switch.
[0076] For example, the Electronic Stability Program (ESP) in the vehicle can send an E signal to the switch controller, so that the switch controller can adjust the position of the soft switch or hard switch based on the received E signal.
[0077] Among them, event-type signals can represent the process of continuously sending valid signals for a period of time, then stopping the sending of valid signals and starting to send invalid signals.
[0078] For example, the switch controller sends a signal with code 3 (D signal) to the DCU for 3 seconds, and then sends a signal with code 1 (D signal). Alternatively, the switch controller sends a signal with code 2 (A signal) to the DCU for 5 seconds, and then sends a signal with code 1 (A signal).
[0079] For example, a periodic signal can represent a signal that is sent periodically. For instance, the switch controller sends a signal with code 1 (B signal) to the DCU every 1 second.
[0080] It should be understood that an invalid signal can mean a signal that has no actual meaning, such as not activated, invalid value, non-expert mode, or non-four-wheel drive mode, while a valid signal can mean a signal that has no meaning other than not activated, invalid value, non-expert mode, or non-four-wheel drive mode.
[0081] For example, such as Figure 2 As shown, method 200 includes steps S210-S230:
[0082] S210, a first operation on the first switch in the vehicle is detected.
[0083] The first operation is used to indicate the vehicle's target driving mode.
[0084] For example, when the vehicle is powered on and in a state where the driving mode can be adjusted (e.g., expert mode), if the driver needs to adjust the vehicle's driving mode, they can operate a switching component (referred to as a "first switch") in the vehicle for adjusting the driving mode (referred to as a "first operation"). Upon detecting this first operation, the switch controller can indicate the driving mode indicated by the first operation (referred to as a "target driving mode") to represent the driving mode desired by the driver. The first switch can be either a soft switch or a hard switch in the vehicle for adjusting the driving mode.
[0085] For example, when the first switch is not operated, the driving mode indicated by the first switch is a two-wheel high-gear drive mode. After the first switch is operated, the driving mode indicated by the first switch is a four-wheel high-gear drive mode. Then, the four-wheel high-gear drive mode can represent the above-mentioned target driving mode.
[0086] For example, when a vehicle is powered on, it typically defaults to a two-wheel high-gear drive mode. If the driver presses the button corresponding to the expert mode in the vehicle, triggering a request to enter expert mode, the E signal can be detected changing from code 1 to code 2, thus controlling the vehicle to enter expert mode. At this time, the central control screen can display a soft switch for adjusting the vehicle's driving mode (such as...). Figure 1 (The switch control interface 121 in the middle).
[0087] S220, in response to the first operation, sends a first control signal to the target controller in the vehicle.
[0088] The first control signal is used to instruct the vehicle's driving mode to be switched to the target driving mode.
[0089] For example, when the switch controller detects a first operation on the first switch, it can respond to the first operation and determine the control signal corresponding to the first operation (which can be referred to as the "first control signal"). The first control signal can 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 drive mode, then the corresponding first control signal can be code 2 in signal B or code 4 in signal D.
[0090] Furthermore, when the switch controller determines the first control signal corresponding to the first operation, it can send the first control signal to the controller in the vehicle used to control the switching of driving modes (which can be called the "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, if the first switch is a hard switch, the duration of continuous power-on of the hard switch is obtained; the above-mentioned response to the first operation to send a first control signal to the target controller in the vehicle includes: if the duration of continuous power-on is greater than or equal to a set duration, in response to the first operation, sending a first control signal to the target controller.
[0092] For example, when the first switch is a hard switch and its power-on is detected, to avoid potential signal instability issues immediately following power-on, the switch controller can obtain the duration of the hard switch's continuous power-on and determine whether this duration is greater than or equal to a set duration. If the duration is greater than or equal to the set duration (e.g., 2 seconds), it indicates a longer power-on duration and a more stable signal. Therefore, the switch controller can respond to a first operation on the first switch by sending a first control signal corresponding to the first operation to the DCU. For example, if the driver operates the hard switch to four-wheel high-gear drive mode 4 seconds after power-on, the ICSW can send a signal with D signal code 4 to the DCU.
[0093] Alternatively, if the continuous power-on duration is less than the set duration, it indicates that the hard switch power-on duration 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 instead continuously send a signal with D signal code 1 to the DCU. For example, if the driver operates the hard switch to the four-wheel high-gear drive mode 1 second after the hard switch is powered on, the ICSW will not send a signal with D signal code 4 to the DCU, but will send a signal with D signal code 1.
[0094] For example, 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 signal A (code 2) to the DCU until it detects a mode switching operation (i.e., the first operation) by the driver on the soft switch, and then send the corresponding code to the DCU. For instance, after the soft switch is activated, if the driver clicks the four-wheel automatic drive mode on the soft switch, the HUT can send signal B (code 3) to the DCU.
[0095] Because the vehicle needs to exit expert mode when the vehicle is powered off, it is not in expert mode when powered on, and the corresponding soft switch is not activated. The switch controller can continuously send signal A with code 1 to the DCU.
[0096] Optionally, the DCU in the vehicle can have a power-off and power-on memory function, so that the signal sent by the C signal before each power-off is sent again after power-on. For example, the C signal sends code 4 before the vehicle is disembarked, 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. This application embodiment does not limit this.
[0098] In this embodiment, since the continuous power-on duration of the hard switch is greater than or equal to a set duration, it indicates that the hard switch signal is relatively stable, avoiding the potential signal instability issue when the hard switch is first powered on. Therefore, when the continuous power-on duration of the hard switch is greater than or equal to the set duration, the system can respond to the operation on the hard switch by sending a first control signal corresponding to the operation to the target controller, thereby ensuring the stability of the first control signal. Furthermore, with a more stable first control signal, errors in vehicle driving mode switching can be avoided, further ensuring successful driving mode switching.
[0099] Optionally, the current driving mode of the vehicle is obtained; the above-mentioned sending the first control signal to the target controller in the vehicle includes: sending the first control signal to the target controller when the current driving mode is different from the target driving mode.
[0100] For example, when responding to a first operation on a first switch, the switch controller can also acquire the vehicle's current driving mode and determine whether the vehicle's current driving mode is the same as the target driving mode indicated by the first operation. If the vehicle's current driving mode is different from the target driving mode, the switch controller can send a first control signal corresponding to the first operation to the DCU, so that the DCU switches the vehicle's driving mode from the current driving mode to the target driving mode.
[0101] Alternatively, when the vehicle's current driving mode 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 of switching the vehicle's driving mode.
[0102] For example, if the vehicle's current driving mode is a two-wheel high-gear drive mode, and the target driving mode is a four-wheel high-gear drive mode, the switch controller can send a first control signal corresponding to the first operation to the DCU.
[0103] For example, if the vehicle's current driving mode is a two-wheel high-gear drive mode, and the target driving mode is also a two-wheel high-gear drive 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 with C signal code 3, if the target driving mode corresponding to the first operation is a two-wheel high-gear drive mode, the switch controller can send a signal with A signal code 1 to the DCU.
[0105] In this embodiment, when the vehicle's current driving mode is different from the target driving mode, sending a control signal corresponding to the first switch to the target controller can save the time required for the vehicle to switch driving modes when the vehicle's current driving mode is the same as the target driving mode, thereby saving the vehicle's driving mode switching time and improving the user experience.
[0106] S230, when the vehicle's driving mode is the target driving mode, sends 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.
[0107] The second control signal indicates the end of the event corresponding to the first control signal, signifying the completion of the driving mode switch. Furthermore, both the first and second control signals can be event-type signals, representing different events. The first control signal (also called the "first event signal") indicates the event of switching the vehicle's driving mode to the target driving mode, while the second control signal (also called the "second event signal") indicates the end of the switching from the target driving mode. For example, code 1 in signal A or code 1 in signal D.
[0108] Here, 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. Furthermore, different types of switch components (e.g., soft switches and hard switches) have the same adjustment function for driving modes, that is, soft switches and hard switches can adjust the same number and types of driving modes.
[0109] Optionally, if either the first switch or the second switch is a hard switch, the other is a soft switch. For example, if the first switch is a hard switch, then the second switch is a soft switch. Alternatively, if the first switch is a soft switch, then the second switch is a hard switch.
[0110] For example, when the DCU switches the vehicle's driving mode to the target driving mode indicated by the first operation, the DCU can feed back information indicating that the driving mode switching is complete to the switch controller. Upon receiving the feedback information from the DCU, the switch controller can determine that the driving mode switching is complete. In order to enable the DCU to respond to the event signal (which can be referred to as the "target control signal") corresponding to the second operation detected by the second switch, and to switch the vehicle's driving mode again, the switch controller can send a second control signal to the DCU. This allows the DCU to determine that the driving mode switching corresponding to the first control signal is complete upon receiving the second control signal, and to respond to the target control signal corresponding to the second switch, switching the vehicle's driving mode from the aforementioned target driving mode (e.g., four-wheel high-gear drive mode) to the driving mode corresponding to the target control signal (e.g., 4L).
[0111] Optionally, while sending a first control signal to the DCU in response to the first operation of the first switch, the switch controller can also send a second control signal corresponding to the second switch to the DCU, so that the DCU can always only receive one control signal for switching the vehicle driving mode (i.e., the first control signal). For example, when the first switch is a soft switch, the switch controller can send a signal with signal A (code 2) to the DCU at the same time as sending a signal with signal D (code 1). Alternatively, when the first switch is a hard switch, the switch controller can send a signal with signal A (code 1) to the DCU at the same time as sending a signal with signal D (code 4).
[0112] Optionally, after sending the second control signal to the DCU, if the switch controller detects a second operation by the driver on the second switch, it can respond to the second operation by sending a target control signal to the DCU, instructing the vehicle's driving mode to switch from the target driving mode to the driving mode corresponding to the target control signal, so that the vehicle's driving mode is switched from the 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 can send signal A (code 1) to the DCU, so that when the DCU receives signal D (corresponding to the hard switch), it can switch the vehicle's driving mode again. Alternatively, the switch controller can send signal A (code 1) to the DCU, and if the DCU receives signal B (corresponding to the soft switch), it can also switch the vehicle's driving mode again.
[0114] Optionally, if the driver operates both soft switches and hard switches simultaneously, the controller can respond to the operation corresponding to the switch type with the higher priority according to a pre-set 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. This avoids switching the vehicle's driving mode again before the driving mode switch is completed, thus preventing a switching failure and ensuring that every switch of the vehicle's driving mode can be completed normally.
[0116] In such Figure 2 In the method 200 shown, upon detecting an operation (i.e., a first operation) on a first switch in the vehicle, a signal (i.e., a first control signal) can be sent to a controller (i.e., a target controller) in the vehicle used to control the driving mode, in response to the first operation, to switch the vehicle's driving mode to the driving mode corresponding to the first operation. Furthermore, when the vehicle's driving mode is switched to the driving mode corresponding to the first operation, an event end signal (i.e., a second control signal) corresponding to the first control signal can be sent to the target controller, enabling the target controller to respond to a signal from a switch (i.e., a second switch) of a different type than the first switch to switch the driving mode. Compared to existing technologies, where operating the first switch first results in the target controller only responding to the control signal corresponding to the first switch and not the control signal corresponding to the second switch, leading to a failure in driving mode switching when the second switch is detected, this application addresses the issue that when the vehicle's driving mode switches to the driving mode corresponding to the first operation, an event end signal corresponding to the first control signal can be sent to the target controller, interrupting the target controller's response to the control signal corresponding to the first switch. This allows the target controller to respond to the control signal corresponding to the second switch, thus enabling the vehicle's driving mode to switch from the driving mode corresponding to the operation of the first switch to the driving mode corresponding to the operation of the second switch, ensuring successful driving mode switching.
[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] For example, before sending the second control signal to the DCU, the switch controller can also obtain the duration of its own first control signal transmission to the DCU and determine whether the duration is greater than or equal to a preset duration. If the duration is greater than or equal to the preset duration (e.g., 2 seconds), it indicates that the vehicle driving mode switching is complete, and the switch controller can send the second control signal to the DCU. This avoids the problem of the switch controller sending the second control signal to the DCU before the driving mode switching is complete, resulting in the vehicle's driving mode not switching to the target driving mode and the driving mode switching failing, thus further ensuring the successful switching of the vehicle driving mode.
[0119] Alternatively, if the duration is less than the preset duration, it indicates that the vehicle driving mode may not have been switched yet. The switch controller can continue to send the first control signal to the DCU so that the DCU responds to the first control signal and switches the vehicle driving mode to the target driving mode.
[0120] It should be noted that the preset duration can be obtained by calibrating the actual vehicle, and can be 2S, 3S or 5S. This application embodiment does not limit this.
[0121] Optionally, when the vehicle's driving mode is the target driving mode, the first driving mode indicated by the second switch is obtained; if 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] For example, after the DCU switches the vehicle's driving mode to the target driving mode corresponding to the first operation, the switch controller can also obtain the driving mode currently indicated by the second switch (which can 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 confusion for the driver regarding the driving mode, the driving mode indicated by the second switch can be adjusted so that the driving mode indicated by the second switch is changed 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 four-wheel high-gear drive mode, and the first driving mode currently indicated by the second switch is two-wheel high-gear drive mode, then the driving mode indicated by the second switch can be adjusted from two-wheel high-gear drive mode to four-wheel high-gear drive mode.
[0124] In this embodiment, when the vehicle's driving mode is the target driving mode, if the driving mode indicated by the second switch is different from the target driving mode, it indicates that the first switch and the second switch indicate different driving modes, resulting in a problem of inconsistent driving mode indication. Therefore, 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. This ensures the consistency of the driving modes indicated by different types of switch components, further ensuring successful driving mode switching.
[0125] Optionally, the target indicator lights of the first switch and the second switch are obtained; wherein the target indicator lights are used to indicate the indicator lights corresponding to the target driving mode; and the target indicator lights are controlled to light up.
[0126] For example, 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 can be called 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 light in the first switch and the non-target indicator light in the second switch can be controlled to light up, while the non-target indicator light is turned off, so that when the driver checks the driving mode of the vehicle, he can understand the driving mode of the vehicle more clearly and accurately.
[0127] refer to Figure 3 When the vehicle's driving mode is switched to four-wheel high-gear drive mode, and both the soft switch and the hard switch indicate four-wheel high-gear drive mode, the four-wheel high-gear drive mode indicator in the soft switch will be turned on, while the other two-wheel high-gear drive mode, four-wheel automatic drive mode, and 4L indicator will be turned off.
[0128] Optionally, during the process of switching the vehicle's driving mode to the target driving mode, the target indicator light in the first switch may flash for a certain period of time (e.g., 1 second) until the target driving mode switching is completed, at which point the target indicator light corresponding to the first switch will remain constantly lit. For example, when the C signal is code 4, the four-wheel high-gear drive mode indicator light in the first switch may be illuminated.
[0129] The different C signals correspond to different target indicator lights for the first and second switches. For example, when the C signal is code 3, the indicator light for two-wheel high-gear drive mode is on, while the indicator lights for four-wheel high-gear drive mode, four-wheel automatic drive mode, and 4L mode are off. When the C signal is code 4, the indicator light for four-wheel high-gear drive mode is on, while the indicator lights for two-wheel high-gear drive mode, four-wheel automatic drive mode, and 4L mode are off. When the C signal is code 5, the 2A indicator light is on, while the indicator lights for two-wheel high-gear drive mode, four-wheel high-gear drive mode, and 4L mode are off. When the C signal is any of codes 1, 2, 6, 7, 8, or 9, it indicates that the signal for switching driving modes is invalid, meaning the vehicle does not switch driving modes. The current driving mode can be obtained, and the indicator light corresponding to the current driving mode will illuminate.
[0130] Assuming that when signal C is code 1, the vehicle's current driving mode is 4L, then the 4L indicator light will be on, while the other two-wheel high-gear drive mode, four-wheel high-gear drive mode, and four-wheel automatic drive mode indicator lights will be off.
[0131] Optionally, when the target driving mode of the vehicle malfunctions, i.e. the C signal changes to code 9, indicating that the vehicle cannot switch to the target driving mode, for the safety of vehicle use, 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 and second switches to flash through the switch controller, so that the driver is aware that the target driving mode to be switched to has malfunctioned and the vehicle can be repaired in time.
[0132] For example, if the vehicle's current driving mode is two-wheel high-gear drive mode, the target driving mode is four-wheel high-gear drive mode, and the four-wheel high-gear drive mode malfunctions, the DCU can control the vehicle's driving mode to maintain two-wheel high-gear drive mode, and control the two-wheel high-gear drive mode to flash in the soft switch and hard switch through the switch controller.
[0133] In this embodiment, when the indicator light corresponding to the target driving mode in the first switch and the second switch is detected, the indicator light can be controlled to illuminate. By controlling the illumination of the indicator light corresponding to the target driving mode in the first switch and the second switch, the illumination of the indicator lights in the first switch and the second switch can be kept consistent, thereby allowing the user to more clearly and accurately understand the current driving mode of the vehicle.
[0134] Figure 4 This is a flowchart illustrating another vehicle control method provided in an embodiment of this application. This method can be... Figure 1 The vehicle 110 in the vehicle 110 executes the command, or the DCU in the vehicle 110 executes the command.
[0135] For example, such as Figure 4 As shown, the method 400 includes S410-S430:
[0136] S410, in response to the first control signal corresponding to the first switch in the vehicle, controls the vehicle's driving mode to switch to the target driving mode.
[0137] The first control signal is sent by the switch controller in the vehicle in response to the first operation detected by the first switch; 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] For example, when the switch controller detects the driver's first operation on the first switch, it can respond to the first operation by sending 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 receives a second control signal when the vehicle's driving mode is the target driving mode.
[0140] The second control signal is sent by the switch controller when the event corresponding to the first control signal ends.
[0141] For example, when the vehicle's driving mode is switched to the target driving mode indicated by the first operation instruction via the DCU, the DCU can feed back the information that the driving mode switching is complete to the switch controller. When the switch controller receives the feedback information from the DCU, it can determine that the driving mode switching is complete, and then send a second control signal to the DCU so that the DCU can receive the second control signal.
[0142] S430, responding to the second control signal, responds to the target control signal upon 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] For example, when the DCU receives the second control signal, it can respond to the first control signal so that when it receives the target control signal corresponding to the second switch, it can respond to the target control signal.
[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 vehicle's driving mode to the driving mode corresponding to the first control signal (i.e., the target driving mode). When the vehicle's driving mode is the target driving mode, it can receive a signal indicating the end of the event corresponding to the first control signal sent by the switch controller when the vehicle's driving mode is switched to the target driving mode (i.e., a second control signal). Upon receiving the second control signal, the target controller interrupts its response to the control signal corresponding to the first switch, allowing it to respond to the control signal corresponding to the second switch, thereby switching the vehicle's driving mode from the driving mode corresponding to the first switch to the driving mode corresponding to the second switch. Compared to the prior art, where if the target controller responds to the control signal corresponding to the first switch first, it can only respond to the control signal corresponding to the first switch and cannot respond to the control signal corresponding to the second switch, leading to a failure in driving mode switching upon receiving the control signal corresponding to the second switch, this application ensures successful driving mode switching when switching the vehicle's driving mode.
[0146] It should be noted that, Figure 4 All steps are in Figure 2 and Figure 3 The corresponding embodiments are described in detail, and will not be repeated here.
[0147] It should be understood that the above examples are provided to help those skilled in the art understand the embodiments of this application, and are not intended to limit the embodiments of this application to the specific values or scenarios exemplified. Those skilled in the art can obviously make various equivalent modifications or variations based on the above examples, and such modifications or variations also fall within the scope of the embodiments of this application.
[0148] The above text combined Figures 1 to 4 The vehicle control method provided in the embodiments of this application has been described in detail; the following will be combined with Figure 5 and Figure 7 The apparatus embodiments of this application are described in detail below. It should be understood that the apparatus in the embodiments of this application can perform the various methods described in the foregoing embodiments of this application, that is, the specific working processes of the various products described below can be referred to the corresponding processes in the foregoing method embodiments.
[0149] Figure 5 This is a schematic diagram of the structure of a vehicle control device provided in an embodiment of this application.
[0150] For example, such as Figure 5 As shown, the device 500 is configured in a vehicle's switch controller and includes:
[0151] The 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 the target driving mode of the vehicle.
[0152] The sending module 520 is configured to send a first control signal to the target controller in the vehicle in response to the first operation; wherein the first control signal is used to indicate that the driving mode of the vehicle is switched to the target driving mode;
[0153] The processing module 530 is used to send a second control signal to the target controller when the vehicle's driving mode 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 the end of the event corresponding to the first control signal; the first switch and the second switch are different types of switch components in the vehicle.
[0154] In one possible implementation, the processing module 530 is further configured to: obtain the duration of sending the first control signal to the target controller; and send a second control signal to the target controller if the duration is greater than or equal to a preset duration.
[0155] In one possible implementation, the processing module 530 is further configured to: obtain the first driving mode indicated by the second switch; and, if 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.
[0156] In one possible implementation, the processing module 530 is further configured to: acquire the target indicator lights of the first switch and the second switch; wherein the target indicator lights are used to represent the indicator lights corresponding to the target driving mode; and control the target indicator lights to illuminate.
[0157] In one possible implementation, the sending module 520 is further configured to: obtain the continuous power-on duration of the hard switch; specifically, the sending module 520 is configured to: if the continuous power-on duration is greater than or equal to the set duration, respond to the first operation and send a first control signal to the target controller.
[0158] In one possible implementation, the sending module 520 is further configured to: obtain the current driving mode of the vehicle; the sending module 520 is further configured 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 This is a schematic diagram of another vehicle control device provided in an embodiment of this application.
[0160] For example, such as 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 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 the switch controller in the vehicle in response to the first operation detected by the first switch; the first operation is used to indicate the target driving mode; the first control signal is used to indicate switching the vehicle's driving mode to the target driving mode.
[0162] The receiving module 620 is used to receive a second control signal when the vehicle's driving mode 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. When a target control signal is received from the second switch in the vehicle, the first switch and the second switch are different types of switch components in the vehicle.
[0164] It should be noted that the aforementioned devices 500 and 600 are embodied in the form of functional modules. The term "module" here can be implemented in software and / or hardware, without specific limitations.
[0165] For example, a "module" can be a software program, hardware circuit, or a combination of both that implements the above functions. Hardware circuits may include application-specific integrated circuits (ASICs), electronic circuits, processors (e.g., shared processors, proprietary processors, or group processors) and memory for executing one or more software or firmware programs, integrated logic circuits, and / or other suitable components that support the described functions.
[0166] Therefore, the modules of the various examples described in the embodiments of this application can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0167] Figure 7 This is a schematic diagram of the vehicle structure provided in the embodiments of this application.
[0168] For example, such as Figure 7 As shown, the vehicle 700 includes a memory 710 and a processor 720, wherein the memory 710 stores 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] This application can divide the vehicle into functional modules based on the above method example. For example, each module can correspond to a separate function module, or two or more functions can be integrated into one processing module. The integrated module can be implemented in hardware. It should be noted that the module division in this embodiment is illustrative and only represents one logical functional division. In actual implementation, there may be other division methods.
[0170] When each functional module is divided according to its corresponding function, the vehicle may include: a detection module, a sending module, a processing module, a control module, a receiving module, and a response module. It should be noted that all relevant content regarding the steps involved in the above method embodiments can be referenced from the functional descriptions of the corresponding functional modules, and will not be repeated here.
[0171] The vehicle provided in this application is used to execute the vehicle control method described above, and thus can achieve the same effect as the above implementation method.
[0172] When using integrated units, the vehicle may include a processing module and a storage module. The processing module is used to control and manage the vehicle's movements. The storage module is used to support the vehicle in executing relevant program code and data.
[0173] The processing module may be a processor or a controller, which can implement or execute various exemplary logic blocks, modules, and circuits shown in conjunction with the disclosure of this application. The processor may also be a combination of functions that implement computing capabilities, such as a combination of one or more microprocessors, a combination of digital signal processing (DSP) and microprocessors, etc., and the storage module may be a memory.
[0174] This application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of any of the methods described in the foregoing embodiments. The computer-readable storage medium may include, but is not limited to, any type of disk, including floppy disks, optical disks, DVDs (Digital Video Discs), CD-ROMs (Compact Disc Read-Only Memory), microdrives, magneto-optical disks, ROMs (Read-Only Memory), RAMs (Random Access Memory), EPROMs (Erasable Programmable Read-Only Memory), EEPROMs (Electrically Erasable Programmable Read Only Memory), DRAMs (Dynamic Random Access Memory), VRAMs (Video Random Access Memory), flash memory devices, magnetic cards or optical cards, nanosystems (including molecular memory ICs), or any type of medium or device suitable for storing instructions and / or data.
[0175] This application also provides a computer program product that, when run on a computer, causes the computer to perform the aforementioned related steps to implement a vehicle control method as described in the above embodiments.
[0176] In addition, the vehicle provided in the embodiments of this application may specifically be a chip, component or module. The vehicle may include a connected processor and a memory. The memory is used to store instructions. When the vehicle is running, the processor may call and execute the instructions to make the chip execute a vehicle control method in the above embodiments.
[0177] 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 be referred to the beneficial effects of the corresponding methods provided above, and will not be repeated here.
[0178] Through the above description of the embodiments, those skilled in the art will understand that, for the sake of convenience and brevity, only the division of the above functional modules is used as an example. In actual applications, the above 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 this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another device, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between devices or units may be electrical, mechanical, or other forms.
[0180] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A vehicle control method, characterized in that, The method, applied to a switch controller in a vehicle, includes: A first operation on a first switch in the 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 instruct the vehicle's driving mode to be switched to the target driving mode; the target controller is a controller in the vehicle used to control the switching of the driving mode; When the vehicle's driving mode 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; The second control signal is used to indicate the end of the event corresponding to the first control signal; the first switch and the second switch are different types of switch components in the vehicle, and the first switch and the second switch have the same adjustment function for the driving mode.
2. The method according to claim 1, characterized in that, The method further includes: Obtain the duration for which the first control signal is sent to the target controller; Sending the second control signal to the target controller includes: If the duration is greater than or equal to a preset duration, the second control signal is sent to the target controller.
3. The method according to claim 1, characterized in that, When the vehicle's driving mode is the target driving mode, the method further includes: Obtain the first driving mode indicated by the second switch; If 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 includes: Obtain the target indicator lights of the first switch and the second switch; wherein, the target indicator lights are used to indicate the indicator lights corresponding to the target driving mode; Control the target indicator light to turn on.
5. The method according to any one of claims 1 to 4, characterized in that, When the first switch is a hard switch, the method further includes: Obtain the continuous power-on duration 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 duration is greater than or equal to the set duration, 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 includes: Obtain the current driving mode of the vehicle; Sending a first control signal to the target controller in the vehicle includes: If 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, A target controller applied in a vehicle, wherein the target controller is a controller in the vehicle used to control driving mode switching; the method includes: In response to a first control signal corresponding to a first switch in the vehicle, the vehicle's driving mode is switched to a target driving mode; wherein, the first control signal is sent by the switch controller in the vehicle in response to a first operation detected by the first switch; the first operation is used to indicate the target driving mode; the first control signal is used to indicate switching the vehicle's driving mode to the target driving mode; When the vehicle's driving mode is the target driving mode, a second control signal is received; 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 for the second switch in the vehicle, the system responds to the target control signal. The first switch and the second switch are different types of switch components in the vehicle, and the first switch and the second switch have the same adjustment function for the driving mode.
8. A vehicle control device, characterized in that, A switch controller configured in a vehicle, the device comprising: A detection module is 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. A sending module is configured to, in response to the first operation, send a first control signal to a target controller in the vehicle; wherein the first control signal is configured to instruct the vehicle's driving mode to be switched to the target driving mode; the target controller is a controller in the vehicle used to control the switching of the driving mode; The processing module is configured to send a second control signal to the target controller when the vehicle's driving mode 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 the end of the event corresponding to the first control signal; the first switch and the second switch are different types of switch components in the vehicle, and the first switch and the second switch have the same adjustment function for the driving mode.
9. A vehicle control device, characterized in that, A target controller configured in a vehicle, the target controller being a controller in the vehicle used to control driving mode switching; the device includes: A control module is 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 the switch controller in the vehicle in response to a first operation detected by the first switch; the first operation is used to indicate the target driving mode; and the first control signal is used to indicate switching the vehicle's driving mode to the target driving mode. A receiving module is configured to receive a second control signal when the vehicle's driving mode 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 is configured to respond to the second control signal, and to respond to the target control signal upon receiving a target control signal from the second switch in the vehicle; The first switch and the second switch are different types of switch components in the vehicle, and the first switch and the second switch have the same adjustment function for the driving mode.
10. A vehicle, characterized in that, The vehicles include: Memory, used to store executable program code; A processor for calling and running the executable program code from the memory, causing the vehicle to perform the method as described 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