Vehicle control method and device, vehicle and storage medium
By synchronizing and delaying the configuration when the first switch is enabled, the coordination problem of the four-wheel drive system control switches is solved, ensuring mode consistency and improving driving stability and safety.
Patent Information
- Application Number
- CN202510770072.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-10
- Publication Date
- 2025-09-09
AI Technical Summary
The coordinated control of the various control switches of the four-wheel drive system can easily cause the working mode switching to be inconsistent with the user's intention, affecting driving smoothness and safety.
When the user activates the first switch, the first switch is first synchronized according to the working mode selected by the second switch, and then configured after a preset delay to ensure that the two modes are consistent and avoid forced switching.
It improves the stability and safety of the four-wheel drive system, ensures control coordination, and enhances the driving experience.
Smart Images

Figure CN120606766A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicle control technology, and in particular to a vehicle control method, device, vehicle, and storage medium. Background Art
[0002] With the rapid development of intelligent automotive technology, the management methods for four-wheel drive system operating modes are becoming increasingly diverse. These are no longer limited to a single control switch, but can be integrated into multiple interactive channels such as multi-function steering wheel buttons, central control screen touch interface, voice control system, and even intelligent driving mode linkage, providing users with diverse choices and operational convenience. However, this diversity of control access points may lead to potential coordination issues in actual use scenarios: if the commands issued by different control switches lack conflict resolution mechanisms, the system can easily misjudge the user's intentions, causing the four-wheel drive system operating mode switching to be inconsistent with actual driving needs, thereby affecting driving smoothness and safety, and reducing the user experience. Summary of the Invention
[0003] In view of the above problems, the present application provides a vehicle control method, device, vehicle, and storage medium that overcome the above problems or at least partially solve the above problems. The technical solutions are as follows: A vehicle control method is applied to a vehicle, wherein the vehicle is equipped with a four-wheel drive system and a first switch and a second switch of the four-wheel drive system, the method comprising: In response to an activation operation instruction of the first switch, synchronizing the operating mode of the four-wheel drive system selected by the first switch according to the operating mode of the four-wheel drive system selected by the user through the second switch; After synchronizing the first switch, the four-wheel drive system is configured based on the operating mode selected by the first switch.
[0004] Optionally, the first switch is configured with a first signal and a second signal; the first signal is used to indicate the operating mode of the four-wheel drive system selected by the user through the first switch; after the synchronization of the first switch is completed, the four-wheel drive system is configured based on the operating mode selected by the first switch, including: after the synchronization of the first switch is completed, if it is determined through the second signal that the first switch is enabled, the four-wheel drive system is configured according to the first signal.
[0005] Optionally, in response to the activation operation instruction of the first switch, the working mode of the four-wheel drive system selected by the first switch is synchronized according to the working mode of the four-wheel drive system selected by the user through the second switch, including: in response to the activation operation instruction of the first switch, the second signal is updated to indicate that the first switch is activated after a preset delay, and within the preset delay time, the first signal is synchronized according to the working mode of the four-wheel drive system selected by the user through the second switch.
[0006] Optionally, in response to the enabling operation instruction of the first switch, the working mode of the four-wheel drive system selected by the first switch is synchronized according to the working mode of the four-wheel drive system selected by the user through the second switch, including: in response to the enabling operation instruction of the first switch, activating the second signal after a preset delay, and synchronizing the first signal according to the working mode of the four-wheel drive system selected by the user through the second switch within the preset delay time.
[0007] Optionally, before synchronizing the first signal, the operating mode indicated by the first signal is the operating mode selected by the user before turning off the first switch last time.
[0008] Optionally, the second switch is configured with a third signal, and the third signal is used to indicate the working mode of the four-wheel drive system selected by the user through the second switch; after the synchronization of the first switch is completed, after the four-wheel drive system is configured based on the working mode selected by the first switch, the method also includes: if the third signal instructs the user to reselect the working mode through the second switch, the first signal is synchronized according to the third signal, and the four-wheel drive system is configured according to the third signal.
[0009] Optionally, the vehicle is configured with an expert mode and a corresponding fourth signal, the fourth signal being used to indicate whether the vehicle is in expert mode; the enabling operation instruction in response to the first switch refers to updating in response to the fourth signal from indicating that the vehicle is not in expert mode to indicating that the vehicle is in expert mode.
[0010] A vehicle control device is applied to a vehicle, wherein the vehicle is equipped with a four-wheel drive system and a first switch and a second switch of the four-wheel drive system, the device comprising: a mode synchronization module, configured to synchronize the operating mode of the four-wheel drive system selected by the first switch according to the operating mode of the four-wheel drive system selected by the user through the second switch in response to an activation operation instruction of the first switch; A mode configuration module is used to configure the four-wheel drive system based on the working mode selected by the first switch after the synchronization of the first switch is completed.
[0011] A vehicle comprises: a processor; and a memory arranged to store computer-executable instructions, wherein when the computer-executable instructions are executed, the processor is caused to perform the vehicle control method.
[0012] A computer-readable storage medium stores a computer program, and when the computer program is executed, the vehicle control method is implemented.
[0013] The embodiments of the present application are applicable to vehicles equipped with both a second switch and a first switch for the four-wheel drive system. When the user activates the first switch, the function of the first switch is not immediately executed. Instead, the operating mode selected by the first switch is synchronized with the four-wheel drive operating mode selected by the user via the second switch (i.e., the operating mode currently configured for the four-wheel drive system). Once synchronization is complete, the four-wheel drive system is configured according to the operating mode selected by the first switch. This mechanism effectively avoids the problem of forcing the four-wheel drive system to switch operating modes if the operating modes selected by the first and second switches are inconsistent when the first switch is activated, thereby ensuring coordinated control of the second and first switches and improving the stability and safety of the vehicle system.
[0014] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments recorded in the embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0016] Figure 1 This is a schematic diagram of the main process of the vehicle control method according to an embodiment of the present application.
[0017] Figure 2 This is a flow chart of the vehicle control method according to an embodiment of the present application corresponding to the first application scenario.
[0018] Figure 3 This is a flow chart of the vehicle control method according to an embodiment of the present application corresponding to the second application scenario.
[0019] Figure 4 This is a schematic structural diagram of a vehicle control device according to an embodiment of the present application.
[0020] Figure 5 This is a schematic structural diagram of a vehicle according to an embodiment of the present application. DETAILED DESCRIPTION
[0021] In order to enable those skilled in the art to better understand the technical solutions in this specification, the technical solutions in the embodiments of this application will be clearly and completely described below in conjunction with the drawings in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this specification, not all of the embodiments. Based on the embodiments in this specification, all other embodiments obtained by ordinary technicians in this field without making creative efforts should fall within the scope of protection of this specification.
[0022] Modern vehicles' four-wheel drive systems offer a variety of operating modes to suit driving needs in different road conditions: 1) Two-wheel drive high-speed mode (2H): This mode uses two-wheel drive (usually rear-wheel drive) and is suitable for use on well-paved, dry urban roads or highways. It significantly improves fuel economy by reducing power loss. 2) Four-wheel drive high-speed mode (4H): Activates four-wheel drive for low-adhesion surfaces (such as wet, snowy, muddy, or sandy surfaces), enhancing traction and driving stability by evenly distributing torque. 3) Automatic four-wheel drive mode (4A): Based on the real-time perception of road conditions by the electronic control unit, the system dynamically adjusts the power distribution between the front and rear wheels, taking into account both the passability in complex road conditions and the smoothness of daily driving.
[0023] Some vehicles currently on the market are equipped with multiple control switches for their four-wheel drive systems to facilitate user switching between these operating modes. However, in actual use scenarios, the control of these switches may cause coordination issues, resulting in the four-wheel drive system operating mode switching not matching the user's actual intention, thus affecting the driving experience.
[0024] Here, we take hard switches and soft switches as examples. A hard switch is a physical switch that is usually set in the auxiliary instrument area of the vehicle. The user can operate it immediately by directly pressing or toggling it; while a soft switch is integrated into the software interface of the large screen on the vehicle. The user needs to switch the working mode through the touch menu or issue a voice command. The current coordination problem between soft switches and hard switches is as follows: before the vehicle is in expert mode, the four-wheel drive system will operate according to the working mode configured by the hard switch; but after entering expert mode, if the working mode of the soft switch is inconsistent with the working mode of the hard switch when exiting expert mode last time, the four-wheel drive system will automatically switch to the working mode of the soft switch. This automatic switching may cause the four-wheel drive system working mode that the user does not want to change to be changed, thereby causing discomfort in the user experience.
[0025] To solve the problem of uncoordinated switch control in a four-wheel drive system, this application proposes a vehicle control solution, including a vehicle control method, a device, a vehicle, and a storage medium. The following describes each embodiment in detail.
[0026] Specifically, an embodiment of the present application provides a vehicle control method. Figure 1 1 is a flow chart of the vehicle control method, including: S101 , in response to an activation operation instruction of a first switch, synchronizing an operating mode of the four-wheel drive system selected by a user through a second switch according to the operating mode of the four-wheel drive system selected by a user through the first switch.
[0027] In this embodiment, the second switch is activated before the first switch. That is, the four-wheel drive system's current operating mode is the operating mode selected by the second switch. Accordingly, after receiving the activation instruction from the first switch, if the operating mode selected by the first switch differs from the operating mode selected by the second switch, a coordinated control issue arises. To address this, the four-wheel drive system's operating mode selected by the first switch must be synchronized with the operating mode selected by the second switch. In other words, the first switch, which was activated later, must synchronize its operating mode with the second switch, which was activated earlier.
[0028] It should be noted that the first switch and the second switch can be hard switches or soft switches, which are not specifically limited in this embodiment. The following example takes the first switch as a soft switch and the second switch as a hard switch as an example.
[0029] In this embodiment, the user can activate the first switch of the four-wheel drive system through the vehicle-computer interaction interface.
[0030] As an example, some existing vehicles feature an Expert mode (a driving mode) that allows users to customize certain driving functions, including the selection of the four-wheel drive system operating mode, as well as other configurations such as steering sensitivity, suspension stiffness, and the electronic stability control system switch. For this embodiment, when the user sets the driving mode to Expert mode, the first switch of the four-wheel drive system is considered to be activated, and the operating mode selected by the first switch is the operating mode set in Expert mode.
[0031] Under traditional vehicle control logic, the four-wheel drive system is configured according to the pre-set operating mode in expert mode. However, in actual use, after expert mode is activated, the operating mode selected when the user last exits is retained. If the operating mode retained by expert mode is inconsistent with the operating mode actually configured for the four-wheel drive system (i.e., the operating mode selected by the second switch), the four-wheel drive system will automatically switch from the currently configured operating mode to the operating mode retained by expert mode. Obviously, this automatic switching may not meet user expectations. Therefore, this embodiment requires that after receiving the activation operation instruction of the first switch, the first switch function is temporarily suspended to synchronize the operating mode selected by the first switch with the four-wheel drive system operating mode selected by the user via the second switch.
[0032] Specifically, this embodiment configures the first switch with a first signal and a second signal: the first signal indicates the operating mode of the four-wheel drive system selected by the user via the first switch; the second signal indicates whether the first switch is enabled. Typically, when the second signal indicates that the first switch is enabled, this embodiment configures the four-wheel drive system according to the operating mode indicated by the first signal.
[0033] However, when the vehicle is just in expert mode (i.e., in response to the activation operation instruction of the first switch), this embodiment updates the second signal to indicate that the first switch has been activated after a preset delay, so as to synchronize the first signal according to the operating mode of the four-wheel drive system selected by the user through the second switch within the preset delay period.
[0034] Alternatively, when the vehicle is just in expert mode, the second signal is activated after a preset delay (i.e., the second signal is ignored) so that the first signal is synchronized within the preset delay time according to the operating mode of the four-wheel drive system selected by the user through the second switch.
[0035] It should be understood that, during the preset delay period, whether the second signal is not updated or directly ignored, the second signal cannot be used to confirm that the first switch is enabled. Therefore, before the synchronization of the first signal is completed, this embodiment does not actually configure the four-wheel drive system according to the operating mode indicated by the first signal.
[0036] After the preset delay period, since the first signal has been synchronized with the working mode of the second switch, the four-wheel drive system will not initiate automatic switching after confirming that the working mode indicated by the first signal is consistent with the current actual configured working mode. This can avoid dissatisfaction caused by the system switching behavior not meeting user expectations.
[0037] The principle for setting the preset duration in this embodiment is to ensure that the first signal can complete synchronization with the current working mode of the second switch within the delay period. Specifically, the value of the preset duration needs to comprehensively consider the following factors: Signal transmission and processing time: includes the time required to read the second switch signal and update the first signal.
[0038] System response speed: The duration should not be too long (e.g. more than 3 seconds) to avoid update delays in the working mode displayed on the vehicle-machine interaction interface, which may affect the user experience.
[0039] Taking the above factors into consideration, it is appropriate to set the preset duration within the range of 1 to 3 seconds.
[0040] S102 : After the first switch is synchronized, the four-wheel drive system is configured based on the working mode selected by the first switch.
[0041] It should be understood that the working mode indicated after synchronization is completed is the working mode actually configured for the four-wheel drive system, which means that the four-wheel drive system will not automatically switch the working mode until the user reselects the working mode through soft switching.
[0042] Furthermore, in this embodiment, even after the first switch is activated, coordinated control of the first and second switches must be maintained. For example, if the user reselects an operating mode using the second switch while the first switch is activated, the four-wheel drive system should be configured according to the operating mode selected by the second switch, and the first signal should be synchronized to ensure that there is no operating mode conflict between the first and second switches during subsequent user operations.
[0043] In a specific implementation, this embodiment can configure a third signal for the second switch to indicate the operating mode of the four-wheel drive system selected by the user through the second switch. After the first switch is activated, if the third signal instructs the user to reselect the operating mode, the first signal is synchronized according to the third signal, and the four-wheel drive system is actually configured according to the third signal.
[0044] As a feasible implementation, the third signal of this embodiment can employ a pulsed encoding mechanism. Specifically, in the default state, a meaningless code value is continuously transmitted. When the user operates the second switch to reselect the target operating mode, the third signal continuously transmits the code value of the target operating mode for a specified number of frames (e.g., 3 frames, 5 frames, etc.), and then returns to the default state. The advantage of this encoding mechanism is that the code values are only analyzed when the third signal continuously outputs the specified number of frames. In the normal case, if the third signal outputs a meaningless code value, its meaning can be ignored, thereby simplifying the processing logic.
[0045] In summary, the method of this embodiment is applicable to vehicles equipped with both a second and first switch for the four-wheel drive system. When the user activates the first switch, the first switch's function is not immediately executed. Instead, the operating mode selected by the user via the second switch (i.e., the current operating mode of the four-wheel drive system) is synchronized with the operating mode selected by the user via the second switch. Specifically, when the vehicle is in expert mode (i.e., the first switch is activated), the system suspends the first switch's function for a preset duration, during which time the first signal of the first switch is forced to align with the current mode of the second switch. This delay mechanism ensures that the initial state of the first switch is synchronized with the actual operating mode of the four-wheel drive system, preventing unintended forced switching of the four-wheel drive system due to mode conflicts. Only after synchronization is complete does the first switch take effect and adjust the four-wheel drive system's operating mode based on subsequent user operations. Furthermore, if the user reselects the operating mode via the second switch after the first switch is activated, the system prioritizes the second switch's command and synchronizes the first signal of the first switch in real time to ensure consistency in the control logic between the two. This method of this embodiment not only resolves the issue of soft / second switch coordination conflicts but also balances system response speed and stability through a reasonable delay strategy, significantly improving driving safety and user experience.
[0046] The specific application scenarios of the method of this embodiment are introduced in detail below.
[0047] Application Scenario 1 In this application scenario, the first switch is a soft switch and the second switch is a hard switch. When the user selects the vehicle's driving mode as Expert mode, the soft switch function is activated after a delay of 2 seconds. The four-wheel drive system operating mode selected by the user through the hard switch is synchronized with the four-wheel drive system operating mode selected by the soft switch.
[0048] For the above scenario, the vehicle information designed in this embodiment is as follows: 1) Definition of the first signal: Continuously indicates in real time the operating mode selected by the user through the soft switch.
[0049] Sender: Vehicle host software.
[0050] Receiver: Four-wheel drive system.
[0051] Signal control logic: Only when it is recognized through the second signal that the soft switch has been enabled, the four-wheel drive system is actually configured according to the working mode indicated by the first signal.
[0052] 2) Second signal Definition: Activated by the soft switch enable event (vehicle in expert mode), continuously indicates in real time whether the soft switch is enabled.
[0053] Sender: Vehicle host software.
[0054] Receiver: Four-wheel drive system.
[0055] Signal control logic: After the vehicle is in expert mode, the second signal is updated with a delay of 2 seconds. That is, during the 2-second period, the second signal is controlled to still indicate that the soft switch is not enabled. After the 2 seconds are up, the second signal is controlled to indicate that the soft switch is enabled.
[0056] 3) The third signal Definition: When the user does not operate the hard switch, the device continuously sends meaningless code values. When the user reselects the target operating mode through the hard switch, the device continuously sends the code values of the target operating mode for at least 3 frames, and then resumes sending meaningless code values. Sender: Hard switch.
[0057] Recipient: Four-wheel drive system and vehicle host software.
[0058] Signal control logic: When the third signal sends a coding value of a target operating mode with actual meaning, the four-wheel drive system is actually configured according to the target operating mode, and the first signal is synchronized according to the target operating mode.
[0059] 4) The fourth signal Definition: Indicates whether the vehicle is in expert mode Sender: Electronic Stability Program (ESP).
[0060] Recipient: Vehicle host software.
[0061] Signal control logic: after the fourth signal is updated from indicating that the vehicle is not in the expert mode to indicating that the vehicle is in the expert mode, determine that an enabling operation instruction of the soft switch is triggered, and activate the second signal.
[0062] Based on the above signal configuration, when the user enables the soft switch, refer to Figure 2 As shown, the execution process of the four-wheel drive system is as follows: S201, after the soft switch is enabled, a delay of 2 seconds is made to update the second signal from originally indicating that the soft switch is not enabled to indicating that the soft switch is enabled.
[0063] It should be understood that within the 2-second delay, the first signal is not yet effective and the four-wheel drive system is still configured according to the working mode currently selected by the hard switch.
[0064] S202 : During a delay of 2 seconds, synchronize the first signal according to the working mode selected by the user through the hard switch.
[0065] It should be noted that the synchronization process does not change the current actual configuration of the four-wheel drive system working mode (still controlled by the hard switch), but only adjusts the output of the first signal of the soft switch.
[0066] S203 , after a delay of 2 seconds, updating the second signal to indicate that the soft switch is enabled, so as to actually configure the operating mode of the four-wheel drive system according to the synchronized first signal.
[0067] Here, we take the example of the vehicle being in expert mode, with the hard switch in 4H mode and the soft switch in 2H mode. The corresponding collaborative control process is as follows: Before the user controls the vehicle to be in expert mode, the on-board host software sends a second signal to the four-wheel drive system to indicate that the soft switch is not enabled, and a first signal to indicate 2H mode; at this time, the four-wheel drive system determines that the first signal is invalid when the second signal indicates that the soft switch is not enabled.
[0068] After the user controls the vehicle to enter Expert mode, the electronic stability program sends a fourth signal to the vehicle host software, indicating that the vehicle is in Expert mode. After confirming that the vehicle is in Expert mode through the fourth signal, the vehicle host software continues to send the second signal to the four-wheel drive system for the next two seconds, indicating that the soft switch is not enabled. However, the first signal sent to the four-wheel drive system is updated from the original 2H mode to the 4H mode, to match the current 4H mode of the hard switch.
[0069] After the 2-second delay, the vehicle's host software will send a second signal to the 4WD system, updating the original indication of the soft switch being inactive to indicate that the soft switch is active. If the second signal indicates that the soft switch is active, the 4WD system will determine that the first signal is active and will configure itself according to the 4H mode indicated by the first signal. It should be noted that the 4WD system is currently configured in 4H mode and will not actually switch operating modes under the control of the first signal.
[0070] If the user subsequently reselects 4A mode by operating the soft switch, the hard switch is controlled to send three consecutive frames of 4A mode code values to the 4WD system and the vehicle host software via a third signal, and then reverts to sending meaningless code values. The 4WD system, based on these three frames of 4A mode code values, changes its operating mode from 4H mode to 4A mode. The vehicle host software, based on these three frames of 4A mode code values, updates the first signal sent to the 4WD system from indicating 4H mode to indicating 4A mode.
[0071] In summary, this application scenario implements system control of hard switching and soft switching, specifically: When the vehicle is just in expert mode: the second signal of the soft switch is delayed for 2 seconds and updated to indicate that the soft switch is enabled, so as to force the first signal of the soft switch to synchronize with the current working mode of the hard switch during the delay period, so that after the second signal is updated to indicate that the soft switch is enabled, the working mode indicated by the first signal is ensured to be the working mode currently actually configured by the four-wheel drive system, thereby preventing the four-wheel drive system from performing the actual working mode switching operation.
[0072] After the vehicle is in expert mode: the hard switch still retains control of the four-wheel drive system. If the user reselects the working mode through the hard switch, the working mode reselected by the hard switch will be used as the highest priority to actually configure the four-wheel drive system, and at the same time overwrite the working mode of the soft switch (the first signal is re-selected) to ensure that the soft switch and hard switch remain synchronized.
[0073] Application Scenario 2 In this application scenario, the first switch is a soft switch and the second switch is a hard switch. When the user selects the vehicle's driving mode as Expert mode, the soft switch function is activated after a delay of 3 seconds. The four-wheel drive system operating mode selected by the user through the hard switch is synchronized with the four-wheel drive system operating mode selected by the soft switch.
[0074] For the above scenario, the vehicle information designed in this embodiment is as follows: 1) First signal Definition: Continuously indicates in real time the operating mode selected by the user via the soft switch.
[0075] Sender: Vehicle host software.
[0076] Receiver: Four-wheel drive system.
[0077] Signal control logic: Only when it is recognized through the second signal that the soft switch has been enabled, the four-wheel drive system is actually configured according to the working mode indicated by the first signal.
[0078] 2) Second signal Definition: Activated by the soft switch enable event (vehicle in expert mode), continuously indicates in real time whether the soft switch is enabled.
[0079] Sender: Vehicle host software.
[0080] Receiver: Four-wheel drive system.
[0081] Signal control logic: When the vehicle is in expert mode, the second signal is activated with a delay of two seconds.
[0082] 3) The third signal Definition: When the user does not operate the hard switch, the device continuously sends meaningless code values. When the user reselects the target operating mode through the hard switch, the device continuously sends the code values of the target operating mode for at least 3 frames, and then resumes sending meaningless code values. Sender: Hard switch.
[0083] Recipient: Four-wheel drive system and vehicle host software.
[0084] Signal control logic: When the third signal sends a coding value of a target operating mode with actual meaning, the four-wheel drive system is actually configured according to the target operating mode, and the first signal is synchronized according to the target operating mode.
[0085] 4) The fourth signal Definition: Indicates whether the vehicle is in expert mode Sender: Electronic Stability Program (ESP).
[0086] Recipient: Vehicle host software.
[0087] Signal control logic: after the fourth signal is updated from indicating that the vehicle is not in the expert mode to indicating that the vehicle is in the expert mode, determine that an enabling operation instruction of the soft switch is triggered, and activate the second signal.
[0088] Based on the above signal configuration, when the user enables the soft switch, refer to Figure 3 As shown, the execution process of the four-wheel drive system is as follows: S301, after the soft switch is enabled, activate the second signal within a delay of 3 seconds.
[0089] It should be understood that within the 3 seconds of delayed activation of the second signal, even if the second signal is updated to indicate that the soft switch is enabled, the first signal will not be enabled, and the four-wheel drive system will still be configured according to the operating mode currently selected by the hard switch.
[0090] S302 : During a delay of 3 seconds, synchronize the first signal according to the working mode selected by the user through the hard switch.
[0091] It should be noted that the synchronization process does not change the current actual configuration of the four-wheel drive system working mode (still controlled by the hard switch), but only adjusts the output of the first signal of the soft switch.
[0092] S203 , after a delay of 3 seconds, activating the second signal to actually configure the working mode of the four-wheel drive system according to the synchronized first signal.
[0093] Here, we take the example of the vehicle being in expert mode, the hard switch currently in 4H mode, and the soft switch currently in 2H mode. The corresponding coordinated control process is as follows: Before the user controls the vehicle in expert mode, the on-board host software sends a second inactive signal and a first signal indicating 2H mode to the four-wheel drive system; at this time, the four-wheel drive system determines that the first signal is invalid when the second signal is in an inactive state.
[0094] After the user controls the vehicle to enter Expert mode, the electronic stability program sends a fourth signal to the vehicle host software, indicating that the vehicle is in Expert mode. After confirming that the vehicle is in Expert mode through the fourth signal, the vehicle host software continues to send the second signal for the inactive state to the four-wheel drive system for the next three seconds, but changes the first signal sent to the four-wheel drive system from the original 2H mode indication to the 4H mode indication to match the current 4H mode of the hard switch.
[0095] After the 3-second delay, the vehicle's host software will send a second signal to the four-wheel drive system, changing its inactive state to an active state. With the second signal active, the four-wheel drive system will determine that the first signal is in effect and will configure itself according to the 4H mode indicated by the first signal. It's important to note that the four-wheel drive system is already configured in 4H mode at this point and will not actually switch operating modes under the control of the first signal.
[0096] If the user subsequently reselects 4A mode by operating the soft switch, the control hard switch sends three consecutive frames of 4A mode code values to the four-wheel drive system and the vehicle host software via a third signal, and then reverts to sending meaningless code values. On the one hand, the four-wheel drive system configures the operating mode from 4H mode to 4A mode based on these three frames of 4A mode code values; on the other hand, the vehicle host software changes the first signal sent to the four-wheel drive system from the original 4H mode to the 4A mode based on these three frames of 4A mode code values.
[0097] In summary, this application scenario implements system control of hard switching and soft switching, specifically: When the vehicle is just in expert mode: the second signal of the soft switch is controlled to be activated with a delay of 3 seconds, so as to force the first signal of the soft switch to synchronize with the current working mode of the hard switch during the delay period, so that after the second signal is activated, the working mode indicated by the first signal is ensured to be the working mode currently actually configured by the four-wheel drive system, thereby preventing the four-wheel drive system from performing the actual working mode switching operation.
[0098] After the vehicle enters expert mode: the hard switch still retains control of the four-wheel drive system. If the user reselects the operating mode through the hard switch, the operating mode reselected by the hard switch will be given the highest priority and the four-wheel drive system will be actually configured. At the same time, the operating mode of the soft switch (the first signal) will be overwritten to ensure that the soft switch and hard switch remain synchronized.
[0099] In addition, corresponding to Figure 1 In addition to the method shown in FIG. 1 , another embodiment of the present application further provides a vehicle control device applied to a vehicle, wherein the vehicle is equipped with a four-wheel drive system and a first switch and a second switch of the four-wheel drive system. Figure 3 3 is a schematic structural diagram of the vehicle control device 300, comprising: The delayed activation module 310 is configured to synchronize the operating mode of the four-wheel drive system selected by the first switch according to the operating mode of the four-wheel drive system selected by the user through the second switch in response to the activation operation instruction of the first switch.
[0100] The mode synchronization module 320 is configured to configure the four-wheel drive system based on the working mode selected by the first switch after synchronization of the first switch is completed.
[0101] This embodiment of the device is suitable for vehicles equipped with both a second and first switch for the four-wheel drive system. When the user activates the first switch, the first switch's function is not immediately executed. Instead, the operating mode selected by the user via the second switch (i.e., the current operating mode of the four-wheel drive system) is synchronized with the operating mode selected by the first switch. Once synchronization is complete, the four-wheel drive system is configured according to the operating mode selected by the first switch. This mechanism effectively prevents the four-wheel drive system from being forced to switch operating modes if the operating modes selected by the first and second switches are inconsistent when the first switch is activated. This ensures coordinated control of the second and first switches, improving the stability and safety of the vehicle system.
[0102] Optionally, the first switch is configured with a first signal and a second signal; the first signal is used to indicate the working mode of the four-wheel drive system selected by the user through the first switch; the second signal is used to indicate whether the first switch is enabled; after the mode synchronization module 320 completes the synchronization of the first switch, the four-wheel drive system is configured based on the working mode selected by the first switch, including: after the synchronization of the first switch is completed, if it is determined through the second signal that the first switch is enabled, the four-wheel drive system is configured according to the first signal.
[0103] Optionally, the delayed activation module 310 responds to the activation operation instruction of the first switch and synchronizes the working mode of the four-wheel drive system selected by the first switch according to the working mode of the four-wheel drive system selected by the user through the second switch, including: responding to the activation operation instruction of the first switch, updating the second signal to indicate that the first switch is enabled after a preset delay, and synchronizing the first signal according to the working mode of the four-wheel drive system selected by the user through the second switch within the preset delay time.
[0104] Optionally, the delayed activation module 310 responds to the enabling operation instruction of the first switch and synchronizes the working mode of the four-wheel drive system selected by the first switch according to the working mode of the four-wheel drive system selected by the user through the second switch, including: responding to the enabling operation instruction of the first switch, activating the second signal after a preset delay, and synchronizing the first signal within the preset delay time according to the working mode of the four-wheel drive system selected by the user through the second switch.
[0105] It should be understood that, during the preset delay period, whether the second signal is not updated or directly ignored, the second signal cannot be used to confirm that the first switch is enabled. Therefore, before the synchronization of the first signal is completed, this embodiment will not actually configure the four-wheel drive system according to the operating mode indicated by the first signal. After the preset delay period expires, because the first signal has synchronized with the operating mode of the second switch, the four-wheel drive system will not initiate an automatic switch after confirming that the operating mode indicated by the first signal is consistent with the currently configured operating mode. This can avoid dissatisfaction caused by the system switching behavior not meeting user expectations.
[0106] Optionally, before synchronizing the first signal, the operating mode indicated by the first signal is the operating mode selected by the user before turning off the first switch last time.
[0107] Optionally, the second switch is configured with a third signal, and the third signal is used to indicate the working mode of the four-wheel drive system selected by the user through the second switch; after the mode synchronization module 320 completes the synchronization of the first switch and configures the four-wheel drive system based on the working mode selected by the first switch, it is also used to: if the third signal instructs the user to reselect the working mode through the second switch, then the first signal is synchronized according to the third signal and the four-wheel drive system is configured according to the third signal.
[0108] Optionally, the vehicle is configured with an expert mode and a corresponding fourth signal, the fourth signal being used to indicate whether the vehicle is in expert mode; the enabling operation instruction in response to the first switch refers to updating in response to the fourth signal from indicating that the vehicle is not in expert mode to indicating that the vehicle is in expert mode.
[0109] Optionally, the preset time is 1 to 3 seconds.
[0110] It should be noted that, regarding the vehicle control device in the above embodiment, the specific manner in which each model performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0111] In addition, another embodiment of the present application provides a vehicle. Figure 4 4 is a schematic diagram of the structure of the vehicle, including a memory 401 and a processor 402. The memory 401 stores an executable program code 411. The processor 402 is configured to call and execute the executable program code 4011 to perform the vehicle control method provided in the above embodiment, which specifically includes the following steps: In response to the activation operation instruction of the first switch, the operating mode of the four-wheel drive system selected by the first switch is synchronized according to the operating mode of the four-wheel drive system selected by the user through the second switch.
[0112] After synchronizing the first switch, the four-wheel drive system is configured based on the operating mode selected by the first switch.
[0113] In this embodiment, when the user activates the first switch, the vehicle does not immediately execute the first switch's function. Instead, the vehicle first synchronizes the operating mode selected by the user using the second switch (i.e., the four-wheel drive system's currently configured operating mode) with the four-wheel drive operating mode selected by the user. Once synchronization is complete, the four-wheel drive system is configured according to the operating mode selected by the first switch. This mechanism effectively prevents the four-wheel drive system from forcing a mode switch if the operating modes selected by the first and second switches are inconsistent upon activation. This ensures coordinated control of the second and first switches, improving vehicle system stability and safety.
[0114] This embodiment can divide the vehicle into functional modules based on the above-described method example. For example, each functional module can be mapped to a specific function, or two or more functions can be integrated into a single processing module. The integrated module can be implemented in hardware. It should be noted that the module division in this embodiment is illustrative and represents only one logical functional division. In actual implementation, other division methods may be used.
[0115] In the case of dividing each functional module into corresponding functional modules, the vehicle may include: a delayed activation module and a mode synchronization module. 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.
[0116] 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 vehicle's movements, while the storage module may be used to support the vehicle's execution of program codes and data.
[0117] The processing module may be a processor or controller that implements or executes the various exemplary logic blocks, modules, and circuits disclosed herein. The processor may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a digital signal processing (DSP) and a microprocessor, and the storage module may be a memory.
[0118] In addition, another embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer program code. When the computer program code is executed on a computer, the computer executes the above-mentioned related method steps to implement a vehicle control method provided in the above-mentioned embodiment, which specifically includes the following steps: In response to the activation operation instruction of the first switch, the operating mode of the four-wheel drive system selected by the first switch is synchronized according to the operating mode of the four-wheel drive system selected by the user through the second switch.
[0119] After synchronizing the first switch, the four-wheel drive system is configured based on the operating mode selected by the first switch.
[0120] The storage medium of this embodiment is suitable for vehicles equipped with both a second switch and a first switch for the four-wheel drive system. When the user activates the first switch, the first switch's function is not immediately executed. Instead, the operating mode selected by the user via the second switch (i.e., the current operating mode of the four-wheel drive system) is synchronized with the operating mode selected by the first switch. Once synchronization is complete, the four-wheel drive system is configured according to the operating mode selected by the first switch. This mechanism effectively avoids the problem of forcing the four-wheel drive system to switch operating modes if the operating modes selected by the first and second switches are inconsistent when the first switch is activated. This ensures coordinated control of the second and first switches, improving the stability and safety of the vehicle system.
[0121] 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 distributed and completed by 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.
[0122] In the embodiments provided in this 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 merely schematic. For example, the division of modules or units is only a logical function division. In actual implementation, there may be other division methods, 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.
[0123] In the description of this application, it should be understood that if the terms "up", "down", "front", "back", "left" and "right" are used to indicate directions or positional relationships, they are based on the directions or positional relationships shown in the accompanying drawings. They are only used to facilitate the description of the present invention and simplify the description, and do not indicate or imply that the positions or elements referred to must have a specific direction, be constructed and operate in a specific direction. Therefore, they should not be understood as limitations of this application.
[0124] It should be noted that, in this document, relational terms such as first and second, etc., are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. It should also be noted that the terms "comprises," "comprising," or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity, or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, commodity, or device. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of other identical elements in the process, method, commodity, or device comprising the element.
[0125] The above are merely embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present application should all be included within the scope of the claims of the present application.
Claims
1. A vehicle control method, applied to a vehicle, wherein the vehicle is equipped with a four-wheel drive system and a first switch and a second switch of the four-wheel drive system, characterized in that: The method comprises: In response to an activation operation instruction of the first switch, synchronizing the operating mode of the four-wheel drive system selected by the first switch according to the operating mode of the four-wheel drive system selected by the user through the second switch; After synchronizing the first switch, the four-wheel drive system is configured based on the operating mode selected by the first switch.
2. The method according to claim 1, characterized in that The first switch is configured with a first signal and a second signal; the first signal is used to indicate the operating mode of the four-wheel drive system selected by the user through the first switch; the second signal is used to indicate whether the first switch is enabled; After synchronizing the first switch, configuring the four-wheel drive system based on the operating mode selected by the first switch includes: After synchronization of the first switch is completed, if it is determined through the second signal that the first switch is enabled, the four-wheel drive system is configured according to the first signal.
3. The method according to claim 2, characterized in that The step of synchronizing the operating mode of the four-wheel drive system selected by the first switch according to the operating mode of the four-wheel drive system selected by the user through the second switch in response to the activation operation instruction of the first switch includes: In response to the activation operation instruction of the first switch, the second signal is updated to indicate that the first switch has been activated after a preset delay, and within the preset delay time, the first signal is synchronized according to the operating mode of the four-wheel drive system selected by the user through the second switch.
4. The method according to claim 2, characterized in that The step of synchronizing the operating mode of the four-wheel drive system selected by the first switch according to the operating mode of the four-wheel drive system selected by the user through the second switch in response to the activation operation instruction of the first switch includes: In response to the activation operation instruction of the first switch, the second signal is activated after a preset delay, and within the preset delay time, the first signal is synchronized according to the working mode of the four-wheel drive system selected by the user through the second switch.
5. The method according to claim 3 or 4, characterized in that Before synchronizing the first signal, the operating mode indicated by the first signal is the operating mode selected by the user before turning off the first switch last time.
6. The method according to claim 2, characterized in that The second switch is configured with a third signal, the third signal being used to indicate the operating mode of the four-wheel drive system selected by the user through the second switch; After synchronizing the first switch and configuring the four-wheel drive system based on the operating mode selected by the first switch, the method further includes: If the third signal indicates that the user reselects the working mode through the second switch, the first signal is synchronized according to the third signal, and the four-wheel drive system is configured according to the third signal.
7. The method according to any one of claims 1 to 4 and 6, characterized in that The vehicle is configured with an expert mode and a corresponding fourth signal, the fourth signal being used to indicate whether the vehicle is in expert mode; the enabling operation instruction in response to the first switch refers to updating from indicating that the vehicle is not in expert mode to indicating that the vehicle is in expert mode in response to the fourth signal.
8. A vehicle control device, applied to a vehicle, wherein the vehicle is equipped with a four-wheel drive system and a first switch and a second switch of the four-wheel drive system, characterized in that: The device comprises: a mode synchronization module, configured to synchronize the operating mode of the four-wheel drive system selected by the first switch according to the operating mode of the four-wheel drive system selected by the user through the second switch in response to an activation operation instruction of the first switch; A mode configuration module is used to configure the four-wheel drive system based on the working mode selected by the first switch after the synchronization of the first switch is completed.
9. A vehicle comprising: processor; and a memory arranged to store computer executable instructions, wherein the executable instructions, when executed, cause the processor to perform the method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed, the method according to any one of claims 1 to 7 is implemented.